]> sourceware.org Git - glibc.git/blame - ChangeLog
Add sparc implementation of lll_futex_timed_wait_bitset
[glibc.git] / ChangeLog
CommitLineData
b76eb5f0
SP
12012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2
31a7fe5c
SP
3 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4 and use variable directly.
5 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
6
b76eb5f0
SP
7 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8 MPONE.
9 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11 variable MPONE.
12 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15 include directive. Remove local variable MPONE.
16 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19
2c8bfe7d
DM
202012-12-25 David S. Miller <davem@davemloft.net>
21
22 * version.h (RELEASE): Set to "development".
23 (VERSION): Set to "2.17.90".
24 * NEWS: Add 2.18 section.
25
147d03b0
DM
262012-12-21 David S. Miller <davem@davemloft.net>
27
28 * po/hr.po: Update from translation team.
29
a8ebb2b9
AK
302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31
32 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33
95b4f1b6
SE
342012-12-19 Steve Ellcey <sellcey@mips.com>
35
b2d94007 36 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 37
cedb2a90
MS
382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39
40 * manual/contrib.texi (Contributors): Spelling correction.
41
bbf527d6
DM
422012-12-15 David S. Miller <davem@davemloft.net>
43
44 * po/ru.po: Update from translation team.
45
bc38c906
DM
462012-12-13 David S. Miller <davem@davemloft.net>
47
85429b1a
DM
48 * NEWS: Mention IFUNC testsuite enhancements.
49
d283e353
DM
50 * po/pl.po: Update from translation team.
51 * po/bg.po: Likewise.
52
bc38c906
DM
53 * manual/contrib.texi (Contributors): Update entries for Hongjiu
54 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
55
a181b0d7
DM
562012-12-11 David S. Miller <davem@davemloft.net>
57
4641d57e
DM
58 * po/sv.po: Update from translation team.
59
f7bc6495
DM
60 * po/vi.po: Update from translation team.
61
6fc9048f
DM
62 * po/cs.po: Update from translation team.
63
a181b0d7
DM
64 * po/de.po: Update from translation team.
65 * po/eo.po: Likewise.
66 * po/nl.po: Likewise.
67
f70bfe80
SP
682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
69
3c8b4190
SP
70 [BZ #14246]
71 * manual/argp.texi (Argp Helper Functions): Move node to follow
72 Argp Parsing State.
73
f70bfe80
SP
74 [BZ #14872]
75 * manual/conf.texi (Limits on File System Capacity): Mention if
76 terminating null is included in the max size.
77
188f0adf
AJ
782012-12-10 Andreas Jaeger <aj@suse.de>
79
80 * po/cs.po: Update from translation team.
81
56e7d3ad
SP
822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
83
84 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
85 void pointer and cast to uintptr_t.
86 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
87 path.
88 * sysdeps/s390/s390-64/memcpy.S: Likewise.
89 * sysdeps/s390/s390-64/memset.S: Likewise.
90
76f2d2ea 912012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
92
93 [BZ #14833]
94 * menual/message.texi (Message Translation): Fix typos.
95 (Helper programs for gettext): Likewise.
96
67cbf9a2
AS
972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
98
99 [BZ #14898]
100 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
101 Change to -1.
102
682d0e9a
DM
1032012-12-07 David S. Miller <davem@davemloft.net>
104
105 * po/libc.pot: Update.
106
573cd484
RH
1072012-12-07 Richard Henderson <rth@redhat.com>
108
7e9da188 109 [BZ #10114]
573cd484
RH
110 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
111 normal/normal case to before the switch.
112 (_FP_DIV): Likewise.
113
e933a943
MF
1142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
115 Mike Frysinger <vapier@gentoo.org>
116
117 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
118 check for __NR_fadvise64_64.
119
82123268
CM
1202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
121
122 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
123 0, not just to plain "0" as a statement.
124 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
125 with cw.
126
d9814526
JM
1272012-12-06 Joseph Myers <joseph@codesourcery.com>
128
129 * NEWS: Use sourceware.org in Bugzilla URL.
130
7728c574
SP
1312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
132
f16946dd
SP
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
134 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
135
5704bbcb
SP
136 * stdio-common/tst-put-error.c (do_test): Add newline to the
137 padded test to ensure flush.
138
17aa0516
JL
1392012-12-05 Jeff Law <law@redhat.com>
140
141 * sunrpc/etc.rpc (fedfs_admin): Add entry.
142
363313b5
JM
1432012-12-05 Joseph Myers <joseph@codesourcery.com>
144
effbd42a
JM
145 * README: Don't refer to ports add-on as distributed separately.
146 Mention AArch64 in list of systems supported in the ports add-on.
147
87600365
JM
148 * LICENSES: Add more non-FSF copyright and license notices.
149
a0d7066a
JM
150 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
151 ((unused)).
152
66ca5a5b
JM
153 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
154
363313b5
JM
155 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
156 10000 as width of padded output.
157
b37984ad
JM
1582012-12-04 Joseph Myers <joseph@codesourcery.com>
159
9003570a
JM
160 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
161
b37984ad
JM
162 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
163 variable LX with __attribute__ ((unused)).
164 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
165 Likewise.
166 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
167 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
168 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
169 with __attribute__ ((unused)).
170
c8df52ec
DM
1712012-12-04 David S. Miller <davem@abraco.davemloft.net>
172
173 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
174
b3b099af
JM
1752012-12-04 Joseph Myers <joseph@codesourcery.com>
176
c33aa6e3
JM
177 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
178 (CFLAGS-nldbl-acos.c): New variable.
179 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
185 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
186 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
187 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
188 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
189 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
190 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
191 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
192 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
193 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
194 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
195 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
196 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
197 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
198 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
199 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
200 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
201 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
202 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
203 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
204 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
205 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
206 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
207 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
208 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
209 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
210 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
211 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
212 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
213 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
214 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
215 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
216 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
217 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
218 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
219 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
220 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
221 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
222 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
223 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
224 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
225 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
226 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
227 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
228 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
229 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
230 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
231 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
232 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
233 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
234 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
235 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
236 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
237 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
238 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
239 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
240 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
241 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
242 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
243 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
244 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
245 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
246 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
247 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
248 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
249 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
250 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
251 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
252 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
253 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
254 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
255 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
256 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
257 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
258 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
259 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
260 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
261 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
262 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
263 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
264 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
265 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
266 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
267 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
268 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
269 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
270 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
271 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
272 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
273 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
274 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
275 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
276
20f0018d
JM
277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
278 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
279
b3b099af
JM
280 [BZ #14914]
281 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
282 whole low double instead of just low 47 bits when splitting values
283 into two parts.
284
029264d1
AM
2852012-12-03 Allan McRae <allan@archlinux.org>
286
287 * manual/stdio.texi (Predefined Printf Handlers): Remove
288 @hsep and @vsep usage.
289
c9d6789e
MF
2902012-12-03 Mike Frysinger <vapier@gentoo.org>
291
292 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
293 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
294
4b7634a5
JL
2952012-12-03 Jeff Law <law@redhat.com>
296
297 * time/sys/time.h (settimeofday): Do not mark TV argument
298 as __nonnull.
299
eb6cbd24
MF
3002012-12-01 Mike Frysinger <vapier@gentoo.org>
301
302 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
303 when currently writing and seek to current position when not.
304 * libio/Makefile (tests): Remove bug-fclose1.
305 * libio/bug-fclose1.c: Delete.
306
f638872a
JM
3072012-12-01 Joseph Myers <joseph@codesourcery.com>
308
309 * manual/arith.texi (feenableexcept): Fix typo.
310 (fedisableexcept): Likewise.
311
48085d14
RM
3122012-11-30 Roland McGrath <roland@hack.frob.com>
313
314 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
315 second, differently-typed declaration, rather than a cast.
316
1a538b9f
SP
3172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
318
319 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
320 * include/rpc/svc.h: ... here.
321
d07f2ff1 3222012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
323
324 [BZ #13013]
325 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
326 depending n and resplen2 to catch cases where answer
327 equals answerp2.
328
c93ec1f0
CD
3292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
330
331 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
332 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
333
37db69de
MF
3342012-11-29 Mike Frysinger <vapier@gentoo.org>
335
336 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
337
e10c4e4f
RM
3382012-11-29 Roland McGrath <roland@hack.frob.com>
339
340 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
341
2af1b328
JL
3422012-11-28 Jeff Law <law@redhat.com>
343
344 [BZ #13761]
345 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
346 dataset_temporary. Track alloca usage into alloca_used.
347 If dataset is large allocate and release it via malloc/free.
348
111db5b1
FW
3492012-06-04 Florian Weimer <fweimer@redhat.com>
350
f06cc227 351 [BZ #14197]
111db5b1
FW
352 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
353
dd694abd
DM
3542012-11-28 David S. Miller <davem@davemloft.net>
355
356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
357
9984dd01
JM
3582012-11-28 Joseph Myers <joseph@codesourcery.com>
359
360 [BZ #14803]
361 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
362 of pi/2 rounded to nearest to 64 bits.
363 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
364 nearest to 64 bits.
365 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
366 bits.
367
14bc93a9
JL
3682012-11-28 Jeff Law <law@redhat.com>
369 Martin Osvald <mosvald@redhat.com>
370
371 [BZ #14889]
372 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
373 * sunrpc/svc.c: Include time.h.
374 (__svc_accept_failed): New function.
375 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
376 any reason other than EINTR, call __svc_accept_failed.
377 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
378 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
379
e3c6aa3a
AS
3802012-11-28 Andreas Schwab <schwab@suse.de>
381
382 * scripts/abilist.awk: Also handle indirect functions in .opd
383 section.
384
1bead169
JM
3852012-11-28 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #13881]
388 * sysdeps/x86/fpu/powl_helper.c: New file.
389 * sysdeps/x86/fpu/Makefile: Likewise.
390 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
391 (p3): New object.
392 (__ieee754_powl): Use __powl_helper for finite arguments except
393 integer exponents below 8.
394 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
395 (p3): New object.
396 (__ieee754_powl): Use __powl_helper for finite arguments except
397 integer exponents below 8.
398 * math/libm-test.inc (pow_test): Add more tests and enable some
399 previously disabled tests.
400 * sysdeps/i386/fpu/libm-test-ulps: Update.
401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
402
0817d63d
SP
4032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
404 Carlos O'Donell <carlos_odonell@mentor.com>
405
406 * nss/makedb.c (is_prime): Assert that input is odd and greater
407 than 4. Note that fact in a comment too.
408 (next_prime): Add 4 to input.
409
de2fd463
SP
4102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
411
412 [BZ #11741]
413 * libio/Makefile (tests): Add test case tst-fwrite-error.
414 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
415 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
416 * libio/tst-fwrite-error.c: New test case.
417
c515fb51
L
4182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
419
420 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
421 before casting to void *.
422 * include/libc-internal.h (__pointer_type): New macro.
423 (__integer_if_pointer_type_sub): Likewise.
424 (__integer_if_pointer_type): Likewise.
425 (cast_to_integer): Likewise.
426 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
427 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
428 before casting to atomic64_t.
429 (atomic_exchange_acq): Likewise.
430 (__arch_exchange_and_add_body): Likewise.
431 (__arch_add_body): Likewise.
432 (atomic_add_negative): Likewise.
433 (atomic_add_zero): Likewise.
434
4cf77aa9
JM
4352012-11-26 Joseph Myers <joseph@codesourcery.com>
436
437 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
438 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
439 (add_fdes): Likewise.
440 (linear_search_fdes): Likewise.
441 (binary_search_unencoded_fdes): Likewise.
442
d260b3b4
AS
4432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
444
445 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
446
67060746
AC
4472012-11-24 Adam Conrad <adconrad@0c3.net>
448
449 * configure.in: Autodetect C++ header directories.
450 * configure: Regenerated.
451
800938a1
MF
4522012-11-23 Mike Frysinger <vapier@gentoo.org>
453
454 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
455
4e6e34e6
AS
4562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
457
458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
459
7c7feb47
JM
4602012-11-22 Joseph Myers <joseph@codesourcery.com>
461
7184dcdf
JM
462 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
463 LDBL_MANT_DIG == 106]: Disable some tests.
464 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
465 Likewise.
466 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
467 Likewise.
468
0a42601f
JM
469 [BZ #14871]
470 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
471 input for small inputs. Return +/- pi/2 for large inputs.
472 * math/libm-test.inc (atan_test): Add more tests.
473
79c9b9fe
JM
474 * sysdeps/generic/unwind-dw2-fde-glibc.c
475 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
476 __attribute__ ((unused)).
477
c60d3bf2
JM
478 [BZ #14645]
479 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
480 x * y if x and y are nonzero and z is zero.
481
ef1e0867
JM
482 [BZ #14811]
483 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
484 nonzero exponents with absolute value below 0x1p-117 to +/-
485 0x1p-117.
486
1468ded3
JM
487 [BZ #14869]
488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
489 up arguments below 2**-450, not just those below 2**-500.
490 * math/libm-test.inc (hypot_test): Add another test.
491
8e27e3cc
JM
492 [BZ #14868]
493 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
494 Return a+b for ratio over 2**120, not 2**60.
495 * math/libm-test.inc (hypot_test): Add another test.
496
c9c0279b
JM
497 * math/libm-test.inc (clog_test): Use
498 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
499 (clog10_test): Likewise.
500
7c7feb47
JM
501 [BZ #6778]
502 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
503
fff1530e
AS
5042012-11-22 Andreas Schwab <schwab@suse.de>
505
506 * sysdeps/i386/fpu/libm-test-ulps: Update.
507
94558d30
PT
5082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
509
510 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
511 printf output with newline.
512
7e1be741
L
5132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
514
6bfea974
L
515 [BZ #14865]
516 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
517 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
518 -z nodlopen, -z initfirst and -z execstack support.
519 * configure: Regenerated.
520
7e1be741
L
521 * elf/elf.h (DF_1_NODIRECT): New macro.
522 (DF_1_IGNMULDEF): Likewise.
523 (DF_1_NOKSYMS): Likewise.
524 (DF_1_NOHDR): Likewise.
525 (DF_1_EDITED): Likewise.
526 (DF_1_NORELOC): Likewise.
527 (DF_1_SYMINTPOSE): Likewise.
528 (DF_1_GLOBAUDIT): Likewise.
529 (DF_1_SINGLETON): Likewise.
530 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
531 DT_1_SUPPORTED_MASK bits.
532 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
533
105ce2ce
CD
5342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
535
536 * sysdeps/unix/make-syscalls.sh: Document prefixes.
537
123be9de
TS
5382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
539
d072f3f7
TS
540 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
541 macro.
542
123be9de
TS
543 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
544 (sendmmsg): Move declarations...
545 * socket/sys/socket.h: ... here.
546 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
547 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
548 include it from...
549 * socket/recvmmsg.c: ... this new file.
550 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
551 (sendmmsg): Rename to __sendmmsg, create weak alias and make
552 definition of __sendmmsg hidden.
553 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
554 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
555 Move ENOSYS stub into and include it from...
556 * socket/sendmmsg.c: ... this new file.
557 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
558 (sysdep_routines): Move recvmmsg and sendmmsg...
559 * socket/Makefile (routines): ... here.
560 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
561 (GLIBC_PRIVATE): Add __sendmmsg.
562 * include/sys/socket.h (__sendmmsg): Add declarations.
563 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
564 sendmmsg.
565
cf9a5d18
JM
5662012-11-20 Joseph Myers <joseph@codesourcery.com>
567
568 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
569 variable I1 with __attribute__ ((unused)).
570 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
571
ecd4caf9
JM
5722012-11-19 Joseph Myers <joseph@codesourcery.com>
573
be14d48f
JM
574 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
575 DUMMY variables with __attribute__ ((unused)).
576
ecd4caf9
JM
577 * bits/byteswap.h: Include <bits/types.h>.
578 (__bswap_64): Use __uint64_t instead of unsigned long long int.
579
986cab95
PT
5802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
581
582 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
583 string_t. Do not manually set errno.
584 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
585 length with __strnlen. Make sure to both set errno and return it on
586 failure.
587
6d33cc9d
DM
5882012-11-19 David S. Miller <davem@davemloft.net>
589
590 With help from Joseph Myers.
591 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
592 very large arguments properly.
593 * math/libm-test.inc (atan_test): New tests.
594 (atan2_test): New tests.
595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
597
ee663277
JM
5982012-11-19 Joseph Myers <joseph@codesourcery.com>
599
877f2d8e
JM
600 [BZ #14856]
601 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
602 Define to 3.
603
116fc08a
JM
604 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
605 [POSIX] (EADDRNOTAVAIL): Likewise.
606 [POSIX] (EAFNOSUPPORT): Likewise.
607 [POSIX] (EALREADY): Likewise.
608 [POSIX] (ECONNABORTED): Likewise.
609 [POSIX] (ECONNREFUSED): Likewise.
610 [POSIX] (ECONNRESET): Likewise.
611 [POSIX] (EDESTADDRREQ): Likewise.
612 [POSIX] (EDQUOT): Likewise.
613 [POSIX] (EHOSTUNREACH): Likewise.
614 [POSIX] (EIDRM): Likewise.
615 [POSIX] (EISCONN): Likewise.
616 [POSIX] (ELOOP): Likewise.
617 [POSIX] (EMULTIHOP): Likewise.
618 [POSIX] (ENETDOWN): Likewise.
619 [POSIX] (ENETUNREACH): Likewise.
620 [POSIX] (ENOBUFS): Likewise.
621 [POSIX] (ENODATA): Likewise.
622 [POSIX] (ENOLINK): Likewise.
623 [POSIX] (ENOMSG): Likewise.
624 [POSIX] (ENOPROTOOPT): Likewise.
625 [POSIX] (ENOSR): Likewise.
626 [POSIX] (ENOSTR): Likewise.
627 [POSIX] (ENOTCONN): Likewise.
628 [POSIX] (ENOTSOCK): Likewise.
629 [POSIX] (EOPNOTSUPP): Likewise.
630 [POSIX] (EOVERFLOW): Likewise.
631 [POSIX] (EPROTO): Likewise.
632 [POSIX] (EPROTONOSUPPORT): Likewise.
633 [POSIX] (EPROTOTYPE): Likewise.
634 [POSIX] (ESTALE): Likewise.
635 [POSIX] (ETIME): Likewise.
636 [POSIX] (ETXTBSY): Likewise.
637 [POSIX] (EWOULDBLOCK): Likewise.
638 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
639 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
640 [POSIX] (SEEK_CUR): Likewise.
641 [POSIX] (SEEK_END): Likewise.
642 [POSIX || UNIX98] (mode_t): Do not require.
643 [POSIX] (off_t): Likewise.
644 [POSIX] (pid_t): Likewise.
645 [POSIX] (sys/stat.h): Do not allow header.
646 [POSIX] (unistd.h): Likewise.
647 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
648 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
649 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
650 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
651 require.
652 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
653 sigevent): Specify elements.
654 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
655 entry.
656 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
657 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
658
a483863f
JM
659 * conform/data/cpio.h-data [POSIX]: Disable whole file.
660 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
661 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
662 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
663 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
664 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
665 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
666 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
667 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
668 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
669 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
670 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
671 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
672 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
673 Likewise.
674 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
675 Likewise.
676 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
677 Likewise.
678 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
679 Likewise.
680 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
681 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
682 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
683 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
684 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
685 Specify lower bound on value.
686 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
687 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
688 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
689 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
690 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
691 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
692 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
693 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
694 value.
695 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
696 as optional.
697 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
698 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
699 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
700 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
701 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
702 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
703 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
704 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
705 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
706 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
707 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
708 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
709 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
710 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
711 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
712 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
713 entry.
714 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
715 optional.
716 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
717 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
718 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
719 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
720 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
721 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
722 Likewise.
723 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
724 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
725 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
726 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
727 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
728 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
729 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
730 as optional.
731 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
732 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
733 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
734 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
735 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
736 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
737 specify as optional.
738 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
739 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
740 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
741 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
742 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
743 [XPG3] (NL_LANGMAX): Likewise.
744 [POSIX || XPG3] (NL_MSGMAX): Likewise.
745 [POSIX || XPG3] (NL_NMAX): Likewise.
746 [POSIX || XPG3] (NL_SETMAX): Likewise.
747 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
748 [XPG3] (NZERO): Likewise.
749 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
750 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
751 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
752 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
753 (REG_ERANGE): Expect.
754 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
755 optional-constant.
756 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
757 Use (void) in prototype.
758 [POSIX] (*_t): Allow.
759 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
760 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
761 (WRDE_BADVAL): Expect.
762
5ba924e3
JM
763 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
764 expect.
765 [XPG3 || XPG4] (O_RSYNC): Likewise.
766 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
767 Likewise.
768 [XPG3 || XPG4] (pthread_sigmask): Likewise.
769 [XPG3 || XPG4] (sigqueue): Likewise.
770 [XPG3 || XPG4] (sigtimedwait): Likewise.
771 [XPG3 || XPG4] (sigwaitinfo): Likewise.
772 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
773 [XPG3 || XPG4] (vsnprintf): Likewise.
774 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
775 Likewise.
776 [XPG3 || XPG4] (blksize_t): Likewise.
777 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
778 Likewise.
779 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
780 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
781 [XPG3 || XPG4] (struct itimerspec): Likewise.
782 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
783 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
784 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
785 [XPG3 || XPG4] (clockid_t): Likewise.
786 [XPG3 || XPG4] (timer_t): Likewise.
787 [XPG3 || XPG4] (clock_getres): Likewise.
788 [XPG3 || XPG4] (clock_gettime): Likewise.
789 [XPG3 || XPG4] (clock_settime): Likewise.
790 [XPG3 || XPG4] (nanosleep): Likewise.
791 [XPG3 || XPG4] (timer_create): Likewise.
792 [XPG3 || XPG4] (timer_delete): Likewise.
793 [XPG3 || XPG4] (timer_gettime): Likewise.
794 [XPG3 || XPG4] (timer_getoverrun): Likewise.
795 [XPG3 || XPG4] (timer_settime): Likewise.
796 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
797 [XPG3 || XPG4] (getlogin_r): Likewise.
798 [XPG3 || XPG4] (pread): Likewise.
799 [XPG3 || XPG4] (pthread_atfork): Likewise.
800 [XPG3 || XPG4] (pwrite): Likewise.
801
ee663277
JM
802 [BZ #14835]
803 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
804 <bits/siginfo.h>.
805
942caa16
PT
8062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
807
e19af380
PT
808 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
809 finalizing MALLSTREAM.
810
942caa16
PT
811 * sysdeps/mach/hurd/syncfs.c: New file.
812
cfde9b46
SP
8132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
814
815 [BZ #14719]
816 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
817 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
818 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
819 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
820 (_nss_dns_gethostbyname4_r): Likewise.
821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
822 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
823
f6da27e5
PH
8242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
825
826 [BZ #13763]
827 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
828
6665d4a2
SM
8292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
830
1f51ee92
SM
831 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
832 * elf/cache.c (print_entry): Print ",AArch64" for
833 FLAG_AARCH64_LIB64
834
6665d4a2
SM
835 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
836 * elf/cache.c (print_entry): Print ",hard-float" for
837 FLAG_ARM_LIBHF.
838
05b227bd
DM
8392012-11-18 David S. Miller <davem@davemloft.net>
840
841 With help from Joseph Myers.
842 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
843 cutoff to 2**-13.
844 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
845 cutoff to 2**-25.
846 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
847 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
848 small.
849 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
850 * math/libm-test.inc (y0_test): New tests.
851 (y1_test): New tests.
852 * sysdeps/i386/fpu/libm-test-ulps: Update.
853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
855
786b0b67
AS
8562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
857
858 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
859 64-bit targets.
860 * configure: Regenerated.
861
8e18b86d
DM
8622012-11-17 David S. Miller <davem@davemloft.net>
863
864 [BZ #14811]
865 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
866 nonzero exponents with absolute value below 0x1p-128 to +/-
867 0x1p-128.
868
531f1ae0
JM
8692012-11-17 Joseph Myers <joseph@codesourcery.com>
870
12df29e2
JM
871 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
872
150dc1a0
JM
873 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
874
531f1ae0
JM
875 * posix/getconf-speclist.c: New file.
876 * posix/posix-envs.def: Likewise.
877 * posix/confstr.c (START_ENV_GROUP): New macro.
878 (END_ENV_GROUP): Likewise.
879 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
880 (KNOWN_PRESENT_ENV_STRING): Likewise.
881 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
882 (UNKNOWN_ENVIRONMENT): Likewise.
883 (confstr): Include posix-envs.def instead of handling
884 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
885 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
886 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
887 (END_ENV_GROUP): Likewise.
888 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
889 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
890 (UNKNOWN_ENVIRONMENT): Likewise.
891 (__sysconf): Include posix-envs.def instead of handling associated
892 cases directly here.
893 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
894 preprocessing getconf-speclist.c rather than running getconf or
895 generating empty file.
896
a93f9cbc
PT
8972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
898
899 * scripts/check-local-headers.sh: Ignore 'mach' headers.
900
d64d9f87
AL
9012012-11-16 Andrej Lajovic <natrij@gmail.com>
902
903 [BZ #14672]
904 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
905
447885eb
DM
9062012-11-16 David S. Miller <davem@davemloft.net>
907
908 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
909 smaller than LDBL_EPSILON/2.0L, just return xm1.
910
bcbf9830
L
9112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
912
913 * elf/tst-array1.c (init): Set constructor priority to 1000.
914 (fini): Set destructor priority to 1000.
915 * elf/tst-array2dep.c: Likewise.
916
2b766585
SP
9172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
918
919 [BZ #11741]
920 * libio/fileops.c (_IO_new_file_write): Correctly return error.
921 (_IO_new_file_xsputn): Also return EOF if none of the input
922 data was written when overflow failed.
923 * libio/iopadn.c (_IO_padn): Likewise.
924 * libio/iowpadn.c (_IO_wpadn): Likewise.
925 * stdio-common/tst-put-error.c: Add copyright notice.
926 (do_test): Add case for printing padded string.
927 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
928 _IO_padn returned error.
929 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
930 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
931 return EOF.
932
b1848fde
SP
9332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
934
935 * libio/libioP.h: Add comment note that the references to C++
936 bits are now obsolete.
937
2fd89785
MS
9382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
939
940 * math/libm-test.inc (check_complex): Use asprintf.
941
e3ea5409
JM
9422012-11-14 Joseph Myers <joseph@codesourcery.com>
943
944 * debug/pcprofiledump.c (print_version): Update copyright year.
945 * malloc/memusagestat.c (print_version): Likewise.
946
2e64d265
L
9472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
948
949 [BZ #14831]
950 * elf/Makefile (tests): Add tst-audit8.
951 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
952 ($(objpfx)tst-audit8.out): New target.
953 (tst-audit8-ENV): New variable.
954 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
955 audit if l_reloc_result is NULL.
956 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
957 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
958 * elf/tst-audit8.c: New file.
959
c485e4d2
MS
9602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
961
962 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
963 * misc/Makefile (CFLAGS-select.c): Define.
964 * posix/Makefile (CFLAGS-pause.c): Define.
965
3a0d900a
DM
9662012-11-13 David S. Miller <davem@davemloft.net>
967
968 * crypt/Makefile: Move test targets after toplevel Rules
969 inclusion. Grab any necessary sysdep routines when linking.
970 * crypt/md5.c (md5_process_block): Remove define, we will always
971 name it __md5_process_block.
972 (md5_finish_ctx): Update md5_process_block call.
973 (md5_stream): Likewise.
974 (md5_process_bytes): Likewise.
975 (md5_process_block): Rename to __md5_process_block and move to ...
976 * crypt/md5-block.c: ... here.
977 * crypt/sha256.c (sha256_process_block): Move to ...
978 * crypt/sha256-block.c: ... here.
979 * crypt/sha512.c (sha512_process_block): Move to ...
980 * crypt/sha512-block.c: ... here.
981 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
982 path.
983 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
984 * sysdeps/sparc/sparc64/multiarch/Makefile
985 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
986 crypt subdir.
987 (localedef-aux): Add md5 crypto assembler when in locale subdir.
988 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
989 multiarch changes.
990 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
991 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
992 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
993 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
994 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
995 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
996 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
997 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
998 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
999 file.
1000 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1001 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1002 file.
1003 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1004
8ca89318
JM
10052012-11-13 Joseph Myers <joseph@codesourcery.com>
1006
e27d476a
JM
1007 * timezone/tzselect.ksh: Update from tzcode git revision
1008 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1009 * timezone/zdump.c: Likewise.
1010 * timezone/zic.c: Likewise.
1011 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1012 in TZVERSION setting, not $(PKGVERSION).
1013 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1014 REPORT_BUGS_TO settings.
1015
8ca89318
JM
1016 [BZ #14838]
1017 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1018 macro.
1019
47594329
MS
10202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1021
1022 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1023 detection to immediately after _FP_ROUND().
1024 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1025 bits are 0.
1026
640ac3f1
DM
10272012-11-11 David S. Miller <davem@davemloft.net>
1028
1029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1030 inttypes.h
1031 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1032 __close rather than their public counterparts.
1033
3d2577bb
JM
10342012-11-10 Joseph Myers <joseph@codesourcery.com>
1035
1036 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1037 file.
1038 [UNIX98] (sem_timedwait): Do not expect.
1039 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1040 [XPG4 || UNIX98] (sockatmark): Do not expect.
1041 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1042 (clock_getcpuclockid): Do not expect.
1043 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1044 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1045 Do not expect.
1046 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1047 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1048 [UNIX98] (vwscanf): Likewise.
1049 [UNIX98] (vswscanf): Likewise.
1050
fb1ae1ee
JM
10512012-11-09 Joseph Myers <joseph@codesourcery.com>
1052
9ec6f8bd
JM
1053 * timezone/version.h: Remove file.
1054 * timezone/README: Do not refer to version.h.
1055 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1056 $(objpfx)version.h.
1057 ($(objpfx)zdump.o): Likewise.
c3f81911 1058 ($(objpfx)version.h): New target.
9ec6f8bd 1059
0aa8f8a1
JM
1060 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1061 2012i.
1062 * timezone/README: Don't mention modification to tzselect.ksh.
1063 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1064 work on unmodified tzselect.ksh. Substitute version numbers in
1065 tzselect.ksh.
1066
4e87147f
JM
1067 * Makefile (format-me): Remove.
1068 (INSTALL): Adjust indentation. Use commands directly instead of
1069 using $(format-me).
1070
8b748aed
JM
1071 * aclocal.m4 (ACX_PKGVERSION): New macro.
1072 (ACX_BUGURL): Likewise.
1073 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1074 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1075 (REPORT_BUGS_TO): Likewise.
1076 * configure: Regenerated.
1077 * config.h.in (PKGVERSION): New macro.
1078 (REPORT_BUGS_TO): Likewise.
1079 * config.make.in (PKGVERSION): New variable.
1080 (PKGVERSION_TEXI): Likewise.
1081 (REPORT_BUGS_TO): Likewise.
1082 (REPORT_BUGS_TEXI): Likewise.
1083 * Makefile (format-me): Use -I$(common-objpfx)manual.
1084 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1085 ($(common-objpfx)manual/%): New target.
1086 (manual/%): Remove target.
1087 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1088 (print_version): Use PKGVERSION.
1089 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1090 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1091 and REPORT_BUGS_TO.
1092 ($(objpfx)xtrace): Likewise.
1093 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1094 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1095 (print_version): Use PKGVERSION.
1096 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1097 (do_version): Use PKGVERSION.
1098 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1099 REPORT_BUGS_TO.
1100 (common-ldd-rewrite): Likewise.
1101 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1102 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1103 (print_version): Use PKGVERSION.
1104 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1105 * elf/pldd.c (argp_program_bug_address): Remove variable.
1106 (more_help): New function.
1107 (argp): Use more_help.
1108 (print_version): Use PKGVERSION.
1109 * elf/sln.c (main): Use PKGVERSION.
1110 (usage): Use REPORT_BUGS_TO.
1111 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1112 (top level): Use PKGVERSION.
1113 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1114 (print_version): Use PKGVERSION.
1115 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1116 (print_version): Use PKGVERSION.
1117 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1118 (print_version): Use PKGVERSION.
1119 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1120 (print_version): Use PKGVERSION.
1121 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1122 (print_version): Use PKGVERSION.
1123 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1124 (print_version): Use PKGVERSION.
1125 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1126 and BUGURL.
1127 ($(objpfx)memusage): Likewise.
1128 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1129 (do_version): Use PKGVERSION.
1130 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1131 (print_version): Use PKGVERSION.
1132 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1133 ($PKGVERSION): New variable.
1134 ($REPORT_BUGS_TO): Likewise.
1135 (usage): Use $REPORT_BUGS_TO.
1136 (top level): Use $PKGVERSION.
1137 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1138 ($(objpfx)pkgvers.texi): New rule.
1139 ($(objpfx)stamp-pkgvers): Likewise.
1140 * manual/install.texi: Include pkgvers.texi.
1141 (--with-pkgversion): Document new configure option.
1142 (--with-bugurl): Likewise.
1143 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1144 than necessarily for this particular distribution. Use
1145 REPORT_BUGS_TO for where to report bugs.
1146 * INSTALL: Regenerated.
1147 * manual/libc.texinfo: Include pkgvers.texi.
1148 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1149 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1150 (print_version): Use PKGVERSION.
1151 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1152 (print_version): Use PKGVERSION.
1153 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1154 (print_version): Use PKGVERSION.
1155 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1156 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1157 macro.
1158 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1159 (print_version): Use PKGVERSION.
1160 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1161 (print_version): Use PKGVERSION.
1162 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1163 and PKGVERSION.
1164
92e4b6a9
JM
1165 * timezone/checktab.awk: Update from tzcode 2012i.
1166 * timezone/ialloc.c: Likewise.
1167 * timezone/private.h: Likewise.
1168 * timezone/scheck.c: Likewise.
1169 * timezone/tzfile.h: Likewise.
1170 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1171 (TZVERSION): Hardcode tzcode version number.
1172 * timezone/zdump.c: Update from tzcode 2012i.
1173 * timezone/zic.c: Likewise.
1174 * timezone/version.h: New file.
1175 * timezone/README: Describe version.h. Update upstream location.
1176
9bde902c
JM
1177 [BZ #14824]
1178 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1179 (mktemp): Enable declaration.
1180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1184 Likewise.
1185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1186 Likewise.
1187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1188 Likewise.
1189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1190 Likewise.
1191 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1192 Likewise.
1193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1194 Likewise.
1195
fb1ae1ee
JM
1196 [BZ #14821]
1197 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1198 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1199 for copies of such integer values.
1200 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1201 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1202
2c1adbcb
AJ
12032012-11-09 Andreas Jaeger <aj@suse.de>
1204
1205 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1206 definitions and declarations that are provided by
1207 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1208
d0f8457e
AK
12092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1210
1211 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1212 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1213 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1214 definition.
1215
57241e26
MS
12162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1217
1218 * elf/elf.h: Update comment before AArch64 relocations.
1219
60e8270d
DM
12202012-11-07 David S. Miller <davem@davemloft.net>
1221
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1224 (__start_context): Declare.
1225 (__makecontext_ret): Delete.
1226 (__makecontext): Hook up __start_context instead of
1227 __makecontext_ret.
1228 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1229 (sysdep_routines): Add __start_context when in stdlib.
1230
0fbb0fbc
JM
12312012-11-07 Joseph Myers <joseph@codesourcery.com>
1232
1233 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1234 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1235 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1236 hardcoded "nm".
1237 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1238 (READELF): New variable. Use it instead of hardcoded "readelf".
1239
eb48db7e
L
12402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1241
1242 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1243 * sysdeps/x86/Makefile: Here.
1244 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1245 * sysdeps/x86/tst-xmmymm.sh: This.
1246
05bcf62a
JM
12472012-11-07 Joseph Myers <joseph@codesourcery.com>
1248
c4b6cf53
JM
1249 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1250 expectations.
1251 [UNIX98] (pthread_barrier_t): Do not expect.
1252 [UNIX98] (pthread_barrierattr_t): Likewise.
1253 [UNIX98] (pthread_spinlock_t): Likewise.
1254 [UNIX98] (pthread_barrier_destroy): Likewise.
1255 [UNIX98] (pthread_barrier_init): Likewise.
1256 [UNIX98] (pthread_barrier_wait): Likewise.
1257 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1258 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1259 [UNIX98] (pthread_barrierattr_init): Likewise.
1260 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1261 [UNIX98] (pthread_getcpuclockid): Likewise.
1262 [UNIX98] (pthread_mutex_timedlock): Likewise.
1263 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1264 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1265 [UNIX98] (pthread_sigmask): Likewise.
1266 [UNIX98] (pthread_spin_destroy): Likewise.
1267 [UNIX98] (pthread_spin_init): Likewise.
1268 [UNIX98] (pthread_spin_lock): Likewise.
1269 [UNIX98] (pthread_spin_trylock): Likewise.
1270 [UNIX98] (pthread_spin_unlock): Likewise.
1271 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1272 Do not expect.
1273 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1275 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1276 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1277 [XPG3 || XPG4] (pthread_key_t): Likewise.
1278 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1279 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1280 [XPG3 || XPG4] (pthread_once_t): Likewise.
1281 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1282 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1284 [XPG3 || XPG4] (pthread_t): Likewise.
1285
cbe6e120
JM
1286 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1287 not expect.
1288 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1289
1b126443
JM
1290 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1291 Change function return type to int.
1292
b961a573
JM
1293 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1294 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1295 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1296 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1297 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1298 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1299 [!POSIX] (posix_madvise): Likewise.
1300 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1301 && !UNIX98].
1302 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1303 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1304 (mode_t): Likewise.
1305 (posix_mem_offset): Likewise.
1306 (posix_typed_mem_get_info): Likewise.
1307 (posix_typed_mem_open): Likewise.
1308
9e188909
JM
1309 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1310 Change condition to [XOPEN2K8].
1311
05bcf62a
JM
1312 * conform/conformtest.pl: Preprocess allow-header data with -x c
1313 instead of from stdin.
1314 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1315 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1316 [C99-based standards] (cerfc): Likewise.
1317 [C99-based standards] (cexp2): Likewise.
1318 [C99-based standards] (cexpm1): Likewise.
1319 [C99-based standards] (clog10): Likewise.
1320 [C99-based standards] (clog1p): Likewise.
1321 [C99-based standards] (clog2): Likewise.
1322 [C99-based standards] (clgamma): Likewise.
1323 [C99-based standards] (ctgamma): Likewise.
1324 [C99-based standards] (cerff): Likewise.
1325 [C99-based standards] (cerfcf): Likewise.
1326 [C99-based standards] (cexp2f): Likewise.
1327 [C99-based standards] (cexpm1f): Likewise.
1328 [C99-based standards] (clog10f): Likewise.
1329 [C99-based standards] (clog1pf): Likewise.
1330 [C99-based standards] (clog2f): Likewise.
1331 [C99-based standards] (clgammaf): Likewise.
1332 [C99-based standards] (ctgammaf): Likewise.
1333 [C99-based standards] (cerfl): Likewise.
1334 [C99-based standards] (cerfcl): Likewise.
1335 [C99-based standards] (cexp2l): Likewise.
1336 [C99-based standards] (cexpm1l): Likewise.
1337 [C99-based standards] (clog10l): Likewise.
1338 [C99-based standards] (clog1pl): Likewise.
1339 [C99-based standards] (clog2l): Likewise.
1340 [C99-based standards] (clgammal): Likewise.
1341 [C99-based standards] (ctgammal): Likewise.
1342 * conform/data/inttypes.h-data [C99-based standards]: Include
1343 stdint.h-data. Remove all expectations for stdint.h contents.
1344 [C99-based standards] (PRI*): Do not allow.
1345 [C99-based standards] (SCN*): Likewise.
1346 [C99-based standards] (*_t): Likewise.
1347 [C99-based-standards] (PRId8): Expect macro.
1348 [C99-based-standards] (PRIi8): Likewise.
1349 [C99-based-standards] (PRIo8): Likewise.
1350 [C99-based-standards] (PRIu8): Likewise.
1351 [C99-based-standards] (PRIx8): Likewise.
1352 [C99-based-standards] (PRIX8): Likewise.
1353 [C99-based-standards] (SCNd8): Likewise.
1354 [C99-based-standards] (SCNi8): Likewise.
1355 [C99-based-standards] (SCNo8): Likewise.
1356 [C99-based-standards] (SCNu8): Likewise.
1357 [C99-based-standards] (SCNx8): Likewise.
1358 [C99-based-standards] (PRIdLEAST8): Likewise.
1359 [C99-based-standards] (PRIiLEAST8): Likewise.
1360 [C99-based-standards] (PRIoLEAST8): Likewise.
1361 [C99-based-standards] (PRIuLEAST8): Likewise.
1362 [C99-based-standards] (PRIxLEAST8): Likewise.
1363 [C99-based-standards] (PRIXLEAST8): Likewise.
1364 [C99-based-standards] (SCNdLEAST8): Likewise.
1365 [C99-based-standards] (SCNiLEAST8): Likewise.
1366 [C99-based-standards] (SCNoLEAST8): Likewise.
1367 [C99-based-standards] (SCNuLEAST8): Likewise.
1368 [C99-based-standards] (SCNxLEAST8): Likewise.
1369 [C99-based-standards] (PRIdFAST8): Likewise.
1370 [C99-based-standards] (PRIiFAST8): Likewise.
1371 [C99-based-standards] (PRIoFAST8): Likewise.
1372 [C99-based-standards] (PRIuFAST8): Likewise.
1373 [C99-based-standards] (PRIxFAST8): Likewise.
1374 [C99-based-standards] (PRIXFAST8): Likewise.
1375 [C99-based-standards] (SCNdFAST8): Likewise.
1376 [C99-based-standards] (SCNiFAST8): Likewise.
1377 [C99-based-standards] (SCNoFAST8): Likewise.
1378 [C99-based-standards] (SCNuFAST8): Likewise.
1379 [C99-based-standards] (SCNxFAST8): Likewise.
1380 [C99-based-standards] (PRId16): Likewise.
1381 [C99-based-standards] (PRIi16): Likewise.
1382 [C99-based-standards] (PRIo16): Likewise.
1383 [C99-based-standards] (PRIu16): Likewise.
1384 [C99-based-standards] (PRIx16): Likewise.
1385 [C99-based-standards] (PRIX16): Likewise.
1386 [C99-based-standards] (SCNd16): Likewise.
1387 [C99-based-standards] (SCNi16): Likewise.
1388 [C99-based-standards] (SCNo16): Likewise.
1389 [C99-based-standards] (SCNu16): Likewise.
1390 [C99-based-standards] (SCNx16): Likewise.
1391 [C99-based-standards] (PRIdLEAST16): Likewise.
1392 [C99-based-standards] (PRIiLEAST16): Likewise.
1393 [C99-based-standards] (PRIoLEAST16): Likewise.
1394 [C99-based-standards] (PRIuLEAST16): Likewise.
1395 [C99-based-standards] (PRIxLEAST16): Likewise.
1396 [C99-based-standards] (PRIXLEAST16): Likewise.
1397 [C99-based-standards] (SCNdLEAST16): Likewise.
1398 [C99-based-standards] (SCNiLEAST16): Likewise.
1399 [C99-based-standards] (SCNoLEAST16): Likewise.
1400 [C99-based-standards] (SCNuLEAST16): Likewise.
1401 [C99-based-standards] (SCNxLEAST16): Likewise.
1402 [C99-based-standards] (PRIdFAST16): Likewise.
1403 [C99-based-standards] (PRIiFAST16): Likewise.
1404 [C99-based-standards] (PRIoFAST16): Likewise.
1405 [C99-based-standards] (PRIuFAST16): Likewise.
1406 [C99-based-standards] (PRIxFAST16): Likewise.
1407 [C99-based-standards] (PRIXFAST16): Likewise.
1408 [C99-based-standards] (SCNdFAST16): Likewise.
1409 [C99-based-standards] (SCNiFAST16): Likewise.
1410 [C99-based-standards] (SCNoFAST16): Likewise.
1411 [C99-based-standards] (SCNuFAST16): Likewise.
1412 [C99-based-standards] (SCNxFAST16): Likewise.
1413 [C99-based-standards] (PRId32): Likewise.
1414 [C99-based-standards] (PRIi32): Likewise.
1415 [C99-based-standards] (PRIo32): Likewise.
1416 [C99-based-standards] (PRIu32): Likewise.
1417 [C99-based-standards] (PRIx32): Likewise.
1418 [C99-based-standards] (PRIX32): Likewise.
1419 [C99-based-standards] (SCNd32): Likewise.
1420 [C99-based-standards] (SCNi32): Likewise.
1421 [C99-based-standards] (SCNo32): Likewise.
1422 [C99-based-standards] (SCNu32): Likewise.
1423 [C99-based-standards] (SCNx32): Likewise.
1424 [C99-based-standards] (PRIdLEAST32): Likewise.
1425 [C99-based-standards] (PRIiLEAST32): Likewise.
1426 [C99-based-standards] (PRIoLEAST32): Likewise.
1427 [C99-based-standards] (PRIuLEAST32): Likewise.
1428 [C99-based-standards] (PRIxLEAST32): Likewise.
1429 [C99-based-standards] (PRIXLEAST32): Likewise.
1430 [C99-based-standards] (SCNdLEAST32): Likewise.
1431 [C99-based-standards] (SCNiLEAST32): Likewise.
1432 [C99-based-standards] (SCNoLEAST32): Likewise.
1433 [C99-based-standards] (SCNuLEAST32): Likewise.
1434 [C99-based-standards] (SCNxLEAST32): Likewise.
1435 [C99-based-standards] (PRIdFAST32): Likewise.
1436 [C99-based-standards] (PRIiFAST32): Likewise.
1437 [C99-based-standards] (PRIoFAST32): Likewise.
1438 [C99-based-standards] (PRIuFAST32): Likewise.
1439 [C99-based-standards] (PRIxFAST32): Likewise.
1440 [C99-based-standards] (PRIXFAST32): Likewise.
1441 [C99-based-standards] (SCNdFAST32): Likewise.
1442 [C99-based-standards] (SCNiFAST32): Likewise.
1443 [C99-based-standards] (SCNoFAST32): Likewise.
1444 [C99-based-standards] (SCNuFAST32): Likewise.
1445 [C99-based-standards] (SCNxFAST32): Likewise.
1446 [C99-based-standards] (PRId64): Likewise.
1447 [C99-based-standards] (PRIi64): Likewise.
1448 [C99-based-standards] (PRIo64): Likewise.
1449 [C99-based-standards] (PRIu64): Likewise.
1450 [C99-based-standards] (PRIx64): Likewise.
1451 [C99-based-standards] (PRIX64): Likewise.
1452 [C99-based-standards] (SCNd64): Likewise.
1453 [C99-based-standards] (SCNi64): Likewise.
1454 [C99-based-standards] (SCNo64): Likewise.
1455 [C99-based-standards] (SCNu64): Likewise.
1456 [C99-based-standards] (SCNx64): Likewise.
1457 [C99-based-standards] (PRIdLEAST64): Likewise.
1458 [C99-based-standards] (PRIiLEAST64): Likewise.
1459 [C99-based-standards] (PRIoLEAST64): Likewise.
1460 [C99-based-standards] (PRIuLEAST64): Likewise.
1461 [C99-based-standards] (PRIxLEAST64): Likewise.
1462 [C99-based-standards] (PRIXLEAST64): Likewise.
1463 [C99-based-standards] (SCNdLEAST64): Likewise.
1464 [C99-based-standards] (SCNiLEAST64): Likewise.
1465 [C99-based-standards] (SCNoLEAST64): Likewise.
1466 [C99-based-standards] (SCNuLEAST64): Likewise.
1467 [C99-based-standards] (SCNxLEAST64): Likewise.
1468 [C99-based-standards] (PRIdFAST64): Likewise.
1469 [C99-based-standards] (PRIiFAST64): Likewise.
1470 [C99-based-standards] (PRIoFAST64): Likewise.
1471 [C99-based-standards] (PRIuFAST64): Likewise.
1472 [C99-based-standards] (PRIxFAST64): Likewise.
1473 [C99-based-standards] (PRIXFAST64): Likewise.
1474 [C99-based-standards] (SCNdFAST64): Likewise.
1475 [C99-based-standards] (SCNiFAST64): Likewise.
1476 [C99-based-standards] (SCNoFAST64): Likewise.
1477 [C99-based-standards] (SCNuFAST64): Likewise.
1478 [C99-based-standards] (SCNxFAST64): Likewise.
1479 [C99-based-standards] (PRIdMAX): Likewise.
1480 [C99-based-standards] (PRIiMAX): Likewise.
1481 [C99-based-standards] (PRIoMAX): Likewise.
1482 [C99-based-standards] (PRIuMAX): Likewise.
1483 [C99-based-standards] (PRIxMAX): Likewise.
1484 [C99-based-standards] (PRIXMAX): Likewise.
1485 [C99-based-standards] (SCNdMAX): Likewise.
1486 [C99-based-standards] (SCNiMAX): Likewise.
1487 [C99-based-standards] (SCNoMAX): Likewise.
1488 [C99-based-standards] (SCNuMAX): Likewise.
1489 [C99-based-standards] (SCNxMAX): Likewise.
1490 [C99-based-standards] (PRIdPTR): Likewise.
1491 [C99-based-standards] (PRIiPTR): Likewise.
1492 [C99-based-standards] (PRIoPTR): Likewise.
1493 [C99-based-standards] (PRIuPTR): Likewise.
1494 [C99-based-standards] (PRIxPTR): Likewise.
1495 [C99-based-standards] (PRIXPTR): Likewise.
1496 [C99-based-standards] (SCNdPTR): Likewise.
1497 [C99-based-standards] (SCNiPTR): Likewise.
1498 [C99-based-standards] (SCNoPTR): Likewise.
1499 [C99-based-standards] (SCNuPTR): Likewise.
1500 [C99-based-standards] (SCNxPTR): Likewise.
1501 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1502 allow.
1503 * conform/data/stdint.h-data: Update comments to clarify
1504 requirements.
1505 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1506 type.
1507 [C99-based standards] (INT8_MAX): Likewise.
1508 [C99-based standards] (INT16_MIN): Likewise.
1509 [C99-based standards] (INT16_MAX): Likewise.
1510 [C99-based standards] (INT32_MIN): Likewise.
1511 [C99-based standards] (INT32_MAX): Likewise.
1512 [C99-based standards] (INT64_MIN): Likewise.
1513 [C99-based standards] (INT64_MAX): Likewise.
1514 [C99-based standards] (UINT8_MAX): Likewise.
1515 [C99-based standards] (UINT16_MAX): Likewise.
1516 [C99-based standards] (UINT32_MAX): Likewise.
1517 [C99-based standards] (UINT64_MAX): Likewise.
1518 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1519 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1520 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1521 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1522 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1523 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1524 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1525 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1526 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1527 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1528 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1529 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1530 [C99-based standards] (INT_FAST8_MIN): Likewise.
1531 [C99-based standards] (INT_FAST8_MAX): Likewise.
1532 [C99-based standards] (INT_FAST16_MIN): Likewise.
1533 [C99-based standards] (INT_FAST16_MAX): Likewise.
1534 [C99-based standards] (INT_FAST32_MIN): Likewise.
1535 [C99-based standards] (INT_FAST32_MAX): Likewise.
1536 [C99-based standards] (INT_FAST64_MIN): Likewise.
1537 [C99-based standards] (INT_FAST64_MAX): Likewise.
1538 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1539 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1540 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1541 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1542 [C99-based standards] (INTPTR_MIN): Likewise.
1543 [C99-based standards] (INTPTR_MAX): Likewise.
1544 [C99-based standards] (UINTPTR_MAX): Likewise.
1545 [C99-based standards] (INTMAX_MIN): Likewise.
1546 [C99-based standards] (INTMAX_MAX): Likewise.
1547 [C99-based standards] (UINTMAX_MAX): Likewise.
1548 [C99-based standards] (PTRDIFF_MIN): Likewise.
1549 [C99-based standards] (PTRDIFF_MAX): Likewise.
1550 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1551 [C99-based standards] (SIZE_MAX): Likewise.
1552 [C99-based standards] (WCHAR_MAX): Likewise.
1553 [C99-based standards] (WINT_MAX): Likewise.
1554 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1555 constraint on value.
1556 [C99-based standards] (WCHAR_MIN): Likewise.
1557 [C99-based standards] (WINT_MIN): Likewise.
1558 [C99-based standards] (*_t): Allow.
1559 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1560 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1561 Include math.h-data and complex.h-data. Remove all expectations
1562 of math.h and complex.h contents.
1563 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1564 at end of line.
1565 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1566 (struct tm): Expect tag.
1567 [C99-based-standards] (wcstof): Expect function.
1568 [C99-based-standards] (wcstold): Likewise.
1569 [C99-based-standards] (wcstoll): Likewise.
1570 [C99-based-standards] (wcstoull): Likewise.
1571 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1572 macro-int-constant. Specify type.
1573 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1574 constraint on value.
1575 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1576 Specify type.
1577 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1578 Specify value.
1579 [ISO C standards]: Do not allow headers.
1580 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1581 wcs[abcdefghijklmnopqrstuvwxyz]*.
1582 [ISO C standards] (*_t): Do not allow.
1583 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1584 Expect function.
1585 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1586 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1587 Specify type.
1588 [ISO C standards]: Do not allow headers.
1589 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1590 is[abcdefghijklmnopqrstuvwxyz]*.
1591 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1592 to[abcdefghijklmnopqrstuvwxyz]*.
1593 [ISO C standards] (*_t): Do not allow.
1594 * conform/data/stdalign.h-data: New file.
1595 * conform/data/stdbool.h-data: Likewise.
1596 * conform/data/stdnoreturn.h-data: Likewise.
1597
7514feb8
RM
15982012-11-07 Roland McGrath <roland@hack.frob.com>
1599
1600 [BZ #14815]
1601 * manual/filesys.texi (Directory Entries): Typo fix.
1602 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1603
19b2ecfc
MS
16042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1605
1606 * elf/elf.h (EM_AARCH64): New macro.
1607 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1608 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1609 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1610 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1611 (R_AARCH64_TLSDESC): Likewise.
1612 (NT_ARM_TLS): Likewise.
1613 (NT_ARM_HW_BREAK): Likewise.
1614 (NT_ARM_HW_WATCH): Likewise.
1615
60e235ee
JM
16162012-11-07 Joseph Myers <joseph@codesourcery.com>
1617
1618 [BZ #14811]
1619 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1620 (__ieee754_powl): Saturate nonzero exponents with absolute value
1621 below 0x1p-79 to +/- 0x1p-79.
1622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1623 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1624 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1625 nonzero exponents with absolute value below 0x1p-32 to +/-
1626 0x1p-32.
1627 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1628 (__ieee754_powl): Saturate nonzero exponents with absolute value
1629 below 0x1p-79 to +/- 0x1p-79.
1630 * math/libm-test.inc (pow_test): Add more tests.
1631
0ab234b7
AK
16322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1633
1634 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1635 _dl_s390_cap_flags with kernel. Increase string length.
1636 (_dl_s390_platforms): Add z196 and zEC12.
1637
45832f74
JM
16382012-11-07 Joseph Myers <joseph@codesourcery.com>
1639
1640 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1641 Change XOPEN21K to XOPEN2K.
1642
19218757
MK
16432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1644
1645 * string/memmove.c: Use memcpy when possible.
1646
c5f45721
AJ
16472012-11-06 Andreas Jaeger <aj@suse.de>
1648
1649 * po/eo.po: Update from translation team.
1650
82477c28
JM
16512012-11-06 Joseph Myers <joseph@codesourcery.com>
1652
1653 [BZ #14793]
1654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1655 exponent and small x and y exponents, scale x or y up. Increase
1656 by 2 the exponent used in scaling up.
1657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1658 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1659 * math/libm-test.inc (fma_test): Add more tests.
1660 (fma_test_towardzero): Likewise.
1661 (fma_test_downward): Likewise.
1662 (fma_test_upward): Likewise.
1663
99252c8c
JM
16642012-11-05 Joseph Myers <joseph@codesourcery.com>
1665
acfa885f
JM
1666 [BZ #14805]
1667 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1668 fenv_t *.
1669
99252c8c
JM
1670 [BZ #14801]
1671 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1672 namespace for names of struct fields.
1673 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1674 fenv_t fields.
1675 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1676 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1677
d6d98dea
ST
16782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1679
1680 [BZ #3665]
1681 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1682
e10bb107
TS
16832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1684
1685 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1686 PTR_DEMANGLE.
1687
1688 [BZ #5246]
1689 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1690 PTR_DEMANGLE.
1691
a0c2940d
JM
16922012-11-04 Joseph Myers <joseph@codesourcery.com>
1693
1694 [BZ #14797]
1695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1696 definitely overflow as x * y not x * y + z.
1697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1698 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1699 * math/libm-test.inc (fma_test): Add more tests.
1700 (fma_test_towardzero): Likewise.
1701 (fma_test_downward): Likewise.
1702 (fma_test_upward): Likewise.
1703
b830319d
TS
17042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1705
1706 [BZ #157]
1707
1708 * include/stub-tag.h: Remove file.
1709 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1710 '#include' of it.
1711 * manual/maint.texi (Porting): Don't reference it.
1712 * Makerules ($(objpfx)stubs): Likewise.
1713 * dirent/closedir.c: Don't include <stub-tag.h>.
1714 * dirent/dirfd.c: Likewise.
1715 * dirent/fdopendir.c: Likewise.
1716 * dirent/getdents.c: Likewise.
1717 * dirent/getdents64.c: Likewise.
1718 * dirent/opendir.c: Likewise.
1719 * dirent/readdir.c: Likewise.
1720 * dirent/readdir64.c: Likewise.
1721 * dirent/readdir64_r.c: Likewise.
1722 * dirent/readdir_r.c: Likewise.
1723 * dirent/rewinddir.c: Likewise.
1724 * dirent/seekdir.c: Likewise.
1725 * dirent/telldir.c: Likewise.
1726 * gmon/profil.c: Likewise.
1727 * grp/setgroups.c: Likewise.
1728 * inet/if_index.c: Likewise.
1729 * io/access.c: Likewise.
1730 * io/chdir.c: Likewise.
1731 * io/chmod.c: Likewise.
1732 * io/chown.c: Likewise.
1733 * io/close.c: Likewise.
1734 * io/dup.c: Likewise.
1735 * io/dup2.c: Likewise.
1736 * io/dup3.c: Likewise.
1737 * io/euidaccess.c: Likewise.
1738 * io/faccessat.c: Likewise.
1739 * io/fchdir.c: Likewise.
1740 * io/fchmod.c: Likewise.
1741 * io/fchmodat.c: Likewise.
1742 * io/fchown.c: Likewise.
1743 * io/fchownat.c: Likewise.
1744 * io/fcntl.c: Likewise.
1745 * io/flock.c: Likewise.
1746 * io/fstatfs.c: Likewise.
1747 * io/fstatfs64.c: Likewise.
1748 * io/fstatvfs.c: Likewise.
1749 * io/fstatvfs64.c: Likewise.
1750 * io/futimens.c: Likewise.
1751 * io/fxstat.c: Likewise.
1752 * io/fxstat64.c: Likewise.
1753 * io/fxstatat.c: Likewise.
1754 * io/fxstatat64.c: Likewise.
1755 * io/getcwd.c: Likewise.
1756 * io/isatty.c: Likewise.
1757 * io/lchmod.c: Likewise.
1758 * io/lchown.c: Likewise.
1759 * io/link.c: Likewise.
1760 * io/linkat.c: Likewise.
1761 * io/lseek.c: Likewise.
1762 * io/lseek64.c: Likewise.
1763 * io/lxstat64.c: Likewise.
1764 * io/mkdir.c: Likewise.
1765 * io/mkdirat.c: Likewise.
1766 * io/mkfifo.c: Likewise.
1767 * io/mkfifoat.c: Likewise.
1768 * io/open.c: Likewise.
1769 * io/open64.c: Likewise.
1770 * io/openat.c: Likewise.
1771 * io/openat64.c: Likewise.
1772 * io/pipe.c: Likewise.
1773 * io/pipe2.c: Likewise.
1774 * io/poll.c: Likewise.
1775 * io/posix_fadvise.c: Likewise.
1776 * io/posix_fadvise64.c: Likewise.
1777 * io/posix_fallocate.c: Likewise.
1778 * io/posix_fallocate64.c: Likewise.
1779 * io/read.c: Likewise.
1780 * io/readlink.c: Likewise.
1781 * io/readlinkat.c: Likewise.
1782 * io/rmdir.c: Likewise.
1783 * io/sendfile.c: Likewise.
1784 * io/sendfile64.c: Likewise.
1785 * io/statfs.c: Likewise.
1786 * io/statfs64.c: Likewise.
1787 * io/statvfs.c: Likewise.
1788 * io/statvfs64.c: Likewise.
1789 * io/symlink.c: Likewise.
1790 * io/symlinkat.c: Likewise.
1791 * io/ttyname.c: Likewise.
1792 * io/ttyname_r.c: Likewise.
1793 * io/umask.c: Likewise.
1794 * io/unlink.c: Likewise.
1795 * io/unlinkat.c: Likewise.
1796 * io/utime.c: Likewise.
1797 * io/utimensat.c: Likewise.
1798 * io/write.c: Likewise.
1799 * io/xmknod.c: Likewise.
1800 * io/xmknodat.c: Likewise.
1801 * io/xstat.c: Likewise.
1802 * io/xstat64.c: Likewise.
1803 * login/getpt.c: Likewise.
1804 * login/grantpt.c: Likewise.
1805 * login/unlockpt.c: Likewise.
1806 * math/e_acoshl.c: Likewise.
1807 * math/e_acosl.c: Likewise.
1808 * math/e_asinl.c: Likewise.
1809 * math/e_atan2l.c: Likewise.
1810 * math/e_atanhl.c: Likewise.
1811 * math/e_coshl.c: Likewise.
1812 * math/e_expl.c: Likewise.
1813 * math/e_fmodl.c: Likewise.
1814 * math/e_gammal_r.c: Likewise.
1815 * math/e_hypotl.c: Likewise.
1816 * math/e_j0l.c: Likewise.
1817 * math/e_j1l.c: Likewise.
1818 * math/e_jnl.c: Likewise.
1819 * math/e_lgammal_r.c: Likewise.
1820 * math/e_log10l.c: Likewise.
1821 * math/e_log2l.c: Likewise.
1822 * math/e_logl.c: Likewise.
1823 * math/e_powl.c: Likewise.
1824 * math/e_rem_pio2l.c: Likewise.
1825 * math/e_sinhl.c: Likewise.
1826 * math/e_sqrtl.c: Likewise.
1827 * math/fclrexcpt.c: Likewise.
1828 * math/fedisblxcpt.c: Likewise.
1829 * math/feenablxcpt.c: Likewise.
1830 * math/fegetenv.c: Likewise.
1831 * math/fegetexcept.c: Likewise.
1832 * math/fegetround.c: Likewise.
1833 * math/feholdexcpt.c: Likewise.
1834 * math/fesetenv.c: Likewise.
1835 * math/fesetround.c: Likewise.
1836 * math/feupdateenv.c: Likewise.
1837 * math/fgetexcptflg.c: Likewise.
1838 * math/fraiseexcpt.c: Likewise.
1839 * math/fsetexcptflg.c: Likewise.
1840 * math/ftestexcept.c: Likewise.
1841 * math/k_cosl.c: Likewise.
1842 * math/k_rem_pio2l.c: Likewise.
1843 * math/k_sinl.c: Likewise.
1844 * math/k_tanl.c: Likewise.
1845 * math/s_asinhl.c: Likewise.
1846 * math/s_atanl.c: Likewise.
1847 * math/s_cbrtl.c: Likewise.
1848 * math/s_erfl.c: Likewise.
1849 * math/s_expm1l.c: Likewise.
1850 * math/s_log1pl.c: Likewise.
1851 * math/s_tanhl.c: Likewise.
1852 * misc/acct.c: Likewise.
1853 * misc/brk.c: Likewise.
1854 * misc/chflags.c: Likewise.
1855 * misc/chroot.c: Likewise.
1856 * misc/fchflags.c: Likewise.
1857 * misc/fgetxattr.c: Likewise.
1858 * misc/flistxattr.c: Likewise.
1859 * misc/fremovexattr.c: Likewise.
1860 * misc/fsetxattr.c: Likewise.
1861 * misc/fsync.c: Likewise.
1862 * misc/ftruncate.c: Likewise.
1863 * misc/futimes.c: Likewise.
1864 * misc/futimesat.c: Likewise.
1865 * misc/getdomain.c: Likewise.
1866 * misc/getdtsz.c: Likewise.
1867 * misc/gethostid.c: Likewise.
1868 * misc/gethostname.c: Likewise.
1869 * misc/getloadavg.c: Likewise.
1870 * misc/getpagesize.c: Likewise.
1871 * misc/getsysstats.c: Likewise.
1872 * misc/getxattr.c: Likewise.
1873 * misc/gtty.c: Likewise.
1874 * misc/ioctl.c: Likewise.
1875 * misc/lgetxattr.c: Likewise.
1876 * misc/listxattr.c: Likewise.
1877 * misc/llistxattr.c: Likewise.
1878 * misc/lremovexattr.c: Likewise.
1879 * misc/lsetxattr.c: Likewise.
1880 * misc/lutimes.c: Likewise.
1881 * misc/madvise.c: Likewise.
1882 * misc/mincore.c: Likewise.
1883 * misc/mlock.c: Likewise.
1884 * misc/mlockall.c: Likewise.
1885 * misc/mmap.c: Likewise.
1886 * misc/mprotect.c: Likewise.
1887 * misc/msync.c: Likewise.
1888 * misc/munlock.c: Likewise.
1889 * misc/munlockall.c: Likewise.
1890 * misc/munmap.c: Likewise.
1891 * misc/preadv.c: Likewise.
1892 * misc/preadv64.c: Likewise.
1893 * misc/ptrace.c: Likewise.
1894 * misc/pwritev.c: Likewise.
1895 * misc/pwritev64.c: Likewise.
1896 * misc/readv.c: Likewise.
1897 * misc/reboot.c: Likewise.
1898 * misc/remap_file_pages.c: Likewise.
1899 * misc/removexattr.c: Likewise.
1900 * misc/revoke.c: Likewise.
1901 * misc/select.c: Likewise.
1902 * misc/setdomain.c: Likewise.
1903 * misc/setegid.c: Likewise.
1904 * misc/seteuid.c: Likewise.
1905 * misc/sethostid.c: Likewise.
1906 * misc/sethostname.c: Likewise.
1907 * misc/setregid.c: Likewise.
1908 * misc/setreuid.c: Likewise.
1909 * misc/setxattr.c: Likewise.
1910 * misc/sstk.c: Likewise.
1911 * misc/stty.c: Likewise.
1912 * misc/swapoff.c: Likewise.
1913 * misc/swapon.c: Likewise.
1914 * misc/sync.c: Likewise.
1915 * misc/syncfs.c: Likewise.
1916 * misc/syscall.c: Likewise.
1917 * misc/truncate.c: Likewise.
1918 * misc/ualarm.c: Likewise.
1919 * misc/usleep.c: Likewise.
1920 * misc/ustat.c: Likewise.
1921 * misc/utimes.c: Likewise.
1922 * misc/vhangup.c: Likewise.
1923 * misc/writev.c: Likewise.
1924 * posix/_exit.c: Likewise.
1925 * posix/alarm.c: Likewise.
1926 * posix/execve.c: Likewise.
1927 * posix/fexecve.c: Likewise.
1928 * posix/fork.c: Likewise.
1929 * posix/fpathconf.c: Likewise.
1930 * posix/getaddrinfo.c: Likewise.
1931 * posix/getegid.c: Likewise.
1932 * posix/geteuid.c: Likewise.
1933 * posix/getgid.c: Likewise.
1934 * posix/getgroups.c: Likewise.
1935 * posix/getlogin.c: Likewise.
1936 * posix/getlogin_r.c: Likewise.
1937 * posix/getpgid.c: Likewise.
1938 * posix/getpid.c: Likewise.
1939 * posix/getppid.c: Likewise.
1940 * posix/getresgid.c: Likewise.
1941 * posix/getresuid.c: Likewise.
1942 * posix/getsid.c: Likewise.
1943 * posix/getuid.c: Likewise.
1944 * posix/glob64.c: Likewise.
1945 * posix/nanosleep.c: Likewise.
1946 * posix/pathconf.c: Likewise.
1947 * posix/pause.c: Likewise.
1948 * posix/posix_madvise.c: Likewise.
1949 * posix/pread.c: Likewise.
1950 * posix/pread64.c: Likewise.
1951 * posix/pwrite.c: Likewise.
1952 * posix/pwrite64.c: Likewise.
1953 * posix/sched_getaffinity.c: Likewise.
1954 * posix/sched_getp.c: Likewise.
1955 * posix/sched_gets.c: Likewise.
1956 * posix/sched_primax.c: Likewise.
1957 * posix/sched_primin.c: Likewise.
1958 * posix/sched_rr_gi.c: Likewise.
1959 * posix/sched_setaffinity.c: Likewise.
1960 * posix/sched_setp.c: Likewise.
1961 * posix/sched_sets.c: Likewise.
1962 * posix/sched_yield.c: Likewise.
1963 * posix/setgid.c: Likewise.
1964 * posix/setlogin.c: Likewise.
1965 * posix/setpgid.c: Likewise.
1966 * posix/setresgid.c: Likewise.
1967 * posix/setresuid.c: Likewise.
1968 * posix/setsid.c: Likewise.
1969 * posix/setuid.c: Likewise.
1970 * posix/sleep.c: Likewise.
1971 * posix/spawni.c: Likewise.
1972 * posix/sysconf.c: Likewise.
1973 * posix/times.c: Likewise.
1974 * posix/wait.c: Likewise.
1975 * posix/wait3.c: Likewise.
1976 * posix/wait4.c: Likewise.
1977 * posix/waitpid.c: Likewise.
1978 * resolv/gai_sigqueue.c: Likewise.
1979 * resource/getpriority.c: Likewise.
1980 * resource/getrlimit.c: Likewise.
1981 * resource/getrusage.c: Likewise.
1982 * resource/nice.c: Likewise.
1983 * resource/setpriority.c: Likewise.
1984 * resource/setrlimit.c: Likewise.
1985 * resource/ulimit.c: Likewise.
1986 * rt/aio_cancel.c: Likewise.
1987 * rt/aio_fsync.c: Likewise.
1988 * rt/aio_read.c: Likewise.
1989 * rt/aio_sigqueue.c: Likewise.
1990 * rt/aio_suspend.c: Likewise.
1991 * rt/aio_write.c: Likewise.
1992 * rt/clock_getres.c: Likewise.
1993 * rt/clock_gettime.c: Likewise.
1994 * rt/clock_nanosleep.c: Likewise.
1995 * rt/clock_settime.c: Likewise.
1996 * rt/lio_listio.c: Likewise.
1997 * rt/mq_close.c: Likewise.
1998 * rt/mq_getattr.c: Likewise.
1999 * rt/mq_notify.c: Likewise.
2000 * rt/mq_open.c: Likewise.
2001 * rt/mq_receive.c: Likewise.
2002 * rt/mq_send.c: Likewise.
2003 * rt/mq_setattr.c: Likewise.
2004 * rt/mq_timedreceive.c: Likewise.
2005 * rt/mq_timedsend.c: Likewise.
2006 * rt/mq_unlink.c: Likewise.
2007 * rt/shm_open.c: Likewise.
2008 * rt/shm_unlink.c: Likewise.
2009 * rt/timer_create.c: Likewise.
2010 * rt/timer_delete.c: Likewise.
2011 * rt/timer_getoverr.c: Likewise.
2012 * rt/timer_gettime.c: Likewise.
2013 * rt/timer_settime.c: Likewise.
2014 * setjmp/__longjmp.c: Likewise.
2015 * setjmp/setjmp.c: Likewise.
2016 * signal/kill.c: Likewise.
2017 * signal/killpg.c: Likewise.
2018 * signal/raise.c: Likewise.
2019 * signal/sigaction.c: Likewise.
2020 * signal/sigaltstack.c: Likewise.
2021 * signal/sigblock.c: Likewise.
2022 * signal/sigignore.c: Likewise.
2023 * signal/sigintr.c: Likewise.
2024 * signal/signal.c: Likewise.
2025 * signal/sigpause.c: Likewise.
2026 * signal/sigpending.c: Likewise.
2027 * signal/sigqueue.c: Likewise.
2028 * signal/sigreturn.c: Likewise.
2029 * signal/sigset.c: Likewise.
2030 * signal/sigsetmask.c: Likewise.
2031 * signal/sigstack.c: Likewise.
2032 * signal/sigsuspend.c: Likewise.
2033 * signal/sigtimedwait.c: Likewise.
2034 * signal/sigvec.c: Likewise.
2035 * signal/sigwait.c: Likewise.
2036 * signal/sigwaitinfo.c: Likewise.
2037 * signal/sysv_signal.c: Likewise.
2038 * socket/accept.c: Likewise.
2039 * socket/accept4.c: Likewise.
2040 * socket/bind.c: Likewise.
2041 * socket/connect.c: Likewise.
2042 * socket/getpeername.c: Likewise.
2043 * socket/getsockname.c: Likewise.
2044 * socket/getsockopt.c: Likewise.
2045 * socket/isfdtype.c: Likewise.
2046 * socket/listen.c: Likewise.
2047 * socket/recv.c: Likewise.
2048 * socket/recvfrom.c: Likewise.
2049 * socket/recvmsg.c: Likewise.
2050 * socket/send.c: Likewise.
2051 * socket/sendmsg.c: Likewise.
2052 * socket/sendto.c: Likewise.
2053 * socket/setsockopt.c: Likewise.
2054 * socket/shutdown.c: Likewise.
2055 * socket/sockatmark.c: Likewise.
2056 * socket/socket.c: Likewise.
2057 * socket/socketpair.c: Likewise.
2058 * stdio-common/ctermid.c: Likewise.
2059 * stdio-common/cuserid.c: Likewise.
2060 * stdio-common/remove.c: Likewise.
2061 * stdio-common/rename.c: Likewise.
2062 * stdio-common/renameat.c: Likewise.
2063 * stdio-common/tempname.c: Likewise.
2064 * stdlib/getcontext.c: Likewise.
2065 * stdlib/makecontext.c: Likewise.
2066 * stdlib/setcontext.c: Likewise.
2067 * stdlib/swapcontext.c: Likewise.
2068 * stdlib/system.c: Likewise.
2069 * streams/fattach.c: Likewise.
2070 * streams/fdetach.c: Likewise.
2071 * streams/getmsg.c: Likewise.
2072 * streams/getpmsg.c: Likewise.
2073 * streams/putmsg.c: Likewise.
2074 * streams/putpmsg.c: Likewise.
2075 * sysdeps/unix/bsd/getpt.c: Likewise.
2076 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2077 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2078 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2080 Likewise.
2081 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2082 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2083 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2084 * sysvipc/msgctl.c: Likewise.
2085 * sysvipc/msgget.c: Likewise.
2086 * sysvipc/msgrcv.c: Likewise.
2087 * sysvipc/msgsnd.c: Likewise.
2088 * sysvipc/semctl.c: Likewise.
2089 * sysvipc/semget.c: Likewise.
2090 * sysvipc/semop.c: Likewise.
2091 * sysvipc/semtimedop.c: Likewise.
2092 * sysvipc/shmat.c: Likewise.
2093 * sysvipc/shmctl.c: Likewise.
2094 * sysvipc/shmdt.c: Likewise.
2095 * sysvipc/shmget.c: Likewise.
2096 * termios/tcdrain.c: Likewise.
2097 * termios/tcflow.c: Likewise.
2098 * termios/tcflush.c: Likewise.
2099 * termios/tcgetattr.c: Likewise.
2100 * termios/tcgetpgrp.c: Likewise.
2101 * termios/tcsendbrk.c: Likewise.
2102 * termios/tcsetattr.c: Likewise.
2103 * termios/tcsetpgrp.c: Likewise.
2104 * time/adjtime.c: Likewise.
2105 * time/clock.c: Likewise.
2106 * time/getitimer.c: Likewise.
2107 * time/gettimeofday.c: Likewise.
2108 * time/setitimer.c: Likewise.
2109 * time/settimeofday.c: Likewise.
2110 * time/stime.c: Likewise.
2111 * time/time.c: Likewise.
2112
21132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2114
a20492cf
PT
2115 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2116 /usr/old/bin.
2117
72e182e3
PT
2118 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2119 instead of spaces.
2120 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2121
fbeafede
JM
21222012-11-03 Joseph Myers <joseph@codesourcery.com>
2123
5b5b04d6
JM
2124 [BZ #14796]
2125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2126 FE_TONEAREST before applying Dekker multiplication and Knuth
2127 addition. Clear inexact exceptions and check for exact zero
2128 results afterwards.
2129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2130 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2131 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2132 * math/libm-test.inc (fma_test): Add more tests.
2133 (fma_test_towardzero): Likewise.
2134 (fma_test_downward): Likewise.
2135 (fma_test_upward): Likewise.
2136 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2137 function.
2138 (libc_fesetround): New macro.
2139 (libc_fesetroundf): Likewise.
2140 (libc_fesetroundl): Likewise.
2141 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2142 function.
2143 (libc_fesetround_387): Likewise.
2144 (libc_fesetroundf): New macro.
2145 (libc_fesetround): Likewise.
2146 (libc_fesetroundl): Likewise.
2147 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2148 function.
2149 (libc_fesetroundf): New macro.
2150 (libc_fesetround): Likewise.
2151 (libc_fesetroundl): Likewise.
2152 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2153 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2154 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2155 libm_hidden_ver.
2156 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2157 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2158 libm_hidden_def.
2159 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2160 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2161 libm_hidden_ver.
2162 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2163 libm_hidden_def.
2164
fbeafede
JM
2165 [BZ #3439]
2166 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2167 integer constant usable in #if and use that to give value to enum
2168 constant.
2169 (FE_DIVBYZERO): Likewise.
2170 (FE_UNDERFLOW): Likewise.
2171 (FE_OVERFLOW): Likewise.
2172 (FE_INVALID): Likewise.
2173 (FE_INVALID_SNAN): Likewise.
2174 (FE_INVALID_ISI): Likewise.
2175 (FE_INVALID_IDI): Likewise.
2176 (FE_INVALID_ZDZ): Likewise.
2177 (FE_INVALID_IMZ): Likewise.
2178 (FE_INVALID_COMPARE): Likewise.
2179 (FE_INVALID_SOFTWARE): Likewise.
2180 (FE_INVALID_SQRT): Likewise.
2181 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2182 (FE_TONEAREST): Likewise.
2183 (FE_TOWARDZERO): Likewise.
2184 (FE_UPWARD): Likewise.
2185 (FE_DOWNWARD): Likewise.
2186 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2187 (FE_DIVBYZERO): Likewise.
2188 (FE_OVERFLOW): Likewise.
2189 (FE_UNDERFLOW): Likewise.
2190 (FE_INEXACT): Likewise.
2191 (FE_TONEAREST): Likewise.
2192 (FE_DOWNWARD): Likewise.
2193 (FE_UPWARD): Likewise.
2194 (FE_TOWARDZERO): Likewise.
2195 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2196 (FE_UNDERFLOW): Likewise.
2197 (FE_OVERFLOW): Likewise.
2198 (FE_DIVBYZERO): Likewise.
2199 (FE_INVALID): Likewise.
2200 (FE_TONEAREST): Likewise.
2201 (FE_TOWARDZERO): Likewise.
2202 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2203 (FE_OVERFLOW): Likewise.
2204 (FE_UNDERFLOW): Likewise.
2205 (FE_DIVBYZERO): Likewise.
2206 (FE_INEXACT): Likewise.
2207 (FE_TONEAREST): Likewise.
2208 (FE_TOWARDZERO): Likewise.
2209 (FE_UPWARD): Likewise.
2210 (FE_DOWNWARD): Likewise.
2211 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2212 (FE_DIVBYZERO): Likewise.
2213 (FE_OVERFLOW): Likewise.
2214 (FE_UNDERFLOW): Likewise.
2215 (FE_INEXACT): Likewise.
2216 (FE_TONEAREST): Likewise.
2217 (FE_DOWNWARD): Likewise.
2218 (FE_UPWARD): Likewise.
2219 (FE_TOWARDZERO): Likewise.
2220
105ca950
CM
22212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2222
2223 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2224
a542b389
AS
22252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2226
2227 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2228 commands. Quote $PWD.
2229 (blacklist_exports): Don't use remove_newlines. Replace "declare
2230 -x" by "export".
2231 (remove_newlines): Remove.
2232
f62c8abc
L
22332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2234
2235 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2236 * stdlib/stdlib.h (atof): Moved to ...
2237 * include/bits/stdlib-float.h: Here. New file.
2238 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2239 * stdlib/bits/stdlib-float.h: New file.
2240 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2241 -mno-sse -mno-mmx.
2242 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2243 <xmmintrin.h>.
2244
0155d5b2
JM
22452012-11-02 Joseph Myers <joseph@codesourcery.com>
2246
a68d0680
JM
2247 * conform/conformtest.pl (@headers): Add fenv.h.
2248 * conform/data/fenv.h-data: New file.
2249 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2250 include of <math/fenv.h>.
2251
caf7f573
JM
2252 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2253 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2254 && !UNIX98]. Enables tests for XOPEN2K8.
2255 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2256 POSIX2008]: Likewise.
2257
6c073ad6
JM
2258 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2259 (struct rusage): Do not expect type or its members.
2260
0155d5b2
JM
2261 [BZ #3439]
2262 * math/math.h (FP_NAN): Define macro to integer constant usable in
2263 #if and use that to give value to enum constant.
2264 (FP_INFINITE): Likewise.
2265 (FP_ZERO): Likewise.
2266 (FP_SUBNORMAL): Likewise.
2267 (FP_NORMAL): Likewise.
2268
b5dcacb4
AS
22692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2270
2271 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2272 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2273 arguments.
2274
f7934be8
RM
22752012-11-02 Roland McGrath <roland@hack.frob.com>
2276
2277 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2278 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2279 autoconf-time if not.
2280 * configure.in: Remove AC_PREREQ.
2281
d7d08bde
TMQMF
22822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2283
2284 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2285 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2286 of the internal implementation.
2287
dcdae19a
JM
22882012-11-02 Joseph Myers <joseph@codesourcery.com>
2289
2290 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2291 except include of <misc/sys/syslog.h>.
2292
d6cffd3e
AS
22932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2294
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2296 function returns with a NULL context exit with zero.
2297
b3563932
TMQMF
22982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2299
2300 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2301
b288a93d
L
23022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2303
2304 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2305 (run_program_cmd): This.
2306 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2307 (tst_langinfo): New variable. Use it.
2308
a2421a68
SAS
23092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2310
2311 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2312 floating point opcodes.
2313
6f796e1b
TS
23142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2315
7402596b
TS
2316 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2317 variable.
2318
d0d4f868
TS
2319 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2320
6f796e1b
TS
2321 * sysdeps/mach/hurd/powerpc: Remove directory.
2322 * sysdeps/mach/powerpc: Likewise.
2323
4da224a2
AS
23242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2325
2326 * scripts/check-local-headers.sh: Ignore c++ headers.
2327
341dd673
TS
23282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2329
2330 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2331 __libc_cleanup_region_start argument.
2332
473611b2
JM
23332012-11-01 Joseph Myers <joseph@codesourcery.com>
2334
2335 [BZ #14784]
2336 [BZ #14785]
2337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2338 x * y using scaling, not as x * y + z.
2339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2340 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2341 * math/libm-test.inc (fma_test): Add more tests.
2342 (fma_test_towardzero): Likewise.
2343 (fma_test_downward): Likewise.
2344 (fma_test_upward): Likewise.
2345
4078da3d
TS
23462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2347
2348 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2349
903252aa
JM
23502012-10-31 Joseph Myers <joseph@codesourcery.com>
2351
2352 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2353 New variable.
2354
cbc818d0
TS
23552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2356
2357 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2358
5a03cb1e
AS
23592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2360
2361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2362 Fix sort order.
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2364 Likewise.
2365
90aff2ff
TMQMF
23662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2367
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2369 Fix the order of the list for glibc 2.17.
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2371 Likewise.
2372
1818fcb7
AS
23732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2374
2375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2376
ef82f4da
JM
23772012-10-31 Joseph Myers <joseph@codesourcery.com>
2378
16a0e2ec
JM
2379 [BZ #14610]
2380 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2381 for low part of x being zero before using __atanl (y).
2382 * math/libm-test.inc (atan2_test): Add another test.
2383
0eb69512
JM
2384 * manual/install.texi (Configuring and compiling): Document
2385 general use of test-wrapper and test-wrapper-env.
2386 * INSTALL: Regenerated.
2387
ef82f4da
JM
2388 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2389 (__fma): Do not extract and scale down low bits on after-rounding
2390 systems when result rounded to normal precision would have normal
2391 exponent.
2392 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2393 (__fmal): Do not extract and scale down low bits on after-rounding
2394 systems when result rounded to normal precision would have normal
2395 exponent.
2396 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2397 (__fmal): Do not extract and scale down low bits on after-rounding
2398 systems when result rounded to normal precision would have normal
2399 exponent.
2400 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2401 macro.
2402 (fma_test): Add more tests.
2403 (fma_test_towardzero): Likewise.
2404 (fma_test_downward): Likewise.
2405 (fma_test_upward): Likewise.
2406
954ef0d9
L
24072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2408
2409 * sysdeps/i386/tininess.h: Renamed to ...
2410 * sysdeps/x86/tininess.h: This.
2411 * sysdeps/x86_64/tininess.h: Removed.
2412
df61ffb2
JM
24132012-10-30 Joseph Myers <joseph@codesourcery.com>
2414
2415 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2416 input. Use $(build-program-cmd).
2417 ($(objpfx)tst-array1-static.out): Likewise.
2418 ($(objpfx)tst-array2.out): Likewise.
2419 ($(objpfx)tst-array3.out): Likewise.
2420 ($(objpfx)tst-array4.out): Likewise.
2421 ($(objpfx)tst-array5.out): Likewise.
2422 ($(objpfx)tst-array5-static.out): Likewise.
2423
01767843
CM
24242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2425
47cc1490
CM
2426 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2427 if defined.
2428
01767843
CM
2429 * nss/nsswitch.h (nss_interface_function): Provide new
2430 macro for use with NSS functions.
2431 * grp/initgroups.c: Use new macro.
2432 * nss/getXXbyYY.c: Likewise.
2433 * nss/getXXbyYY_r.c: Likewise.
2434 * nss/getXXent.c: Likewise.
2435 * nss/getXXent_r.c: Likewise.
2436 * sysdeps/posix/getaddrinfo.c: Likewise.
2437
8321aa97
AJ
24382012-10-30 Andreas Jaeger <aj@suse.de>
2439
2440 * po/ru.po: Update Russion translation from translation project.
2441
2a27fd6d
JM
24422012-10-30 Joseph Myers <joseph@codesourcery.com>
2443
8627a232
JM
2444 [BZ #14152]
2445 [BZ #14783]
2446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2447 result and shift together with sticky bit instead of replicating
2448 round-to-nearest rounding.
2449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2451 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2452 missing underflow exceptions.
2453 (fma_test_towardzero): Add more tests.
2454 (fma_test_downward): Likewise.
2455 (fma_test_upward): Likewise.
2456
2a27fd6d
JM
2457 [BZ #14047]
2458 * sysdeps/generic/tininess.h: New file.
2459 * sysdeps/i386/tininess.h: Likewise.
2460 * sysdeps/sh/tininess.h: Likewise.
2461 * sysdeps/x86_64/tininess.h: Likewise.
2462 * stdlib/tst-strtod-underflow.c: Likewise.
2463 * stdlib/tst-tininess.c: Likewise.
2464 * stdlib/strtod_l.c: Include <tininess.h>.
2465 (round_and_return): Do not set errno for exact underflow cases.
2466 Force an underflow exception when setting errno for underflow.
2467 Determine underflow based on rounding to normal precision if
2468 TININESS_AFTER_ROUNDING.
2469 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2470 ERANGE for exact underflow cases.
2471 * stdlib/Makefile (tests): Add tst-tininess and
2472 tst-strtod-underflow.
2473 ($(objpfx)tst-tininess): Use $(link-libm).
2474 ($(objpfx)tst-strtod-underflow): Likewise.
2475
e7170363
AJ
24762012-10-30 Andreas Jaeger <aj@suse.de>
2477
e5088dc6
AJ
2478 [BZ#14767]
2479 * elf/Makefile (tests): Remove conditional for have-initfini-array
2480 since this is now always required and the variable does not exist
2481 anymore.
2482 (tests-static): Likewise.
2483 (modules-names): Likewise.
2484
e7170363 2485 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2486
2487 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2488 merged with constructor/destructor.
2489 (init_array): Likewise.
2490 * elf/tst-array2dep.c (fini_array): Likewise.
2491 (init_array): Likewise.
2492
60457d8a
MF
24932012-10-29 Mike Frysinger <vapier@gentoo.org>
2494
2495 * manual/message.texi: Delete @cartouche tags.
2496
8bece752
PT
24972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2498
94ce799f
PT
2499 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2500 EOPNOTSUPP.
2501 * sysdeps/mach/hurd/fsync.c: Likewise.
2502
8bece752
PT
2503 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2504 [_POSIX_REALTIME_SIGNALS]: Change condition to
2505 [_POSIX_REALTIME_SIGNALS > 0].
2506
86ebe6b1
AJ
25072012-10-27 Andreas Jaeger <aj@suse.de>
2508
2509 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2510 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2512 [__WORDSIZE != 64]: Likewise.
2513
54399c08
L
25142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2515
2516 * iconvdata/tst-table.sh: Remove ${SHELL}.
2517 * iconvdata/tst-tables.sh: Likewise.
2518
e2211bed
DM
25192012-10-25 David S. Miller <davem@davemloft.net>
2520
2521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2522 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2523 of strtoull.
2524
f303f97c
DM
2525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2526 ifunc-impl-list.c
2527 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2528 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2529 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2530 file.
2531
1e9d84cd
RM
25322012-10-25 Roland McGrath <roland@hack.frob.com>
2533
2534 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2535 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2536 __getdirentries.
2537
df381762
JM
25382012-10-25 Joseph Myers <joseph@codesourcery.com>
2539 Jim Blandy <jimb@codesourcery.com>
2540
2541 * scripts/cross-test-ssh.sh: New file.
2542 * manual/install.texi (Configuring and compiling): Document use of
2543 cross-test-ssh.sh.
2544 * INSTALL: Regenerated.
2545
bff64913
PT
25462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2547
2548 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2549 EOPNOTSUPP.
2550
25fe8932
JM
25512012-10-25 Joseph Myers <joseph@codesourcery.com>
2552
2553 * Makeconfig (run-program-prefix): Fix comment.
2554
cc1290d0
JM
25552012-10-24 Joseph Myers <joseph@codesourcery.com>
2556 Jim Blandy <jimb@codesourcery.com>
2557
2558 * Makeconfig (test-wrapper): New variable,
2559 (test-wrapper-env): Likewise.
2560 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2561 (run-built-tests): Define to yes.
2562 (run-program-prefix): Use $(test-wrapper).
2563 (built-program-cmd): Likewise.
2564 * Rules (make-test-out): Use $(test-wrapper-env) and
2565 $(host-built-program-cmd).
2566 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2567 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2568 tst-pathopt.sh.
2569 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2570 $(test-wrapper-env) to tst-rtld-load-self.sh.
2571 ($(objpfx)order2.out): Use $(test-wrapper).
2572 ($(objpfx)tst-initorder.out): Likewise.
2573 ($(objpfx)tst-initorder2.out): Likewise.
2574 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2575 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2576 (test_wrapper_env): New variable. Use it to run ld.so.
2577 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2578 Use it to run ld.so.
2579 (test_wrapper_env): Likewise.
2580 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2581 $(test-wrapper) to run-iconv-test.sh.
2582 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2583 (ICONV): Use $test_wrapper.
2584 * posix/Makefile ($(objpfx)globtest.out): Pass
2585 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2586 globtest.sh, not $(run-program-prefix).
2587 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2588 (test_wrapper): Likewise.
2589 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2590 set together with run_via_rtld_prefix.
2591 (run_program_prefix): Define in terms of test_wrapper and
2592 run_via_rtld_prefix.
2593
6e6249d0
RM
25942012-10-24 Roland McGrath <roland@hack.frob.com>
2595
2596 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2597 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2598 Targets removed.
2599
2600 [BZ #14743]
2601 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2602 Declare __clock_getres, __clock_gettime, __clock_settime,
2603 __clock_nanosleep, and __clock_getcpuclockid.
2604 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2605 Remove librt_hidden_def (clock_gettime).
2606 * sysdeps/unix/clock_gettime.c: Likewise.
2607 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2608 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2609 * rt/clock_getres.c: Define __clock_getres as an alias.
2610 * sysdeps/posix/clock_getres.c: Likewise.
2611 * rt/clock_settime.c: Define __clock_settime as an alias.
2612 * sysdeps/unix/clock_settime.c: Likewise.
2613 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2614 * sysdeps/unix/clock_nanosleep.c: Likewise.
2615 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2616 * rt/clock-compat.c: New file.
2617 * rt/Makefile (librt-routines): Add clock-compat and move
2618 $(clock-routines) to ...
2619 (routines): ... here, new variable.
2620 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2621 Don't add get_clockfreq here.
2622 * rt/Versions (libc: GLIBC_2.17): New version set.
2623 Add clock_* symbols here.
2624 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2626 (GLIBC_2.17): Add clock_* symbols.
2627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2631 Likewise.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2633 Likewise.
2634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2638 * NEWS: Mention the move.
2639
2640 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2641 Use __open, __read, __close rather than their public counterparts.
2642 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2643 (__get_clockfreq_via_cpuinfo): Likewise.
2644 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2645 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2646
2647 * config.h.in (HAVE_IFUNC): New #undef.
2648 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2649 was successful.
2650 * configure: Regenerated.
2651
0cae3f4b
MF
26522012-10-24 Mike Frysinger <vapier@gentoo.org>
2653
2654 * configure.in: Move READELF check to start of file.
2655 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2656 libc_cv_asm_gnu_indirect_function in the process.
2657 * configure: Regenerated.
2658
8175a253
MF
26592012-10-24 Mike Frysinger <vapier@gentoo.org>
2660
2661 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2662 send the output to /dev/null.
2663 (libc_cv_cc_with_libunwind): Likewise.
2664 (libc_cv_as_noexecstack): Likewise.
2665 * configure: Regenerate.
2666
0708a7d1
JM
26672012-10-24 Joseph Myers <joseph@codesourcery.com>
2668
10b40d85
JM
2669 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2670
0708a7d1
JM
2671 * posix/globtest.sh (TMPDIR): Do not set.
2672 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2673 (testout): Likewise.
2674
9fddec1a
AJ
26752012-10-24 Andreas Jaeger <aj@suse.de>
2676
3a8db22f
AJ
2677 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2678 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2679 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2680 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2681 posix_fadvise64, posix_fallocate64.
2682
9fddec1a
AJ
2683 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2684 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2685 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2686 Likewise.
2687 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2688 Likewise.
2689 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2690
2691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2692 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2693 <bits/fcntl-linux.h>.
2694 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2695
2696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2697 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2698 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2699 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2700 [__WORDSIZE != 64]: Likewise.
2701
ebfd1bbd
JM
27022012-10-23 Joseph Myers <joseph@codesourcery.com>
2703
03ac099f
JM
2704 * Makeconfig (run-built-tests): New variable.
2705 * Rules [$(cross-compiling) = yes]: Change condition to
2706 [$(run-built-tests) = no].
2707 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2708 to [$(run-built-tests) = yes].
2709 * elf/Makefile [$(cross-compiling) = no]: Likewise
2710 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2711 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2712 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2713 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2714 * io/Makefile [$(cross-compiling) = no]: Likewise.
2715 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2716 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2717 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2718 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2719 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2720 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2721 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2722 * string/Makefile [$(cross-compiling) = no]: Likewise.
2723
ebfd1bbd
JM
2724 * posix/Makefile ($(objpfx)globtest.out): Pass
2725 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2726 $(rtld-installed-name).
2727 * posix/globtest.sh (elf_objpfx): Remove variable.
2728 (rtld_installed_name): Likewise.
2729 (library_path): Likewise.
2730 (run_program_prefix): New variable. Use for running globtest
2731 binary.
2732
166bca24
JB
27332012-10-23 Jim Blandy <jimb@codesourcery.com>
2734 Joseph Myers <joseph@codesourcery.com>
2735
2736 * Makeconfig (host-built-program-cmd): New variable.
2737 * elf/Makefile (tst-stackguard1-ARGS): Use
2738 $(host-built-program-cmd).
2739 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2740 (tst-spawn-ARGS): Likewise.
2741 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2742
88866099
JM
27432012-10-23 Joseph Myers <joseph@codesourcery.com>
2744 Jim Blandy <jimb@codesourcery.com>
2745
2746 * Makeconfig (run-via-rtld-prefix): New variable.
2747 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2748 (built-program-cmd): Likewise.
2749
b4b4c296
AJ
27502012-10-22 Andreas Jaeger <aj@suse.de>
2751
2752 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2753 __O_RSYNC if it exists, otherwise to O_SYNC.
2754
6fb54a22
JB
27552012-10-22 Jim Blandy <jimb@codesourcery.com>
2756 Joseph Myers <joseph@codesourcery.com>
2757
2758 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2759 /dev/null.
2760 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2761 from /dev/null
2762 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2763 /dev/null.
2764
481b90b9
AJ
27652012-10-22 Andreas Jaeger <aj@suse.de>
2766
2a0e2669
AJ
2767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2768 Define always.
2769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2770
76e38f9a
AJ
2771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2772 bits/fcntl-linux.h.
2773
7cd37b43
AJ
2774 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2775 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2776
481b90b9
AJ
2777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2778 to __O_LARGEFILE.
2779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2780 to __O_LARGEFILE.
2781
aba75984
JB
27822012-10-21 Jim Blandy <jimb@codesourcery.com>
2783 Joseph Myers <joseph@codesourcery.com>
2784
2785 * config.make.in (NM): New variable.
2786
88d4247f
AJ
27872012-10-21 Andreas Jaeger <aj@suse.de>
2788
2789 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2790 definitions and declarations that are provided by
2791 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2792
f2eed205
L
27932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2794
2795 [BZ #14683]
2796 * elf/Makefile (tests-static): Add tst-leaks1-static.
2797 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2798 ($(objpfx)tst-leaks1-static): New rule.
2799 ($(objpfx)tst-leaks1-static-mem): Likewise.
2800 (tst-leaks1-static-ENV): New macro.
2801 * elf/dl-open.c (dl_open_worker): Check the main application
2802 only if SHARED is defined.
2803 * elf/tst-leaks1-static.c: New file.
2804
335e6931
AJ
28052012-10-20 Andreas Jaeger <aj@suse.de>
2806
2807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2808 generic values for Linux.
2809 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2810 and declarations that are provided by <bits/fcntl-linux.h> and
2811 include <bits/fcntl-linux.h>.
2812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2813 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2814
ac5c94d3
RM
28152012-10-20 Roland McGrath <roland@hack.frob.com>
2816
2817 * io/fcntl.h: Move include of <bits/types.h> to the top and
2818 include it unconditionally.
2819
de54b33a
L
28202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2821
228cfb01
L
2822 * wcsmbs/Makefile (tests-ifunc): New variable.
2823 (tests): Add $(tests-ifunc).
2824 * wcsmbs/test-wcschr-ifunc.c: New file.
2825 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2826 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2827 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2828 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2829 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2830
69f07e5f
L
2831 * string/Makefile (tests-ifunc): New variable.
2832 (tests): Add $(tests-ifunc).
2833 * string/test-memccpy.c (TEST_NAME): New macro.
2834 * string/test-memchr.c (TEST_NAME): Likewise.
2835 * string/test-memcmp.c (TEST_NAME): Likewise.
2836 * string/test-memcpy.c (TEST_NAME): Likewise.
2837 * string/test-memmem.c (TEST_NAME): Likewise.
2838 * string/test-memmove.c (TEST_NAME): Likewise.
2839 * string/test-memset.c (TEST_NAME): Likewise.
2840 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2841 * string/test-stpcpy.c (TEST_NAME): Likewise.
2842 * string/test-stpncpy.c (TEST_NAME): Likewise.
2843 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2844 * string/test-strcasestr.c (TEST_NAME): Likewise.
2845 * string/test-strcat.c (TEST_NAME): Likewise.
2846 * string/test-strchr.c (TEST_NAME): Likewise.
2847 * string/test-strcmp.c(TEST_NAME): Likewise.
2848 * string/test-strcpy.c (TEST_NAME): Likewise.
2849 * string/test-strcspn.c (TEST_NAME): Likewise.
2850 * string/test-strlen.c (TEST_NAME): Likewise.
2851 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2852 * string/test-strncmp.c (TEST_NAME): Likewise.
2853 * string/test-strncpy.c (TEST_NAME): Likewise.
2854 * string/test-strnlen.c (TEST_NAME): Likewise.
2855 * string/test-strpbrk.c (TEST_NAME): Likewise.
2856 * string/test-strrchr.c (TEST_NAME): Likewise.
2857 * string/test-strspn.c (TEST_NAME): Likewise.
2858 * string/test-strstr.c (TEST_NAME): Likewise.
2859 * string/test-bcopy-ifunc.c: New file.
2860 * string/test-bzero-ifunc.c: Likewise.
2861 * string/test-memccpy-ifunc.c: Likewise.
2862 * string/test-memchr-ifunc.c: Likewise.
2863 * string/test-memcmp-ifunc.c: Likewise.
2864 * string/test-memcpy-ifunc.c: Likewise.
2865 * string/test-memmem-ifunc.c: Likewise.
2866 * string/test-memmove-ifunc.c: Likewise.
2867 * string/test-mempcpy-ifunc.c: Likewise.
2868 * string/test-memset-ifunc.c: Likewise.
2869 * string/test-rawmemchr-ifunc.c: Likewise.
2870 * string/test-stpcpy-ifunc.c: Likewise.
2871 * string/test-stpncpy-ifunc.c: Likewise.
2872 * string/test-strcasecmp-ifunc.c: Likewise.
2873 * string/test-strcasestr-ifunc.c: Likewise.
2874 * string/test-strcat-ifunc.c: Likewise.
2875 * string/test-strchr-ifunc.c: Likewise.
2876 * string/test-strchrnul-ifunc.c: Likewise.
2877 * string/test-strcmp-ifunc.c: Likewise.
2878 * string/test-strcpy-ifunc.c: Likewise.
2879 * string/test-strcspn-ifunc.c: Likewise.
2880 * string/test-strlen-ifunc.c: Likewise.
2881 * string/test-strncasecmp-ifunc.c: Likewise.
2882 * string/test-strncat-ifunc.c: Likewise.
2883 * string/test-strncmp-ifunc.c: Likewise.
2884 * string/test-strncpy-ifunc.c: Likewise.
2885 * string/test-strnlen-ifunc.c: Likewise.
2886 * string/test-strpbrk-ifunc.c: Likewise.
2887 * string/test-strrchr-ifunc.c: Likewise.
2888 * string/test-strspn-ifunc.c: Likewise.
2889 * string/test-strstr-ifunc.c: Likewise.
2890
de54b33a
L
2891 * debug/Makefile (tests-ifunc): New variable.
2892 (tests): Add $(tests-ifunc).
2893 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2894 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2895 * debug/test-stpcpy_chk-ifunc.c: New file.
2896 * debug/test-strcpy_chk-ifunc.c: Likewise.
2897
88481c16
SP
28982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2899
2900 [BZ #13601]
2901 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2902 header is not read in.
2903
135948bd
JM
29042012-10-19 Joseph Myers <joseph@codesourcery.com>
2905
89f1c388
JM
2906 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2907 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2908 directly. Pass built executable to script as
2909 $(built-program-cmd).
2910 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2911 $testprogram without using LD_LIBRARY_PATH and $ldso.
2912
e40a0d21
JM
2913 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2914 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2915 $(rtld-installed-name).
2916 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2917 (rtld_installed_name): Likewise.
2918 (library_path): Likewise.
2919 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2920 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2921 $(run-program-prefix) to tst-tables.sh.
2922 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2923 it to run tst-table-from and tst-table-to.
2924 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2925 Pass it to tst-table.sh.
2926 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2927 $(run-program-prefix) to tst-gettext.sh.
2928 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2929 tst-translit.sh.
2930 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2931 tst-gettext2.sh.
2932 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2933 to run tst-gettext.
2934 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2935 to run tst-gettext2.
2936 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2937 to run tst-translit.
2938 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2939 $(run-program-prefix) to tst-mtrace.sh.
2940 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2941 to run tst-mtrace.
2942 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2943 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2944 $(rtld-installed-name).
2945 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2946 (rtld_installed_name): Likewise.
2947 (run_program_prefix): New variable. Use it to run wordexp-test.
2948
728e272a
JM
2949 * Makeconfig (ARCH): Remove all definitions.
2950 (machine): Likewise.
2951 [ARCH]: Remove conditional code.
2952 [!objdir]: Give error.
2953 [!objdir] (objpfx): Remove.
2954 [!objdir] (common-objpfx): Likewise.
2955 [!objdir] (common-objdir): Likewise.
2956 * configure.in (config_makefile): Remove. Hardcode Makefile in
2957 AC_CONFIG_FILES call.
2958 * configure: Regenerated.
2959
d528cdcf
JM
2960 [BZ #13888]
2961 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2962 or TMPDIR.
2963 (testout): Likewise.
2964
135948bd
JM
2965 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2966 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2967 $(rtld-installed-name).
2968 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2969 (rtld_installed_name): Likwise.
2970 (runit): Remove function.
2971 (run_getconf): New variable, Use it for running getconf binary.
2972
38c78296
L
29732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2974
2975 [BZ #14716]
2976 * string/test-memmem.c (check_result): New function.
2977 (do_one_test): Use it.
2978 (check1): New function.
2979 (test_main): Use it.
2980
d077f65f
MT
29812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2982
2983 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2984
ced52c71
JM
29852012-10-18 Joseph Myers <joseph@codesourcery.com>
2986
2987 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2988 (_G_LSEEK64): Likewise.
2989 (_G_MMAP64): Likewise.
2990 (_G_FSTAT64): Likewise.
2991 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2992 (_G_LSEEK64): Likewise.
2993 (_G_MMAP64): Likewise.
2994 (_G_FSTAT64): Likewise.
2995 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2996 unconditional. Call __mmap64 directly.
2997 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2998 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2999 __lseek64 directly.
3000 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3001 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3002 __mmap64 directly.
3003 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3004 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3005 __lseek64 directly.
3006 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3007 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3008 __lseek64 directly.
3009 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3010 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3011 __lseek64 directly.
3012 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3013 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3014 __fxstat64 directly.
3015 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3016 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3017 unconditional.
3018 (freopen64) [!_G_OPEN64]: Remove conditional code.
3019 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3020 unconditional.
3021 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3022 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3023 unconditional.
3024 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3025 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3026 unconditional.
3027 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3028 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3029 unconditional.
3030 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3031 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3032 unconditional.
3033 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3034 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3035 unconditional.
3036 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3037 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3038 unconditional.
3039 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3040
b741de23
SP
30412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3042
3043 [BZ #12140]
3044 * manual/memory.texi (Malloc Tunable Parameters): Add note
3045 about free list pointers overwriting some perturb bytes.
3046 Wording suggested by Roland McGrath.
3047
f9b9d9c9
JM
30482012-10-17 Joseph Myers <joseph@codesourcery.com>
3049
3050 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3051 (lgamma_test): Likewise.
3052 (tgamma_test): Likewise.
3053
172a631a
FW
30542012-10-16 Florian Weimer <fweimer@redhat.com>
3055
3056 [BZ #14700]
3057 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3058 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3059
e9f37252
MK
30602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3061
3062 * NEWS: Mention BZ #14716.
3063 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3064 when removing AVAILABLE1_USES_J macro.
3065
d394eb74
L
30662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3067
3068 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3069 (__bswap_64): __uint64_t for unsigned 64-bit int.
3070
ca38dc17
AS
30712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3072
3073 * include/string.h (memmem): Declare libc hidden alias.
3074 * string/memmem.c (memmem): Define libc hidden alias.
3075 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3076 __read, __close instead of open, read, close.
3077
9a387d1f
L
30782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3079
ac49ecaf
L
3080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3081 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3082 global and hidden.
3083 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3084 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3085 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3086 Likewise.
3087 (__rawmemchr_sse2): Likewise.
3088 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3089 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3090 (__strchr_sse2): Likewise.
3091 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3092 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3093 (__strcasecmp_sse2): Likewise.
3094 (__strncasecmp_sse2): Likewise.
3095 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3096 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3097 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3098 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3099 (__strrchr_sse2): Likewise.
3100 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3101 ifunc-impl-list.c.
3102 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3103 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3104 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3105 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3106 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3107 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3108 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3109 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3110 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3111 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3112 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3113 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3114 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3115 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3116 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3117 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3118 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3119 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3120 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3121 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3122 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3123 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3124 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3125 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3126 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3127 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3128 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3129 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3130 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3131 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3132
b090e8ea
L
3133 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3134 global and hidden.
3135 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3136 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3137 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3138 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3139 Likewise.
3140 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3141 Likewise.
3142 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3143 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3144 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3145 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3146 ifunc-impl-list.c.
3147 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3156 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3158 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3159 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3160 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3161 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3163 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3164 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3165 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3166 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3167 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3168 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3169 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3170 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3171 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3172 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3173 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3174 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3175 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3176 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3177 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3178 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3179 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3180 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3181 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3182 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3183 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3184 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3185 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3186 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3187 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3188
11dd4af6
L
3189 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3190 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3191 * include/ifunc-impl-list.h: New file.
3192 * misc/ifunc-impl-list.c: Likewise.
3193 * misc/Makefile (routines): Add ifunc-impl-list.
3194 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3195 * string/test-string.h: Include <ifunc-impl-list.h>.
3196 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3197 impl_array): New variables.
3198 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3199 are defined.
3200 (test_init): Call __libc_ifunc_impl_list to initialize
3201 func_list if TEST_IFUNC and TEST_NAME are defined.
3202
9a387d1f
L
3203 * string/Makefile (strop-tests): Add bcopy and bzero.
3204 * string/test-bcopy.c: New file.
3205 * string/test-bzero.c: Likewise.
3206 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3207 defined.
3208 * string/test-memset.c: Support bzero test if TEST_BZERO is
3209 defined.
3210 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3211 __libc_memmove.
3212 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3213 __libc_memset.
3214 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3215 of memset.
3216
472371b9
JM
32172012-10-10 Joseph Myers <joseph@codesourcery.com>
3218
1e4a9536
JM
3219 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3220 * configure: Regenerated.
3221
d173d12e
JM
3222 * Makeconfig (+link-static-before-libc): Don't include
3223 $(link-static-libc).
3224
472371b9
JM
3225 * libio/libio.h (_IO_pos_t): Remove.
3226
89a3ad0b
AO
32272012-10-10 Alexandre Oliva <aoliva@redhat.com>
3228
3229 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3230 McGrath.
3231
e7451425
AO
32322012-10-10 Alexandre Oliva <aoliva@redhat.com>
3233
3234 * crypt/crypt-entry.c: Include fips-private.h.
3235 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3236 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3237 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3238 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3239
4ba74a35
AO
32402012-10-10 Alexandre Oliva <aoliva@redhat.com>
3241
3242 * crypt/crypt-private.h: Include stdbool.h.
3243 (_ufc_setup_salt_r): Return bool.
3244 * crypt/crypt-entry.c: Include errno.h.
3245 (__crypt_r): Return NULL with EINVAL for bad salt.
3246 * crypt/crypt_util.c (bad_for_salt): New.
3247 (_ufc_setup_salt_r): Check that salt is long enough and within
3248 the specified alphabet.
3249 * crypt/badsalttest.c: New file.
3250 * crypt/Makefile (tests): Add it.
3251 ($(objpfx)badsalttest): New.
3252
f96f1242
MK
32532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3254
3255 * NEWS: Add entry for BZ #14602.
3256
0e8e0c1c
JM
32572012-10-09 Joseph Myers <joseph@codesourcery.com>
3258
3259 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3260 type-generic.
3261 * math/libm-test.inc: Update comment listing what functions and
3262 macros are tested.
3263 (isgreater_test): New function.
3264 (isgreaterequal_test): Likewise.
3265 (isless_test): Likewise.
3266 (islessequal_test): Likewise.
3267 (islessgreater_test): Likewise.
3268 (isunordered_test): Likewise.
3269 (main): Call the new functions.
3270
273edc5e
RM
32712012-10-09 Roland McGrath <roland@hack.frob.com>
3272
b8493de0
RM
3273 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3274 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3275 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3276 * sysdeps/i386/configure: Regenerated.
3277 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3278 * sysdeps/mach/configure: Regenerated.
3279 * sysdeps/mach/hurd/configure: Regenerated.
3280 * sysdeps/powerpc/configure: Regenerated.
3281 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3282 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3283 * sysdeps/s390/s390-32/configure: Regenerated.
3284 * sysdeps/s390/s390-64/configure: Regenerated.
3285 * sysdeps/sh/configure: Regenerated.
3286 * sysdeps/sparc/configure: Regenerated.
3287 * sysdeps/unix/sysv/linux/configure: Regenerated.
3288 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3289 * sysdeps/x86_64/configure: Regenerated.
3290
273edc5e
RM
3291 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3292 defined. Don't check if MAP is NULL.
3293
c8450f70
JM
32942012-10-09 Joseph Myers <joseph@codesourcery.com>
3295
3296 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3297 (_G_stat64): Likewise.
3298 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3299 (_G_stat64): Likewise.
3300 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3301 instead of struct _G_stat64.
3302 * libio/fileops.c (mmap_remap_check): Likewise.
3303 (decide_maybe_mmap): Likewise.
3304 (_IO_new_file_seekoff): Likewise.
3305 (_IO_file_stat): Likewise.
3306 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3307 _G_off64_t.
3308 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3309 instead of struct _G_stat64.
3310 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3311
57e605ba
MK
33122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3313
3314 [BZ #14602]
3315 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3316 Replace with ...
3317 (CHECK_EOL): New macro.
3318 (two_way_short_needle): Check beginning of haystack for EOL. Use
3319 CHECK_EOL.
3320 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3321 Replace with CHECK_EOL.
3322 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3323 Replace with CHECK_EOL.
3324
ef1bb361
JM
33252012-10-08 Joseph Myers <joseph@codesourcery.com>
3326
3327 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3328 type-generic.
3329 * math/libm-test.inc: Update comment listing what functions and
3330 macros are tested.
3331 (finite_test): New function.
3332 (isinf_test): Likewise.
3333 (isnan_test): Likewise.
3334 (fpclassify_test): Test subnormal input.
3335 (isfinite_test): Likewise.
3336 (isnormal_test): Likewise.
3337 (main): Call the new functions.
3338
55f11534
JN
33392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3340
3341 [BZ #14660]
3342 * Makerules (%.dynsym): Force C locale when running
3343 $(OBJDUMP) --dynamic-syms.
3344
1ab29350
AS
33452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3346
3347 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3348 <stdint.h>.
3349
f1ecb7ef
DM
33502012-10-06 David S. Miller <davem@davemloft.net>
3351
3352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3353 upper 32-bits of the length value in %o2 since we use branch-on-register
3354 tests which consider the entire 64-bit register.
3355
5d41d91a
L
33562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3357
3358 * string/test-strstr.c (check2): Add a test for page boundary.
3359
3baddb72
DM
33602012-10-05 David S. Miller <davem@davemloft.net>
3361
3362 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3363 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3364 file.
3365 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3366 sysdep_routines.
3367 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3368 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3369 and bzero when HWCAP_SPARC_CRYPTO is present.
3370
9cee5585
L
33712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3372
d7e0dab9
L
3373 [BZ #14602]
3374 * string/test-strstr.c (check2): New function.
3375 (test_main): Call check2.
3376
03759f47
L
3377 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3378 and bug-strchr1.
3379 * string/bug-strcasestr1.c (do_test): Moved to ...
3380 * string/test-strcasestr.c (check1): Here. New function.
3381 (do_one_test): Break out result checking code into ...
3382 (check_result): This. New function.
3383 (do_one_test): Call check_result.
3384 (test_main): Call check1.
3385 * string/bug-strchr1.c (do_test): Moved to ...
3386 * string/test-strchr.c (check1): Here. New function.
3387 (do_one_test): Break out result checking code into ...
3388 (check_result): This. New function.
3389 (do_one_test): Call check_result.
3390 (test_main): Call check1.
3391 * string/bug-strstr1.c (main): Moved to ...
3392 * string/test-strchr.c (check1): Here. New function.
3393 (do_one_test): Break out result checking code into ...
3394 (check_result): This. New function.
3395 (do_one_test): Call check_result.
3396 (test_main): Call check1.
3397 * string/bug-strcasestr1.c: Removed.
3398 * string/bug-strchr1.c: Likewise.
3399 * string/bug-strstr1.c: Likewise.
3400
53cea63e
L
3401 * elf/Makefile (dl-routines): Add hwcaps.
3402 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3403 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3404 (_dl_important_hwcaps): Moved to ...
3405 * elf/dl-hwcaps.c: Here. New file.
3406 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3407
9cee5585 3408 [BZ #14557]
bb859b06
L
3409 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3410 if IS_IN_rtld isn't defined.
3411
9cee5585
L
3412 * elf/dl-support.c (_dl_sysinfo_map): New.
3413 Include "get-dynamic-info.h" and "setup-vdso.h".
3414 (_dl_non_dynamic_init): Call setup_vdso.
3415 * elf/dynamic-link.h: Don't include <assert.h>.
3416 (elf_get_dynamic_info): Moved to ...
3417 * elf/get-dynamic-info.h: Here. New file.
3418 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3419 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3420 * elf/setup-vdso.h: Here. New file.
3421 * elf/rtld.c: Include "setup-vdso.h".
3422 (dl_main): Call setup_vdso.
3423
23c31b76
JM
34242012-10-05 Joseph Myers <joseph@codesourcery.com>
3425
28234b07
JM
3426 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3427 creal in comment listing functions tested. List finite, isinf,
3428 isnan, isless, islessequal, isgreater, isgreaterequal,
3429 islessgreater, isunordered, lgamma_r and pow10 as functions and
3430 macros not tested. Mention which functions not tested are aliases
3431 for other functions. Fix typo. Note that signs of NaNs are not
3432 tested.
3433
23c31b76
JM
3434 * scripts/config.guess: Update from config.git.
3435 * scripts/config.sub: Likewise.
3436
9043e228
RM
34372012-10-04 Roland McGrath <roland@hack.frob.com>
3438
3439 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3440 * misc/madvise.c (madvise): Renamed to __madvise.
3441 Make madvise a weak alias.
3442 * include/sys/mman.h: Declare __madvise.
3443 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3444 * sysdeps/unix/syscalls.list
3445 (madvise): Make __madvise the strong name, and madvise a weak alias.
3446 * sysdeps/unix/sysv/linux/syscalls.list
3447 (madvise, mmap): Remove redundant entries.
3448 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3449 * malloc/malloc.c (mtrim): Likewise.
3450 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3451
f57f8055
RM
34522012-10-03 Roland McGrath <roland@hack.frob.com>
3453
3454 * sysdeps/mach/hurd/dl-cache.c: File removed.
3455 * config.h.in (USE_LDCONFIG): New #undef.
3456 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3457 * configure: Regenerated.
3458 * elf/Makefile (dl-routines): Add dl-cache only under
3459 [$(use-ldconfig) = yes].
3460 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3461 cache on [USE_LDCONFIG].
3462 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3463 [USE_LDCONFIG].
3464 * elf/rtld.c (dl_main): Likewise.
3465
5bb0c10a
PT
34662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3467
3468 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3469 _SC_LEVEL4_CACHE_LINESIZE.
3470
010188c6
RM
34712012-10-03 Roland McGrath <roland@hack.frob.com>
3472
3473 * sysdeps/unix/bsd/confstr.h: File removed.
3474
b6c5ec07
AO
34752012-10-02 Alexandre Oliva <aoliva@redhat.com>
3476
3477 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3478 sys/sdt-config.h.
3479
408223d4
RM
34802012-10-02 Roland McGrath <roland@hack.frob.com>
3481
3482 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3483 Make 'mapoff' field ElfW(Off) rather than off_t.
3484
bb9510dc
DL
34852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3486
fc997c6e
DL
3487 * nscd/Makefile: Remove nscd-cflags and all its users.
3488 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3489 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3490
bb9510dc
DL
3491 [BZ #10631]
3492 * malloc.c (malloc_printerr): Clarify error message.
3493
05699367
L
34942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3495
3496 [BZ #14648]
3497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3498 Set bit_FMA_Usable if FMA is supported.
3499 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3500 macro.
3501 (bit_FMA4_Usable): Updated.
3502 (index_FMA_Usable): New macro.
3503 (CPUID_FMA): Likewise
3504 (HAS_FMA): Defined with bit_FMA_Usable.
3505
51367701
RM
35062012-10-01 Roland McGrath <roland@hack.frob.com>
3507
3508 * bits/types.h (__swblk_t): Type removed.
3509 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3510 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3511 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3512 (__SWBLK_T_TYPE): Likewise.
3513 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3514 (__SWBLK_T_TYPE): Likewise.
3515 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3516 (__SWBLK_T_TYPE): Likewise.
3517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3518 (__SWBLK_T_TYPE): Likewise.
3519
4d57bf63 35202012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3521 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3522
3523 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3524 (xdr_mapname): Use YPMAXMAP as maxsize.
3525 (xdr_peername): Use YPMAXPEER as maxsize.
3526 (xdr_keydat): Use YPAXRECORD as maxsize.
3527 (xdr_valdat): Use YPMAXRECORD as maxsize.
3528
93c65d43
RM
35292012-10-01 Roland McGrath <roland@hack.frob.com>
3530
497a03d6
RM
3531 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3532
93c65d43
RM
3533 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3534 * csu/init-first.c: ... here.
3535 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3536 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3537 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3538 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3539 * sysdeps/i386/init-first.c: File removed.
3540 * sysdeps/sh/init-first.c: File removed.
3541
bec749fd
JM
35422012-10-01 Joseph Myers <joseph@codesourcery.com>
3543
3544 [BZ #14645]
3545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3546 if x * y might underflow to zero and z is zero.
3547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3548 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3549 * math/libm-test.inc (min_subnorm_value): New variable.
3550 (fma_test): Add more tests.
3551 (fma_test_towardzero): Likewise.
3552 (fma_test_downward): Likewise
3553 (fma_test_upward): Likewise.
3554 (initialize): Set min_subnorm_value.
3555
8ec5b013
JM
35562012-09-29 Joseph Myers <joseph@codesourcery.com>
3557
3558 [BZ #14638]
3559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3560 0 + 0.
3561 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3562 mode for addition resulting in exact zero.
3563 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3565 exact 0 + 0.
3566 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3568 * math/libm-test.inc (fma_test): Add more tests.
3569 (fma_test_towardzero): New function.
3570 (fma_test_downward): Likewise.
3571 (fma_test_upward): Likewise.
3572 (main): Call the new functions.
3573
b1fa802e
DM
35742012-09-28 David S. Miller <davem@davemloft.net>
3575
3576 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3577
d3b9fd9e
RM
35782012-09-28 Roland McGrath <roland@hack.frob.com>
3579
ea4d37b3
RM
3580 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3581 instead of SIGALRM.
3582
ac51c949
RM
3583 * sysdeps/gnu/_G_config.h: Moved to ...
3584 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3585 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3586 * sysdeps/generic/_G_config.h: ... here.
3587
28c195f7
RM
3588 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3589
848917f9
RM
3590 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3591
6bacf05b
RM
3592 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3593 Conditionalize target on [libnss_test1.so-version].
3594
91363dbb
RM
3595 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3596
cc87f7d8
RM
3597 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3598 (elfobjdir): Move out of conditionals.
3599
b1c608fe
RM
3600 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3601 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3602 (__nss_lookup_function): Conditionalize label remove_from_tree on
3603 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3604
1d9a6d96
DM
36052012-09-28 David S. Miller <davem@davemloft.net>
3606
3607 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3608 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3609 file.
3610 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3611 sysdep_routines.
3612 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3614 when HWCAP_SPARC_CRYPTO is present.
3615
72581615
PT
36162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3617
3618 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3619
715a900c
JL
36202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3621
3622 [BZ #6530]
3623 * stdio-common/vfprintf.c (process_string_arg): Revert
3624 2000-07-22 change.
3625
36262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3627
3628 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3629 for testcase.
3630 * stdio-common/tst-sprintf.c: Include <locale.h>
3631 (main): Test sprintf's handling of incomplete multibyte
3632 characters.
3633
9bac1d86
L
36342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3635
3636 * elf/dl-runtime.c (VERSYMIDX): Removed.
3637 * elf/dl-version.c (VERSYMIDX): Likewise.
3638 * elf/do-rel.h (VERSYMIDX): Likewise.
3639 (VALIDX): Likewise.
3640 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3641 * elf/rtld.c (VALIDX): Likewise.
3642 (ADDRIDX): Likewise.
9bac1d86
L
3643 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3644 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3645 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3646 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3647 (VALIDX): Likewise.
3648 (ADDRIDX): Likewise.
9bac1d86 3649
b31606c0
PT
36502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3651
3652 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3653
11541177
JL
36542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3655
3656 [BZ #11438]
3657 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3658 to global scope.
3659 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3660 addresses are in the same scope as 192.0.2/24.
3661 * posix/gai.conf: Document new scope table defaults.
3662
adb26fae
SP
36632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3664
3665 [BZ #5298]
3666 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3667 for ftell. Compute offsets from write pointers instead.
3668 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3669
4573c6b0
SP
36702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
3672 [BZ #14543]
3673 * libio/Makefile (tests): New test case tst-fseek.
3674 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3675 combination works in wide mode.
3676 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3677 state when the external buffer state changes.
3678
aa9bbfe6
DM
36792012-09-27 David S. Miller <davem@davemloft.net>
3680
3681 [BZ #14376]
3682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3683 pass reloc->r_addend in as the 'high' argument to
3684 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3685
784421e7
DM
3686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3687
c39bc8b8
PT
36882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3689
3690 * rt/tst-aio2.c: Include <pthread.h>.
3691 * rt/tst-aio3.c: Likewise.
3692
1ccc2399
SE
36932012-09-27 Steve Ellcey <sellcey@mips.com>
3694
3695 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3696
31ed4153
L
36972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3698
25f5f885
L
3699 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3700 contents on [SHARED].
31ed4153 3701
b7bfe116
MP
37022012-09-26 Marek Polacek <polacek@redhat.com>
3703
3704 [BZ #14530]
3705 [BZ #13741]
3706 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3707 for C++ and GCC <4.3 as well as for non GCC compilers.
3708
43c4edba
MT
37092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3710
3711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3712
6a1bf82f
RM
37132012-09-25 Roland McGrath <roland@hack.frob.com>
3714
3715 * Makefile.in (all, install): Declare with .PHONY.
3716 Reported by Michael Hope <michael.hope@linaro.org>.
3717
8ad11b9a
TMQMF
37182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3719
3720 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3721 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3722 system header.
3723 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3724 Likewise.
3725 (sydep_routines): Add the new and the internal functions.
3726 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3727 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3729 (GLIBC_2.17): Add the new function.
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3731 (GLIBC_2.17): Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3733 (GLIBC_2.17): Likewise.
3734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3735 (GLIBC_2.17): Likewise.
3736 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3737
7e2fca8d
AM
37382012-09-25 Alan Modra <amodra@gmail.com>
3739
3740 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3741 Add release barrier before setting once_control to say
3742 initialisation is done. Add hints on lwarx. Use macro in
3743 place of isync.
3744 (clear_once_control): Add release barrier.
3745
b87c4b24
JM
37462012-09-25 Joseph Myers <joseph@codesourcery.com>
3747
d032e0d2
JM
3748 [BZ #13629]
3749 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3750 specially.
3751 * math/s_clog10.c (__clog10): Likewise.
3752 * math/s_clog10f.c (__clog10f): Likewise.
3753 * math/s_clog10l.c (__clog10l): Likewise.
3754 * math/s_clogf.c (__clogf): Likewise.
3755 * math/s_clogl.c (__clogl): Likewise.
3756 * math/Makefile (libm-calls): Add x2y2m1.
3757 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3758 (__x2y2m1): Likewise.
3759 (__x2y2m1l): Likewise.
3760 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3761 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3764 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3765 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3766 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3767 * sysdeps/i386/fpu/libm-test-ulps: Update.
3768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3769
b87c4b24
JM
3770 [BZ #14621]
3771 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3772 int as type of variable DEPTH.
3773 (glob): Use size_t instead of int as type of variables NEWCOUNT
3774 and OLD_PATHC.
3775
6d3bf199
LD
37762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3777
22bf5c17
LD
3778 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3779 Add s_sincosf-sse2.
3780 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3781 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3782 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3783 macros for using routine as __sincosf_ia32.
3784 Use macro for function declaration and weak_alias.
3785 * sysdeps/i386/fpu/libm-test-ulps: Update.
3786
3787 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3789
3790 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3791 subnormal argument.
3792 * math/s_cexpf.c (__cexpf): Likewise.
3793 * math/s_csinf.c (__csinf): Likewise.
3794 * math/s_csinhf.c (__csinhf): Likewise.
3795 * math/s_ctanf.c (__ctanf): Likewise.
3796 * math/s_ctanhf.c (__ctanhf): Likewise.
3797 * math/s_ccosh.c (__ccoshf): Likewise.
3798 * math/s_cexp.c (__cexpl): Likewise.
3799 * math/s_csin.c (__csin): Likewise.
3800 * math/s_csinh.c (__csinh): Likewise.
3801 * math/s_ctan.c (__ctan): Likewise.
3802 * math/s_ctanh.c (ctanh): Likewise.
3803 * math/s_ccoshl.c (__ccoshl): Likewise.
3804 * math/s_cexpl.c (__cexpl): Likewise.
3805 * math/s_csinl.c (__csinl): Likewise.
3806 * math/s_csinhl.c (__csinhl): Likewise.
3807 * math/s_ctanl.c (__ctanl): Likewise.
3808 * math/s_ctanhl.c (__ctanhl): Likewise.
3809
203e5603
JM
38102012-09-25 Joseph Myers <joseph@codesourcery.com>
3811
3812 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3813 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3814 (_IO_off_t): Define to __off_t, not _G_off_t.
3815 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3816 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3817 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3818 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3819 type of __dummy and __dummy2 fields.
3820 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3821 (_G_ssize_t): Likewise.
3822 (_G_off_t): Likewise.
3823 (_G_pid_t): Likewise.
3824 (_G_uid_t): Likewise.
3825 (_G_wchar_t): Likewise.
3826 (_G_wint_t): Likewise.
3827 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3828 (_G_ssize_t): Likewise.
3829 (_G_off_t): Likewise.
3830 (_G_pid_t): Likewise.
3831 (_G_uid_t): Likewise.
3832 (_G_wchar_t): Likewise.
3833 (_G_wint_t): Likewise.
3834 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3835 (_G_ssize_t): Likewise.
3836 (_G_off_t): Likewise.
3837 (_G_pid_t): Likewise.
3838 (_G_uid_t): Likewise.
3839 (_G_wchar_t): Likewise.
3840 (_G_wint_t): Likewise.
3841
9fab36eb
SP
38422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3843
3844 * malloc/arena.c: Include malloc-sysdep.h.
3845 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3846 is sufficient to shrink the heap or an unmap is needed.
3847 * sysdeps/generic/malloc-sysdep.h: New file. Define
3848 new function check_may_shrink_heap.
3849 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3850 new function check_may_shrink_heap.
3851
2b4f00d1
SP
38522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3853
3854 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3855 comments.
3856
9a9028b1
DL
38572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3858
57c69bef
DL
3859 * catgets/test-gencat.sh: Add "set -e".
3860 * elf/tst-pathopt.sh: Likewise.
3861 * grp/tst_fgetgrent.sh: Likewise.
3862 * iconvdata/run-iconv-test.sh: Likewise.
3863 * intl/tst-gettext.sh: Likewise.
3864 * intl/tst-gettext2.sh: Likewise.
3865 * intl/tst-gettext4.sh: Likewise.
3866 * intl/tst-gettext6.sh: Likewise.
3867 * intl/tst-translit.sh: Likewise.
3868 * io/ftwtest-sh: Likewise.
3869 * libio/test-freopen.sh: Likewise.
3870 * malloc/tst-mtrace.sh: Likewise.
3871 * posix/globtest.sh: Likewise.
3872 * posix/tst-getconf.sh: Likewise.
3873 * posix/wordexp-tst.sh: Likewise.
3874 * stdio-common/tst-printf.sh: Likewise.
3875 * stdio-common/tst-unbputc.sh: Likewise.
3876 * stdlib/tst-fmtmsg.sh: Likewise.
3877 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3878 * catgets/Makefile: Do not specify -e option when running
3879 testsuite shell scripts.
3880 * elf/Makefile: Likewise.
3881 * grp/Makefile: Likewise.
3882 * iconvdata/Makefile: Likewise.
3883 * intl/Makefile: Likewise.
3884 * io/Makefile: Likewise.
3885 * libio/Makefile: Likewise.
3886 * malloc/Makefile: Likewise.
3887 * posix/Makefile: Likewise.
3888 * stdio-common/Makefile: Likewise.
3889 * stdlib/Makefile: Likewise.
3890 * sysdeps/x86_64/Makefile: Likewise.
3891
9a9028b1
DL
3892 * io/ftwtest-sh: Add copyright header.
3893 * posix/globtest.sh: Likewise.
3894 * posix/tst-getconf.sh: Likewise.
3895 * posix/wordexp-tst.sh: Likewise.
3896 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3897
ced6f16e
L
38982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3899
94b32c39
L
3900 [BZ #13679]
3901 * Makeconfig (+link): Defined as $(+link-static) if
3902 $(build-shared) isn't yes.
3903 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3904 isn't yes.
3905 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3906
189e935b
L
3907 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3908
ced6f16e
L
3909 [BZ #14562]
3910 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3911 new chunk size with MALLOC_ALIGN_MASK.
3912
a9f8e53a
JM
39132012-09-24 Joseph Myers <joseph@codesourcery.com>
3914
3915 [BZ #5044]
3916 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3917 <rounding-mode.h>.
3918 (__printf_fphex): Determine rounding using get_rounding_mode and
3919 round_away.
3920 * stdio-common/tst-printf-round.c (struct hex_test): New
3921 structure.
3922 (hex_tests): New variable.
3923 (test_hex_in_one_mode): New function.
3924 (do_test): Also run tests for hex float output.
3925
43153109
JM
39262012-09-21 Joseph Myers <joseph@codesourcery.com>
3927
3928 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3929 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3930 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3931 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3932 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3933 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3934 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3935 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3936
8a26625d
JM
39372012-09-20 Joseph Myers <joseph@codesourcery.com>
3938
3939 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3940 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3941 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3942 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3943
f3fd569c
DL
39442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3945
3946 [BZ #14579]
3947 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3948 mode only.
3949 * elf/tst-rtld-load-self.sh: New test.
3950 * elf/Makefile: Run it.
3951
63bbedd4
JM
39522012-09-18 Joseph Myers <joseph@codesourcery.com>
3953
3954 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3955 (tst-writev-ENV): Remove.
3956 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3957
626f8b6a
CM
39582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3959
3960 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3961
b7aaa4d6
JM
39622012-09-17 Joseph Myers <joseph@codesourcery.com>
3963
3964 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3965 unconditional.
3966 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3967 Likewise.
3968 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3969 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3970 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3971 Likewise.
3972
65513990
L
39732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3974
3975 [BZ #14587]
3976 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3977 * config.make.in (have-cpp-asm-debuginfo): Removed.
3978 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3979 * configure: Regenerated.
3980
784761be
JM
39812012-09-14 Joseph Myers <joseph@codesourcery.com>
3982
3983 [BZ #5044]
3984 * stdio-common/printf_fp.c: Include <stdbool.h> and
3985 <rounding-mode.h>.
3986 (___printf_fp): Determine rounding using get_rounding_mode and
3987 round_away.
3988 * stdio-common/tst-printf-round.c: New file.
3989 * stdio-common/Makefile (tests): Add tst-printf-round.
3990 (link-libm): New variable.
3991 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3992
9503345f
L
39932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3994
3995 [BZ #14576]
3996 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3997 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3998 Likewise.
3999 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4000 Likewise.
4001
ad35fc00
JM
40022012-09-13 Joseph Myers <joseph@codesourcery.com>
4003
4004 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4005 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4006 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4007 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4008
6c9b0f68
JM
40092012-09-12 Joseph Myers <joseph@codesourcery.com>
4010
4011 [BZ #14518]
4012 * include/rounding-mode.h: New file.
4013 * sysdeps/generic/get-rounding-mode.h: Likewise.
4014 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4015 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4016 (MAX_VALUE): New macro.
4017 (MIN_VALUE): Likewise.
4018 (overflow_value): New function.
4019 (underflow_value): Likewise.
4020 (round_and_return): Use overflow_value and underflow_value to
4021 determine return values in overflow and underflow cases. Use
4022 round_away to determine rounding depending on rounding mode.
4023 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4024 determine return values in overflow and underflow cases.
4025 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4026 (struct test_results): New structure.
4027 (struct test): Use struct test_results to store expected results
4028 for all rounding modes.
4029 (TEST): Include expected results for all rounding modes.
4030 (test_in_one_mode): New function.
4031 (do_test): Use test_in_one_mode to compute and check results.
4032 Check results for all rounding modes.
4033 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4034 $(link-libm).
4035
19fcedd5
AM
40362012-12-09 Allan McRae <allan@archlinux.org>
4037
1e9d84cd 4038 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4039
8bbfd2f1
JM
40402012-09-11 Joseph Myers <joseph@codesourcery.com>
4041
4042 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4043 (_G_int32_t): Likewise.
4044 (_G_uint16_t): Likewise.
4045 (_G_uint32_t): Likewise.
4046 (_G_HAVE_BOOL): Likewise.
4047 (_G_HAVE_ATEXIT): Likewise.
4048 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4049 (_G_HAVE_IO_FILE_OPEN): Likewise.
4050 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4051 (_G_int32_t): Likewise.
4052 (_G_uint16_t): Likewise.
4053 (_G_uint32_t): Likewise.
4054 (_G_HAVE_BOOL): Likewise.
4055 (_G_HAVE_ATEXIT): Likewise.
4056 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4057 (_G_HAVE_IO_FILE_OPEN): Likewise.
4058 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4059 (_G_int32_t): Likewise.
4060 (_G_uint16_t): Likewise.
4061 (_G_uint32_t): Likewise.
4062 (_G_HAVE_BOOL): Likewise.
4063 (_G_HAVE_ATEXIT): Likewise.
4064 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4065 (_G_HAVE_IO_FILE_OPEN): Likewise.
4066
b1dc5912
L
40672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 * csu/libc-tls.c: Update copyright years.
4070
0e886ef9
JM
40712012-09-10 Joseph Myers <joseph@codesourcery.com>
4072
28361c5e
JM
4073 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4074 [!_G_USING_THUNKS]: Remove conditional code.
4075 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4076 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4077
0e886ef9
JM
4078 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4079 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4080 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4081 (_G_VTABLE_LABEL_PREFIX): Likewise.
4082 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4083 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4084 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4085 (_G_VTABLE_LABEL_PREFIX): Likewise.
4086 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4087 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4088 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4089 (_G_VTABLE_LABEL_PREFIX): Likewise.
4090 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4091
bcba7aa2
L
40922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4093
4094 * libio/Makefile: Include ../Makeconfig before tests.
4095 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4096 only if $(build-shared) is yes.
4097
06585ee8
L
4098 * iconv/gconv_db.c: Update copyright years.
4099
80ccd52c
LD
41002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4101
4102 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4103 unwind info if defined PIC. Fix special cases description.
4104 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4105
4106 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4107 DP_HI_MASK entry.
4108 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4109
691bc9c1
L
41102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4111
3d9b46b3
L
4112 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4113
de2139a9
L
4114 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4115 is NULL.
4116
5ca78dd0
L
4117 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4118 (LDLIBS-tst-chk4): This.
4119 (LDFLAGS-tst-chk5): Renamed to ...
4120 (LDLIBS-tst-chk5): This.
4121 (LDFLAGS-tst-chk6): Renamed to ...
4122 (LDLIBS-tst-chk6): This.
4123 (LDFLAGS-tst-lfschk4): Renamed to ...
4124 (LDLIBS-tst-lfschk4): This.
4125 (LDFLAGS-tst-lfschk5): Renamed to ...
4126 (LDLIBS-tst-lfschk5): This.
4127 (LDFLAGS-tst-lfschk6): Renamed to ...
4128 (LDLIBS-tst-lfschk6): This.
4129
691bc9c1
L
4130 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4131 on $(common-objpfx)soversions.mk.
4132
65cafb1c
JM
41332012-09-07 Joseph Myers <joseph@codesourcery.com>
4134
4135 [BZ #10014]
4136 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4137 example host name.
4138
c78ab094
SP
41392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4140
4141 * malloc/arena.c (arena_get_retry): New function that gets
4142 another arena for the caller to try its request on.
4143 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4144 current arena cannot fulfill the request.
4145 (__libc_memalign): Likewise.
4146 (__libc_memalign): Likewise.
4147 (__libc_pvalloc): Likewise.
4148 (__libc_calloc): Likewise.
4149
01f49f59
JT
41502012-09-05 John Tobey <john.tobey@gmail.com>
4151
4152 [BZ #13542]
4153 * manual/arith.texi (Operations on Complex): Fix description
4154 of carg branch cut.
4155
4c23fed5
JM
41562012-09-06 Joseph Myers <joseph@codesourcery.com>
4157
1d3c8572
JM
4158 [BZ #10014]
4159 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4160 host name.
4161
4c23fed5
JM
4162 [BZ #10038]
4163 * manual/memory.texi (Memory): Make order of menu items match
4164 order of sections.
4165
04570aaa
L
41662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4167
4168 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4169 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4170 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4171
b80af2f4
L
41722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4173
4174 * csu/libc-tls.c (static_dtv): Renamed to ...
4175 (_dl_static_dtv): This. Make it global.
4176 (_dl_initial_dtv): Removed.
4177 (__libc_setup_tls): Updated.
4178 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4179 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4180 DL_INITIAL_DTV.
4181
2abe9f15
PM
41822012-09-06 Petr Machata <pmachata@redhat.com>
4183
4184 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4185 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4186 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4187 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4188
0948c3af
L
41892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4190
4191 [BZ #14545]
4192 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4193 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4194 freeing dtv[-1].
4195
a5055ad1
L
41962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4197
4198 [BZ #14544]
4199 * Makeconfig (link-static-before-libc): Replace $(+prector)
4200 with $(+prectorT).
4201 (link-static-after-libc): Replace $(+postctor) with
4202 $(+postctorT).
4203 (link-bounded): Replace $(+prector)/$(+postctor) with
4204 $(+prectorT)/$(+postctorT).
4205 (+prectorT): New macro.
4206 (+postctorT): Likewise.
4207
ed8c2ecd
JM
42082012-09-06 Joseph Myers <joseph@codesourcery.com>
4209
4210 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4211 (round_str): Handle values above the maximum for IBM long double
4212 as inexact.
4213 * stdlib/tst-strtod-round.c (tests): Regenerated.
4214
14c996c8
AK
42152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4216
4217 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4218 assembler flag.
4219 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4220 zarch_nohighgprs around the zarch optimized routines.
4221 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4222 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4223 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4224 for zarch.
4225
430d6ce6
DM
42262012-09-05 David S. Miller <davem@davemloft.net>
4227
4228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4229
ff04dda4
DM
4230 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4231 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4232 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4233 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4234 entries.
4235
24d4e01b
AO
42362012-09-05 Alexandre Oliva <aoliva@redhat.com>
4237
4238 * malloc/arena.c: Fold copyright years.
4239 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4240
61d58174
AO
42412012-09-05 Alexandre Oliva <aoliva@redhat.com>
4242
4243 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4244
20196a5e
AO
42452012-09-05 Alexandre Oliva <aoliva@redhat.com>
4246
4247 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4248
5c447383
AO
42492012-09-05 Alexandre Oliva <aoliva@redhat.com>
4250
4251 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4252 change internal state upon failure.
4253
fad64255
AO
42542012-09-05 Alexandre Oliva <aoliva@redhat.com>
4255
4256 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4257 * malloc/memusage.c (mmap): Likewise.
4258 (mmap64, mremap): Likewise. Adjust name in comment.
4259
1ffb8c90
SP
42602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4261
4262 * libio/fileops.c: Fix typos in comments.
4263 * libio/oldfileops.c: Likewise.
4264 * libio/wfileops.c: Likewise.
4265
6ef9cc37
SP
42662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4267
4268 [BZ #1349]
4269 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4270 (tst-malloc-usable-ENV): Set environment for test case.
4271 * malloc/hooks.c (malloc_check_get_size): New function to get
4272 requested size.
4273 * malloc/malloc.c (musable): Use malloc_check_get_size.
4274 * malloc/tst-malloc-usable.c: New test case.
4275
4d038ae3
AS
42762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4277
4278 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4279
c4e85184
AM
42802012-09-05 Allan McRae <allan@archlinux.org>
4281
b9dafc56 4282 [BZ #13966]
c4e85184
AM
4283 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4284 determine header location.
4285 * configure: Regenerated.
4286
e1343020
AS
42872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4288
4289 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4290 float format.
4291 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4292 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4293 format.
e1343020
AS
4294 (test): Regenerate.
4295
0a9f1987
DM
42962012-09-04 David S. Miller <davem@davemloft.net>
4297
4298 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4299 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4300 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4301
29237804
FW
43022012-09-04 Florian Weimer <fweimer@redhat.com>
4303
4304 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4305 failures.
4306
edb3cb88
FW
4307 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4308
60160d83
JM
43092012-09-04 Joseph Myers <joseph@codesourcery.com>
4310
4311 [BZ #9914]
4312 * libio/iogetdelim.c: Include <limits.h>.
4313 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4314 + len + 1 would overflow.
4315
bcd6c8dc
AJ
43162012-09-03 Andreas Jaeger <aj@suse.de>
4317
4318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4319 * sysdeps/i386/fpu/libm-test-ulps: Update.
4320
4ffffbd2
LD
43212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4322
4323 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4324 Add s_sinf-sse2, s_conf-sse2.
4325
4326 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4327 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4328 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4329 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4330
4331 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4332 for using routine as __sinf_ia32.
4333 Use macro for function declaration and weak_alias.
4334 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4335 for using routine as __cosf_ia32.
4336 Use macro for function declaration and weak_alias.
4337
4338 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4339 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4340
4341 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4342 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4344
4345 * math/libm-test.inc (cos_test): Add more test cases.
4346 (sin_test): Likewise.
4347 (sincos_test): Likewise.
4348
511fa286
AK
43492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4350
4351 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4352 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4353 hidden.
4354 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4355
5f30cfec
L
43562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4357
4358 [BZ #14538]
4359 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4360 first element of the GOT.
4361 (elf_machine_load_address): Return the difference between
4362 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4363
0786794f
AM
43642012-09-01 Allan McRae <allan@archlinux.org>
4365
5f30cfec
L
4366 [BZ #13412]
4367 * configure.in (AWK): Require gawk version 3.0 or later.
4368 * configure: Regenerated.
0786794f 4369
26889eac
JM
43702012-09-01 Joseph Myers <joseph@codesourcery.com>
4371
4372 * sysdeps/unix/sysv/linux/kernel-features.h
4373 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4374 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4375 [__NR_clock_getres]: Make code unconditional.
4376 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4377 (clock_getcpuclockid): Remove code left unreachable by removal of
4378 conditionals.
4379 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4380 code unconditional.
4381 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4382 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4383 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4384 Make code unconditional.
4385 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4386 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4387 * sysdeps/unix/sysv/linux/clock_settime.c
4388 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4389 conditional code.
4390 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4391 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4392
d22e28b0
L
43932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4394
4395 [BZ #14476]
4396 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4397 scripts/test-installation.pl.
4398
4399 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4400 and $ld_so_version if it is set.
4401
050af9c4
SP
44022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4403
4404 [BZ #14516]
4405 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4406 failure if reading from procfs failed.
4407 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4408
ad845c0b
JM
44092012-08-27 Joseph Myers <joseph@codesourcery.com>
4410
4411 * sysdeps/unix/sysv/linux/kernel-features.h
4412 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4413 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4414 Remove conditional code.
4415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4416 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4417 Remove conditional code.
4418 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4419 * sysdeps/unix/sysv/linux/i386/fxstat.c
4420 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4421 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4422 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4423 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4424 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4425 * sysdeps/unix/sysv/linux/i386/lxstat.c
4426 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4427 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4428 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4429 Remove conditional code.
4430 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4431 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4432 Remove conditional code.
4433 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4434 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4435 <kernel-features.h>.
4436 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4437 Remove.
4438 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4439 Remove conditional code.
4440 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4441 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4442 Remove conditional.
4443
5dbf56af
MF
44442012-08-27 Mike Frysinger <vapier@gentoo.org>
4445
4446 [BZ #5400]
4447 * NEWS: Add fixed bug number.
4448
d6e70f43
JM
44492012-08-27 Joseph Myers <joseph@codesourcery.com>
4450
7efb4737
JM
4451 [BZ #14519]
4452 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4453 underflowing exponent in case of negative sign.
4454 * stdlib/tst-strtod-round-data: Add more tests.
4455 * stdlib/tst-strtod-round.c (tests): Regenerated.
4456
af92131a
JM
4457 [BZ #3479]
4458 * stdlib/strtod_l.c (NDIG): Remove.
4459 (HEXNDIG): Likewise.
4460 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4461 smallest representable value.
4462 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4463 lie within an exact representation of 1/2 ulp of the result.
4464 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4465 unconditionally.
4466 (TENS_P9_IDX): Define unconditionally.
4467 (TENS_P9_SIZE): Likewise.
4468 (TENS_P10_IDX): Likewise.
4469 (TENS_P10_SIZE): Likewise.
4470 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4471 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4472 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4473 entries for 10^2^13 and 10^2^14.
4474 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4475 (TENS_P13_IDX): Define.
4476 (TENS_P13_SIZE): Likewise.
4477 (TENS_P14_IDX): Likewise.
4478 (TENS_P14_SIZE): Likewise.
4479 (_fpioconst_pow10): Change array size to
4480 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4481 unconditional.
4482 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4483 1024]: Add entries for 10^2^13 and 10^2^14.
4484 [LAST_POW10 > _LAST_POW10]: Remove #error.
4485 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4486 (_fpioconst_pow10): Change array size to
4487 FPIOCONST_POW10_ARRAY_SIZE.
4488 * stdlib/gen-fpioconst.c: New file.
4489 * stdlib/gen-tst-strtod-round.c: Likewise.
4490 * stdlib/tst-strtod-round-data: Likewise.
4491 * stdlib/tst-strtod-round.c: Likewise.
4492 * stdlib/Makefile (tests): Add tst-strtod-round.
4493
d6e70f43
JM
4494 [BZ #14459]
4495 * stdlib/strtod_l.c: Include <stdint.h>.
4496 (NDEBUG): Do not define.
4497 (round_and_return): Change EXPONENT parameter to type intmax_t.
4498 Rearrange calculations to avoid internal overflow possibilities.
4499 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4500 Rearrange calculations to avoid internal overflow possibilities.
4501 Assert that number fits inside MPNSIZE limbs.
4502 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4503 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4504 calculations and add assertions to avoid internal overflow
4505 possibilities. Add casts to avoid signed/unsigned operations.
4506 * stdlib/tst-strtod-overflow.c: New file.
4507 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4508
1f529f7d
MP
45092012-08-25 Marek Polacek <polacek@redhat.com>
4510
4511 * time/time.h: Fix some typos in comments.
4512
59a629f1
RM
45132012-08-23 Roland McGrath <roland@hack.frob.com>
4514
4515 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4516 * posix/tst-rfc3484-2.c: Likewise.
4517 * posix/tst-rfc3484-3.c: Likewise.
4518
d3bafbc9
SM
45192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4520
4521 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4522 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4523
4efcc022
JM
45242012-08-23 Joseph Myers <joseph@codesourcery.com>
4525
4526 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4527 #include of fxstatat64.c.
4528
3cc3ef96
RM
45292012-08-22 Roland McGrath <roland@hack.frob.com>
4530
f04e2132
RM
4531 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4532 * shadow/getspent_r.c: Likewise.
4533 * shadow/getspnam.c: Likewise.
4534 * shadow/getspnam_r.c: Likewise.
4535 * gshadow/getsgent.c: Likewise.
4536 * gshadow/getsgent_r.c: Likewise.
4537 * gshadow/getsgnam.c: Likewise.
4538 * gshadow/getsgnam_r.c: Likewise.
4539 * inet/getnetbyad.c: Likewise.
4540 * inet/getnetbyad_r.c: Likewise.
4541 * inet/getnetbynm.c: Likewise.
4542 * inet/getnetbynm_r.c: Likewise.
4543 * inet/getnetent.c: Likewise.
4544 * inet/getnetent_r.c: Likewise.
4545 * inet/getproto.c: Likewise.
4546 * inet/getproto_r.c: Likewise.
4547 * inet/getprtent.c: Likewise.
4548 * inet/getprtent_r.c: Likewise.
4549 * inet/getprtname.c: Likewise.
4550 * inet/getprtname_r.c: Likewise.
4551 * inet/getrpcbyname.c: Likewise.
4552 * inet/getrpcbyname_r.c: Likewise.
4553 * inet/getrpcbynumber.c: Likewise.
4554 * inet/getrpcbynumber_r.c: Likewise.
4555 * inet/getrpcent.c: Likewise.
4556 * inet/getrpcent_r.c: Likewise.
4557 * inet/getaliasent.c: Likewise.
4558 * inet/getaliasent_r.c: Likewise.
4559 * inet/getaliasname.c: Likewise.
4560 * inet/getaliasname_r.c: Likewise.
4561 * nscd/getgrgid_r.c: Likewise.
4562 * nscd/getgrnam_r.c: Likewise.
4563 * nscd/gethstbyad_r.c: Likewise.
4564 * nscd/gethstbynm3_r.c: Likewise.
4565 * nscd/getpwnam_r.c: Likewise.
4566 * nscd/getpwuid_r.c: Likewise.
4567 * nscd/getsrvbynm_r.c: Likewise.
4568 * nscd/getsrvbypt_r.c: Likewise.
4569 * nscd/gai.c: Likewise.
4570
c53d909c
RM
4571 * configure.in (build_nscd): New substituted variable, set
4572 by --disable-build-nscd and defaults to $use_nscd.
4573 * configure: Regenerated.
4574 * config.make.in (build-nscd): New substituted variable.
4575 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4576 Change conditional to require [$(build-nscd) = yes] as well.
4577 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4578
3cc3ef96
RM
4579 [BZ# 13696]
4580 * configure.in (use_nscd): New substituted variable, set by
4581 --disable-nscd. If enabled, define USE_NSCD.
4582 * configure: Regenerated.
4583 * config.h.in: Add USE_NSCD.
4584 * config.make.in (use-nscd): New substituted variable.
4585 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4586 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4587 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4588 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4589 (CFLAGS-getgrnam_r.c): Likewise.
4590 (CFLAGS-initgroups.c): Likewise.
4591 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4592 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4593 Variables removed.
4594 * inet/getnetgrent_r.c
4595 (nscd_setnetgrent): New function, broken out of ...
4596 (setnetgrent): ... here. Call it.
4597 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4598 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4599 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4600 * nscd/Makefile (routines, aux): Move definitions after include of
4601 Makeconfig. Conditionalize on [$(use-nscd) != no].
4602 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4603 Conditionalize on [USE_NSCD].
4604 (is_nscd, nscd_init_cb): Likewise.
4605 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4606 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4607 * nss/nss_db/db-init.c: Likewise.
4608 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4609 [USE_NSCD].
4610 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4611 (make_request): Use it.
4612 (cache_valid_p): New function.
4613 (__check_pf): Use it.
4614 * NEWS: Add item for --disable-nscd.
4615
07e51550
DL
46162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4617
4618 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4619 to support sed >= 4.2.1-20-ga9bf076.
4620 * configure: Regenerated.
4621
35a5b08b
RM
46222012-08-22 Roland McGrath <roland@hack.frob.com>
4623
4624 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4625 Conditionalize whole body on [IREL].
4626
8479f23a
JL
46272012-08-22 Jeff Law <law@redhat.com>
4628
4629 [BZ #14505]
4630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4631 if the family is PF_UNSPEC.
4632
48da0b21
MF
46332012-08-22 Mike Frysinger <vapier@gentoo.org>
4634
4635 * Makerules (lib-version): Rename from V.
4636 (install-lib-nosubdir): Change V to lib-version.
4637
15d0da8c
WS
46382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4639
4640 [BZ #14252]
4641 * powerpc32/power6/wcschr.c: New file.
4642 * powerpc32/power6/wcscpy.c: New file.
4643 * powerpc32/power6/wcsrchr.c: New file.
4644 * powerpc64/power6/wcschr.c: New file.
4645 * powerpc64/power6/wcscpy.c: New file.
4646 * powerpc64/power6/wcsrchr.c: New file.
4647
bcca0895
MK
46482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4649
4650 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4651 (two_way_short_needle): Use it.
5a4aaa33
RM
4652 * string/strstr.c (AVAILABLE1_USES_J): Define.
4653 * string/strcasestr.c: Likewise.
99677e57
MK
4654
4655 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4656 array references.
4657 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4658
400726de
MK
4659 [BZ #11607]
4660 * NEWS: Add an entry.
4661 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4662 define their defaults.
4663 (two_way_short_needle): Detect end-of-string on-the-fly.
4664 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4665 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4666 * string/bug-strcasestr1.c: New test.
4667 * string/Makefile: Run it.
4668
20a71f2c
MK
46692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4670
4671 [BZ #11607]
4672 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4673 the first character.
4674
21ad0558
RM
46752012-08-21 Roland McGrath <roland@hack.frob.com>
4676
4677 * csu/elf-init.c (__libc_csu_irel): Function removed.
4678 * csu/libc-start.c (apply_irel): New function.
4679 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4680
0e1d9911
JM
46812012-08-21 Joseph Myers <joseph@codesourcery.com>
4682
4683 * sysdeps/unix/sysv/linux/kernel-features.h
4684 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4685 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4686 <kernel-features.h>.
4687 [__NR_fadvise64_64]: Make code unconditional.
4688 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4689 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4690 !__NR_fadvise64_64)]: Likewise.
4691 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4692 !__NR_fadvise64_64))]: Likewise.
4693 [__NR_fadvise64]: Make code unconditional.
4694 [!__NR_fadvise64]: Remove conditional code.
4695 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4696 <kernel-features.h>.
4697 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4698 unconditional.
4699 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4700 conditional code.
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4702 not include <kernel-features.h>.
4703 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4704 unconditional.
4705 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4706 conditional code.
4707 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4708 include <kernel-features.h>.
4709 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4710 unconditional.
4711 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4712 conditional code.
4713
14a50c9d
WS
47142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4715
4716 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4717 slight instruction rearrangements per scrollpipe analysis.
4718 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4719
c0f4faf0
RM
47202012-08-20 Roland McGrath <roland@hack.frob.com>
4721
696da859
RM
4722 * manual/syslog.texi (syslog; vsyslog, closelog):
4723 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4724 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4725
c0f4faf0
RM
4726 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4727 DSOCAPS to match condition on defining it.
4728
348363b2
JM
47292012-08-20 Joseph Myers <joseph@codesourcery.com>
4730
a35cbf28
JM
4731 * sysdeps/unix/sysv/linux/kernel-features.h
4732 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4734 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4735 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4737 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4738 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4740 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4741 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4742
445f7ecd
JM
4743 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4744 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4745
348363b2
JM
4746 * sysdeps/unix/sysv/linux/kernel-features.h
4747 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4748 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4749 unconditional.
4750 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4751 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4752 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4753 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4754 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4755 Make code unconditional.
4756 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4757 (__mmap64) [!__NR_mmap2]: Likewise.
4758 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4759 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4760 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4761 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4762 [__NR_mmap2]: Make code unconditional.
4763 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4764 (__mmap64) [!__NR_mmap2]: Likewise.
4765
bc5bc0e5
AK
47662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4767
4768 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4769
88d506de
AJ
47702012-08-18 Andreas Jaeger <aj@suse.de>
4771
4772 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4773
493387d2
MF
47742012-08-18 Mike Frysinger <vapier@gentoo.org>
4775
4776 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4777 * include/unistd.h (__have_sock_cloexec): Likewise.
4778 (__have_pipe2): Likewise.
4779 (__have_dup3): Likewise.
4780
a277af22
MF
47812012-08-18 Mike Frysinger <vapier@gentoo.org>
4782
4783 [BZ #9685]
4784 * include/unistd.h (__have_pipe2): Change define into an extern int.
4785 (__have_dup3): Likewise.
4786 * socket/have_sock_cloexec.c: Include fcntl.h.
4787 (__have_pipe2): New variable.
4788 (__have_dup3): Likewise.
4789
fdab8fd3
MF
47902012-08-17 Mike Frysinger <vapier@gentoo.org>
4791
4792 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4793
31035e80
MP
47942012-08-17 Marek Polacek <polacek@redhat.com>
4795
4796 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4797 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4798
3bd9e993
RM
47992012-08-17 Roland McGrath <roland@hack.frob.com>
4800
c91c505f
RM
4801 * configure.in: Add AC_SUBST for sysheaders.
4802 * configure: Regenerated.
4803 * config.make.in (sysheaders): New substituted variable.
4804
7c6f9d53
RM
4805 * sysdeps/unix/mkfifo.c: Moved ...
4806 * sysdeps/posix/mkfifo.c: ... here.
4807 * sysdeps/unix/mkfifoat.c: Moved ...
4808 * sysdeps/posix/mkfifoat.c: ... here.
4809
4810 * sysdeps/unix/utime.c: Moved ...
4811 * sysdeps/posix/utime.c: ... here.
4812
4813 * sysdeps/unix/time.c: Moved ...
4814 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4815 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4816 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4817
4818 * sysdeps/unix/nice.c: Moved ...
4819 * sysdeps/posix/nice.c: ... here.
4820
4821 * sysdeps/unix/alarm.c: Moved ...
4822 * sysdeps/posix/alarm.c: ... here.
4823
3bd9e993
RM
4824 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4825
d1f09384
JL
48262012-08-17 Jeff Law <law@redhat.com>
4827
4828 * intl/Makefile (codeset_mo): New variable.
4829 ($(codeset_mo)): New target.
4830 (tst-codeset.out): Depend on that. Remove explicit rule.
4831 (tst-gettext3.out, tst-gettext5.out): Likewise.
4832 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4833 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4834 * intl/tst-codeset.sh: Remove.
4835 * intl/tst-gettext3.sh: Likewise.
4836 * intl/tst-gettext5.sh: Likewise.
4837
2ae1ae5c
RM
48382012-08-17 Roland McGrath <roland@hack.frob.com>
4839
c31fdb83
RM
4840 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4841 * sysdeps/unix/syscalls.list: ... here.
4842
a0844057
RM
4843 * sysdeps/posix/getaddrinfo.c
4844 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4845 (gaiconf_init, gaiconf_reload): Use them.
4846 [!_STATBUF_ST_NSEC]
4847 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4848 Define using time_t rather than struct timespec.
4849
750c1f2a
RM
4850 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4851 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4852 Macros removed.
4853 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4854 [!NO_THREADS].
4855 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4856 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4857 Likewise.
4858
2ae1ae5c
RM
4859 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4860 __libc_cleanup_push argument.
4861
e66a42f5
RM
4862 * bits/param.h: New file.
4863 * misc/sys/param.h: New file.
4864 * include/sys/param.h: New file.
4865 * misc/Makefile (headers): Add bits/param.h.
4866 * sysdeps/generic/sys/param.h: File removed.
4867 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4868 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4869 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4870 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4871
b7c08a66
RM
4872 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4873 last change.
4874
b2e1c562
RM
4875 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4876 [_IO_MTSAFE_IO].
4877 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4878 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4879 New macros.
4880
c75ccd4c
RM
4881 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4882 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4883 rather than -D_IO_MTSAFE_IO conditionally.
4884 * stdio-common/Makefile (CPPFLAGS): Likewise.
4885 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4886 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4887 Use $(libio-mtsafe).
4888 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4889 of -D_IO_MTSAFE_IO.
4890 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4891 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4892 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4893 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4894 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4895 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4896 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4897 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4898 (CFLAGS-fread_u_chk.c): Likewise.
4899 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4900 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4901 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4902 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4903 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4904 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4905 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4906 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4907 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4908
4909 * libio/Makefile: Test [$(libc-reentrant) = yes]
4910 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4911
4912 * Makeconfig
4913 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4914 * sysdeps/pthread/configure: File removed.
4915 * sysdeps/pthread/Makeconfig: New file.
4916 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4917 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4918
d9195db8
GB
49192012-08-16 Gary Benson <gbenson@redhat.com>
4920
4921 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4922 unmapping the first object in a namespace.
4923
86466cd9
RM
49242012-08-16 Roland McGrath <roland@hack.frob.com>
4925
4926 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4927 (__internal_setnetgrent): ... this. Add internal_function to
4928 definition. Add libc_hidden_def.
4929 (setnetgrent): Update caller.
4930 (internal_endnetgrent): Renamed to ...
4931 (__internal_endnetgrent): ... this. Add internal_function to
4932 definition. Add libc_hidden_def.
4933 (endnetgrent): Update caller.
4934 (internal_getnetgrent_r): Renamed to ...
4935 (__internal_getnetgrent_r): ... this. Add internal_function to
4936 definition. Add libc_hidden_def.
4937 (__getnetgrent_r): Update caller.
4938 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4939
c3c8283c
JM
49402012-08-16 Joseph Myers <joseph@codesourcery.com>
4941
4942 * stdlib/longlong.h: Update from GCC.
4943
db1ee0a8
RM
49442012-08-16 Roland McGrath <roland@hack.frob.com>
4945
4946 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4947 on _QL, which is set by umul_ppmm but never used.
4948 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4949 variables, which are set by GMP macros but never used.
4950 * stdio-common/_itowa.c (_itowa): Likewise.
4951 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4952 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4953
30f69637
CD
49542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4955
4956 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4957 struct La_sh_regs is not constant.
4958 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4959 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4960 and struct La_sparc64_regs are not constant.
4961
93a78ac4
JM
49622012-08-16 Joseph Myers <joseph@codesourcery.com>
4963
4964 * sysdeps/unix/sysv/linux/kernel-features.h
4965 (__ASSUME_POSIX_TIMERS): Remove.
4966 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4967 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4968 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4969 Make code unconditional.
4970 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4971 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4972 Make code unconditional.
4973 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4974 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4975 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4976 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4977 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4978 Make code unconditional.
4979 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4980 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4981 (__libc_missing_posix_timers): Remove.
4982
dd924cd7
RM
49832012-08-15 Roland McGrath <roland@hack.frob.com>
4984
4b4f2771
RM
4985 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4986 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4987
601c888b
RM
4988 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4989
176790a7
RM
4990 * elf/dl-sym.c: Include <stdlib.h>.
4991
329bc018
RM
4992 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4993 constants, which avoids warnings in 32-bit builds.
4994
e04e272d
RM
4995 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4996 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4997
952bf94a
RM
4998 * misc/lseek.c: File moved to ...
4999 * io/lseek.c: ... here.
5000
7c99b50a
RM
5001 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5002
dd924cd7
RM
5003 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5004 shifting LEN more than 31 bits at once.
5005
b3f479a8
LD
50062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5007
5008 [BZ #14195]
8c4ae0d4
RM
5009 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5010 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5011 * string/test-strncasecmp.c (check1): Renamed to...
5012 (bz12205): ...this.
5013 (bz14195): Add new testcase for two empty input strings and N > 0.
5014 (test_main): Call new testcase, adapt for renamed function.
5015
9c55864e
AJ
50162012-08-15 Andreas Jaeger <aj@suse.de>
5017
5018 [BZ #14090]
5019 * crypt/md5test2.c: New test, based on test supplied by Serge
5020 Belyshev <belyshev@depni.sinp.msu.ru>.
5021 * crypt/Makefile (xtests): Add md5test-giant..
5022 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5023
02dcb6c5
PE
50242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5025
5026 [BZ #14090]
5027 * crypt/md5.c (md5_process_block): Don't assume the buffer
5028 length is less than 2**32.
5029 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5030 length is less than 2**64.
5031
a3f95dcc
RM
50322012-08-15 Roland McGrath <roland@hack.frob.com>
5033
be75d758
RM
5034 * string/str-two-way.h: Include <sys/param.h>.
5035 (MAX): Macro removed.
5036
7312ca90
RM
5037 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5038 Move #define and #undef of memmove to just before and after
5039 including <string.h>.
5040
9a0a5486
RM
5041 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5042 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5043 and after including <string.h>. Move declarations of
5044 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5045 to before #include "string/memmove.c".
5046
67cc348d
RM
5047 * include/dirent.h: Declare __getdirentries.
5048
a3f95dcc
RM
5049 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5050 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5051
ca98e171
MF
50522012-08-14 Mike Frysinger <vapier@gentoo.org>
5053
5054 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5055 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5056 * sysdeps/i386/configure: Regenerated.
5057 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5058 STABS_CURRENT_FILE, and STABS_FUN.
5059 (END): Remove call to STABS_FUN_END.
5060 (STABS_CURRENT_FILE1): Delete.
5061 (STABS_CURRENT_FILE): Likewise.
5062 (STABS_FUN): Likewise.
5063 (STABS_FUN_END): Likewise.
5064 (STABS_FUN2): Likewise.
5065 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5066 * sysdeps/x86_64/configure: Regenerated.
5067
5908bf46
RM
50682012-08-14 Roland McGrath <roland@hack.frob.com>
5069
5070 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5071 * elf/dl-lookup.c: Likewise.
5908bf46 5072
f2c05b9e
JM
50732012-08-14 Joseph Myers <joseph@codesourcery.com>
5074
5075 * sysdeps/unix/sysv/linux/kernel-features.h
5076 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5077 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5078 unconditionally.
5079 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5080 unconditionally.
5081 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5082 condition on __ASSUME_CLONE_THREAD_FLAGS.
5083
e11f5155
AJ
50842012-08-14 Andreas Jaeger <aj@suse.de>
5085
5086 * sysdeps/i386/fpu/libm-test-ulps: Update.
5087
51a9ba86
MK
50882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5089
2fdd4f78
AJ
5090 * include/atomic.h (atomic_exchange_and_add): Split into ...
5091 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5092 New atomic macros.
51a9ba86 5093
ba6cba9e
MT
50942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5095
5096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5097
42443a47
JL
50982012-08-13 Jeff Law <law@redhat.com>
5099
5100 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5101 null byte in the output string.
5102
121dce05
JM
51032012-08-10 Joseph Myers <joseph@codesourcery.com>
5104
5105 * sysdeps/unix/sysv/linux/kernel-features.h
5106 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5107 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5108 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5109 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5110 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5111 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5112 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5113
bf51f568
JL
51142012-08-09 Jeff Law <law@redhat.com>
5115
5116 [BZ #13939]
5117 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5118 When avoid_arena is set, don't retry in the that arena. Pick the
5119 next one, whatever it might be.
5120 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5121 (arena_lock): Pass in new parameter to arena_get2.
5122 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5123 arena_get2.
5124 (__libc_malloc): Unify retrying after main arena failure with
5125 __libc_memalign version.
5126 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5127
f85fa270
L
51282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5129
5130 [BZ #14166]
5131 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5132 to __redirect_strstr.
5133 (__strstr_sse42): Use typeof __redirect_strstr.
5134 (__strstr_ia32): Likewise.
5135 (__libc_strstr): New prototype.
5136 (strstr): Renamed to ...
5137 (__libc_strstr): This.
5138 (strstr): New strong alias of __libc_strstr.
5139 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5140 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5141 __redirect_time.
5142 Include <time.h>.
5143 (__libc_time): New prototype.
5144 (time_ifunc): Replace time with __libc_time.
5145 (time): New strong alias and hidden definition of __libc_time.
5146 (__GI_time): Remove strong alias.
5147 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5148 Include <stddef.h>.
5149 (memmove): Redefined to __redirect_memmove.
5150 (__memmove_sse2): Use typeof __redirect_memmove.
5151 (__memmove_ssse3): Likewise.
5152 (__memmove_ssse3_back): Likewise.
5153 (__libc_memmove): New prototype.
5154 (memmove): Renamed to ...
5155 (__libc_memmove): This.
5156 (memmove): New strong alias of __libc_memmove.
5157
33b4a91e
MS
51582012-08-08 Mark Salter <msalter@redhat.com>
5159
5160 * elf/elf.h
5161 (R_MN10300_TLS_GD): Define.
5162 (R_MN10300_TLS_LD): Likewise.
5163 (R_MN10300_TLS_LDO): Likewise.
5164 (R_MN10300_TLS_GOTIE): Likewise.
5165 (R_MN10300_TLS_IE): Likewise.
5166 (R_MN10300_TLS_LE): Likewise.
5167 (R_MN10300_TLS_DTPMOD): Likewise.
5168 (R_MN10300_TLS_DTPOFF): Likewise.
5169 (R_MN10300_TLS_TPOFF): Likewise.
5170 (R_MN10300_SYM_DIFF): Likewise.
5171 (R_MN10300_ALIGN): Likewise.
5172 (R_MN10300_NUM): Update.
5173
b36137f1
JM
51742012-08-08 Joseph Myers <joseph@codesourcery.com>
5175
5176 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5177 Remove.
5178
cdd915fd
RM
51792012-08-08 Roland McGrath <roland@hack.frob.com>
5180
a2433aac
RM
5181 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5182
cdd915fd
RM
5183 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5184 sysdeps/unix -> sysdeps/posix move.
5185 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5186
bf9b740a
AM
51872012-08-07 Allan McRae <allan@archlinux.org>
5188
5189 [BZ #14303]
5190 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5191 (SUNOS_CPP): Likewise.
5192 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5193 not found.
5194 (open_input): Call CPP using execvp.
5195
93df14ee
JM
51962012-08-07 Joseph Myers <joseph@codesourcery.com>
5197
5198 * sysdeps/unix/sysv/linux/kernel-features.h
5199 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5200 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5201 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5202 (__ASSUME_WAITID_SYSCALL): Likewise.
5203 * sysdeps/unix/sysv/linux/dl-execstack.c
5204 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5205 code unconditional.
5206 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5207 conditional code.
5208 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5209 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5210 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5211 code.
5212 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5213 unconditional.
5214 [__ASSUME_WAITID_SYSCALL]: Likewise.
5215 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5216
d34689de
RM
52172012-08-07 Roland McGrath <roland@hack.frob.com>
5218
a281decc
RM
5219 * sysdeps/unix/closedir.c: Renamed to ...
5220 * sysdeps/posix/closedir.c: ... here.
5221 * sysdeps/unix/dirfd.c: Renamed to ...
5222 * sysdeps/posix/dirfd.c: ... here.
5223 * sysdeps/unix/dirstream.h: Renamed to ...
5224 * sysdeps/posix/dirstream.h: ... here.
5225 * sysdeps/unix/fdopendir.c: Renamed to ...
5226 * sysdeps/posix/fdopendir.c: ... here.
5227 * sysdeps/unix/opendir.c: Renamed to ...
5228 * sysdeps/posix/opendir.c: ... here.
5229 * sysdeps/unix/readdir.c: Renamed to ...
5230 * sysdeps/posix/readdir.c: ... here.
5231 * sysdeps/unix/readdir_r.c: Renamed to ...
5232 * sysdeps/posix/readdir_r.c: ... here.
5233 * sysdeps/unix/rewinddir.c: Renamed to ...
5234 * sysdeps/posix/rewinddir.c: ... here.
5235 * sysdeps/unix/seekdir.c: Renamed to ...
5236 * sysdeps/posix/seekdir.c: ... here.
5237 * sysdeps/unix/telldir.c: Renamed to ...
5238 * sysdeps/posix/telldir.c: ... here.
5239 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5240 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5241 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5242 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5243
22895b47
RM
5244 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5245 * bits/fcntl.h: ... here.
5246
707a53b6
RM
5247 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5248 not 0.
5249 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5250 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5251 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5252 (struct flock): Move l_start, l_len to the beginning.
5253 Use __pid_t for l_pid.
5254 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5255 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5256 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5257 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5258 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5259 [__USE_LARGEFILE64] (struct flock64): New type.
5260 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5261
f0bd3e25
RM
5262 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5263 * bits/dirent.h: ... here.
5264
d34689de
RM
5265 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5266 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5267
6dad2c06
JM
52682012-08-07 Joseph Myers <joseph@codesourcery.com>
5269
5270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5271 Change from 2.6.0 to 2.6.16.
5272 * sysdeps/unix/sysv/linux/configure: Regenerated.
5273 * sysdeps/unix/sysv/linux/kernel-features.h
5274 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5275 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5276 version.
5277 (__ASSUME_UTIMES): Likewise.
5278 (__ASSUME_CLONE_STOPPED): Remove.
5279 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5280 architectures, not kernel version.
5281 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5282 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5283 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5284 (__ASSUME_WAITID_SYSCALL): Likewise.
5285 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5286 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5287 * README: State 2.6.16 as minimum Linux kernel version. Do not
5288 refer to older versions.
5289
03af9520
RM
52902012-08-06 Roland McGrath <roland@hack.frob.com>
5291
8e49df1d
RM
5292 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5293 Define alphasort64 as an alias.
5294 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5295 Define versionsort64 as an alias.
5296 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5297 Define scandir64 as an alias.
5298 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5299 Define scandirat64 as an alias.
5300 * dirent/alphasort64.c (alphasort64):
5301 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5302 * dirent/versionsort64.c: Likewise.
5303 * dirent/scandir64.c: Likewise.
5304 * dirent/scandirat64.c: Likewise.
5305 * sysdeps/wordsize-64/alphasort.c: File removed.
5306 * sysdeps/wordsize-64/alphasort64.c: File removed.
5307 * sysdeps/wordsize-64/scandir.c: File removed.
5308 * sysdeps/wordsize-64/scandir64.c: File removed.
5309 * sysdeps/wordsize-64/scandirat.c: File removed.
5310 * sysdeps/wordsize-64/scandirat64.c: File removed.
5311 * sysdeps/wordsize-64/versionsort.c: File removed.
5312 * sysdeps/wordsize-64/versionsort64.c: File removed.
5313 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5314 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5315 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5316 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5317 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5318 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5319 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5320 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5321
5322 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5324 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5326 [defined __arch64__ || defined __sparcv9]
5327 (__INO_T_MATCHES_INO64_T): New macro.
5328 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5329 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5330 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5331 * sysdeps/unix/sysv/linux/bits/dirent.h
5332 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5333 (_DIRENT_MATCHES_DIRENT64): New macro.
5334
03af9520
RM
5335 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5336 Define lockf64 as an alias.
5337 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5338 Define fseeko64 as an alias.
5339 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5340 Define ftello64 as an alias.
5341 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5342 Define _IO_fgetpos64 and fgetpos64 as aliases.
5343 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5344 Define _IO_fsetpos64 and fsetpos64 as aliases.
5345 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5346 Conditionalize body on this.
5347 * libio/fseeko64.c: Likewise.
5348 * libio/ftello64.c: Likewise.
5349 * libio/iofgetpos64.c: Likewise.
5350 * libio/iofsetpos64.c: Likewise.
5351 * sysdeps/wordsize-64/lockf.c: File removed.
5352 * sysdeps/wordsize-64/lockf64.c: File removed.
5353 * sysdeps/wordsize-64/fseeko.c: File removed.
5354 * sysdeps/wordsize-64/fseeko64.c: File removed.
5355 * sysdeps/wordsize-64/ftello.c: File removed.
5356 * sysdeps/wordsize-64/ftello64.c: File removed.
5357 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5358 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5359 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5360 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5361 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5362 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5363 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5364 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5365 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5367 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5368 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5369 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5370 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5371
5372 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5374 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5376 [defined __arch64__ || defined __sparcv9]
5377 (__OFF_T_MATCHES_OFF64_T): New macro.
5378 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5379 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5381 (__OFF_T_MATCHES_OFF64_T): New macro.
5382
c5757acd
L
53832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5384
5385 * stdlib/secure-getenv.c (__secure_getenv): Replace
5386 GLIBC_2_16 with GLIBC_2_17.
5387
3a31811e
L
53882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5389
5390 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5391 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5392
faa2bccb
DM
53932012-08-03 David S. Miller <davem@davemloft.net>
5394
5395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5396
85fe1997
JM
53972012-08-03 Joseph Myers <joseph@codesourcery.com>
5398
5399 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5400 Remove.
5401 (__ASSUME_CORRECT_SI_PID): Likewise.
5402 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5403 (__ASSUME_TMPFS_NAME): Likewise.
5404 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5405 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5406 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5407 (HAVE_AUX_SECURE): Make definition unconditional.
5408 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5409 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5410
4f75b7a0
RM
54112012-08-03 Roland McGrath <roland@hack.frob.com>
5412
5413 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5414 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5415 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5416 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5417 __eloop_threshold instead of SYMLOOP_MAX.
5418
5419 * sysdeps/generic/eloop-threshold.h: New file.
5420 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5421 of MAXSYMLINKS.
5422 * elf/chroot_canon.c (chroot_canon): Likewise.
5423
7aab07e4
JM
54242012-08-03 Joseph Myers <joseph@codesourcery.com>
5425
5426 [BZ #13717]
5427 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5428 Change to 2.6.0 everywhere.
5429 * sysdeps/unix/sysv/linux/configure: Regenerated.
5430 * sysdeps/unix/sysv/linux/kernel-features.h
5431 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5432 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5433 kernel versions.
5434 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5435 (__ASSUME_FUTEX_REQUEUE): Remove.
5436 (__ASSUME_STATFS64): Define unconditionally.
5437 (__ASSUME_AT_SECURE): Likewise.
5438 (__ASSUME_CORRECT_SI_PID): Likewise.
5439 (__ASSUME_TGKILL): Define without depending on kernel version for
5440 i386.
5441 (__ASSUME_UTIMES): Likewise.
5442 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5443 kernel version.
5444 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5445 (__ASSUME_TMPFS_NAME): Likewise.
5446 * README: Update reference to Linux kernel versions.
5447
b67e9372
MP
54482012-08-02 Marek Polacek <polacek@redhat.com>
5449
1f529f7d 5450 [BZ# 14150]
b67e9372
MP
5451 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5452 libc_cv_asm_type_prefix with %.
5453 * configure: Regenerated.
d2441631
RM
5454 * include/libc-symbols.h: Remove comment about
5455 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5456 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5457 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5458 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5459 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5460 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5461 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5462 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5463 * elf/tst-unique2mod1.c: Likewise.
5464 * elf/tst-unique1mod2.c: Likewise.
5465 * elf/tst-unique1mod1.c: Likewise.
5466 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5467 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5468 Replace ASM_TYPE_DIRECTIVE with .type.
5469 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5470 * sysdeps/i386/sysdep.h: Likewise.
5471 * sysdeps/x86_64/sysdep.h: Likewise.
5472 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5474 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5475 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5476 * sysdeps/powerpc/powerpc32/sysdep.h:
5477 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5478 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5479 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5480 * sysdeps/i386/fpu/e_powf.S: Likewise.
5481 * sysdeps/i386/fpu/e_expl.S: Likewise.
5482 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5483 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5484 * sysdeps/i386/fpu/e_pow.S: Likewise.
5485 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5486 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5487 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5488 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5489 * sysdeps/i386/fpu/e_log2.S: Likewise.
5490 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5491 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5492 * sysdeps/i386/fpu/e_powl.S: Likewise.
5493 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5494 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5495 * sysdeps/i386/fpu/e_logl.S: Likewise.
5496 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5497 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5498 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5499 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5500 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5501 * sysdeps/i386/fpu/e_log.S: Likewise.
5502 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5503 * sysdeps/i386/fpu/e_logf.S: Likewise.
5504 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5505 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5506 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5507 * sysdeps/i386/fpu/e_log10.S: Likewise.
5508 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5509 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5510 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5511 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5512 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5513 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5514 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5515 * sysdeps/i386/i686/strtok.S: Likewise.
5516 * sysdeps/i386/i386-mcount.S: Likewise.
5517 * sysdeps/i386/strtok.S: Likewise.
5518 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5519 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5520 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5521 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5522 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5524 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5525 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5526 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5527 * sysdeps/x86_64/_mcount.S: Likewise.
5528 * sysdeps/x86_64/strtok.S: Likewise.
5529 * sysdeps/sh/_mcount.S: Likewise.
5530
2747bf9a
RM
55312012-08-01 Roland McGrath <roland@hack.frob.com>
5532
5533 * libio/iofopen.c: Include <fcntl.h>.
5534 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5535 (_IO_fopen64, fopen64): Define as aliases.
5536 * libio/iofopen64.c: Include <fcntl.h>.
5537 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5538 Conditionalize body on this.
5539 * sysdeps/wordsize-64/iofopen.c: File removed.
5540 * sysdeps/wordsize-64/iofopen64.c: File removed.
5541
3fb791b8
MP
55422012-08-01 Marek Polacek <polacek@redhat.com>
5543
5544 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5545 Use dlfcn directly instead of a variable.
5546 (binfmt-subdir): Do not define.
5547 (dlfcn): Likewise.
5548
a9f1039f
JM
55492012-08-01 Joseph Myers <joseph@codesourcery.com>
5550
23bddc06
JM
5551 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5552 Remove all definitions.
5553 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5554 <kernel-features.h>.
5555 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5556 (miss_F_GETOWN_EX): Remove all definitions.
5557 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5558 macro definition.
5559 [!__ASSUME_FCNTL64]: Remove conditional code.
5560 [__ASSUME_FCNTL64]: Make code unconditional.
5561 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5562 <kernel-features.h>.
5563 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5564 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5565 (lockf64) [__NR_fcntl64]: Make code unconditional.
5566 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5567
a9f1039f
JM
5568 * sysdeps/unix/sysv/linux/kernel-features.h
5569 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5570 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5571 Make code unconditional.
5572 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5573 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5575 [__NR_vfork]: Make code unconditional.
5576 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5577 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5579 [__NR_vfork]: Make code unconditional.
5580 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5581 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5582
09c0ee5f
RM
55832012-08-01 Roland McGrath <roland@hack.frob.com>
5584
48aec5b9
RM
5585 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5586 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5587
cd97c966
RM
5588 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5589 Define mkstemp64 as an alias.
3f55550c
RM
5590 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5591 Define mkstemps64 as an alias.
cd97c966
RM
5592 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5593 Define mkostemp64 as an alias.
b8625cfc
RM
5594 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5595 Define mkostemps64 as an alias.
cd97c966
RM
5596 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5597 Conditionalize body on this.
5598 * misc/mkostemp64.c: Likewise.
b8625cfc 5599 * misc/mkostemps64.c: Likewise.
3f55550c 5600 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5601 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5602 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5603 * sysdeps/wordsize-64/mkostemp.c: File removed.
5604 * sysdeps/wordsize-64/mkstemp.c: File removed.
5605 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5606 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5607 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5608 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5609
09c0ee5f
RM
5610 [BZ #14138]
5611 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5612 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5613 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5614 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5615
5616 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5617 compat_symbol macros from <shlib-compat.h> rather than the underlying
5618 default_symbol_version and symbol_version macros, so that DEFAULT
5619 lines in shlib-versions are respected.
5620 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5621
7e66ee51
FW
56222012-08-01 Florian Weimer <fweimer@redhat.com>
5623
5624 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5625 Declare with warn_unused_result.
5626 (setgid, setregid, setegid, setresgid): Likewise.
5627 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5628 Likewise.
5629 * WUR-REPORT: Remove set*id functions.
5630
d2a54255
PT
56312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5632
5633 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5634
7ecdb005
RM
56352012-07-31 Roland McGrath <roland@hack.frob.com>
5636
789bd351
RM
5637 * include/sys/socket.h (__libc_accept, __libc_accept4):
5638 Add attribute_hidden.
5639 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5640
40ce302d
RM
5641 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5642 use of PTR_MANGLE.
5643 * inet/getnetgrent_r.c (setup): Likewise.
5644
7ecdb005
RM
5645 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5646
e2eabb2c
DM
56472012-07-31 David S. Miller <davem@davemloft.net>
5648
5649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5650
d0419dbf
JM
56512012-07-31 Joseph Myers <joseph@codesourcery.com>
5652
5653 [BZ #13629]
5654 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5655 value between 1.0 and 2.0 and smaller part has absolute value less
5656 than 1.0.
5657 * math/s_clog10.c (__clog10): Likewise.
5658 * math/s_clog10f.c (__clog10f): Likewise.
5659 * math/s_clog10l.c (__clog10l): Likewise.
5660 * math/s_clogf.c (__clogf): Likewise.
5661 * math/s_clogl.c (__clogl): Likewise.
5662 * math/libm-test.inc (clog_test): Add more tests.
5663 (clog10_test): Likewise.
5664 * sysdeps/i386/fpu/libm-test-ulps: Update.
5665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5666
2bc13872
FW
56672012-07-31 Florian Weimer <fweimer@redhat.com>
5668
5669 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5670 Exit with zero in case no suitable GID is found, and write a
5671 message to standard error.
5672
bea9b193
RM
56732012-07-30 Roland McGrath <roland@hack.frob.com>
5674
5675 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5676 rather than to 1.
5677 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5678 (MAXPATHLEN): Removed.
5679 (NOGROUP, NODEV): New macros.
5680 (setbit, clrbit, isset, isclr): New macros.
5681 (howmany, roundup, powerof2): New macros.
5682 (DEV_BSIZE): New macro.
5683
5684 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5685 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5686
5687 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5688 definition on [!__NO_LONG_DOUBLE_MATH].
5689
5690 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5691 PTR_MANGLE and PTR_DEMANGLE.
5692
5693 * socket/accept4.c (accept4): Rename to __libc_accept4.
5694 Define accept4 as a weak alias.
5695
5696 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5697 on [_DIRENT_HAVE_D_TYPE].
5698 * io/ftw.c (ftw_dir): Likewise.
5699
5700 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5701
5702 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5703
5704 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5705 Use the BSD numbers rather than the arbitrary ones we had.
5706 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5707 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5708 (SIGXCPU, SIGXFSZ): New macros.
5709 (_NSIG): Now 32.
5710
5711 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5712 initializer on [_LIBC_REENTRANT].
5713
5714 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5715 definitions inside [_POSIX_MAPPED_FILES].
5716
5717 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5718
5719 * dirent/opendir.c: Include <fcntl.h>.
5720
5721 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5722 (__libc_getspecific): Likewise.
5723 (__libc_key_create): Likewise.
5724
5725 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5726 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5727 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5728 (tmpfile64): Define as alias.
5729 * sysdeps/wordsize-64/tmpfile.c: File removed.
5730 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5731 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5732 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5733
5734 * stdio-common/vfscanf.c: Include <stdbool.h>.
5735 * nss/makedb.c: Likewise.
5736 * stdio-common/_i18n_number.h: Likewise.
5737 * argp/argp-help.c: Likewise.
5738 * posix/wordexp.c: Likewise.
5739 * sysdeps/posix/spawni.c: Likewise.
5740 * nss/nss_files/files-initgroups.c: Likewise.
5741 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5742 * nss/nss_files/files-initgroups.c: Likewise.
5743 * nss/nss_db/db-netgrp.c: Likewise.
5744 * nss/nss_db/db-initgroups.c: Likewise.
5745 * io/fchmodat.c: Include <sys/stat.h>.
5746
5747 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5748 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5749
5750 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5751 [HAVE_MMAP].
5752
5753 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5754 Add multiple inclusion protection.
5755
e5abc686
DM
57562012-07-27 David S. Miller <davem@davemloft.net>
5757
5758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5759
815e6fa3
GB
57602012-07-27 Gary Benson <gbenson@redhat.com>
5761
5762 [BZ #14298]
5763 * elf/rtld.c: Include <stap-probe.h>.
5764 (dl_main): Added static probes "init_start" and "init_complete".
5765 * elf/dl-load.c: Include <stap-probe.h>.
5766 (lose): Take new parameter "nsid".
5767 Added static probe "map_failed".
5768 (_dl_map_object_from_fd): Pass namespace id to lose.
5769 Added static probe "map_start".
5770 (open_verify): Pass namespace id to lose.
5771 * elf/dl-open.c: Include <stap-probe.h>.
5772 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5773 and "reloc_complete".
5774 * elf/dl-close.c: Include <stap-probe.h>.
5775 (_dl_close_worker): Added static probes "unmap_start" and
5776 "unmap_complete".
5777 * elf/rtld-debugger-interface.txt: New file documenting the above.
5778
9f98c16c
RM
57792012-07-26 Roland McGrath <roland@hack.frob.com>
5780
5781 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5782 rather than a string variable.
5783 * sunrpc/rpc_main.c (h_output): Likewise.
5784 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5785
f3c22df3
PT
57862012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5787
5788 * inet/check_native.c: New file.
5789
3129cfc6
JM
57902012-07-26 Joseph Myers <joseph@codesourcery.com>
5791
da865e95
JM
5792 [BZ #13629]
5793 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5794 if larger part has absolute value 1.0.
5795 * math/s_clog10.c (__clog10): Likewise.
5796 * math/s_clog10f.c (__clog10f): Likewise.
5797 * math/s_clog10l.c (__clog10l): Likewise.
5798 * math/s_clogf.c (__clogf): Likewise.
5799 * math/s_clogl.c (__clogl): Likewise.
5800 * math/libm-test.inc (clog_test): Add more tests.
5801 (clog10_test): Likewise.
5802 * sysdeps/i386/fpu/libm-test-ulps: Update.
5803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5804
3129cfc6
JM
5805 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5806 (pltexit): Likewise.
5807 (La_regs): Likewise.
5808 (La_retval): Likewise.
5809 (int_retval): Likewise.
5810 Update #error for removed macros to refer only to definitions in
5811 tst-audit.h.
5812 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5813 macro.
5814 (pltexit): Likewise.
5815 (La_regs): Likewise.
5816 (La_retval): Likewise.
5817 (int_retval): Likewise.
5818 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5819 macro.
5820 (pltexit): Likewise.
5821 (La_regs): Likewise.
5822 (La_retval): Likewise.
5823 (int_retval): Likewise.
5824 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5825 macro.
5826 (pltexit): Likewise.
5827 (La_regs): Likewise.
5828 (La_retval): Likewise.
5829 (int_retval): Likewise.
5830 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5831 macro.
5832 (pltexit): Likewise.
5833 (La_regs): Likewise.
5834 (La_retval): Likewise.
5835 (int_retval): Likewise.
5836 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5837 macro.
5838 (pltexit): Likewise.
5839 (La_regs): Likewise.
5840 (La_retval): Likewise.
5841 (int_retval): Likewise.
5842 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5843 macro.
5844 (pltexit): Likewise.
5845 (La_regs): Likewise.
5846 (La_retval): Likewise.
5847 (int_retval): Likewise.
5848 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5849 macro definitions in tst-audit.h.
5850 * sysdeps/i386/tst-audit.h: New file.
5851 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5852 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5853 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5854 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5855 * sysdeps/sh/tst-audit.h: Likewise.
5856 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5857 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5858 * sysdeps/x86_64/tst-audit.h: Likewise.
5859
bfc07087
AJ
58602012-07-26 Andreas Jaeger <aj@suse.de>
5861
b1b2aaf8
AJ
5862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5863 ptrace.
5864
5865 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5866 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5867 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5868 PTRACE_O_MASK.
5869 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5870 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5871 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5872
bfc07087
AJ
5873 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5874 value.
5875
5876 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5877 _sigsys.
5878 (si_call_addr, si_syscall, si_arch): Define new macro.
5879 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5880 _sigsys.
5881 (si_call_addr, si_syscall, si_arch): Define new marcro.
5882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5883 _sigsys.
5884 (si_call_addr, si_syscall, si_arch): Define new macro.
5885 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5886 _sigsys.
5887 (si_call_addr, si_syscall, si_arch): Define new macro.
5888
89b4b02f
JM
58892012-07-25 Joseph Myers <joseph@codesourcery.com>
5890
5891 [BZ #13717]
5892 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5893 Change to 2.4.21 where previously 2.4.1.
5894 * sysdeps/unix/sysv/linux/configure: Regenerated.
5895 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5896 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5897 Linux kernel version.
5898 (__ASSUME_STD_AUXV): Remove.
5899 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5900 kernel version.
5901 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5902 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5903 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5904 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5905 (__ASSUME_NETLINK_SUPPORT): Likewise.
5906 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5907 (__no_netlink_support): Remove conditional definition.
5908 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5909 Remove.
5910 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5911 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5912 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5913 (if_nameindex_ioctl): Remove.
5914 (if_nameindex_netlink): Do not handle __no_netlink_support.
5915 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5916 code.
5917 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5918 Remove conditional code.
5919 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5920 code.
5921 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5922 unconditional.
5923 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5924 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5925 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5926 Remove.
5927 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5928 [!__ASSUME_STD_AUXV]: Remove conditional code.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5930 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5931 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5933 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5934 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5935 code.
5936 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5938 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5939 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5940 conditional code.
5941 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5943 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5944 code.
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5946 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5947 conditional code.
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5949 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5950 code unconditional.
5951 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5952 conditional code.
5953 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5954 unconditional.
5955 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5956 conditional code.
5957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5958 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5959 unconditional.
5960 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5961 conditional code.
5962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5963 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5964 code unconditional.
5965 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5966 conditional code.
5967 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5968 unconditional.
5969 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5970 conditional code.
5971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5972 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5973 code unconditional.
5974 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5975 conditional code.
5976 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5977 unconditional.
5978 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5979 conditional code.
5980
842a39cd
AS
59812012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5982
5983 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5984 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5985 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5986 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5987 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5988 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5989 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5990 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5991 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5992 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5993 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5994 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5995 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5996 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5997 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5998 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5999 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6000 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6001 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6003 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6004 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6006
84b3fd84
FW
60072012-07-25 Florian Weimer <fweimer@redhat.com>
6008
6009 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6010 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6011 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6012 Introduce __libc_secure_getenv.
0c7936d5
FW
6013 * stdlib/Versions (2.17): Add secure_getenv
6014 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6015 * stdlib/secure-getenv.c: Rename __secure_getenv to
6016 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6017 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6018 * stdlib/tst-secure-getenv.c: New.
6019 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6020 * manual/startup.texi (Environment Access): Document
6021 secure_getenv.
84b3fd84
FW
6022 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6023 __libc_secure_getenv.
6024 * inet/ruserpass.c (ruserpass): Likewise.
6025 * malloc/mtrace.c (mtrace): Likewise.
6026 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6027 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6028 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6029 * sysdeps/posix/tempname.c: Likewise. Evaluate
6030 HAVE_SECURE_GETENV.
6031 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6032 __secure_getenv to __libc_secure_getenv.
84b3fd84 6033 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6035 Likewise.
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6037 Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6040 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6045
56e49b71
JM
60462012-07-25 Joseph Myers <joseph@codesourcery.com>
6047
6048 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6049 (struct La_i86_retval): Likewise.
6050 (struct La_x86_64_regs): Likewise.
6051 (struct La_x86_64_retval): Likewise.
6052 (struct La_x32_regs): Likewise.
6053 (struct La_x32_retval): Likewise.
6054 (struct La_ppc32_regs): Likewise.
6055 (struct La_ppc32_retval): Likewise.
6056 (struct La_ppc64_regs): Likewise.
6057 (struct La_ppc64_retval): Likewise.
6058 (struct La_sh_regs): Likewise.
6059 (struct La_sh_retval): Likewise.
6060 (struct La_s390_32_regs): Likewise.
6061 (struct La_s390_32_retval): Likewise.
6062 (struct La_s390_64_regs): Likewise.
6063 (struct La_s390_64_retval): Likewise.
6064 (struct La_sparc32_regs): Likewise.
6065 (struct La_sparc32_retval): Likewise.
6066 (struct La_sparc64_regs): Likewise.
6067 (struct La_sparc64_retval): Likewise.
6068 (struct audit_ifaces): Remove architecture-specific pltenter and
6069 pltexit members.
6070 * sysdeps/i386/ldsodefs.h: New file.
6071 * sysdeps/powerpc/ldsodefs.h: Likewise.
6072 * sysdeps/s390/ldsodefs.h: Likewise.
6073 * sysdeps/sh/ldsodefs.h: Likewise.
6074 * sysdeps/sparc/ldsodefs.h: Likewise.
6075 * sysdeps/x86_64/ldsodefs.h: Likewise.
6076
354691b7
MP
60772012-07-25 Marek Polacek <polacek@redhat.com>
6078
6079 [BZ #6808]
6080 * math/libm-test.inc (yn_test): Add another test.
6081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6082 to ERANGE when the result is +-Inf.
6083 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6084 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6085 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6086 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6087
bf9e2071
JM
60882012-07-24 Joseph Myers <joseph@codesourcery.com>
6089
6090 * conform/data/time.h-data (NULL): Use macro-constant. Require
6091 equal to 0.
6092 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6093 clock_t.
6094 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6095
57633811
TS
60962012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6097
6098 * configure.in <sysdeps resolving>: Correct printing
6099 Implies_before.
6100 * configure: Regenerate.
6101
c23c33b0
TS
61022012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6103
6104 * math/w_ilogb.c: Include <limits.h>.
6105 * math/w_ilogbl.c: Likewise.
6106
b5982523
JM
61072012-07-20 Joseph Myers <joseph@codesourcery.com>
6108
6109 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6110 va_copy. Document allowing for unavailable va_copy only as
6111 pre-C99 compatibility.
6112 * manual/string.texi (Copying and Concatenation): Use va_copy
6113 instead of __va_copy in concat example.
6114
ac4ea442
PT
61152012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6116
6117 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6118 (__sendto): Use create_address_port. Initialize APORT and deallocate
6119 it if not null.
6120
f98eafbd
PT
6121 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6122 with O_NOLINK passed to __file_name_lookup.
6123
898c7aab
PT
6124 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6125 with O_NOLINK passed to __file_name_lookup.
6126
0ced335a
PT
6127 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6128 negative N or less than NGIDS.
6129
b3404dbd
PT
6130 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6131 type to string_t. Set ERANGE as errno and return it if NAME is not big
6132 enough. Use memcpy instead of strncpy.
6133
0f48659e
JM
61342012-07-20 Joseph Myers <joseph@codesourcery.com>
6135
6136 * elf/Makefile (check-data): Remove.
6137 (localplt.data): New vpath directive.
6138 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6139 instead of $(check-data).
6140 * scripts/data/localplt-generic.data: Move to ...
6141 * sysdeps/generic/localplt.data: ... here.
6142 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6143 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6144 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6146 ... here.
6147 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6149 ... here.
6150 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6152 ... here.
6153 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6155 ... here.
6156 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6158 ... here.
6159 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6161 ... here.
6162
d37cbdaa
AZ
61632012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6164
6165 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6166 PPC32 and PPC64 files.
6167 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6168 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6169
46f85fc2
AK
61702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6171
6172 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6173 __makecontext_ret to ...
6174 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6175 ... here and call exit if uc_link is NULL. New file.
6176 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6177 __makecontext_ret.S.
6178 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6179 __makecontext_ret to ...
6180 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6181 ... here and call exit if uc_link is NULL. New file.
6182 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6183 __makecontext_ret.S.
6184
08f43f9b
AK
61852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6186
6187 * elf/elf.h (R_390_IRELATIVE): New definition.
6188 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6189 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6190 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6191 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6192 (elf_machine_lazy_rel): Likewise.
6193 * sysdeps/s390/dl-irel.h: New file.
6194 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6195 * sysdeps/s390/s390-64/memset.S: New asm code.
6196 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6197 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6198 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6199 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6200 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6201 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6202 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6203 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6204 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6205 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6206 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6207 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6208 * sysdeps/s390/s390-32/memset.S: New asm code.
6209 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6210
3b05db33
MP
62112012-07-17 Marek Polacek <polacek@redhat.com>
6212
6213 [BZ #14349]
6214 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6215 * sysdeps/s390/s390-64/configure.in: Likewise.
6216 * sysdeps/sparc/configure.in: Likewise.
6217 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6218 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6219 * sysdeps/i386/configure.in: Likewise.
6220 * sysdeps/x86_64/configure.in: Likewise.
6221 * sysdeps/sh/configure.in: Likewise.
6222 * sysdeps/s390/s390-32/configure: Regenerated.
6223 * sysdeps/s390/s390-64/configure: Likewise.
6224 * sysdeps/x86_64/configure: Likewise.
6225 * sysdeps/sh/configure: Likewise.
6226 * sysdeps/powerpc/powerpc64/configure: Likewise.
6227 * sysdeps/powerpc/powerpc32/configure: Likewise.
6228 * sysdeps/sparc/configure: Likwise.
6229 * sysdeps/i386/configure: Likewise.
6230
a66877c6
MP
6231 * elf/dl-open.c: Comment fixes.
6232
cfc82fd8
JM
62332012-07-17 Joseph Myers <joseph@codesourcery.com>
6234
bd29910a
JM
6235 * Makefile [CXX] (check-data): Remove.
6236 [CXX] (c++-types.data): New vpath directive.
6237 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6238 vpath. Do not allow for C++ type data being missing.
6239 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6240 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6241 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6242 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6243 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6244 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6245 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6247 ... here.
6248 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6250 ... here.
6251 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6253 ... here.
6254 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6256 ... here.
6257 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6259 ... here.
6260 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6262 ... here.
6263 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6265 ... here.
6266 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6268
cfc82fd8
JM
6269 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6270 definitions to architecture-specific files.
6271 (TLS_IE): Likewise.
6272 (TLS_LD): Likewise.
6273 (TLS_GD): Likewise.
6274 * sysdeps/i386/tls-macros.h: New file.
6275 * sysdeps/powerpc/tls-macros.h: Likewise.
6276 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6277 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6278 * sysdeps/sh/tls-macros.h: Likewise.
6279 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6280 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6281 * sysdeps/x86_64/tls-macros.h: Likewise.
6282
f7db3170
TS
62832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6284
07cbfc23
TS
6285 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6286 zero value for regular exit case.
6287
f7db3170
TS
6288 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6289 (__start_context): Preserve zero value for regular exit case.
6290
dc97c227
TS
62912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6292 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6293
6294 * manual/setjmp.texi (setcontext): Clarify normal process
6295 termination when uc_link is the null pointer.
6296 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6297 exit call.
6298
d0cd7d02
AS
62992012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6300
6301 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6302 preprocessor. Test for each exception mask separately.
6303
dd318934
AJ
63042012-07-16 Andreas Jaeger <aj@suse.de>
6305
6306 * po/ru.po: Update from translation team.
6307
8048311a
JM
63082012-07-15 Joseph Myers <joseph@codesourcery.com>
6309
6310 * conform/data/string.h-data (NULL): Use macro-constant. Require
6311 equal to 0.
6312 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6313 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6314 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6315 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6316 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6317
b637d46e
AJ
63182012-07-13 Andreas Jaeger <aj@suse.de>
6319
6320 * po/fr.po: Update from translation team.
6321
541428fe
MP
63222012-07-12 Marek Polacek <polacek@redhat.com>
6323
6324 [BZ #14173]
6325 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6326 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6327 loop condition.
6328
ec332e94
JM
63292012-07-12 Joseph Myers <joseph@codesourcery.com>
6330
6331 [BZ #13717]
6332 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6333 Change to 2.4.1 where previously 2.4.0.
6334 * sysdeps/unix/sysv/linux/configure: Regenerated.
6335 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6336 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6337 version.
6338 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6339 (__ASSUME_AT_CLKTCK): Remove.
6340 (__ASSUME_AT_PAGESIZE): Likewise.
6341 (__ASSUME_AT_XID): Likewise.
6342 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6343 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6344 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6345 unconditionally.
6346 (HAVE_AUX_PAGESIZE): Likewise.
6347 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6348 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6349 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6350
7b6e99be
JB
63512012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6352
6353 [BZ #14307]
6354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6355 the temporary buffer used to invoke __gethostbyname2_r,
6356 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6357 host_data / struct gaih_addrtuple.
6358 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6359 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6360 header file nss/nsswitch.h.
6361 * nss/nsswitch.h (global scope): Add definition of implementation
6362 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6363 resolv/nss_dns/dns-host.c).
6364
608404eb
AJ
63652012-07-11 Andreas Jaeger <aj@suse.de>
6366
6367 * po/fr.po: Update from translation team.
6368
71220aca
AJ
6369 * po/sv.po: Update from translation team
6370 * po/fr.po: Another update from translation team.
6371
28cfe843
AZ
63722012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6373
6374 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6375 for subnormals or multiply small sinh result by itself.
6376 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6378
6b90f981
DM
63792012-07-11 David S. Miller <davem@davemloft.net>
6380
6381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6382
c6825772
AS
63832012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6384
6385 [BZ #14347]
6386 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6387 (INTERNAL_MARK): Shift it here.
6388
7b8e0d49
MP
63892012-07-10 Marek Polacek <polacek@redhat.com>
6390
6391 [BZ #14151]
6392 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6393 libc_cv_asm_global_directive with .globl.
6394 * configure: Regenerated.
6395 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6396 with .globl.
6397 * sysdeps/i386/configure: Regenerated.
6398 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6399 with .globl.
6400 * sysdeps/x86_64/configure: Regenerated.
6401 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6402 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6403 * elf/tst-unique2mod2.c: Likewise.
6404 * elf/tst-unique2mod1.c: Likewise.
6405 * elf/tst-unique1mod2.c: Likewise.
6406 * elf/tst-unique1mod1.c: Likewise.
6407 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6408 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6410 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6411 * sysdeps/mach/sysdep.h: Likewise.
6412 * sysdeps/i386/sysdep.h: Likewise.
6413 * sysdeps/i386/i386-mcount.S: Likewise.
6414 * sysdeps/x86_64/_mcount.S: Likewise.
6415 * sysdeps/x86_64/sysdep.h: Likewise.
6416 * sysdeps/sh/_mcount.S: Likewise.
6417 * sysdeps/sh/sysdep.h: Likewise.
6418 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6419 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6420 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6421 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6422 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6423 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6424 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6425 * locale/localeinfo.h: Likewise.
6426 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6427 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6428
6c55cda3
RM
64292012-07-09 Roland McGrath <roland@hack.frob.com>
6430
6431 [BZ #14336]
6432 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6433 system".
6434 * manual/message.texi (The Uniforum approach): Likewise.
6435 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6436 (glibc iconv Implementation): Likewise.
6437
638a572e
JM
64382012-07-09 Joseph Myers <joseph@codesourcery.com>
6439
6440 [BZ #14337]
6441 * math/s_clog.c (__clog): Avoid scaling a value down where that
6442 could result in underflow.
6443 * math/s_clog10.c (__clog10): Likewise.
6444 * math/s_clog10f.c (__clog10f): Likewise.
6445 * math/s_clog10l.c (__clog10l): Likewise.
6446 * math/s_clogf.c (__clogf): Likewise.
6447 * math/s_clogl.c (__clogl): Likewise.
6448 * math/libm-test.inc (clog_test): Add more tests.
6449 (clog10_test): Likewise.
6450 * sysdeps/i386/fpu/libm-test-ulps: Update.
6451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6452
261f4859
AS
64532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6454
0abaf3e4
AS
6455 [BZ #14283]
6456 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6457 by 7 not 8 to examine high bit of fractional part.
6458
261f4859
AS
6459 [BZ #14042]
6460 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6461 for call to __mcount_internal.
6462 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6463 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6464 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6465
f17ac40d
JM
64662012-07-06 Joseph Myers <joseph@codesourcery.com>
6467
9ad63c23
JM
6468 [BZ #14154]
6469 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6470 approximation for values within 0x1p-13f of an odd multiple of
6471 pi/4.
6472 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6473 exception. Add more tests.
6474 * sysdeps/i386/fpu/libm-test-ulps: Update.
6475
f17ac40d
JM
6476 [BZ #6778]
6477 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6478 inputs and return -1 for them. Do not check for +Inf in case not
6479 reachable for +Inf.
6480 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6481 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6482 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6483 and return -1 for them. Do not check for +Inf in case not
6484 reachable for +Inf.
6485 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6486 define.
6487 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6488 and return -1 for them. Do not check for +Inf in case not
6489 reachable for +Inf.
6490 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6491 spurious underflow.
6492 * sysdeps/i386/fpu/libm-test-ulps: Update.
6493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6494
fb21f89b
MF
64952012-07-06 Mike Frysinger <vapier@gentoo.org>
6496
6497 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6498
cdfe2c5e
JM
64992012-07-05 Joseph Myers <joseph@codesourcery.com>
6500
6501 [BZ #14157]
6502 [BZ #14331]
6503 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6504 could result in spurious underflow. Scale down values above
6505 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6506 * math/s_csqrtf.c (__csqrtf): Likewise.
6507 * math/s_csqrtl.c (__csqrtl): Likewise.
6508 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6509 spurious underflow.
6510 * sysdeps/i386/fpu/libm-test-ulps: Update.
6511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6512
70d35b67
AS
65132012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6514
704bc459
AS
6515 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6516 xopen-msg.sed.
6517 * catgets/xopen-msg.awk: New file.
6518 * catgets/xopen-msg.sed: Removed.
6519
70d35b67
AS
6520 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6521 po2text.sed.
6522 * intl/po2test.awk: New file.
6523 * intl/po2test.sed: Removed.
6524
ca61cf32
JM
65252012-07-04 Joseph Myers <joseph@codesourcery.com>
6526
6527 [BZ #14328]
6528 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6529 or multiply small sinh result by itself.
6530 * math/s_ctanf.c (__ctanf): Likewise.
6531 * math/s_ctanh.c (__ctanh): Likewise.
6532 * math/s_ctanhf.c (__ctanhf): Likewise.
6533 * math/s_ctanhl.c (__ctanhl): Likewise.
6534 * math/s_ctanl.c (__ctanl): Likewise.
6535 * math/libm-test.inc (ctan_test_tonearest): New function.
6536 (ctan_test_towardzero): Likewise.
6537 (ctan_test_downward): Likewise.
6538 (ctan_test_upward): Likewise.
6539 (ctanh_test_tonearest): Likewise.
6540 (ctanh_test_towardzero): Likewise.
6541 (ctanh_test_downward): Likewise.
6542 (ctanh_test_upward): Likewise.
6543 (main): Call these new functions.
6544 * sysdeps/i386/fpu/libm-test-ulps: Update.
6545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6546
ca48a46a
MF
65472012-07-03 Mike Frysinger <vapier@gentoo.org>
6548
6549 * .gitignore: Delete /ports entry.
6550
9d63d37d
AJ
65512012-07-03 Andreas Jaeger <aj@suse.de>
6552
6553 * po/bg.po: Update from translation team.
6554 * po/cs.po: Likewise.
6555 * po/de.po: Likewise.
6556 * po/hr.po: Likewise.
6557 * po/nl.pl: Likewise.
6558 * po/pl.po: Likewise.
6559 * po/vi.po: Likewise.
6560
370ca3d2
JM
65612012-07-03 Joseph Myers <joseph@codesourcery.com>
6562
95f5a9a8
JM
6563 * Makeconfig [!+link] (+link-before-libc): New variable.
6564 [!+link] (+link-after-libc): Likewise.
6565 [!+link] (+link-tests): Likewise.
6566 [!+link] (+link): Define in terms of $(+link-before-libc) and
6567 $(+link-after-libc).
6568 [!+link-static] (+link-static-before-libc): New variable.
6569 [!+link-static] (+link-static-after-libc): Likewise.
6570 [!+link-static] (+link-static-tests): Likewise.
6571 [!+link-static] (+link-static): Define in terms of
6572 $(+link-static-before-libc) and $(+link-static-after-libc).
6573 [build-shared] (link-libc-before-gnulib): New variable.
6574 [build-shared] (link-libc-tests): Likewise.
6575 [build-shared] (link-libc): Define in terms of
6576 $(link-libc-before-gnulib).
6577 [!build-shared] (link-libc-tests): New variable.
6578 (link-libc-static-tests): New variable.
6579 [!gnulib] (gnulib-arch): New variable.
6580 [!gnulib] (gnulib-tests): Likewise.
6581 [!gnulib] (static-gnulib-arch): Likewise.
6582 [!gnulib] (static-gnulib-tests): Likewise.
6583 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6584 Define with "=" instead of ":=".
6585 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6586 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6587 * Rules (binaries-all-notests): New variable.
6588 (binaries-all-tests): Likewise.
6589 (binaries-static-notests): Likewise.
6590 (binaries-static-tests): Likewise.
6591 (binaries-all): Define using $(binaries-all-notests) and
6592 $(binaries-all-tests).
6593 (binaries-static): Define using $(binaries-static-notests) and
6594 $(binaries-static-tests).
6595 (binaries-shared-tests): New variable.
6596 (binaries-shared-notests): Likewise.
6597 (binaries-shared): Remove variable.
6598 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6599 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6600 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6601 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6602 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6603 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6604 * elf/Makefile (sln-modules): New variable.
6605 (extra-objs): Add $(sln-modules:=.o).
6606 (ldconfig-modules): Add static-stubs.
6607 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6608 * elf/static-stubs.c: New file.
6609
7a845b2c
JM
6610 [BZ #14283]
6611 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6612 by 7 not 8 to examine high bit of fractional part. Use volatile
6613 variables when splitting into final array of floats if
6614 __FLT_EVAL_METHOD__ != 0.
6615 * math/libm-test.inc (cos_test): Add another test.
6616 (sin_test): Likewise.
6617 * sysdeps/i386/fpu/libm-test-ulps: Update.
6618
e2283f38
JM
6619 [BZ #14273]
6620 * math/libm-test.inc (cosh_test): Add more tests.
6621
370ca3d2
JM
6622 * version.h (RELEASE): Set to "development".
6623 (VERSION): Set to "2.16.90".
6624
ee9247c3
CD
66252012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6626
6627 * NEWS: Update copyright. Remove last-updated date.
6628 Mention math library bug fixes and timezone data changes.
6629 * README: Mention GNU/Hurd, x32, and HPPA support status.
6630
4648c381
TS
66312012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6632
6633 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6634
aac78a43
AJ
66352012-06-27 Andreas Jaeger <aj@suse.de>
6636
6637 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6638
ed3dbfad
AJ
66392012-06-25 Andreas Jaeger <aj@suse.de>
6640
6641 * sysdeps/s390/fpu/libm-test-ulps: Update.
6642
4d0ee855
AS
66432012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6644 Thomas Schwinge <thomas@codesourcery.com>
6645
6646 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6647 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6648 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6649 fanotify_mark.
6650
af1bce34
TS
66512012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6652
a9fa33ba
TS
6653 * sysdeps/mach/start.c: Remove file.
6654 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6655 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6656 * sysdeps/sh/init-first.c: Likewise.
6657
58f902b8
TS
6658 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6659 registers for frame unwinding purposes, add CFI directives.
6660 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6661 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6662 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6663 Likewise.
6664
1518f58b
TS
6665 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6666 __fortify_fail returning.
6667 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6668
db9b5059
TS
6669 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6670 sysdeps/sh/____longjmp_chk.S.
6671 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6672 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6673 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6674 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6675
967705fe
TS
6676 * sysdeps/sh/abort-instr.h: New file.
6677 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6678 process in case exit returns.
6679
a9def8c4
TS
6680 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6681 initialize the GOT register before use.
6682
2a649725
TS
6683 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6684 calculation of ARGC > 4.
6685
af1bce34
TS
6686 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6687 meaningful names to some local labels.
6688
d230f50a
KK
66892012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6690 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6691
6692 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6693 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6694 (__arch_compare_and_exchange_val_16_acq): Likewise.
6695 (__arch_compare_and_exchange_val_32_acq): Likewise.
6696 (atomic_exchange_and_add): Fix gUSA sequence.
6697 (atomic_add): Likewise.
6698 (atomic_add_negative): Likewise.
6699 (atomic_add_zero): Likewise.
6700 (atomic_bit_test_set): Likewise.
6701
0479b305
AS
67022012-06-22 Andreas Schwab <schwab@redhat.com>
6703
6704 [BZ #13579]
6705 * include/link.h (struct link_map): Add l_free_initfini.
6706 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6707 l_initfini.
6708 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6709 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6710 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6711 set.
6712
0e3933b9
CD
67132012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6714
6715 * configure.in: Use AC_LANG_SOURCE.
6716 * configure: Regenerate.
6717
4248b1b1
RM
67182012-06-22 Roland McGrath <roland@hack.frob.com>
6719
6720 * configure.in (libc_cv_localstatedir): New substituted variable.
6721 * configure: Regenerated.
6722 * config.make.in (localstatedir): New variable, substituted from
6723 libc_cv_localstatedir.
6724 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6725 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6726 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6727 * sysdeps/gnu/configure: Regenerated.
6728
006dd861
JL
67292012-06-21 Jeff Law <law@redhat.com>
6730
6731 [BZ #14277]
6732 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6733 free. Simplify list management for _LIBC case.
6734
79662d42
JM
67352012-06-21 Joseph Myers <joseph@codesourcery.com>
6736
b7abb4bf
JM
6737 [BZ #14273]
6738 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6739 Clear sign bit of 64-bit integer value before comparing against
6740 overflow value.
6741
79662d42
JM
6742 * sysdeps/mach/configure: Regenerated.
6743
1f150908
L
67442012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6745
6746 [BZ #14278]
6747 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6748
28363bbf
JL
67492012-06-21 Jeff Law <law@redhat.com>
6750
6751 [BZ #13882]
6752 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6753 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6754 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6755 * elf/dl-open.c (dl_open_worker): Likewise.
6756
09615db4
CD
67572012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6758
6759 * scripts/list-sources.sh: Scan PORTS for translations.
6760 * po/libc.pot: Regenerated.
6761
2174c6dd
AJ
67622012-06-21 Andreas Jaeger <aj@suse.de>
6763
6764 [BZ #12194]
6765 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6766 warning.
6767 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6768 * bits/byteswap-16.h (__bswap_16): Likewise.
6769 * bits/byteswap.h (__bswap_constant_16): Likewise.
6770
3ee947b1
L
67712012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6772
6773 [BZ #14117]
a2f34833
L
6774 * sysdeps/i386/fpu_control.h: Removed.
6775 * sysdeps/x86_64/fpu_control.h: Moved to ...
6776 * sysdeps/x86/fpu_control.h: Here.
6777
3ee947b1
L
6778 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6779 (_FPU_SETCW): Likewise.
6780
ed1825f8
L
67812012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6782
25f1282a
L
6783 [BZ #14117]
6784 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6785 * sysdeps/x86/fpu/bits/mathinline.h: This.
6786 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6787
ed1825f8
L
6788 [BZ #14050]
6789 [BZ #14117]
6790 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6791 functions if __x86_64__ is defined.
6792
36d54b74
CLT
67932012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6794
6795 * string/endian.h: Add !__ASSEMBLER__ condition for including
6796 conversion interfaces.
6797
10285c21
JM
67982012-06-15 Joseph Myers <joseph@codesourcery.com>
6799
6800 [BZ #14241]
6801 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6802 of ABS(x) in calculating zero to negative powers other than odd
6803 integers.
6804 * math/libm-test.inc (pow_test): Add more tests.
6805
06c5abbd
AJ
68062012-06-15 Andreas Jaeger <aj@suse.de>
6807
6808 * manual/contrib.texi (Contributors): Update entry of Liubov
6809 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6810 Machado Filho.
6811
a3aeac40
CH
68122012-06-15 Cyril Hrubis <metan@ucw.cz>
6813
6814 * string/string.h: Add __wur to GNU version of strerror_r.
6815
49bdf4c1
L
68162012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6817
6818 [BZ #14229]
6819 * string/Makefile (tests): Add tst-strtok_r.
6820 * string/tst-strtok_r.c: New file.
6821 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6822 RAX_LP/RDX_LP on SAVE_PTR.
6823
834f9b8d
RM
68242012-06-14 Roland McGrath <roland@hack.frob.com>
6825
6826 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6827
75fa1921
JM
68282012-06-14 Joseph Myers <joseph@codesourcery.com>
6829
6830 * libm_test.inc (csqrt_test): Allow more spurious underflow
6831 exceptions.
6832 (j0_test): Likewise.
6833 (j1_test): Likewise.
6834 (y0_test): Likewise.
6835 (y1_test): Likewise.
6836
771766df
CD
68372012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6838
6839 * po/Makefile (libc.pot): Use UTF-8 charset.
6840
ceb9e56b
PP
68412012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6842
6843 [BZ #14210]
6844 Suppress sign-conversion warning from FD_SET.
6845 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6846 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6847 not unsigned long int.
6848 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6849
ddb28975
L
68502012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6851
6852 [BZ #14050]
6853 [BZ #14117]
6854 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6855 __extern_always_inline instead of __extern_inline.
6856 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6857 (__signbit): Likewise.
6858 (__signbitl): Support C++ namespace.
6859 (lrintf): New inline function.
6860 (lrint): Likewise.
6861 (llrintf): Likewise.
6862 (llrint): Likewise.
6863 (fmaxf): Likewise.
6864 (fmax): Likewise.
6865 (fminf): Likewise.
6866 (fmin): Likewise.
6867 (rint): Likewise.
6868 (rintf): Likewise.
6869 (ceil): Likewise.
6870 (ceilf): Likewise.
6871 (floor): Likewise.
6872 (floorf): Likewise.
6873 (nearbyint): Likewise.
6874 (nearbyintf): Likewise.
6875
d7b4fb26
TS
68762012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6877
6878 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6879 non-default versions.
6880
eb55f5c2
RM
68812012-06-11 Roland McGrath <roland@hack.frob.com>
6882
6883 [BZ #14218]
6884 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6885
366af02c
TS
68862012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6887
99ff6e5c
TS
6888 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6889 (FE_UPWARD, FE_DOWNWARD): Don't define.
6890 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6891 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6892
366af02c
TS
6893 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6894 reading it.
6895 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6896 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6897
793ea851
KK
68982012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6899
6900 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6902 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6903 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6904
a728a38f
L
69052012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6906
6907 [BZ #14117]
c08010c7
L
6908 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6909 * sysdeps/i386/fpu/Implies: New file.
6910 * sysdeps/x86_64/fpu/Implies: Likewise.
6911 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6912 * sysdeps/x86/fpu/bits/fenv.h: This.
6913
a728a38f
L
6914 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6915 __SSE_MATH__.
6916
6e230d11
SP
69172012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6918
6919 [BZ #14134]
6920 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6921 character 0xffff that matches the last element of the
6922 conversion table.
6923
1b671feb
AZ
69242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6925
6926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6927 fmodl commit.
6928
6043738b
AZ
69292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6930
6931 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6932 values higher than 25.6283.
6933
34ae0b32
AZ
69342012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6935
6936 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6937 subnormal exponent extraction and add some __builtin_expect.
6938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6939 Fix for subnormal mantissa calculation.
6940
1214ec8f
MF
69412012-06-04 Mike Frysinger <vapier@gentoo.org>
6942
6943 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6944 cpu2 is -1 and errno is not ENOSYS.
6945
f3d1f93c
L
69462012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6947
6948 [BZ #14117]
0e4a3cd7
L
6949 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6950 * sysdeps/x86/bits/string.h: This.
6951 * sysdeps/x86_64/bits/string.h: Removed.
6952
6704c645
L
6953 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6954 if not compiling for x86-64, but compiling for >= i486.
6955
48495318
L
6956 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6957 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6958
14adcbfc
L
6959 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6960 New macro from Linux kernel 3.4.0.
6961 (FP_XSTATE_MAGIC2): Likewise.
6962 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6963 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6964 (struct _fpx_sw_bytes): New struct.
6965 (struct _xsave_hdr): Likewise.
6966 (struct _ymmh_state): Likewise.
6967 (struct _xstate): Likewise.
6968
68e408ab
L
6969 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6970 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6972 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6973 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6974 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6975
f3d1f93c
L
6976 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6977 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6978 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6979 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6980 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6981 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6982
d9dc34cd
TMQMF
69832012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6984
6985 [BZ #13743]
6986 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6987 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6988 (sysdep_headers): Include sys/platform/ppc.h.
6989 * sysdeps/powerpc/test-gettimebase.c: Test for
6990 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6991 * manual/Makefile (appendices): Include platform.texi.
6992 * manual/contrib.texi (Contributors): Update @node pointers.
6993 * manual/maint.texi (Maintenance): Likewise.
6994 (Platform): New node.
6995 * manual/platform.texi: New file. Document the new features.
6996
4af3879c
SP
69972012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6998 Jakub Jelinek <jakub@redhat.com>
6999
7000 [BZ #14188]
7001 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7002 where __builtin_expect is unavailable.
7003
2fd6ff13
DM
70042012-06-03 David S. Miller <davem@davemloft.net>
7005
7006 * stdlib/longlong.h: Updated from GCC.
7007
173f7220
AS
70082012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7009
7010 [BZ #14042]
7011 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7012 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7013 __mcount_internal.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7015 (GLIBC_2.16): Likewise.
7016
f34a1c6f
L
70172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7018
7019 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7020
88a4576f
JM
70212012-06-01 Joseph Myers <joseph@codesourcery.com>
7022
ea32bcdd
JM
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7024 (default-abi): New variable.
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7026 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7027 variable.
7028 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7029 Likewise.
7030 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7031 Likewise.
7032 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7033 Likewise.
7034
88a4576f
JM
7035 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7036 definition. Document in comment.
7037
402fe938
DM
70382012-06-01 David S. Miller <davem@davemloft.net>
7039
7040 * stdlib/longlong.h: Updated from GCC.
7041
3553723f
L
70422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7043
7044 [BZ #14117]
3bd872c4
L
7045 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7046 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7047 sys/debugreg.h sys/io.h here.
7048 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7049 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7050 sys/io.h.
7051 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7052 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7053 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7054 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7055 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7056 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7057
3553723f
L
7058 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7059 Define only if __x86_64__ is defined.
7060
4842e4fe
JM
70612012-06-01 Joseph Myers <joseph@codesourcery.com>
7062
c5bfe3d5
JM
7063 [BZ #14048]
7064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7065 Use int64_t for variable i.
7066 * math/libm-test.inc (fmod_test): Add more tests.
7067
4842e4fe
JM
7068 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7069 z computation is not scheduled after fetestexcept.
7070 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7071 Use math_force_eval instead of asm to ensure calculation scheduled
7072 before exception test.
7073 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7074 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7075
efb73488
AJ
70762012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7077
7078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7079 computation is not scheduled after fetestexcept.
7080
29bcce7c
L
70812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7082
7083 [BZ #14117]
7084 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7085 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7086
73a68f94
AZ
70872012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088
7089 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7090 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7091
67b6df78
L
70922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7093
edf2933a 7094 [BZ #14117]
ebc64a18
L
7095 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7096 <bits/wordsize.h>.
7097 (__WCHAR_MIN): Support __WORDSIZE == 64.
7098 (__WCHAR_MAX): Likewise.
7099
edf2933a
L
7100 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7101 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7102
57c6cf40
L
7103 [BZ #14183]
7104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7105 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7106
67b6df78 7107 [BZ #14117]
8eb6281e
L
7108 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7109 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7110
aac639f4
L
7111 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7112 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7113
67b6df78
L
7114 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7115 Defined to 1 if __x86_64__ isn't defined.
7116 (_STAT_VER_LINUX_OLD): New.
7117 (st_atime): Remove duplicate.
7118 (st_mtime): Likewise.
7119 (st_ctime): Likewise.
7120
1c2cfe81
DM
71212012-05-31 David S. Miller <davem@davemloft.net>
7122
7123 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7124 entries.
7125
5be8418c
AS
71262012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7127
e7725326
AS
7128 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7129 gen-libm-test.pl.
7130
5be8418c
AS
7131 [BZ #14132]
7132 * elf/dl-reloc.c: Include <_itoa.h>.
7133 (_dl_reloc_bad_type): Remove use of INTUSE.
7134 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7135 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7136 * stdio-common/psiginfo.c (psiginfo): Likewise.
7137 * stdio-common/psignal.c (psignal): Likewise.
7138 * string/strsignal.c (strsignal): Likewise.
7139 * include/signal.h (_sys_siglist): Declare hidden proto.
7140 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7141 INTVARDEF with libc_hidden_data_def.
7142 * stdio-common/itoa-udigits.c: Likewise.
7143 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7144 (_itoa_lower_digits_internal): Remove declaration.
7145 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7146 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7147 (_sys_sigabbrev_internal): Remove aliases.
7148 (_sys_siglist): Define hidden alias.
7149
507352f1
MT
71502012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7151
7152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7153 bits/sysctl.h.
7154
42bbb1c3
L
71552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7156
7157 [BZ #14117]
6bd784b6
L
7158 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7159 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7160
8bca20f0
L
7161 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7162 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7163 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7164 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7166 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7167
f9e890a9
L
7168 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7169 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7170 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7171
471101a1
L
7172 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7173 with __addr.
7174 (insw): Likewise.
7175 (insl): Likewise.
7176 (outsb): Likewise.
7177 (outsw): Likewise.
7178 (outsl): Likewise.
7179
6451c862
L
7180 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7181 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7182 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7183
a254b8c9
L
7184 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7185 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7186 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7187 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7188 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7189 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7190
b8dfdd92
L
7191 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7192 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7193
578cd270
L
7194 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7195 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7196
de662f5f
L
7197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7199 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7200
25653439
L
7201 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7202 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7203 to ...
7204 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7205
6bad24a0
L
7206 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7207 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7208 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7209
42bbb1c3
L
7210 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7211 for x86-64.
7212 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7213
2d10d547
JM
72142012-05-31 Joseph Myers <joseph@codesourcery.com>
7215
7216 * math/math.h (M_El): Use two more decimal places.
7217 (M_LOG2El): Likewise.
7218 (M_LOG10El): Likewise.
7219 (M_LN2l): Likewise.
7220 (M_LN10l): Likewise.
7221 (M_PIl): Likewise.
7222 (M_PI_2l): Likewise.
7223 (M_PI_4l): Likewise.
7224 (M_1_PIl): Likewise.
7225 (M_2_PIl): Likewise.
7226 (M_2_SQRTPIl): Likewise.
7227 (M_SQRT2l): Likewise.
7228 (M_SQRT1_2l): Likewise.
7229
f230c29b
DM
72302012-05-31 David S. Miller <davem@davemloft.net>
7231
7232 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7233 values between float registers.
7234 * sysdeps/sparc/sparc64/memset.S: Likewise.
7235 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7236
fed806c3
MF
72372012-05-31 Mike Frysinger <vapier@gentoo.org>
7238
7239 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7240 -D_FORTIFY_SOURCE=1.
7241 (CPPFLAGS-tst-longjmp_chk.c): Define.
7242 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7243 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7244 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7245 CFLAGS-tst-wchar-h.c.
7246
30917259
MP
72472012-05-31 Marek Polacek <polacek@redhat.com>
7248
7249 [BZ #14132]
7250 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7251 __endmntent_internal): Remove declaration.
7252 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7253 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7254 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7255
1c58d5dc
DM
72562012-05-30 David S. Miller <davem@davemloft.net>
7257
7258 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7259 (___Q_simulate_exceptions): Use real FP ops rather than writing
7260 into the %fsr.
7261 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7262 Likewise.
7263
7dc00e0d
L
72642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7265
7266 [BZ #14117]
0bd53985
L
7267 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7268 * sysdeps/x86/bits/xtitypes.h: This.
7269
3a257e66
L
7270 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7271 * sysdeps/x86/bits/wordsize.h: This.
7272
62f62904
L
7273 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7274 * sysdeps/x86/bits/huge_vall.h: This.
7275
404fe9d9
L
7276 * sysdeps/i386/bits/select.h: Removed.
7277 * sysdeps/x86_64/bits/select.h: Renamed to ...
7278 * sysdeps/x86/bits/select.h: This.
7279
d48d0446
L
7280 * sysdeps/i386/bits/setjmp.h: Removed.
7281 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7282 * sysdeps/x86/bits/setjmp.h: This.
7283
7dc00e0d
L
7284 * sysdeps/i386/bits/mathdef.h: Removed.
7285 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7286 * sysdeps/x86/bits/mathdef.h: This.
7287
03277f8f
AS
72882012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7289
7290 [BZ #14132]
7291 * include/sys/socket.h (__connect_internal)
7292 (__libc_sa_len_internal): Remove declaration.
7293 (__connect, __libc_sa_len): Declare hidden_proto.
7294 (SA_LEN): Remove use of INTUSE.
7295 * socket/connect.c: Add libc_hidden_def.
7296 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7297 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7298 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7299 alias.
7300 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7301 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7302 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7303 of adding _internal alias.
7304
13764867
L
73052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7306
7307 [BZ #14117]
6bd97696
L
7308 * sysdeps/i386/bits/link.h: Removed.
7309 * sysdeps/i386/bits/linkmap.h: Likewise.
7310 * sysdeps/x86_64/bits/link.h: Renamed to ...
7311 * sysdeps/x86/bits/link.h: This.
7312 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7313 * sysdeps/x86/bits/linkmap.h: This.
7314
f726f0bb
L
7315 * sysdeps/i386/bits/endian.h: Removed.
7316 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7317 * sysdeps/x86/bits/endian.h: This.
7318
13764867
L
7319 * sysdeps/i386/bits/byteswap.h: Removed.
7320 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7321 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7322 * sysdeps/x86/bits/byteswap.h: This.
7323 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7324 * sysdeps/x86/bits/byteswap-16.h: This.
7325 * sysdeps/i386/Implies: Add x86.
7326 * sysdeps/x86_64/Implies: Likewise.
7327
ae251b0b
DM
73282012-05-30 David S. Miller <davem@davemloft.net>
7329
7330 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7331 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7333 (FP_TRAPPING_EXCEPTIONS): Define.
7334 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7335 (FP_TRAPPING_EXCEPTIONS): Define.
7336 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7337 subnormals only when inexact has been signalled or underflow
7338 exceptions are enabled.
7339 (_FP_PACK_CANONICAL): Likewise.
7340
d5c90867
L
73412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7342
7343 [BZ #14183]
7344 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7345 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7346
63f1549e
RH
73472012-05-30 Richard Henderson <rth@twiddle.net>
7348
8d8f2279
RH
7349 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7350 with #ifndef NOT_IN_libc.
7351
63f1549e
RH
7352 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7353 marked to avoid plt entry.
7354
0ab0291b
L
73552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7356
7357 [BZ #14112]
7358 * Makeconfig (default-abi): New macro.
7359 (abi-includes): Likewise.
7360 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7361 $(abi-$(default-abi)-lib-soname) for soname if defined.
7362 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7363 abi-variants.
7364 * Makefile (installed-stubs): Likewise.
7365 * include/stubs-biarch.h: Removed.
7366 * scripts/lib-names.awk: Only handle one library at a time.
7367 * scripts/soversions.awk: Remove WORDSIZE support.
7368 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7369 entries.
7370 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7371 Removed.
7372 (syscall-list-default-condition): Likewise.
7373 (syscall-list-default-condition): Likewise.
7374 (syscall-list-includes): Likewise.
7375 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7376 syscall-list-* with abi-*. Handle undefined abi-variants.
7377 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7378 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7379 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7380 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7381 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7382 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7383 Removed.
7384 (syscall-list-32-options): Likewise.
7385 (syscall-list-32-condition): Likewise.
7386 (syscall-list-64-options): Likewise.
7387 (syscall-list-64-condition): Likewise.
7388 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7389 macro.
7390 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7391 Renamed to ...
7392 (abi-*): This.
7393 (abi-64-ld-soname): New macro.
7394 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7395 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7396 Renamed to ...
7397 (abi-*): This.
7398 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7399 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7400
4da0431d
JM
74012012-05-30 Joseph Myers <joseph@codesourcery.com>
7402
3a85279c
JM
7403 * sysdeps/unix/sysv/linux/kernel-features.h
7404 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7405 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7406 include <kernel-features.h>.
7407 [!__NR_ftruncate64]: Remove conditional code.
7408 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7409 [__NR_ftruncate64]: Make code unconditional.
7410 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7411 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7412 include <kernel-features.h>.
7413 [!__NR_ftruncate64]: Remove conditional code.
7414 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7415 [__NR_ftruncate64]: Make code unconditional.
7416 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7418 include <kernel-features.h>.
7419 [!__NR_ftruncate64]: Remove conditional code.
7420 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7421 [__NR_ftruncate64]: Make code unconditional.
7422 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7424 include <kernel-features.h>.
7425 [!__NR_ftruncate64]: Remove conditional code.
7426 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7427 [__NR_ftruncate64]: Make code unconditional.
7428 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7429
4da0431d
JM
7430 * configure.in (libc_cv_fpie): Weaken to a compile test using
7431 LIBC_TRY_CC_OPTION.
7432 * configure: Regenerated.
7433
11ef492c
AK
74342012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7435
7436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7440 Refreshed.
7441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7447 Refreshed.
7448
d66ef399
DM
74492012-05-27 David S. Miller <davem@davemloft.net>
7450
7451 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7452 (___Q_zero): New.
7453 (__Q_simulate_exceptions): Return void. Change to simulate
7454 exceptions by writing into the %fsr.
7455 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7456 (__Qp_handle_exceptions): Likewise.
7457 (numbers): Delete.
7458 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7459 __Qp_handle_exceptions.
7460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7461 __Qp_handle_exceptions.
7462 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7463 as unused and give dummy FP_RND_NEAREST initializer.
7464 (FP_INHIBIT_RESULTS): Define.
7465 (___Q_simulate_exceptions): Update declaration.
7466 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7467 formatting.
7468 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7469 as unused and give dummy FP_RND_NEAREST initializer.
7470 (__Qp_handle_exceptions): Update declaration.
7471 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7472 formatting.
7473
04fb54b5
TS
74742012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7475
7476 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7477 the temporary FPU control word.
7478 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7479 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7480 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7481 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7482 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7483 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7484 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7485 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7486 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7487 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7488 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7489
3f99608f
KK
74902012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7491
7492 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7493 fields.
7494
65a4de4e
CLT
74952012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7496
7497 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7498 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7499 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7500 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7501 Likewise.
7502 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7503 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7504 Likewise.
7505
15749d40
UD
75062012-05-27 Ulrich Drepper <drepper@gmail.com>
7507
7508 * po/h.po: Update from translation team.
7509
25dbcb27
AS
75102012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7511
3d3f8e55
AS
7512 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7513
25dbcb27
AS
7514 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7515 handling of denormals.
7516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7517 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7518 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7519 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7523 Likewise.
7524
7ad47a80 75252012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7526
7527 [BZ #14152]
7528 * math/libm-test.inc (fma_test): Don't always expect underflow
7529 exception.
7530
9c6ea9fa
SP
75312012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7532
7533 [BZ #12416]
7534 * elf/tst-execstack.c: Include stackinfo.h.
7535 (do_test): Adjust test case to ensure that pthread_getattr_np
7536 behaviour remains the same after marking stack executable.
7537
a8239222
JM
75382012-05-25 Joseph Myers <joseph@codesourcery.com>
7539
7540 * sysdeps/unix/sysv/linux/kernel-features.h
7541 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7542 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7543 kernel-features.h.
7544 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7545 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7546 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7547 kernel-features.h.
7548 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7549 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7550
918b5606
L
75512012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7552
7553 * configure.in: Define the default includes to being none.
7554 * configure: Regenerated.
7555
3a097cc7
RM
75562012-05-25 Roland McGrath <roland@hack.frob.com>
7557
8422c9a5
RM
7558 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7559 * sysdeps/x86_64/setjmp.S: Likewise.
7560 * sysdeps/i386/bsd-setjmp.S: Likewise.
7561 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7562 * sysdeps/i386/setjmp.S: Likewise.
7563 * sysdeps/i386/__longjmp.S: Likewise.
7564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7565 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7566
3a097cc7
RM
7567 * include/stap-probe.h: New file.
7568 * configure.in: Handle --enable-systemtap.
7569 * configure: Regenerated.
7570 * config.h.in (USE_STAP_PROBE): New #undef.
7571 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7572 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7573 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7574
21708942
JM
75752012-05-25 Joseph Myers <joseph@codesourcery.com>
7576
7577 [BZ #13717]
7578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7579 to 2.4.0 where earlier.
7580 * sysdeps/unix/sysv/linux/configure: Regenerated.
7581 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
7590 [__ASSUME_32BITUIDS]: Make code unconditional.
7591 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7592 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7593 <kernel-features.h>.
7594 [__ASSUME_32BITUIDS]: Make code unconditional.
7595 [!__ASSUME_32BITUIDS]: Remove conditional code.
7596 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7597 <kernel-features.h>.
7598 [__ASSUME_32BITUIDS]: Make code unconditional.
7599 [!__ASSUME_32BITUIDS]: Remove conditional code.
7600 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7601 <kernel-features.h>.
7602 [__ASSUME_32BITUIDS]: Make code unconditional.
7603 [!__ASSUME_32BITUIDS]: Remove conditional code.
7604 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7605 <kernel-features.h>.
7606 [__ASSUME_32BITUIDS]: Make code unconditional.
7607 [!__ASSUME_32BITUIDS]: Remove conditional code.
7608 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7609 <kernel-features.h>.
7610 [__ASSUME_32BITUIDS]: Make code unconditional.
7611 [!__ASSUME_32BITUIDS]: Remove conditional code.
7612 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7613 <kernel-features.h>.
7614 [__ASSUME_32BITUIDS]: Make code unconditional.
7615 [!__ASSUME_32BITUIDS]: Remove conditional code.
7616 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7617 <kernel-features.h>.
7618 [__ASSUME_32BITUIDS]: Make code unconditional.
7619 [!__ASSUME_32BITUIDS]: Remove conditional code.
7620 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7621 <kernel-features.h>.
7622 [__ASSUME_32BITUIDS]: Make code unconditional.
7623 [!__ASSUME_32BITUIDS]: Remove conditional code.
7624 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7625 <kernel-features.h>.
7626 [__ASSUME_32BITUIDS]: Make code unconditional.
7627 [!__ASSUME_32BITUIDS]: Remove conditional code.
7628 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7629 <kernel-features.h>.
7630 [__ASSUME_32BITUIDS]: Make code unconditional.
7631 [!__ASSUME_32BITUIDS]: Remove conditional code.
7632 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7633 <kernel-features.h>.
7634 [__NR_setresgid] (__setresgid): Do not declare.
7635 [__ASSUME_32BITUIDS]: Make code unconditional.
7636 [!__ASSUME_32BITUIDS]: Remove conditional code.
7637 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7638 <kernel-features.h>.
7639 [__NR_setresuid] (__setresuid): Do not declare.
7640 [__ASSUME_32BITUIDS]: Make code unconditional.
7641 [!__ASSUME_32BITUIDS]: Remove conditional code.
7642 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7643 <kernel-features.h>.
7644 [__ASSUME_32BITUIDS]: Make code unconditional.
7645 [!__ASSUME_32BITUIDS]: Remove conditional code.
7646 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7647 <kernel-features.h>.
7648 [__ASSUME_32BITUIDS]: Make code unconditional.
7649 [!__ASSUME_32BITUIDS]: Remove conditional code.
7650 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7651 <kernel-features.h>.
7652 [__ASSUME_32BITUIDS]: Make code unconditional.
7653 [!__ASSUME_32BITUIDS]: Remove conditional code.
7654 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7655 <kernel-features.h>.
7656 [__ASSUME_32BITUIDS]: Make code unconditional.
7657 [!__ASSUME_32BITUIDS]: Remove conditional code.
7658 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7659 <kernel-features.h>.
7660 [__ASSUME_32BITUIDS]: Make code unconditional.
7661 [!__ASSUME_32BITUIDS]: Remove conditional code.
7662 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7663 <kernel-features.h>.
7664 [__ASSUME_32BITUIDS]: Make code unconditional.
7665 [!__ASSUME_32BITUIDS]: Remove conditional code.
7666 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7667 <kernel-features.h>.
7668 [__ASSUME_32BITUIDS]: Make code unconditional.
7669 [!__ASSUME_32BITUIDS]: Remove conditional code.
7670 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7671 <kernel-features.h>.
7672 [__ASSUME_32BITUIDS]: Make code unconditional.
7673 [!__ASSUME_32BITUIDS]: Remove conditional code.
7674 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7675 <kernel-features.h>.
7676 [__ASSUME_32BITUIDS]: Make code unconditional.
7677 [!__ASSUME_32BITUIDS]: Remove conditional code.
7678 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7679 <kernel-features.h>.
7680 [__ASSUME_32BITUIDS]: Make code unconditional.
7681 [!__ASSUME_32BITUIDS]: Remove conditional code.
7682 * sysdeps/unix/sysv/linux/kernel-features.h
7683 (__ASSUME_SETRESUID_SYSCALL): Remove.
7684 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7685 (__ASSUME_32BITUIDS): Likewise.
7686 (__ASSUME_LDT_WORKS): Likewise.
7687 (__ASSUME_O_DIRECTORY): Likewise.
7688 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7689 architecture but not kernel version.
7690 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7691 (__ASSUME_MMAP2_SYSCALL): Likewise.
7692 (__ASSUME_STAT64_SYSCALL): Likewise.
7693 (__ASSUME_IPC64): Likewise.
7694 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7695 <kernel-features.h>.
7696 [__ASSUME_32BITUIDS]: Make code unconditional.
7697 [!__ASSUME_32BITUIDS]: Remove conditional code.
7698 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7699 <kernel-features.h>.
7700 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7701 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7702 132096]: Remove conditional code.
7703 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7704 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7705 <kernel-features.h>.
7706 [__ASSUME_32BITUIDS]: Make code unconditional.
7707 [!__ASSUME_32BITUIDS]: Remove conditional code.
7708 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7709 <kernel-features.h>.
7710 [__ASSUME_32BITUIDS]: Make code unconditional.
7711 [!__ASSUME_32BITUIDS]: Remove conditional code.
7712 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7713 <kernel-features.h>.
7714 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7715 unconditional.
7716 (__setresgid): Do not declare.
7717 [__ASSUME_32BITUIDS]: Make code unconditional.
7718 [!__ASSUME_32BITUIDS]: Remove conditional code.
7719 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7720 <kernel-features.h>.
7721 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7722 unconditional.
7723 (__setresuid): Do not declare.
7724 [__ASSUME_32BITUIDS]: Make code unconditional.
7725 [!__ASSUME_32BITUIDS]: Remove conditional code.
7726 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7727 <kernel-features.h>.
7728 [__ASSUME_32BITUIDS]: Make code unconditional.
7729 [!__ASSUME_32BITUIDS]: Remove conditional code.
7730 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7731 <kernel-features.h>.
7732 [__ASSUME_32BITUIDS]: Make code unconditional.
7733 [!__ASSUME_32BITUIDS]: Remove conditional code.
7734
a386f1cc
RH
77352012-05-25 Richard Henderson <rth@twiddle.net>
7736
7737 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7738 dl_hwcap to ifunc resolver.
7739 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7740 elf_ifunc_invoke.
7741 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7742 dl_hwcap to ifunc resolver.
7743 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7744
b6550497
JM
77452012-05-24 Joseph Myers <joseph@codesourcery.com>
7746
7747 [BZ #14153]
7748 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7749 for |x| <= 2**-26, not 2**-57.
7750 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7751 exception.
7752
b0bc23a1
JL
77532012-05-24 Jeff Law <law@redhat.com>
7754
7755 * stdio-common/Makefile (tests): Add bug25.
7756 * stdio-common/bug25.c: New test.
7757
347c92e9
L
77582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7759
7760 [BZ #13576]
7761 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7762 multiple of MALLOC_ALIGNMENT in size.
7763 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7764
6bcc8b3f
JM
77652012-05-24 Joseph Myers <joseph@codesourcery.com>
7766
7767 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7768 Require >= 256.
7769 (FILENAME_MAX): Use macro-int-constant.
7770 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7771 (_IOFBF): Use macro-int-constant.
7772 (_IOLBF): Likewise.
7773 (_IONBF): Likewise.
7774 (SEEK_CUR): Likewise.
7775 (SEEK_END): Likewise.
7776 (SEEK_SET): Likewise.
7777 (TMP_MAX): Likewise.
7778 (EOF): Use macro-int-constant. Require < 0.
7779 (NULL): Use macro-constant. Require == 0.
7780 (stdin): Require type to be FILE *.
7781 (stdout): Likewise.
7782 (stderr): Likewise.
7783 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7784 macro-int-constant.
7785 (EXIT_SUCCESS): Likewise.
7786 (NULL): Use macro-constant. Require == 0.
7787 (RAND_MAX): Use macro-int-constant.
7788 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7789 [C99-based standards] (strtof): Require function.
7790 [C99-based standards] (strtold): Likewise.
7791 [C99-based standards] (strtoll): Likewise.
7792 [C99-based standards] (strtoull): Likewise.
7793 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7794 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7795 [ISO || ISO99 || ISO11] (math.h): Likewise.
7796 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7797 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7799
d18ea0c5
AS
78002012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7801
7802 [BZ #14132]
56d25bb8
AS
7803 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7804 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7805 * intl/dgettext.c (DCGETTEXT): Likewise.
7806 * intl/gettext.c (DCGETTEXT): Likewise.
7807 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7808 * posix/regex_internal.h (gettext): Likewise.
7809 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7810 Remove declaration.
7811 * include/argz.h (__argz_count_internal)
7812 (__argz_stringify_internal): Remove declaration.
7813 (__argz_count, __argz_stringify): Declare hidden proto.
7814 * intl/dcgettext.c: Remove use of INTDEF.
7815 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7816 * string/argz-stringify.c: Likewise.
7817 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7818 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7819 Declare hidden proto.
d18ea0c5
AS
7820 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7821 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7822 Declare hidden proto.
7823 * include/stdio.h (__asprintf_internal): Don't declare.
7824 (__asprintf): Don't define as macro. Declare hidden proto.
7825 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7826 (__fsetlocking): Declare hidden proto.
7827 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7828 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7829 hidden proto.
7830 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7831 (_IO_setlinebuf): Remove use of INTUSE.
7832 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7833 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7834 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7835 Remove declaration.
7836 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7837 (_IO_do_flush): Remove use of INTUSE.
7838 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7839 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7840 (_IO_adjust_column, _IO_least_wmarker)
7841 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7842 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7843 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7844 (_IO_default_doallocate, _IO_wdefault_doallocate)
7845 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7846 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7847 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7848 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7849 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7850 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7851 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7852 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7853 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7854 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7855 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7856 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7857 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7858 proto.
7859 (_IO_flush_all_internal, _IO_adjust_column_internal)
7860 (_IO_default_uflow_internal, _IO_default_finish_internal)
7861 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7862 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7863 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7864 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7865 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7866 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7867 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7868 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7869 (_IO_file_close_internal, _IO_file_close_it_internal)
7870 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7871 (_IO_file_init_internal, _IO_file_attach_internal)
7872 (_IO_file_fopen_internal, _IO_file_read_internal)
7873 (_IO_file_sync_internal, _IO_file_seek_internal)
7874 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7875 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7876 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7877 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7878 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7879 (_IO_list_all_internal, _IO_link_in_internal)
7880 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7881 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7882 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7883 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7884 (_IO_do_write_internal, _IO_padn_internal)
7885 (_IO_getline_info_internal, _IO_getline_internal)
7886 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7887 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7888 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7889 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7890 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7891 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7892 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7893 with libc_hidden_ver, remove use of INTUSE.
7894 * libio/genops.c: Likewise.
7895 * libio/freopen.c: Likewise.
7896 * libio/freopen64.c: Likewise.
7897 * libio/iofclose.c: Likewise.
7898 * libio/iofdopen.c: Likewise.
7899 * libio/iofflush.c: Likewise.
7900 * libio/iofflush_u.c: Likewise.
7901 * libio/iofgets.c: Likewise.
7902 * libio/iofgets_u.c: Likewise.
7903 * libio/iofopen.c: Likewise.
7904 * libio/iofopncook.c: Likewise.
7905 * libio/iofread.c: Likewise.
7906 * libio/iofread_u.c: Likewise.
7907 * libio/ioftell.c: Likewise.
7908 * libio/iofwrite.c: Likewise.
7909 * libio/iogetline.c: Likewise.
7910 * libio/iogets.c: Likewise.
7911 * libio/iogetwline.c: Likewise.
7912 * libio/iopadn.c: Likewise.
7913 * libio/iopopen.c: Likewise.
7914 * libio/ioseekoff.c: Likewise.
7915 * libio/ioseekpos.c: Likewise.
7916 * libio/iosetbuffer.c: Likewise.
7917 * libio/iosetvbuf.c: Likewise.
7918 * libio/ioungetc.c: Likewise.
7919 * libio/ioungetwc.c: Likewise.
7920 * libio/iovdprintf.c: Likewise.
7921 * libio/iovsprintf.c: Likewise.
7922 * libio/iovsscanf.c: Likewise.
7923 * libio/memstream.c: Likewise.
7924 * libio/obprintf.c: Likewise.
7925 * libio/oldfileops.c: Likewise.
7926 * libio/oldiofclose.c: Likewise.
7927 * libio/oldiofdopen.c: Likewise.
7928 * libio/oldiofopen.c: Likewise.
7929 * libio/oldiopopen.c: Likewise.
7930 * libio/oldstdfiles.c: Likewise.
7931 * libio/putc.c: Likewise.
7932 * libio/setbuf.c: Likewise.
7933 * libio/setlinebuf.c: Likewise.
7934 * libio/stdfiles.c: Likewise.
7935 * libio/strops.c: Likewise.
7936 * libio/vasprintf.c: Likewise.
7937 * libio/vscanf.c: Likewise.
7938 * libio/vsnprintf.c: Likewise.
7939 * libio/vswprintf.c: Likewise.
7940 * libio/wfiledoalloc.c: Likewise.
7941 * libio/wfileops.c: Likewise.
7942 * libio/wgenops.c: Likewise.
7943 * libio/wmemstream.c: Likewise.
7944 * libio/wstrops.c: Likewise.
7945 * libio/__fpurge.c: Likewise.
7946 * libio/__fsetlocking.c: Likewise.
7947 * assert/assert.c: Likewise.
7948 * debug/fgets_chk.c: Likewise.
7949 * debug/fgets_u_chk.c: Likewise.
7950 * debug/fread_chk.c: Likewise.
7951 * debug/fread_u_chk.c: Likewise.
7952 * debug/gets_chk.c: Likewise.
7953 * debug/obprintf_chk.c: Likewise.
7954 * debug/vasprintf_chk.c: Likewise.
7955 * debug/vdprintf_chk.c: Likewise.
7956 * debug/vsnprintf_chk.c: Likewise.
7957 * debug/vsprintf_chk.c: Likewise.
7958 * malloc/mtrace.c: Likewise.
7959 * misc/error.c: Likewise.
7960 * misc/syslog.c: Likewise.
7961 * stdio-common/asprintf.c: Likewise.
7962 * stdio-common/fxprintf.c: Likewise.
7963 * stdio-common/getw.c: Likewise.
7964 * stdio-common/isoc99_fscanf.c: Likewise.
7965 * stdio-common/isoc99_scanf.c: Likewise.
7966 * stdio-common/isoc99_vfscanf.c: Likewise.
7967 * stdio-common/isoc99_vscanf.c: Likewise.
7968 * stdio-common/isoc99_vsscanf.c: Likewise.
7969 * stdio-common/printf-prs.c: Likewise.
7970 * stdio-common/printf_fp.c: Likewise.
7971 * stdio-common/printf_fphex.c: Likewise.
7972 * stdio-common/printf_size.c: Likewise.
7973 * stdio-common/putw.c: Likewise.
7974 * stdio-common/scanf.c: Likewise.
7975 * stdio-common/sprintf.c: Likewise.
7976 * stdio-common/tmpfile.c: Likewise.
7977 * stdio-common/vfprintf.c: Likewise.
7978 * stdio-common/vfscanf.c: Likewise.
7979 * stdlib/strfmon_l.c: Likewise.
7980 * sunrpc/openchild.c: Likewise.
7981 * sunrpc/xdr_stdio.c: Likewise.
7982 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7983 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7984
d6c33fda
RM
79852012-05-24 Roland McGrath <roland@hack.frob.com>
7986
c1487492
RM
7987 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7988
7989 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7990 in the third column, to generate for the shared library an IFUNC
7991 that uses _dl_vdso_vsym.
7992 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7993 * Makeconfig (object-suffixes-noshared): New variable.
7994
7995 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7996 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7997 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7998 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7999
d6c33fda
RM
8000 [BZ #14132]
8001 * include/sys/time.h (__gettimeofday): Remove macro.
8002 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8003 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8004 Remove INTDEF.
8005 (__gettimeofday): Add libc_hidden_def.
8006 (gettimeofday): Add libc_hidden_weak.
8007 * sysdeps/mach/gettimeofday.c: Likewise.
8008 * sysdeps/posix/gettimeofday.c: Likewise.
8009 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8010 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8011 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8012 (__gettimeofday_internal): Remove strong_alias.
8013 (__gettimeofday): Add libc_hidden_def.
8014 (gettimeofday): Add libc_hidden_weak.
8015 * sysdeps/unix/syscalls.list (gettimeofday):
8016 Remove __gettimeofday_internal alias.
8017
b5a2bbe6
L
80182012-05-24 Daniel Jacobowitz <drow@false.org>
8019 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 [BZ #12495]
8022 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8023 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8024 (largebin_index_32_big): New.
8025 (largebin_index): Use it for 16-byte alignment.
8026 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8027 correction with front_misalign.
8028
cfba4fda
L
80292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8030
7f907421
L
8031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8033 Likewise.
8034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8035 Likewise.
8036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8037 Likewise.
8038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8039 Likewise.
8040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8041 Likewise.
8042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8043 Likewise.
8044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8045 Likewise.
8046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8047 Likewise.
8048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8049 Likewise.
8050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8051 Likewise.
8052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8053 Likewise.
8054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8055 Likewise.
8056
cfba4fda
L
8057 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8058 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8059
80bad0cc
JM
80602012-05-24 Joseph Myers <joseph@codesourcery.com>
8061
7a25eb06
JM
8062 [BZ #10846]
8063 [BZ #14036]
8064 * math/libm-test.inc (exp_test): Add test from bug 14036.
8065 (pow_test): Add test from bug 10846.
8066
795405f9
JM
8067 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8068 and other flags.
8069 (special_function): Do not include flags in test name.
8070 (parse_args): Likewise.
8071 * sysdeps/i386/fpu/libm-test-ulps: Update.
8072 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8073 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8074 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8076
80bad0cc
JM
8077 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8078 exceptions.
8079 * math/libm-test.inc ("Philosophy"): Update comment about
8080 exception testing.
8081 (UNDERFLOW_EXCEPTION): New macro.
8082 (UNDERFLOW_EXCEPTION_OK): Likewise.
8083 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8084 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8085 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8086 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8087 (INVALID_EXCEPTION_OK): Update value.
8088 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8089 (OVERFLOW_EXCEPTION_OK): Likewise.
8090 (IGNORE_ZERO_INF_SIGN): Likewise.
8091 (test_exceptions): Handle underflow exceptions.
8092 (acos_test): Update for underflow exception expectations.
8093 (cexp_test): Likewise.
8094 (clog_test): Likewise.
8095 (clog10_test): Likewise.
8096 (csqrt_test): Likewise.
8097 (ctan_test): Likewise.
8098 (ctanh_test): Likewise.
8099 (exp_test): Likewise.
8100 (exp10_test): Likewise.
8101 (exp2_test): Likewise.
8102 (expm1_test): Likewise.
8103 (fma_test): Likewise.
8104 (j0_test): Likewise.
8105 (jn_test): Likewise.
8106 (nexttoward_test): Likewise.
8107 (pow_test): Likewise.
8108 (scalbn_test): Likewise.
8109 (scalbln_test): Likewise.
8110 (tan_test): Likewise.
8111 (y1_test): Likewise.
8112 * sysdeps/i386/fpu/libm-test-ulps: Update.
8113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8114
9e0e3d0b
DM
81152012-05-23 David S. Miller <davem@davemloft.net>
8116
8117 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8118 (__libc_sigaction): Remove unused local variables.
8119
ccd0a08f
L
81202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8121
8122 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8123
62bdf9a6
PE
81242012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8125
f8591f80
PE
8126 mktime: avoid signed integer overflow
8127 * time/mktime.c (__mktime_internal): Do not mishandle the case
8128 where diff == INT_MIN.
8129
94c7d826
PE
8130 mktime: simplify computation of average
8131 * time/mktime.c (ranged_convert): Use new time_t_avg function
8132 instead of rolling our own (probably-slower) code.
8133
ce73d683
PE
8134 mktime: do not assume signed right shift propagates sign bit
8135 * time/mktime.c (isdst_differ): New static function.
8136 (__mktime_internal): No need to normalize tm_isdst now.
8137 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8138 tm_isdst values.
8139
72a22e59
PE
8140 mktime: merge another wrapv change from gnulib
8141 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8142 from some compilers.
8143
68605433
PE
8144 mktime: remove incorrect attempt at unusual arithmetics
8145 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8146 The code didn't really work on such machines anyway.
8147 (TYPE_MINIMUM): Assume two's complement.
8148 (twos_complement_arithmetic): Verify that long_int and time_t
8149 are two's complement (or unsigned, in the latter case).
8150
03cf7fe3
PE
8151 mktime: check signed shifts on long_int and time_t, too
8152 * time/mktime.c (SHR): Check that shifts work as desired
8153 on the types long_int and time_t too, as SHR is used on
8154 such types.
8155
f04dfbc2
PE
8156 mktime: do not assume 'long' is wide enough
8157 * time/mktime.c (verify): Move decl up.
8158 (long_int): New type.
8159 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8160 to remove assumption in the code that 'long' is wide enough to
8161 store year values. This assumption is not true on x32 and on
8162 some non-glibc platforms.
8163
62bdf9a6
PE
8164 mktime: merge wrapv change from gnulib
8165 * time/mktime.c (WRAPV): New macro.
8166 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8167 (guess_time_tm, __mktime_internal): Do not assume that signed
8168 integer overflow wraps around; modern compilers generate code
8169 where this assumption is no longer valid.
8170
5e292e4f
L
81712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8172
8173 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8174 Replace "jmp L(pseudo_end)" with "ret".
8175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8176 Likewise.
8177
8caf8c87
AJ
81782012-05-23 Andreas Jaeger <aj@suse.de>
8179
8180 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8181 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8182
1a09dc56
AJ
81832012-05-23 Andreas Jaeger <aj@suse.de>
8184 Maximilian Attems <max@stro.at>
8185
8186 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8187 New macros.
8188
1c87aba0
L
81892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8190
8191 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8192 code so that pseudo_end is just ret and the stack pointer is
8193 correct also for static library in error case.
8194
40e45bd5
JM
81952012-05-23 Joseph Myers <joseph@codesourcery.com>
8196
c2670533
JM
8197 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8198 move to syscalls.list.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8203
40e45bd5
JM
8204 * manual/install.texi (Running make install): Do not mention Linux
8205 kernel version for which pt_chown is not needed.
8206 (Linux): Do not mention problems with nscd with 2.0 kernels.
8207 * INSTALL: Regenerated.
8208
be08eda5
AJ
82092012-05-23 Andreas Jaeger <aj@suse.de>
8210
8211 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8212 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8213 macro.
8214 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8215 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8216 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8217 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8218 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8219 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8220 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8221 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8222 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8223 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8224 * sysdeps/unix/sysv/linux/bits/in.h
8225 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8226
a6a056bb
RM
82272012-05-22 Roland McGrath <roland@hack.frob.com>
8228
8229 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8230 (PREPARE_VERSION): Just use assert instead, it will be elided
8231 under [NDEBUG] anyway.
8232
c9009328
L
82332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8234
8235 * sysdeps/unix/sysv/linux/Makefile: Include
8236 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8237 (sysdep_routines): Remove sysctl.
c9009328
L
8238 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8239 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8240 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8241 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8242 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8243
73338355
AJ
82442012-05-22 Andreas Jaeger <aj@suse.de>
8245
8246 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8247 that pseudo_end is just ret and the stack pointer is correct also
8248 for static library in error case.
8249
d44638b0
PP
82502012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8251
8252 [BZ #14122]
8253 * nss/nsswitch.c (defconfig_entries): New variable.
8254 (__nss_database_lookup): Don't leak defconfig entries.
8255 (nss_parse_service_list): Don't leak on error paths.
8256 (free_database_entries): New function.
8257 (free_defconfig): New function.
8258 (free_mem): Move common code to free_database_entries.
8259
31a39bd8
L
82602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8261
da0331a8
L
8262 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8263 Add arch_prctl.
8264 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8265
31a39bd8
L
8266 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8267 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8269 New macro.
8270 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8271 (INTERNAL_SYSCALL_TYPES): Likewise.
8272 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8273 (LOAD_REGS_TYPES_[1-6]): Likewise.
8274 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8275 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8276
45470df3
AZ
82772012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8278
8279 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8280 copysignl for GLIBC_2_0.
8281 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8282 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8284 logbl for GLIBC_2_0.
8285 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8286 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8287
98a61bcb
L
82882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8289
a4f6e481
L
8290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8291 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8292
f63d5db6
L
8293 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8294 Use "neg %eax".
8295
98a61bcb
L
8296 * time/mktime.c: Update copyright years.
8297
95770f14
PE
82982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8299
6226efbd
PE
8300 mktime: merge comment-quoting-style change from gnulib
8301 * time/mktime.c: Quote 'like this' in comments.
8302 The GNU coding standards suggest that we no longer quote `like this',
8303 as "`" and "'" are typically rendered asymmetrically nowadays.
8304 The typical gnulib style is to quote 'like this' when quoting
8305 code, and "like this" when quoting English.
8306
b99e4f78
PE
8307 * time/mktime.c (compile-command): Add "-I.".
8308
643e01e6
PE
8309 mktime: merge mktime-internal.h change from gnulib
8310 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8311
2554247d
PE
8312 mktime: merge time_r change from gnulib
8313 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8314
826dd0ab
PE
8315 mktime: merge DEBUG change from gnulib
8316 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8317 case system <time.h> has a #define.
8318
bd83aabe
PE
8319 mktime: merge <sys/types.h> change from gnulib
8320 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8321 since <time.t> is now guaranteed to define time_t.
8322
95770f14
PE
8323 mktime: merge HAVE_CONFIG_H change from gnulib
8324 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8325
5e1a27a9
L
83262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8327
0e44a77e
L
8328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8329 Use "neg %eax".
8330
5e1a27a9
L
8331 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8332 __rlim_t cast.
8333 (struct rusage): Use anonymous union to pad each field to
8334 __syscall_slong_t.
8335
46259bec
DM
83362012-05-21 David S. Miller <davem@davemloft.net>
8337
8338 * Makefules (o-iterator): Remove .s cases.
8339 (compile-command.s): Delete.
8340 (COMPILE.s): Delete.
8341 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8342
59f0c22e
JM
83432012-05-21 Joseph Myers <joseph@codesourcery.com>
8344
8345 * configure.in (libc_cv_predef_stack_protector): Only consider
8346 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8347 * configure: Regenerated.
8348
20c07380
L
83492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8350
bbb3154b
L
8351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8352 New macro. Use R*LP on int and pointer.
8353 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8354 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8355 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8356 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8357
20c07380
L
8358 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8359 [__WORDSIZE_TIME64_COMPAT32] instead of
8360 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8361 (struct utmp): Likewise.
8362 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8363 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8364 Renamed to ...
8365 (__WORDSIZE_TIME64_COMPAT32): This.
8366 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8367 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8368 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8369 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8370 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8371 (__WORDSIZE_TIME64_COMPAT32): New macro.
8372
d8d1017e
AJ
83732012-05-21 Andreas Jaeger <aj@suse.de>
8374
8375 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8376 only if [SHARED]. Add prototype for __wcschr_ia32.
8377
6c7fb145
RM
83782012-05-21 Roland McGrath <roland@hack.frob.com>
8379
8380 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8381 of %rbp unmolested in the jmp_buf while mangling the low bits.
8382 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8383 unmolested high bits of %rbp while demangling the low bits.
8384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8385
66274218
AJ
83862012-05-21 Andreas Jaeger <aj@suse.de>
8387
07c58f8f
AJ
8388 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8389 * sunrpc/svc_simple.c: Use it for registerrpc.
8390 * sunrpc/xcrypt.c: Use it for passwd2des.
8391
66274218
AJ
8392 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8393
61f65140
L
83942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8395
8396 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8397 Don't define if [__SYSCALL_WORDSIZE != 32].
8398 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8399 New macro.
8400
5fefb436
AJ
84012012-05-21 Bruno Haible <bruno@clisp.org>
8402 Andreas Jaeger <aj@suse.de>
8403
8404 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8405 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8406 inptr and inend for must_buffer_ch.
8407 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8408 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8409 * stdio-common/Makefile (tests): Remove bug15.
8410 (bug15-ENV): Remove macro.
8411 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8412 anymore.
8413
d8e272ab
AJ
84142012-05-19 Andreas Jaeger <aj@suse.de>
8415 Roland McGrath <roland@hack.frob.com>
8416
8417 * manual/contrib.texi: Completely rewritten. It contains now an
8418 alphabetical list of contributors and their contributions.
8419
4a56a162
RH
84202012-05-21 Richard Henderson <rth@twiddle.net>
8421
8422 * misc/getauxval.c (__getauxval): Use unsigned long int.
8423 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8424 (getauxval): Use unsigned long int.
8425
d024d23c
L
84262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8429
cbc00a03
RM
84302012-05-21 Roland McGrath <roland@hack.frob.com>
8431
8432 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8433 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8434 __alignof__ (long double).
8435
478143fa
AZ
84362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8437
8438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8439
c7683a6d
RH
84402012-05-20 Richard Henderson <rth@twiddle.net>
8441
8442 * misc/getauxval.c: New file.
8443 * misc/sys/auxv.h: New file.
8444 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8445 (routines): Add getauxval.
8446 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8447 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8448 * elf/dl-sysdep.c (_dl_auxv): Remove.
8449 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8450 * elf/dl-support.c (_dl_auxv): New variable.
8451 (_dl_aux_init): Initialize it.
8452 * manual/startup.texi (Auxiliary Vector): New node.
8453 * sysdeps/generic/bits/hwcap.h: New file.
8454 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8455 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8456 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8457 * sysdeps/sparc/sysdep.h: ... here. Include it.
8458 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8459 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8461 Update.
c7683a6d
RH
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8470
a6f1845d
AZ
84712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8472
8473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8474
cbcbe830
DM
84752012-05-19 David S. Miller <davem@davemloft.net>
8476
8477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8478
e0b16cc2
JM
84792012-05-19 Joseph Myers <joseph@codesourcery.com>
8480
8481 [BZ #14123]
8482 * math/s_ccosh.c: Include <float.h>
8483 (__ccosh): Avoid internal overflow calculating sinh and cosh
8484 values before multiplying by sin and cos values.
8485 * math/s_ccoshf.c: Likewise.
8486 * math/s_ccoshl.c: Likewise.
8487 * math/s_csin.c: Likewise.
8488 * math/s_csinf.c: Likewise.
8489 * math/s_csinl.c: Likewise.
8490 * math/s_csinh.c: Likewise.
8491 * math/s_csinhf.c: Likewise.
8492 * math/s_csinhl.c: Likewise.
8493 * math/libm-test.inc (ccos_test): Add more tests.
8494 (ccosh_test): Likewise.
8495 (csin_test): Likewise.
8496 (csinh_test): Likewise.
8497 * sysdeps/i386/fpu/libm-test-ulps: Update.
8498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8499
6ad13e08
L
85002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8501
f66f0ce8
L
8502 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8503 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8504
6ad13e08
L
8505 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8506
b1d072a7
JM
85072012-05-19 Joseph Myers <joseph@codesourcery.com>
8508
8509 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8510 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8511 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8512 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8513 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8514 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8515 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8516 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8517 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8518 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8519 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8520 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8521 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8522 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8523 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8524 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8525 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8526 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8527 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8528 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8529 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8530 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8531 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8532 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8533 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8534 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8535 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8536 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8537 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8538 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8539 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8540
9eae47cb
AJ
85412012-05-18 Andreas Jaeger <aj@suse.de>
8542
8543 * csu/.gitignore: Delete.
8544
bb07f69f
L
85452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8546
8547 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8548 (timex): Use __syscall_slong_t.
8549
e6bdb741
AJ
85502012-05-18 Andreas Jaeger <aj@suse.de>
8551 Carlos O'Donell <carlos_odonell@mentor.com>
8552
8553 * manual/install.texi (Configuring and compiling): Update
8554 description about files modified in the source directory.
d6c33fda 8555 * INSTALL: Regenerated.
e6bdb741 8556
1b74487e
L
85572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8558
8559 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8560 value. Use "or" to set return value to -1.
8561 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8562 negate return value.
8563
a88b64b9
TMQMF
85642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8565
8566 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8567 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8568 failure if the compiler has Graphite support disabled.
8569 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8570 Likewise.
8571 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8572 CFLAGS-memmove.c): Likewise.
8573 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8574 Likewise.
8575
3707636e
L
85762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8577
610b8622
L
8578 * sysdeps/x86_64/x32/_itoa.h: New file.
8579
7cd195df
L
8580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8581 getdents system call only if kernel and user dirents have the
8582 same d_ino and d_off.
8583
94b07d20
L
8584 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8585 LLONG_MAX != LONG_MAX.
8586 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8587 (_fitoa_word): Likewise.
8588
18298070
L
8589 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8590 years.
8591 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8592 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8593 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8594
553c7ea4
L
8595 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8596 include <bits/wordsize.h>. Check __x86_64__ instead of
8597 __WORDSIZE.
8598 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8599 if __x86_64__ is defined. Use anonymous union on fpstate.
8600
3707636e
L
8601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8602 anonymous union.
8603
b53ef01a
AS
86042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8605
37fb1dc0
AS
8606 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8607 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8608 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8609 Refer to _rtld_local_ro instead of _rtld_global_ro.
8610 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8611 Likewise.
8612 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8613 Likewise.
8614 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8615 Likewise.
8616 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8617 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8618 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8619
b53ef01a
AS
8620 * sysdeps/powerpc/powerpc32/dl-machine.c
8621 (__elf_machine_runtime_setup) [PROF]: Don't reference
8622 _dl_prof_resolve.
8623
7a185db2
AJ
86242012-05-18 Andreas Jaeger <aj@suse.de>
8625
8626 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8627 function only available for GCCs before 3.4 since GCC 3.4
8628 introduced a builtin.
8629 (lrint): Likewise.
8630 (llrintf): Likewise.
8631 (llrint): Likewise.
8632 (fmaxf): Likewise.
8633 (fmax): Likewise.
8634 (fminf): Likewise.
8635 (fmin): Likewise.
8636 (rint): Likewise.
8637 (rintf): Likewise.
8638 (nearbyint): Likewise.
8639 (nearbyintf): Likewise.
8640 (ceil): Likewise.
8641 (ceilf): Likewise.
8642 (floor): Likewise.
8643 (floorf): Likewise.
8644
3e5aef87
L
86452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8646
428bd707
L
8647 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8648 on both fields and cast pointer to __syscall_ulong_t.
8649
3e5aef87
L
8650 * bits/types.h (__fsword_t): New type.
8651 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8652 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8654 (__FSWORD_T_TYPE): Likewise.
8655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8656 (__FSWORD_T_TYPE): Likewise.
8657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8658 (__FSWORD_T_TYPE): Likewise.
8659 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8660 (__FSWORD_T_TYPE): Likewise.
8661 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8662 __SWORD_TYPE with __fsword_t.
8663 (statfs64): Likewise.
8664
1ba7c3dc
DM
86652012-05-17 David S. Miller <davem@davemloft.net>
8666
8667 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8668
59910343
AJ
86692012-05-17 Andreas Jaeger <aj@suse.de>
8670
8671 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8672 warning.
8673
2e4c1e9e
L
86742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8675
8676 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8677
de7f5ce7
AJ
86782012-05-17 Andreas Jaeger <aj@suse.de>
8679
8680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8681 when it is used.
8682
286abc3d
CM
86832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8684
8685 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8686
477cc68e
L
86872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8688
8689 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8690 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8691
1a0994f5
CD
86922012-05-17 Andreas Jaeger <aj@suse.de>
8693 Carlos O'Donell <carlos_odonell@mentor.com>
8694
8695 [BZ #14059]
8696 * sysdeps/x86_64/multiarch/init-arch.h
8697 (bit_YMM_Usable): Rename to...
8698 (bit_AVX_Usable): ... this.
8699 (bit_FMA4_Usable): New macro.
8700 (bit_XMM_state): New macro.
8701 (bit_YMM_state): New macro.
8702 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8703 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8704 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8705 (CPUID_OSXSAVE): New macro.
8706 (CPUID_AVX): New macro.
8707 (CPUID_FMA4): New macro.
8708 (index_YMM_Usable): Rename to...
8709 (index_AVX_Usable): ... this.
8710 (HAS_AVX): Use HAS_ARCH_FEATURE.
8711 (HAS_FMA4): Likewise.
8712 (HAS_YMM_USABLE): Remove.
8713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8714 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8715 are present.
8716 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8717 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8718 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8719 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8720 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8721
0af797de
CM
87222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8723
8724 * math/libm-test.c: Support platforms without multiple rounding modes.
8725 * math/bug-nextafter.c: Support platforms without FP exceptions.
8726 * math/bug-nexttoward.c: Likewise.
8727 * math/test-fenv.c: Likewise.
8728 * math/test-misc.c: Likewise.
8729 * stdlib/bug-getcontext.c: Likewise.
8730
e39745ff
AJ
87312012-05-17 Andreas Jaeger <aj@suse.de>
8732
8733 * manual/examples/search.c (critter_cmp): Change signature to
8734 avoid warnings.
8735 * manual/string.texi (Collation Functions): Likewise.
8736
48970aba
L
87372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8738
8739 * bits/types.h: Fold copyright years.
8740 * bits/typesizes.h: Likewise.
8741 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8743 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8744 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8745 * time/time.h: Likewise.
8746
bedee953
PP
87472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8748
8749 [BZ #208]
8750 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8751 in instead of returning them. Return void.
8752 (__libc_mallinfo): Accumulate over all arenas.
8753 (__malloc_stats): Adjust for change in int_mallinfo interface.
8754
61653dfb
RM
87552012-05-16 Roland McGrath <roland@hack.frob.com>
8756
30b99d79
RM
8757 [BZ #10375]
8758 * configure.in (NM): Add AC_CHECK_TOOL for it.
8759 (libc_extra_cflags): New substituted variable.
8760 Check for -fstack-protector being used implicitly.
8761 * configure: Regenerated.
8762 * config.make.in (config-extra-cflags): New variable,
8763 gets @libc_extra_cflags@.
8764 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8765
61653dfb
RM
8766 [BZ #10375]
8767 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8768 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8769 * configure: Regenerated.
8770 * config.make.in (CPPUNDEFS): New substituted variable.
8771 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8772 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8773 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8774
661768bb
L
87752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8776
8777 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8778 (mq_attr): Use __syscall_slong_t.
8779
d4261567
L
87802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8781
8782 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8783 Check __x86_64__ instead of __WORDSIZE.
8784 (_STAT_VER_LINUX): Likewise.
8785 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8786 __syscall_ulong_t and __syscall_slong_t.
8787 (stat64): Likewise.
8788
cf3ff365
L
87892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8790
8791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8792
76cf3e4d
L
87932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8794
8795 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8796
a637753a
L
87972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8798
8799 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8800 __syscall_ulong_t.
8801
d5e05119
L
8802 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8803 include <bits/wordsize.h>. Check __x86_64__ instead of
8804 __WORDSIZE.
8805 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8806 defined.
8807 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8808
f62ee380
L
8809 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8810 include <bits/wordsize.h>. Check __x86_64__ instead of
8811 __WORDSIZE.
8812 (user_regs_struct): Use "__extension__ unsigned long long"
8813 instead of "unsigned long" if __x86_64__ is defined.
8814 (user): Likewise. Pad after pointer field if __ILP32__ is
8815 defined.
8816
4e124ced
JM
88172012-05-16 Joseph Myers <joseph@codesourcery.com>
8818
6a3951a0
JM
8819 * configure.in (makeinfo): Require version 4.5 or later. Allow
8820 versions 5 to 9.
8821 * configure: Regenerated.
8822 * manual/install.texi (texinfo): Increase version requirement to
8823 4.5 or later.
8824 * INSTALL: Regenerated.
8825
4e124ced
JM
8826 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8827
953ca31a
L
88282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8829
8830 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8831
617aca05
L
8832 * sysdeps/x86_64/x32/ffs.c: New file.
8833
5762f7ae
L
8834 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8835 __syscall_ulong_t.
8836 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8837 defined. Use __syscall_ulong_t.
8838 (shminfo): Use __syscall_ulong_t.
8839 (shm_info): Likewise.
8840
a26b6856
L
8841 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8842 __syscall_ulong_t.
8843
cb2b9ef7
L
8844 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8845 <bits/wordsize.h>.
8846 (msgqnum_t): Use __syscall_ulong_t.
8847 (msglen_t): Likewise.
8848 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8849 __syscall_ulong_t.
8850
34683bb0
L
8851 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8852 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8853
84a68786
L
8854 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8855
48baa5f1
L
8856 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8857 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8858
180be88b
L
8859 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8860 __syscall_slong_t.
8861
5e90c8ad
L
8862 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8863 include <bits/wordsize.h>. Check __x86_64__ instead of
8864 __WORDSIZE.
8865
23dfb58b
L
8866 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8867 "unsigned long long int" if __x86_64__ is defined.
8868 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8869
ce5d54b0
L
8870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8871 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8872 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8873
13dc9eac
L
8874 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8875 <stdint.h>.
8876 (GET_PC): Cast to uintptr_t first.
8877 (GET_FRAME): Likewise.
8878 (GET_STACK): Likewise.
8879
a7895d15
L
8880 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8881 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8882 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8883 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8884 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8885 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8886 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8887 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8888 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8889 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8890 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8891 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8892 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8893 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8894 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8895 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8896 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8897 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8898 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8899 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8900 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8901 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8902 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8903 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8904 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8907 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8908 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8909
656416c9
AS
89102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8911
5bd66283
AS
8912 * Makerules (+depfiles): Also collect depfiles from .oS in
8913 $(extra-objs).
8914 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8915 .oS, $(libnldbl-routines)).
8916
656416c9
AS
8917 * Makerules (native-compile-mkdep-flags): Define.
8918 * sunrpc/Makefile (extra-objs): Add $(addprefix
8919 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8920 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8921 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8922 calling $(make-target-directory).
8923
a46f2169
L
89242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8925
8926 * bits/types.h (__snseconds_t): Removed.
8927 * time/time.h (struct timespec): Replace __snseconds_t with
8928 __syscall_slong_t.
8929 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8930 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8931 Likewise.
8932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8933 (__SNSECONDS_T_TYPE): Likewise.
8934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8935 (__SNSECONDS_T_TYPE): Likewise.
8936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8937 (__SNSECONDS_T_TYPE): Likewise.
8938
6af6528b
L
89392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8940
8941 * sysdeps/mach/hurd/bits/typesizes.h
8942 (__SYSCALL_SLONG_TYPE): New macro.
8943 (__SYSCALL_ULONG_TYPE): Likewise.
8944
de986b56
L
89452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8946
8947 * bits/types.h (__syscall_slong_t): New type.
8948 (__syscall_ulong_t): Likewise.
8949
8950 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8951 (__SYSCALL_ULONG_TYPE): Likewise.
8952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8953 (__SYSCALL_SLONG_TYPE): Likewise.
8954 (__SYSCALL_ULONG_TYPE): Likewise.
8955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8956 (__SYSCALL_SLONG_TYPE): Likewise.
8957 (__SYSCALL_ULONG_TYPE): Likewise.
8958 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8959 (__SYSCALL_SLONG_TYPE): Likewise.
8960 (__SYSCALL_ULONG_TYPE): Likewise.
8961
85736dc7
L
89622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8963
8964 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8965 Add sigaltstack-offsets.sym.
8966 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8967 <sigaltstack-offsets.h>.
8968 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8969 longjmp_msg pointer.
8970 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8971 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8972 signal stack.
8973 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8974
cc03b296
JM
89752012-05-15 Joseph Myers <joseph@codesourcery.com>
8976
a9538892
JM
8977 * elf/stackguard-macros.h: Remove file.
8978 * sysdeps/generic/stackguard-macros.h: New file.
8979 * sysdeps/i386/stackguard-macros.h: Likewise.
8980 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8981 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8982 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8983 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8984 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8985 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8986 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8987 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8988 <elf/stackguard-macros.h>.
8989
cc03b296
JM
8990 [BZ #14109]
8991 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8992 __aligned__ in attribute.
8993 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8994 (gregset_t): Likewise.
8995
93171016
L
89962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8997
8998 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8999 * sysdeps/x86_64/64/Implies-after: Here. New file.
9000 * sysdeps/x86_64/x32/Implies-after: New file.
9001
d86813a0
L
90022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9003
9004 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9005 and access return value for _dl_profile_fixup. Use R10_LP to
9006 load frame size.
9007
2953ec75
L
90082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9011
3b550e9e
L
90122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9013
9014 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9015 * sysdeps/x86_64/x32/sysdep.h: New file.
9016
eda41706
L
90172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9018
9019 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9020 * sysdeps/x86_64/setjmp.S: Likewise.
9021
9ea01d93
AZ
90222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9023
9024 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9026 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9027 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9028 remove unused global constant.
9029
02a91938
CM
90302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9031
9032 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9033 include of <not-cancel.h>.
9034
6540185f
RM
90352012-05-15 Roland McGrath <roland@hack.frob.com>
9036
9037 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9038
509072a0
AJ
90392012-05-15 Jeff Law <law@redhat.com>
9040 Andreas Jaeger <aj@suse.de>
9041
9042 [BZ #13594]
9043 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9044 out from...
9045 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9046 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9047 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9048 code changing __hst_map_handle.map.
9049
ba75122d
RM
90502012-05-15 Roland McGrath <roland@hack.frob.com>
9051
9052 * configure.in (sysnames): Look for Implies-before and Implies-after
9053 files.
9054 * configure: Regenerated.
9055
890d8bd8
L
90562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9057
9058 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9059 8-byte data alignment with LP_SIZE alignment.
9060
f6ee6623
L
90612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9062
9063 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9064 into R10_LP.
9065
ea2626f6
L
90662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9067
9068 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9069
085f715e
L
90702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9071
9072 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9073 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9074 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9075 Likewise.
9076 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9077
be8498fc
L
90782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9081 (stackinfo_sub_sp): Likewise.
9082
70bc83b9
L
90832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9086 RAX_LP.
9087
9bc0b730
L
90882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9089
9090 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9091 into R*_LP.
9092
6d2850e7
L
90932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9094
9095 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9096 sizes into R*_LP.
9097
3cb84561
L
90982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9099
9100 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9101
54e2ed81
L
91022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9103
9104 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9105 into R11_LP and load __x86_64_shared_cache_size_half into
9106 R8_LP.
9107
8a17f349
L
91082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9109
9110 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9111 R8_LP.
9112
777b1eea
AZ
91132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9114
9115 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9116 logb for POWER7.
9117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9118 logbf for POWER7.
9119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9120 logbl for POWER7.
9121 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9122 powerpc32/power7/fpu/s_logb.c via #include.
9123 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9124 powerpc32/power7/fpu/s_logbf.c via #include.
9125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9126 powerpc32/power7/fpu/s_logbl.c via #include.
9127
d20d4ac2
JM
91282012-05-15 Joseph Myers <joseph@codesourcery.com>
9129
9130 * README.libm: Remove file.
9131
6cdef1ab
L
91322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9133
9134 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9135 count for x32. Use R*_LP and omit operand-size suffix.
9136
0b254d8f
L
91372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9140 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9141 * sysdeps/x86_64/x32/shlib-versions: New file.
9142
ceb809dc
RM
91432012-05-14 Roland McGrath <roland@hack.frob.com>
9144
9145 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9146 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9147 Use _dl_fatal_printf instead.
9148
37f1abd4
JM
91492012-05-14 Joseph Myers <joseph@codesourcery.com>
9150
9151 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9152 set if not set by the user. Do not allow for being unset.
9153 * sysdeps/unix/sysv/linux/configure: Regenerated.
9154
11de3a33
L
91552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9156
9157 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9158 the `q' suffix from lea and replace .quad with ASM_ADDR.
9159
e02f153a
L
91602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9161
9162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9163 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9164 instead of $17.
9165 (PTR_DEMANGLE): Likewise.
9166
520ae0fd
L
91672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9168
9169 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9170 (LP_OP): Likewise.
9171 (ASM_ADDR): Likewise.
9172 (RAX_LP): Likewise.
9173 (RBP_LP): Likewise.
9174 (RBX_LP): Likewise.
9175 (RCX_LP): Likewise.
9176 (RDI_LP): Likewise.
9177 (RSI_LP): Likewise.
9178 (RSP_LP): Likewise.
9179 (R8_LP): Likewise.
9180 (R9_LP): Likewise.
9181 (R10_LP): Likewise.
9182 (R10_LP): Likewise.
9183 (R11_LP): Likewise.
9184 (R12_LP): Likewise.
9185 (R13_LP): Likewise.
9186 (R14_LP): Likewise.
9187 (R15_LP): Likewise.
9188
b985be81
L
91892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9190
9191 * sysdeps/x86_64/x32/dl-machine.h: New file.
9192
6a4888ff
AJ
91932012-05-14 Andreas Jaeger <aj@suse.de>
9194
9195 * manual/Makefile (subdir): Remove export of subdir.
9196 (all): Remove target.
9197 (.PHONY): Remove all from list.
9198 (mkinstalldirs): Remove.
9199 (.PHONY): Remove installdirs from list.
9200 ($(inst_infodir)/libc.info): Use make-target-directory.
9201 (installdirs): Remove.
9202 (subdir_%): Remove.
9203 (glibc-targets): Remove.
9204 (lib): Remove.
9205 (stubs): Remove.
9206 ($(objpfx)stubs ../po/manual.pot): Remove.
9207 ($(objpfx)stamp%): Remove.
9208 (make-target-directory): Remove.
9209 (subdir_install): Remove.
9210 (routines): Remove.
9211 (aux): Remove.
9212 (sources): Remove.
9213 (objects): Remove.
9214 (headers): Remove.
9215
9216 [BZ #13750]
9217 * manual/.gitignore: Remove, it's not needed anymore.
9218 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9219 all files in it.
9220 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9221 directory.
9222 (texis): Renamed to $(objpfx)texis.
9223 (texis-path): New, contains path to generated files.
9224 (chapters.%): Use texis-path for complete path, add extra argument
9225 libc-texinfo.sh.
9226 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9227 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9228 (summary,texi, stamp-summary): Use complete path of
9229 files. Generate files in build dir.
9230 (dir-add.texi): Build in build dir.
9231 (libm-err.texi,stamp-libm-err): Likewise.
9232 (version.texi, stamp-version): Likewise.
9233 (.%c.texi): Likewise.
9234 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9235 (mostlyclean): Remove target.
9236 (realclean): Remove target.
9237 (generated): Add new variable with contents from mostlyclean and
9238 realclean, remove entries duplicated in common-mostlyclean, add
9239 stamp-libm-err and stamp-version.
9240 (generated-dirs): Add libc directory.
9241 ($(inst_infodir)/libc.info): Install files from build dir.
9242
9243 * manual/install.texi (Configuring and compiling): Adjust since
9244 the info files are not part of the tar ball anymore.
9245
7ac77294
AJ
92462012-05-14 Andreas Jaeger <aj@suse.de>
9247
9248 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9249 variable.
9250
ffb7875d
JM
92512012-05-14 Joseph Myers <joseph@codesourcery.com>
9252
9253 [BZ #13717]
9254 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9255 to 2.2.0 where earlier.
9256 * sysdeps/unix/sysv/linux/configure: Regenerated.
9257 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9258 Remove conditional code.
9259 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9260 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9261 Remove conditional code.
9262 [!__NR_lchown]: Likewise.
9263 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9264 [__NR_lchown]: Likewise.
9265 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9266 comment referencing __ASSUME_LCHOWN_SYSCALL.
9267 * sysdeps/unix/sysv/linux/i386/sigaction.c
9268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9270 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9271 Remove conditional code.
9272 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9273 (__protocol_available): Remove #if 0 code.
9274 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9275 conditional code.
9276 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9277 * sysdeps/unix/sysv/linux/kernel-features.h
9278 (__ASSUME_GETCWD_SYSCALL): Don't define.
9279 (__ASSUME_REALTIME_SIGNALS): Likewise.
9280 (__ASSUME_PREAD_SYSCALL): Likewise.
9281 (__ASSUME_PWRITE_SYSCALL): Likewise.
9282 (__ASSUME_POLL_SYSCALL): Likewise.
9283 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9284 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9285 non-SPARC.
9286 (__ASSUME_SIOCGIFNAME): Don't define.
9287 (__ASSUME_MSG_NOSIGNAL): Likewise.
9288 (__ASSUME_SENDFILE): Define unconditionally.
9289 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9290 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9291 conditional code.
9292 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9293 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9294 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9295 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9296 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9297 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9298 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9300 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9303 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9306 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9309 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9312 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9323 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9324 Remove conditional code.
9325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9326 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9327 Remove conditional code.
9328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9329 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9330 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9331 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9332 Remove conditional code.
9333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9334 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9335 Remove conditional code.
9336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9337 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9338 Remove conditional code.
9339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9340 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9341 Remove conditional code.
9342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9343 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9344 Remove conditional code.
9345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9346 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9347 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9349 * sysdeps/unix/sysv/linux/sigaction.c
9350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9352 * sysdeps/unix/sysv/linux/sigpending.c
9353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9355 * sysdeps/unix/sysv/linux/sigprocmask.c
9356 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9357 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9358 * sysdeps/unix/sysv/linux/sigsuspend.c
9359 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9360 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9361 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9362 (__libc_missing_rt_sigs): Remove.
9363 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9364 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9365 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9366 Remove conditional code.
9367 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9368 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9369 return 1.
9370 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9371 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9372 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9373 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9374
1bfb7291
AJ
93752012-05-14 Andreas Jaeger <aj@suse.de>
9376
caae5a81
AJ
9377 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9378 it's not used in glibc.
9379 (__coshm1): Likewise.
9380 (__acosh1p): Likewise.
9381 (__sgn): Likewise.
9382
1bfb7291
AJ
9383 * manual/string.texi (Copying and Concatenation): Add missing
9384 variable in concat example.
9385 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9386
c044d724
L
93872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9388
144c5467 9389 [BZ #14103]
c044d724
L
9390 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9391 __builtin_clzl with __builtin_clzll.
9392
2523c62b
L
93932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9394
9395 [BZ #14104]
9396 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9397 libc_freeres_ptr.
9398
d7bb4c42
LD
93992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9400
9401 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9402 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9403 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9404 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9405
9dc4e1fb
MF
94062012-05-14 Mike Frysinger <vapier@gentoo.org>
9407
9408 * NEWS: Update ia64 info.
9409
c7df0112
AS
94102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9411
9412 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9413 used as bcopy.
9414
dc70356c
TS
94152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9416
9417 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9418 * sysdeps/unix/syscalls.list (dup3): Likewise.
9419 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9420 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9421
9fb1a21f
L
94222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9423
9424 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9425 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9426
4822a2a5
L
94272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9428
9429 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9430 thread pointer.
9431 (TLS_IE): Use mov/add instead of movq/addq to load thread
9432 pointer.
9433 (TLS_GD_PREFIX): New.
9434 (TLS_GD): Use it.
9435
842b81d6
DM
94362012-05-11 David S. Miller <davem@davemloft.net>
9437
9438 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9439 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9440 (_FPU_SETCW): Likewise.
9441
1cf463cd
L
94422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9443
9444 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9445 is 32-byte aligned.
9446
60cc4a18
AS
94472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9448
9449 [BZ #11837]
9450 * iconvdata/gb18030.c: Update tables.
9451 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9452 characters specially.
9453 (BODY for TO_LOOP): Add encoding of missing ranges.
9454
febb44a4
TS
94552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9456
9457 [BZ #13673]
9458 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9459 * sysdeps/mach/hurd/dup3.c: Likewise.
9460 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9461 * sysdeps/powerpc/memmove.c:: Likewise.
9462
0a10fb9e
L
94632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9464
9465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9466 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9467
df8a552f
L
94682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9469
9470 * elf/elf.h (R_X86_64_RELATIVE64): New.
9471 (R_X86_64_NUM): Updated.
9472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9473 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9474 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9475 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9476 tst-quad1pie tst-quad2pie
9477 (modules-names): Add tst-quadmod1 tst-quadmod2.
9478 ($(objpfx)tst-quad1): New dependency.
9479 ($(objpfx)tst-quad2): Likewise.
9480 ($(objpfx)tst-quad1pie): Likewise.
9481 ($(objpfx)tst-quad2pie): Likewise.
9482 * sysdeps/x86_64/tst-quad1.c: New file.
9483 * sysdeps/x86_64/tst-quad1pie.c: New file.
9484 * sysdeps/x86_64/tst-quad2.c: Likewise.
9485 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9486 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9487 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9488 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9489 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9490
f34d6f84
ST
94912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9492
f42d41d1
ST
9493 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9494 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9495 * streams/stropts.h (t_scalar_t): Define type.
9496
3c3571fc
ST
9497 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9498 (_PATH_PRESERVE): Set to "/var/lib".
9499 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9500
61f06bd3
ST
9501 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9502 instead of int.
9503
918d4d71
ST
9504 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9505 if __dir_mkfile succeeded.
9506
f34d6f84
ST
9507 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9508 checking for _hurd_dtablesize. Unlock it right after having
9509 finished _hurd_dtable allocation.
9510
10589b4a
TS
95112012-05-10 Thomas Schwinge <thomas@schwinge.name>
9512
674cdbc7
TS
9513 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9514 * sysdeps/mach/hurd/configure: Regenerated.
9515 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9516 special-casing to...
9517 * sysdeps/gnu/configure.in: ... this new file.
9518 * sysdeps/unix/sysv/linux/configure: Regenerated.
9519 * sysdeps/gnu/configure: New generated file.
9520
8e41b99f
TS
9521 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9522 for Linux: use nsec instead of usec, as well as:
9523 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9524 members of type struct timespec.
9525 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9526 New macros.
9527 (struct stat64): Likewise.
9528 (_STATBUF_ST_NSEC): New macro.
9529 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9530
10589b4a
TS
9531 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9532 __strtoul_internal rather than strtoul.
9533
63643c85
PT
95342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9535
9536 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9537 and reject them.
9538
3faebe6a
ST
95392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9540
9541 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9542 which preserves existing values.
9543 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9544
c6474b07
PT
95452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9546
9547 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9548 TIMEOUT values. Return EINVAL for NFDS values either negative or
9549 greater than FD_SETSIZE.
9550
1043890b
ST
95512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9552
9553 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9554 allocated, call __vm_protect to finish enabling the existing space, and
9555 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9556 allocate the remainder.
9557
37ed8b9b
PT
95582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9559
9560 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9561 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9562
db653660
ST
95632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9564
37ed8b9b
PT
9565 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9566 sysdeps/mach/hurd/readlink.c.
b29d4053 9567
db653660
ST
9568 * posix/tst-sysconf.c (posix_options): Only use
9569 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9570 _POSIX_SYNCHRONIZED_IO when they are defined
9571 * sysdeps/mach/hurd/bits/posix_opt.h:
9572 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9573 (_XOPEN_REALTIME): Undefine macro.
9574 (_XOPEN_REALTIME_THREADS): Undefine macro.
9575 (_XOPEN_SHM): Undefine macro.
9576 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9577 macro to -1.
9578 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9579 macro to -1.
9580 (_POSIX_ASYNC_IO): Undefine macro.
9581 (_POSIX_PRIORITIZED_IO): Undefine macro.
9582 (_POSIX_SPIN_LOCKS): Define macro to -1.
9583
ee16e894
ST
9584 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9585 SA_NODEFER, SA_RESETHAND.
9586 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9587 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9588 F_DUPFD_CLOEXEC.
9589
6103ae3b
TS
95902012-05-10 Thomas Schwinge <thomas@schwinge.name>
9591
9592 * elf/Makefile (pldd-modules): Define unconditionally.
9593
80b4e5f3
TS
95942012-05-10 Thomas Schwinge <thomas@schwinge.name>
9595
9596 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9597
edadcbd6
ST
95982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9599
9600 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9601 Return ENOENT when name is empty.
9602 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9603
80694780
TS
96042012-05-10 Thomas Schwinge <thomas@schwinge.name>
9605
1792c087
TS
9606 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9607
80694780
TS
9608 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9609
6b645f0d
ST
96102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9611
80694780
TS
9612 Fix mlock in all cases except non-readable pages.
9613 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9614 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9615
6b645f0d
ST
9616 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9617 (__mkdir): When path is `/', just fail with EEXIST.
9618 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9619
e468f8a3
TS
96202012-05-10 Thomas Schwinge <thomas@schwinge.name>
9621
9622 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9623 <sys/uio.h> (for writev).
9624 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9625 and <sys/param.h> (for MIN).
9626
a4186cff
PT
96272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9628
9629 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9630 REQUESTED_TIME. Properly set the remaining time and return EINTR
9631 if interrupted.
9632
510bbf14
TS
96332012-05-10 Thomas Schwinge <thomas@schwinge.name>
9634
9635 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9636 Depend on against $(link-rpcuserlibs).
9637
5d5722e8
ST
96382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9639
a4186cff
PT
9640 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9641 (__libc_stack_end): Do not use attribute_relro.
9642 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9643 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9644 to libthread-provided value.
a4186cff
PT
9645 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9646 attribute_relro.
5d5722e8 9647
37233df9
TS
96482012-05-10 Thomas Schwinge <thomas@schwinge.name>
9649
be971a2b
TS
9650 [BZ #3748]
9651 * bits/libc-lock.h (__libc_once_get): New macro.
9652 * sysdeps/mach/bits/libc-lock.h: Likewise.
9653 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9655 instead of using implementation details.
9656
37233df9
TS
9657 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9658 * libio/freopen.c: Likewise.
9659 * libio/freopen64.c: Likewise.
9660 * misc/syslog.c: Likewise.
9661 * nscd/connections.c: Likewise.
9662 * nscd/netgroupcache.c: Likewise.
9663 * sysdeps/posix/getcwd.c: Likewise.
9664
38de94a5
RM
96652012-05-10 Roland McGrath <roland@hack.frob.com>
9666
9667 * math/w_ilogbf.c: Add #include <limits.h>.
9668
67530489
ST
96692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9670
a4186cff 9671 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9672 path instead of returning without unlocking.
9673
67530489
ST
9674 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9675 immediate-write ioctls.
9676 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9677
5aa3a74a
TS
96782012-05-10 Thomas Schwinge <thomas@schwinge.name>
9679
18bad2ae
TS
9680 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9681 __builtin_frame_address instead of making assumptions about the
9682 location of the return address relative to DATA. Force early load of
9683 the return address.
9684 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9685 __builtin_frame_address.
9686
5aa3a74a
TS
9687 dup3 for GNU Hurd.
9688 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9689 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9690 implement dup3 and do some further code clean-ups.
9691 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9692 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9693
ecd0de9a
ST
96942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9695
cd9fa985
ST
9696 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9697
a4186cff
PT
9698 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9699 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9700 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9701 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9702 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9703 d->port.lock.
802ca5a5 9704
a4186cff
PT
9705 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9706 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9707 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9708
bcf55240
TS
97092012-05-10 Thomas Schwinge <thomas@schwinge.name>
9710
6960eb42
TS
9711 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9712 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9713 definitions.
9714
eb43375f
TS
9715 accept4 for GNU Hurd.
9716 * include/sys/socket.h (__libc_accept4): New prototype.
9717 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9718 to implement __libc_accept4.
9719 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9720 __libc_accept4.
9721 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9722
bcf55240
TS
9723 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9724 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9725 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9726 signal-defines.sym.
9727
6178c55b
ST
97282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9729
a4186cff 9730 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9731
6f080c2f
TS
97322012-05-10 Thomas Schwinge <thomas@schwinge.name>
9733
9734 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9735 assertion on O_CLOEXEC flag.
9736 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9737 * hurd/intern-fd.c: Likewise.
9738 * hurd/port2fd.c: Likewise.
9739
bcfe3a54
ST
97402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9741
9742 [BZ #3906]
9743 * bits/in.h (IPV6_PKTINFO): Define new macro.
9744 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9745
89c9aa49
AZ
97462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9747
9748 [BZ #13954]
9749 [BZ #13955]
9750 [BZ #13956]
9751 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9753 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9754 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9756 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9757 * math/libm-test.inc (logb_test) : Additional logb tests.
9758
021db4be
AJ
97592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9760 Andreas Jaeger <aj@suse.de>
9761
9762 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9763 * configure: Regenerated.
9764 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9765 * config.make.in (link-obsolete-rpc): New substituted variable.
9766 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9767 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9768 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9769 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9770 so that libc.a contains the symbols.
9771 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9772 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9773 * sunrpc/auth_none.c: Likewise.
9774 * sunrpc/auth_unix.c: Likewise.
9775 * sunrpc/authdes_prot.c: Likewise.
9776 * sunrpc/authuxprot.c: Likewise.
9777 * sunrpc/clnt_gen.c: Likewise.
9778 * sunrpc/clnt_perr.c: Likewise.
9779 * sunrpc/clnt_raw.c: Likewise.
9780 * sunrpc/clnt_simp.c: Likewise.
9781 * sunrpc/clnt_tcp.c: Likewise.
9782 * sunrpc/clnt_udp.c: Likewise.
9783 * sunrpc/clnt_unix.c: Likewise.
9784 * sunrpc/des_crypt.c: Likewise.
9785 * sunrpc/des_soft.c: Likewise.
9786 * sunrpc/get_myaddr.c: Likewise.
9787 * sunrpc/key_call.c: Likewise.
9788 * sunrpc/key_prot.c: Likewise.
9789 * sunrpc/netname.c: Likewise.
9790 * sunrpc/pm_getmaps.c: Likewise.
9791 * sunrpc/pm_getport.c: Likewise.
9792 * sunrpc/pmap_clnt.c: Likewise.
9793 * sunrpc/pmap_prot.c: Likewise.
9794 * sunrpc/pmap_prot2.c: Likewise.
9795 * sunrpc/pmap_rmt.c: Likewise.
9796 * sunrpc/publickey.c: Likewise.
9797 * sunrpc/rpc_cmsg.c: Likewise.
9798 * sunrpc/rpc_common.c: Likewise.
9799 * sunrpc/rpc_dtable.c: Likewise.
9800 * sunrpc/rpc_prot.c: Likewise.
9801 * sunrpc/rpc_thread.c: Likewise.
9802 * sunrpc/rtime.c: Likewise.
9803 * sunrpc/svc.c: Likewise.
9804 * sunrpc/svc_auth.c: Likewise.
9805 * sunrpc/svc_raw.c: Likewise.
9806 * sunrpc/svc_run.c: Likewise.
9807 * sunrpc/svc_tcp.c: Likewise.
9808 * sunrpc/svc_udp.c: Likewise.
9809 * sunrpc/svc_unix.c: Likewise.
9810 * sunrpc/svcauth_des.c: Likewise.
9811 * sunrpc/xcrypt.c: Likewise.
9812 * sunrpc/xdr.c: Likewise.
9813 * sunrpc/xdr_array.c: Likewise.
9814 * sunrpc/xdr_float.c: Likewise.
9815 * sunrpc/xdr_intXX_t.c: Likewise.
9816 * sunrpc/xdr_mem.c: Likewise.
9817 * sunrpc/xdr_rec.c: Likewise.
9818 * sunrpc/xdr_ref.c: Likewise.
9819 * sunrpc/xdr_sizeof.c: Likewise.
9820 * sunrpc/xdr_stdio.c: Likewise.
9821
b5c086a2
RM
98222012-05-10 Roland McGrath <roland@hack.frob.com>
9823
9824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9825 change. Update copyright years.
9826
6d74dd09
JM
98272012-05-10 Joseph Myers <joseph@codesourcery.com>
9828
9829 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9830
28e72501
MK
98312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9832 Joseph Myers <joseph@codesourcery.com>
9833 Paul Pluzhnikov <ppluzhnikov@google.com>
9834
9835 [BZ #14012]
9836 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9837 requiring rpcgen.
9838 [cross-compiling] (extra-libs): Likewise.
9839 [cross-compiling] (extra-libs-others): Likewise.
9840 [cross-compiling] (librpcsvc-routines): Likewise.
9841 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9842 [cross-compiling] (omit-deps): Likewise.
9843 (sunrpc-CPPFLAGS): New variable.
9844 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9845 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9846 (cross-rpcgen-objs): New variable.
9847 (extra-objs): Append $(cross-rpcgen-objs).
9848 ($(cross-rpcgen-objs)): New rule.
9849 ($(objpfx)cross-rpcgen): Likewise.
9850 (rpcgen-cmd): Define to use $(built-program-file). Expand
9851 comment.
9852 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9853 ($(objpfx)x%.stmp): Likewise.
9854 * sunrpc/proto.h [IS_IN_build] (_): Define.
9855 [IS_IN_build] (_libc_intl_domainname): Likewise.
9856
c8c59454
L
98572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9858
9859 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9860 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9861 and R_X86_64_TPOFF64.
9862
6f27cd16
JM
98632012-05-10 Joseph Myers <joseph@codesourcery.com>
9864
9865 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9866 sysdeps/unix/sysv/syscalls.list.
9867 (stime): Likewise.
9868 (utime): Likewise.
9869 * sysdeps/unix/sysv/syscalls.list: Remove file.
9870
02467e1c
PE
98712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9872
9873 [BZ #3440]
9874 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9875 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9876 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9877 (__LC_IDENTIFICATION): Make these macros useful in #if
9878 expressions, as required by C99.
9879
da392631
AS
98802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9881
9882 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9883 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9884 after this.
9885
8115f29b
L
98862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9887
9888 * stdlib/longlong.h: Updated from GCC.
9889
bdd74070
AJ
98902012-05-09 Andreas Jaeger <aj@suse.de>
9891
edfe0dbe
AJ
9892 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9893 default is first entry.
9894 (run_mode): Set type.
9895 (main): Remove informal message about syslog.
9896 (options): Fix typo.
9897
bcfe3a54
ST
9898 [BZ #14053]
9899 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9900 to asm.
bcfe3a54
ST
9901 (lrint): Likewise.
9902 (llrintf): Likewise.
9903 (llrint): Likewise.
9904 (rint): Likewise.
9905 (rintf): Likewise.
9906 (nearbyint): Likewise.
9907 (nearbyintf): Likewise.
bdd74070 9908
91d8d69e
AJ
99092012-05-09 Andreas Jaeger <aj@suse.de>
9910 Pedro Alves <palves@redhat.com>
9911
9912 * nscd/nscd.c (run_mode): Use enum.
9913 (main): Cleanup coding style issue.
9914
bb90b80b
AJ
99152012-05-09 Alexandre Oliva <aoliva@redhat.com>
9916 Andreas Jaeger <aj@suse.de>
9917
bcfe3a54
ST
9918 * nscd/nscd.c (go_background): Replaced with...
9919 (run_mode): ... this.
bb90b80b 9920 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9921 (options): Add -F --foreground.
9922 (main): Implement it.
9923 (parse_opt): Parse it.
bb90b80b 9924
1a4b75a1
AJ
99252012-05-09 Andreas Jaeger <aj@suse.de>
9926
9927 [BZ #14083]
9928 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9929 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9930 -Wconversion warning.
9931 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9932 Likewise.
9933
b1cc2472
JM
99342012-05-09 Joseph Myers <joseph@codesourcery.com>
9935
9936 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9937 == 0.
9938 (LC_ALL): Use macro-int-constant.
9939 (LC_COLLATE): Likewise.
9940 (LC_CTYPE): Likewise.
9941 (LC_MESSAGES): Likewise.
9942 (LC_MONETARY): Likewise.
9943 (LC_NUMERIC): Likewise.
9944 (LC_TIME): Likewise.
9945 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9946 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9948 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9949 Specify type.
9950 [C99-based standards] (float_t): Expect type.
9951 [C99-based standards] (double_t): Expect type.
9952 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9953 type.
9954 [C99-based standards] (HUGE_VALL): Likewise.
9955 [C99-based standards] (INFINITY): Likewise.
9956 [C99-based standards] (NAN): Likewise.
9957 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9958 [C99-based standards] (FP_NAN): Likewise.
9959 [C99-based standards] (FP_NORMAL): Likewise.
9960 [C99-based standards] (FP_SUBNORMAL): Likewise.
9961 [C99-based standards] (FP_ZERO): Likewise.
9962 [C99-based standards] (FP_FAST_FMA): Use
9963 optional-macro-int-constant. Specify type. Require == 1.
9964 [C99-based standards] (FP_FAST_FMAF): Likewise.
9965 [C99-based standards] (FP_FAST_FMAL): Likewise.
9966 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9967 [C99-based standards] (FP_ILOGBNAN): Likewise.
9968 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9969 Specify type.
9970 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9971 [C99-based standards] (math_errhandling): Specify type.
9972 [ISO99 || ISO11] (signgam): Do not allow.
9973 [non-C99-based standards] (copysignf): Do not allow.
9974 [non-C99-based standards] (exp2f): Likewise.
9975 [non-C99-based standards] (log2f): Likewise.
9976 [non-C99-based standards] (modff): Allow.
9977 [non-C99-based standards] (erff): Do not allow.
9978 [non-C99-based standards] (erfcf): Likewise.
9979 [non-C99-based standards] (gammaf): Likewise.
9980 [non-C99-based standards] (hypotf): Likewise.
9981 [non-C99-based standards] (j0f): Likewise.
9982 [non-C99-based standards] (j1f): Likewise.
9983 [non-C99-based standards] (jnf): Likewise.
9984 [non-C99-based standards] (lgammaf): Likewise.
9985 [non-C99-based standards] (tgammaf): Likewise.
9986 [non-C99-based standards] (y0f): Likewise.
9987 [non-C99-based standards] (y1f): Likewise.
9988 [non-C99-based standards] (ynf): Likewise.
9989 [non-C99-based standards] (isnanf): Likewise.
9990 [non-C99-based standards] (acoshf): Likewise.
9991 [non-C99-based standards] (asinhf): Likewise.
9992 [non-C99-based standards] (atanhf): Likewise.
9993 [non-C99-based standards] (cbrtf): Likewise.
9994 [non-C99-based standards] (expm1f): Likewise.
9995 [non-C99-based standards] (ilogbf): Likewise.
9996 [non-C99-based standards] (log1pf): Likewise.
9997 [non-C99-based standards] (logbf): Likewise.
9998 [non-C99-based standards] (nextafterf): Likewise.
9999 [non-C99-based standards] (remainderf): Likewise.
10000 [non-C99-based standards] (rintf): Likewise.
10001 [non-C99-based standards] (scalbf): Likewise.
10002 [non-C99-based standards] (copysignl): Likewise.
10003 [non-C99-based standards] (exp2l): Likewise.
10004 [non-C99-based standards] (log2l): Likewise.
10005 [non-C99-based standards] (modfl): Allow.
10006 [non-C99-based standards] (erfl): Do not allow.
10007 [non-C99-based standards] (erfcl): Likewise.
10008 [non-C99-based standards] (gammal): Likewise.
10009 [non-C99-based standards] (hypotl): Likewise.
10010 [non-C99-based standards] (j0l): Likewise.
10011 [non-C99-based standards] (j1l): Likewise.
10012 [non-C99-based standards] (jnl): Likewise.
10013 [non-C99-based standards] (lgammal): Likewise.
10014 [non-C99-based standards] (tgammal): Likewise.
10015 [non-C99-based standards] (y0l): Likewise.
10016 [non-C99-based standards] (y1l): Likewise.
10017 [non-C99-based standards] (ynl): Likewise.
10018 [non-C99-based standards] (isnanl): Likewise.
10019 [non-C99-based standards] (acoshl): Likewise.
10020 [non-C99-based standards] (asinhl): Likewise.
10021 [non-C99-based standards] (atanhl): Likewise.
10022 [non-C99-based standards] (cbrtl): Likewise.
10023 [non-C99-based standards] (expm1l): Likewise.
10024 [non-C99-based standards] (ilogbl): Likewise.
10025 [non-C99-based standards] (log1pl): Likewise.
10026 [non-C99-based standards] (logbl): Likewise.
10027 [non-C99-based standards] (nextafterl): Likewise.
10028 [non-C99-based standards] (remainderl): Likewise.
10029 [non-C99-based standards] (rintl): Likewise.
10030 [non-C99-based standards] (scalbl): Likewise.
10031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10032 [non-C99-based standards] (FP_*): Do not allow.
10033 [C99-based standards] (FP_*): Change to
10034 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10035 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10036 allow.
10037 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10038 (SIG_ERR): Likewise.
10039 [X/Open-based standards] (SIG_HOLD): Likewise.
10040 (SIG_IGN): Likewise.
10041 (SIGABRT): Use macro-int-constant. Specify type. Require
10042 positive value.
10043 (SIGFPE): Likewise.
10044 (SIGILL): Likewise.
10045 (SIGINT): Likewise.
10046 (SIGSEGV): Likewise.
10047 (SIGTER): Likewise.
10048 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10049 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10050 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10051 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10052 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10053 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10054 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10055 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10056 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10057 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10058 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10059 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10060 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10061 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10063 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10064 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10065 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10066 [X/Open-based standards] (SIGTRAP): Likewise.
10067 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10068 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10070 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10071 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10072 allow.
10073
b9f1922d
IW
100742012-05-08 Ian Wienand <ianw@vmware.com>
10075
10076 [BZ #14080]
10077 * time/tzset.c (__tzset_parse_tz): Update default rules for
10078 daylight time changes in the Energy Policy Act of 2005.
10079
1db86e88
AJ
100802012-05-09 Andreas Jaeger <aj@suse.de>
10081
10082 [BZ #13983]
10083 * elf/ldconfig.c (parse_conf): Change string to make clear that
10084 ldconfig only issued a warning if ld.so.conf does not exist.
10085
dee4a4e3
DM
100862012-05-08 David S. Miller <davem@davemloft.net>
10087
ee0db190
DM
10088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10089 movxtod instead of popping the value on the stack.
10090
dee4a4e3
DM
10091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10092
6a43ec98
CD
100932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10094
10095 * config.h.in: Add HAVE_ARM_PCS_VFP.
10096
05c2c961
RMG
100972012-05-08 Roland Mc Grath <roland@hack.frob.com>
10098
bcfe3a54
ST
10099 [BZ #13979]
10100 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10101 checking but the checks are disabled for any reason.
05c2c961 10102
4b30f61a
L
101032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10106 and ELF64_R_TYPE with ELFW(R_TYPE).
10107
eee2bc67
JM
101082012-05-08 Joseph Myers <joseph@codesourcery.com>
10109
7ea5391a
JM
10110 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10111 (ulimit): Likewise.
10112
eee2bc67
JM
10113 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10114 (settimeofday): Likewise.
10115
abb66a67
MF
101162012-05-08 Mike Frysinger <vapier@gentoo.org>
10117
10118 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10119 a struct th_u2 inside the union, and move tu_block/tu_code into
10120 a new th_u3 union of tu_block/tu_code inside of that. Move
10121 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10122 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10123 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10124 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10125 (th_stuff): Change to th_u1.tu_stuff.
10126 (th_data): Define.
10127 (th_msg): Change to th_u1.th_u2.tu_data.
10128
7f18b530
DM
101292012-05-07 David S. Miller <davem@davemloft.net>
10130
05760585
DM
10131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10132
7f18b530
DM
10133 [BZ #14074]
10134 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10135 (SETUP_PIC_REG): Use it.
10136 (SETUP_PIC_REG_LEAF): Use it.
10137
495fd99f
JM
101382012-05-07 Joseph Myers <joseph@codesourcery.com>
10139
10140 [BZ #13885]
10141 [BZ #13923]
10142 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10143 USE_AS_EXPM1L.
10144 (EXPL_FINITE): Likewise.
10145 (FLDLOG): Likewise.
10146 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10147 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10148 e_expl.S.
10149 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10150 USE_AS_EXPM1L.
10151 (EXPL_FINITE): Likewise.
10152 (FLDLOG): Likewise.
10153 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10154 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10155 e_expl.S.
10156 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10157 test of -max_value argument for long double.
10158 * sysdeps/i386/fpu/libm-test-ulps: Update.
10159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10160
6693d694
DM
101612012-05-06 David S. Miller <davem@davemloft.net>
10162
10163 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10164 quad soft-float symbols whose references which are compiler
10165 generated.
10166 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10167
6c23e11c
JM
101682012-05-06 Joseph Myers <joseph@codesourcery.com>
10169
d8b82cad
JM
10170 [BZ #13884]
10171 [BZ #13914]
10172 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10173 USE_AS_EXP10L.
10174 (EXPL_FINITE): Likewise.
10175 (FLDLOG): Likewise.
10176 (c0): Likewise.
10177 (c1): Likewise.
10178 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10179 Adjust comments for base varying.
10180 (__expl_finite): Change alias to EXPL_FINITE.
10181 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10182 e_expl.S.
10183 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10184 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10186 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10187 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10188 USE_AS_EXP10L.
10189 (EXPL_FINITE): Likewise.
10190 (FLDLOG): Likewise.
10191 (c0): Likewise.
10192 (c1): Likewise.
10193 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10194 Adjust comments for base varying.
10195 (__expl_finite): Change alias to EXPL_FINITE.
10196 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10197 tests for bugs.
10198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10199
6c23e11c
JM
10200 [BZ #14064]
10201 * math/libm-test.inc (check_float_internal): Correct ulp
10202 calculation for subnormal expected results.
10203
29ba805c
AJ
102042012-05-06 Andreas Jaeger <aj@suse.de>
10205
10206 * Makeconfig (+math-flags): New, set to -frounding-math.
10207 (+cflags): Add +math-flags so that all of glibc gets compiled with
10208 it.
10209
10210 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10211
7b17aeda
JM
102122012-05-05 Joseph Myers <joseph@codesourcery.com>
10213
5779f134
JM
10214 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10215 Disable one test.
10216
41498f4d
JM
10217 [BZ #13787]
10218 [BZ #13922]
10219 [BZ #14036]
10220 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10221 (__ieee754_expl): Allow for and saturate large arguments.
10222 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10223 (u_threshold): Likewise.
10224 (__exp): Call __ieee754_exp before checking for overflow and
10225 underflow.
10226 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10227 (u_threshold): Likewise.
10228 (__expf): Call __ieee754_expf before checking for overflow and
10229 underflow.
10230 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10231 (u_threshold): Likewise.
10232 (__expl): Call __ieee754_expl before checking for overflow and
10233 underflow.
10234 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10235 (__ieee754_expl): Allow for and saturate large arguments.
10236 * math/libm-test.inc (exp_test): Add another test. Do not allow
10237 missing overflow exception on overflow.
10238 (expm1_test): Do not allow missing overflow exception on overflow.
10239
6698b8bf
JM
10240 * sysdeps/i386/fpu/e_expl.c: Move to ...
10241 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10242 rather than using inline asm.
10243 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10244 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10245 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10246
7b17aeda
JM
10247 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10248 (nice): Likewise.
10249 (poll): Likewise.
10250 (signal): Likewise.
10251 (time): Likewise.
10252 (times): Likewise.
10253
f7c85819
JM
102542012-05-04 Joseph Myers <joseph@codesourcery.com>
10255
10256 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10257 sysdeps/unix/common/syscalls.list.
10258 (fchmod): Likewise.
10259 (fchown): Likewise.
10260 (ftruncate): Likewise.
10261 (getrusage): Likewise.
10262 (gettimeofday): Likewise.
10263 (setpgid): Likewise.
10264 (setregid): Likewise.
10265 (setreuid): Likewise.
10266 (sigaction): Likewise.
10267 (truncate): Likewise.
10268 (vhangup): Likewise.
10269 * sysdeps/unix/common/syscalls.list: Remove file.
10270 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10271 * sysdeps/unix/sysv/linux/Implies: Likewise.
10272
336270d0
L
102732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10274
10275 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10277 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10278 Moved to ...
10279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10280 Here.
10281 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10282 to ...
10283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10284 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10285 to ...
10286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10287 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10288 to ...
10289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10290 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10291 to ...
10292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10293 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10294 to ...
10295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10296 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10297 to ...
10298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10299 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10300 to ...
10301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10302 Here.
10303 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10304 to ...
10305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10306 Here.
10307 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10308 to ...
10309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10310 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10311 Moved to ...
10312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10313 Here.
10314 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10315 to ...
10316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10317
d128e450
JM
103182012-05-04 Joseph Myers <joseph@codesourcery.com>
10319
fa8ee516
JM
10320 * sysdeps/unix/common/bits/dirent.h: Remove file.
10321 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10322
d128e450
JM
10323 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10324 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10325 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10326 * sysdeps/unix/bsd/isatty.c: Likewise.
10327 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10328 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10329 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10330
ff8faaf0 103312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10332
62881be4 10333 [BZ #13563]
31dc8730
AZ
10334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10335 long double comparison inaccuracies.
10336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10338
6fef930c
AS
103392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10340
10341 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10343
8f203e6c
JM
103442012-05-04 Joseph Myers <joseph@codesourcery.com>
10345
10346 [BZ #14049]
10347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10348 nonzero digits before rounding a hex value.
10349 * stdlib/tst-strtod.c (tests): Add another test.
10350
5197d9c2
AK
103512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10352
10353 * sysdeps/s390/fpu/libm-test-ulps: Update.
10354
f0c1dedf
AJ
103552012-05-03 Andreas Jaeger <aj@suse.de>
10356
10357 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10358 does not get optimized out.
10359 (malloc_opt_barrier): New.
10360
a65ef2ae 103612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10362 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10363
2b942cb7 10364 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10365 intermediate file deletion.
2b942cb7 10366 (generated): Add .symlist files.
a65ef2ae 10367
54b71e02
JM
103682012-05-03 Joseph Myers <joseph@codesourcery.com>
10369
10370 [BZ #13775]
10371 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10372 Redirect under this condition.
10373 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10374 [__USE_GNU] (__dprintf_chk): Not under this condition.
10375 [__USE_GNU] (__vdprintf_chk): Likewise.
10376 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10377 under this condition.
10378 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10379 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10380 [__USE_XOPEN2K8] (vdprintf): Likewise.
10381 [__USE_GNU] (__dprintf_chk): Not under this condition.
10382 [__USE_GNU] (__vdprintf_chk): Likewise.
10383 [__USE_GNU] (dprintf): Likewise.
10384 [__USE_GNU] (vdprintf): Likewise.
10385
d3dfcc41
RM
103862012-05-03 Roland McGrath <roland@hack.frob.com>
10387
10388 * elf/Makefile (common-generated): Set this instead of generated for
10389 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10390 $(all-built-dso)-derived lists.
10391
7ac30cc5
AJ
103922012-05-03 Andreas Jaeger <aj@suse.de>
10393
0c51e550
AJ
10394 * sysdeps/i386/fpu/libm-test-ulps: Update.
10395
7ac30cc5
AJ
10396 * FAQ: Removed.
10397 * FAQ.in: Likewise.
10398 * scripts/gen-FAQ.pl: Likewise.
10399 * manual/install.texi (Installation): Point to online location of
10400 FAQ.
10401 * Makefile (files-for-dist): Remove FAQ.
10402 (FAQ): Remove.
10403
d4c2917f
AM
104042012-05-02 Allan McRae <allan@archlinux.org>
10405
10406 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10407 (LDFLAGS-reldepmod5.so): Likewise.
10408 (LDFLAGS-reldep6mod1.so): Likewise.
10409 (LDFLAGS-reldep6mod4.so): Likewise.
10410 (LDFLAGS-reldep8mod3.so): Likewise.
10411 (LDFLAGS-unload4mod1.so): Likewise.
10412 (LDFLAGS-unload4mod2.so): Likewise.
10413 (LDFLAGS-tst-initorder): Likewise.
10414 (LDFLAGS-tst-initordera2.so): Likewise.
10415 (LDFLAGS-tst-initordera3.so): Likewise.
10416 (LDFLAGS-tst-initordera4.so): Likewise.
10417 (LDFLAGS-tst-initorderb2.so): Likewise.
10418 (LDFLAGS-noload): Likewise.
10419 (LDFLAGS-next): Likewise.
10420 (LDFLAGS-order2mod1.so): Likewise.
10421 (LDFLAGS-order2mod2.so): Likewise.
10422 (LDFLAGS-tst-initorder2): Likewise.
10423 (LDFLAGS-tst-initorder2a.so): Likewise.
10424 (LDFLAGS-tst-initorder2b.so): Likewise.
10425 (LDFLAGS-tst-initorder2c.so): Likewise.
10426 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10427
d77f993f
DM
104282012-05-02 David S. Miller <davem@davemloft.net>
10429
10430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10431
171a70b4
PP
104322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10433
10434 [BZ #14055]
10435 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10436
0be196ad
AJ
104372012-05-02 Andreas Jaeger <aj@suse.de>
10438
10439 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10440 since we manipulate rounding mode.
10441 (CPPFLAGS-test-idouble.c): Likewise.
10442 (CPPFLAGS-test-ifloat.c): Likewise.
10443 (CFLAGS-test-ldouble.c): Likewise.
10444 (CFLAGS-test-double.c): Likewise.
10445 (CFLAGS-test-float.c): Likewise.
10446 (CFLAGS-test-misc.c): Likewise.
10447 (CFLAGS-test-test-fenv.c): Likewise.
10448
4f9d04aa
AZ
104492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10450
2b942cb7
RM
10451 [BZ #2550]
10452 [BZ #2570]
10453 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10454 comparisons to determine direction to adjust input.
4f9d04aa 10455
82a79e7d
RM
104562012-05-01 Roland McGrath <roland@hack.frob.com>
10457
f5a01ca9
RM
10458 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10459 output to the target.
10460
90fe4186
RM
10461 * scripts/localplt.awk: New file.
10462 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10463 (check-localplt-CFLAGS): Variable removed.
10464 ($(all-built-dso:=.jmprel)): New static pattern rule.
10465 (generated): Add those targets.
10466 (localplt-built-dso): New variable.
10467 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10468
10469 * elf/check-localplt.c: File removed.
10470
82397ed6
RM
10471 * scripts/check-execstack.awk: New file.
10472 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10473 (check-execstack-CFLAGS): Variable removed.
10474 ($(objpfx)check-execstack.h): Target removed.
10475 ($(objpfx)execstack-default): New target.
10476 (generated): Add that instead of check-execstack.h.
10477 ($(all-built-dso:=.phdr)): New static pattern rule.
10478 (generated): Add those targets.
10479 * elf/check-execstack.c: File removed.
10480
82a79e7d
RM
10481 * scripts/check-textrel.awk: New file.
10482 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10483 (check-textrel-CFLAGS): Variable removed.
10484 (all-built-dso): Use := to define.o
10485 ($(all-built-dso:=.dyn)): New static pattern rule.
10486 (generated): Add those targets.
10487 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10488 * config.make.in (READELF): New substituted variable.
10489 * elf/check-textrel.c: File removed.
10490
62fde54f 104912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10492
615605c9
JM
10493 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10494 allow.
10495 * conform/data/ctype.h-data [C99-based standards] (isblank):
10496 Expect function.
10497 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10498 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10500 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10501 Specify type. Require positive value.
10502 (EILSEQ): Likewise.
10503 (ERANGE): Likewise.
10504 [ISO || POSIX] (EILSEQ): Do not expect.
10505 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10506 Specify type. Require positive value.
10507 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10539 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10540 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10541 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10542 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10543 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10544 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10545 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10546 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10548 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10549 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10550 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10551 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10552 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10553 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10554 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10555 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10556 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10557 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10558 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10559 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10560 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10561 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10562 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10563 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10564 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10565 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10566 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10567 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10568 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10569 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10570 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10571 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10572 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10573 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10574 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10575 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10576 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10577 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10578 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10579 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10580 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10581 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10582 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10583 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10584 Require >= 2.
10585 (FLT_ROUNDS): Expect as macro, not constant.
10586 (FLT_MANT_DIG): Use macro-int-constant.
10587 (DBL_MANT_DIG): Likewise.
10588 (LDBL_MANT_DIG): Likewise.
10589 (FLT_DIG): Likewise.
10590 (DBL_DIG): Likewise.
10591 (LDBL_DIG): Likewise.
10592 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10593 (DBL_MIN_EXP): Likewise.
10594 (LDBL_MIN_EXP): Likewise.
10595 (FLT_MAX_EXP): Use macro-int-constant.
10596 (DBL_MAX_EXP): Likewise.
10597 (LDBL_MAX_EXP): Likewise.
10598 (FLT_MAX_10_EXP): Likewise.
10599 (DBL_MAX_10_EXP): Likewise.
10600 (LDBL_MAX_10_EXP): Likewise.
10601 (FLT_MAX): Use macro-constant.
10602 (DBL_MAX): Likewise.
10603 (LDBL_MAX): Likewise.
10604 (FLT_EPSILON): Use macro-constant. Give upper bound.
10605 (DBL_EPSILON): Likewise.
10606 (LDBL_EPSILON): Likewise.
10607 (FLT_MIN): Likewise.
10608 (DBL_MIN): Likewise.
10609 (LDBL_MIN): Likewise.
10610 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10611 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10612 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10613 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10614 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10615 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10616 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10617 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10618 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10619 [ISO11] (FLT_TRUE_MIN): Likewise.
10620 [ISO11] (LDBL_TRUE_MIN): Likewise.
10621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10622 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10623 (SCHAR_MIN): Use macro-int-constant. Specify type.
10624 (SCHAR_MAX): Likewise.
10625 (UCHAR_MAX): Likewise.
10626 (CHAR_MIN): Likewise.
10627 (CHAR_MAX): Likewise.
10628 (MB_LEN_MAX): Use macro-int-constant.
10629 (SHRT_MIN): Use macro-int-constant. Specify type.
10630 (SHRT_MAX): Likewise.
10631 (USHRT_MAX): Likewise.
10632 (INT_MAX): Likewise.
10633 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10634 bound negative.
10635 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10636 bound with "U".
10637 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10638 bound with "L".
10639 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10640 bound negative. Suffix upper bound with "L".
10641 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10642 bound with "UL".
10643 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10644 Specify type.
10645 [C99-based standards] (LLONG_MAX): Likewise.
10646 [C99-based standards] (ULLONG_MAX): Likewise.
10647 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10648 == 0.
10649 [ISO11] (max_align_t): Require type.
10650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10651
c9140a62
JM
10652 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10653 from $CFLAGS, without defining away __attribute__ calls.
10654 (checknamespace): Use $CFLAGS_namespace.
10655
9af0bf29
JM
10656 * conform/conformtest.pl (@keywords): Only include C99 keywords
10657 for standards based on C99 or C11.
10658
343222a2
JM
10659 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10660 Disable tests.
10661 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10662 UNIX98]: Likewise.
10663
661f8cf0
JM
10664 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10665 usability of symbols in #if.
10666
ee74b9cb
JM
10667 * conform/conformtest.pl: If macro or constant types start
10668 "promoted:", expect the symbol to be of the following type
10669 promoted by the integer promotions.
62fde54f 10670
aafc49b3
JM
10671 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10672 in one place. Also handle "macro-constant".
10673
fefdf574
JM
10674 * conform/conformtest.pl: Only accept expected macro values with
10675 "==". Parse all "macro" lines in one place.
10676 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10677
f2d922fe
JM
10678 * conform/conformtest.pl: Handle braced types on "constant" lines
10679 instead of handling "typed-constant".
10680 * conform/data/signal.h-data: Use "constant" instead of
10681 "typed-constant".
10682
d22956c9
JM
10683 * conform/conformtest.pl: Handle "optional-" at start of lines in
10684 one place rather than duplicating several cases. Handle each
10685 format of "macro" line with initial "optional-".
10686
028e2e38
JM
10687 * conform/conformtest.pl: Only accept expected constant or
10688 optional-constant values with "==". Parse all "constant" lines in
10689 one place. Parse all "optional-constant" lines in one place.
10690 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10691 * conform/data/fmtmsg.h-data: Likewise.
10692 * conform/data/netinet/in.h-data: Likewise.
10693 * conform/data/tar.h-data: Likewise.
10694 * conform/data/limits.h-data: Use "==" form on "constant" and
10695 "optional-constant" lines.
10696
1b8f2850
JM
10697 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10698 Use -std=c99 for XOPEN2K.
10699 (@knownproblems): Remove.
10700 (newtoken): Don't check %isknown.
10701
a05a144b
JM
10702 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10703 Do not expect macro.
10704 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10716 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10717 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10734 [XPG3] (acosh): Likewise.
10735 [XPG3] (asinh): Likewise.
10736 [XPG3] (atanh): Likewise.
10737 [XPG3] (cbrt): Likewise.
10738 [XPG3] (expm1): Likewise.
10739 [XPG3] (ilogb): Likewise.
10740 [XPG3] (log1p): Likewise.
10741 [XPG3] (logb): Likewise.
10742 [XPG3] (nextafter): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10745 [XPG3] (remainder): Likewise.
10746 [XPG3] (rint): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10754 [UNIX98 || XOPEN2K] (scalb): Expect.
10755 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10756 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10840 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10873 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10874 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10875 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10876 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10877 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10878 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10879 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10880 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10881 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10882 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10883 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10884 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10885 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10886 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10887 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10888 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10889 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10890 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10891 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10892
73c5ebe3
JM
10893 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10894 _XOPEN_SOURCE_EXTENDED for XPG4.
10895
39c33b6c
JM
10896 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10897
62fde54f
JM
10898 * Makeconfig (localtime): Remove variable.
10899 (inst_localtime-file): Likewise.
10900
0741d64c
AS
109012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10902
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10904 Update.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10906 Update.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10908 Update.
10909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10910 Update.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10912 Update.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10914 Update.
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10916 Update.
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10918 Update.
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10920 Update.
10921
7cb029ee
JM
109222012-05-01 Joseph Myers <joseph@codesourcery.com>
10923
10924 [BZ #2550]
10925 [BZ #2570]
10926 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10927 comparisons to determine direction to adjust input.
10928 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10929 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10930 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10931 Likewise.
10932 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10933 Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10935 Likewise.
10936 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10937 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10938 Likewise.
10939 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10940 Likewise.
10941 * math/libm-test.inc (nexttoward_test): Add more tests.
10942
412bd966
AS
109432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10944
10945 [BZ #14040]
10946 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10947 in version GLIBC_2.1, not GLIBC_2.0.
10948 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10949 Likewise.
10950
9568c0c2
JM
109512012-04-30 Joseph Myers <joseph@codesourcery.com>
10952
adfbc8ac
JM
10953 [BZ #13942]
10954 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10955 (1 - x) * (1 + x).
10956 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10957 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10958 * math/libm-test.inc (acos_test): Add more tests.
10959 (asin_test): Likewise.
10960 * sysdeps/i386/fpu/libm-test-ulps: Update.
10961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10962
5ba3cc69
JM
10963 [BZ #14034]
10964 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10965 of square root.
10966 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10967 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10968 * math/libm-test.inc (acos_test_tonearest): New function.
10969 (acos_test_towardzero): Likewise.
10970 (acos_test_downward): Likewise.
10971 (acos_test_upward): Likewise.
10972 (asin_test_tonearest): Likewise.
10973 (asin_test_towardzero): Likewise.
10974 (asin_test_downward): Likewise.
10975 (asin_test_upward): Likewise.
10976 (main): Call the new functions.
10977 * sysdeps/i386/fpu/libm-test-ulps: Update.
10978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10979
9568c0c2
JM
10980 [BZ #13884]
10981 [BZ #13924]
10982 * math/e_exp10.c: Include <float.h>.
10983 (__ieee754_exp10): Handle underflow here rather than multiplying
10984 large negative argument by M_LN10.
10985 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10986 of __ieee754_expf.
10987 * math/e_exp10l.c: Include <float.h>.
10988 (__ieee754_exp10l): Handle underflow here rather than multiplying
10989 large negative argument by M_LN10l.
10990 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10991 spurious overflow exception on underflow.
10992
5ac3ea17
MP
109932012-04-29 Marek Polacek <polacek@redhat.com>
10994
10995 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10996 (__fortify_function): New macro.
10997 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10998 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10999 __extern_always_inline.
11000 * libio/bits/stdio2.h: Likewise.
11001 * libio/bits/stdio.h: Likewise.
11002 * string/string.h: Likewise.
11003 * string/bits/string3.h: Likewise.
11004 * include/stdio.h: Likewise.
11005 * stdlib/bits/stdlib.h: Likewise.
11006 * stdlib/stdlib.h: Likewise.
11007 * rt/bits/mqueue2.h: Likewise.
11008 * rt/mqueue.h: Likewise.
11009 * posix/bits/unistd.h: Likewise.
11010 * posix/unistd.h: Likewise.
11011 * io/bits/poll2.h: Likewise.
11012 * io/bits/fcntl2.h: Likewise.
11013 * io/fcntl.h: Likewise.
11014 * io/sys/poll.h: Likewise.
11015 * misc/bits/syslog.h: Likewise.
11016 * misc/bits/syslog-ldbl.h: Likewise.
11017 * misc/sys/syslog.h: Likewise.
11018 * socket/bits/socket2.h: Likewise.
11019 * socket/sys/socket.h: Likewise.
11020 * debug/tst-chk1.c: Likewise.
11021 * wcsmbs/bits/wchar2.h: Likewise.
11022 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11023 * wcsmbs/wchar.h: Likewise.
11024
ecf0ebfb
AJ
110252012-04-29 Andreas Jaeger <aj@suse.de>
11026
11027 * Makerules (tests): Remove enable-check-abi protection.
11028 (check-abi-warn): Remove.
11029 (check-abi-%): Remove check-abi-warn usage.
11030
11031 * configure.in: Remove check-abi configure option.
11032 * configure: Regenerated.
11033 * config.make.in (enable-check-abi): Remove.
11034
6d5c57fa
AS
110352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11036
24c5d07e 11037 [BZ #14033]
ded5180a
AS
11038 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11039 double functions to double *_finite functions.
11040
7e0d315d
AS
11041 [BZ #13941]
11042 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11043 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11044 LDBL_MIN_EXP.
11045 * stdio-common/Makefile (tests): Add tst-sprintf3.
11046 * stdio-common/tst-sprintf3.c: New file.
11047
6d5c57fa
AS
11048 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11049 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11050
0749ff8b
JM
110512012-04-28 Joseph Myers <joseph@codesourcery.com>
11052
11053 * conform/conformtest.pl: Remove duplicate typed-constant
11054 handling.
11055
8dbd5d7b
DM
110562012-04-28 David S. Miller <davem@davemloft.net>
11057
11058 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11059 (check-abi-%): Remove AWK script prerequisite and explicit
11060 abilist directory.
11061 (check-abi): Rewrite to just diff the symlist with the abilist.
11062 (config-tls, config-abi-config): Delete, no longer used.
11063 (update-abi-%): Remove AWK script and explicit abilist directory.
11064 (update-abi): Rewrite to simply compare and conditionally copy the
11065 symlist and the sysdep abilist file. Remove update-abi-config
11066 checks.
11067 * abilist/ld.abilist: Remove.
11068 * abilist/libBrokenLocale.abilist: Remove.
11069 * abilist/libanl.abilist: Remove.
11070 * abilist/libcrypt.abilist: Remove.
11071 * abilist/libdl.abilist: Remove.
11072 * abilist/librt.abilist: Remove.
11073 * abilist/libthread_db.abilist: Remove.
11074 * abilist/libutil.abilist: Remove.
11075 * scripts/extract-abilist.awk: Remove.
11076 * scripts/merge-abilist.awk: Remove.
11077 * sysdeps/generic/libcidn.abilist: New file.
11078 * sysdeps/generic/libnss_compat.abilist: New file.
11079 * sysdeps/generic/libnss_db.abilist: New file.
11080 * sysdeps/generic/libnss_dns.abilist: New file.
11081 * sysdeps/generic/libnss_files.abilist: New file.
11082 * sysdeps/generic/libnss_hesiod.abilist: New file.
11083 * sysdeps/generic/libnss_nis.abilist: New file.
11084 * sysdeps/generic/libnss_nisplus.abilist: New file.
11085 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11086 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11087 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11088 file.
11089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11090 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11091 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11092 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11093 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11094 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11095 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11096 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11097 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11098 file.
11099 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11100 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11101 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11102 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11103 file.
11104 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11105 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11106 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11107 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11108 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11109 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11110 file.
11111 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11112 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11113 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11114 file.
11115 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11117 New file.
11118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11119 New file.
11120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11121 New file.
11122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11123 New file.
11124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11125 New file.
11126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11127 New file.
11128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11129 New file.
11130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11131 New file.
11132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11133 New file.
11134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11135 New file.
11136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11137 New file.
11138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11139 New file.
11140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11141 New file.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11143 file.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11145 New file.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11147 New file.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11149 file.
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11151 New file.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11153 New file.
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11155 file.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11157 New file.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11159 New file.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11161 New file.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11163 New file.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11165 New file.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11167 New file.
11168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11170 file.
11171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11172 New file.
11173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11174 file.
11175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11176 file.
11177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11178 file.
11179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11180 file.
11181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11182 file.
11183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11184 New file.
11185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11186 file.
11187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11188 file.
11189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11190 New file.
11191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11192 file.
11193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11195 file.
11196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11197 New file.
11198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11199 file.
11200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11201 file.
11202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11203 file.
11204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11205 file.
11206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11207 file.
11208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11209 New file.
11210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11211 file.
11212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11213 file.
11214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11215 New file.
11216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11217 file.
11218 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11219 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11220 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11221 file.
11222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11223 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11224 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11225 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11226 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11227 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11228 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11229 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11230 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11231 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11234 file.
11235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11236 New file.
11237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11238 file.
11239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11240 file.
11241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11242 file.
11243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11244 file.
11245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11246 file.
11247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11248 New file.
11249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11250 New file.
11251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11252 file.
11253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11254 New file.
11255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11256 file.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11259 file.
11260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11261 New file.
11262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11263 file.
11264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11265 file.
11266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11267 file.
11268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11269 file.
11270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11271 file.
11272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11273 New file.
11274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11275 New file.
11276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11277 file.
11278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11279 New file.
11280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11281 file.
11282
41d73a1b
JM
112832012-04-28 Joseph Myers <joseph@codesourcery.com>
11284
11285 * conform/conformtest.pl: Fix typo in handling typed-constant from
11286 allow-header.
11287
28aeeda4
JM
112882012-04-27 Joseph Myers <joseph@codesourcery.com>
11289
adae8f5e
JM
11290 * README: Cut down references to pre-2.6 Linux kernels and
11291 Linuxthreads. Update lists of configurations in libc and ports
11292 and sort alphabetically. Say "or newer" with Linux kernel version
11293 requirements.
11294
28aeeda4
JM
11295 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11296
a462cb63
RA
112972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11298
11299 [BZ #887]
11300 * math/libm-test.inc (logb_test_downward): New test to expose
11301 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11302 rounding mode.
11303
6ad3493e
JM
113042012-04-27 Joseph Myers <joseph@codesourcery.com>
11305
11306 [BZ #14027]
11307 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11308 to be done.
11309 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11310 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11311
2ce4f015
JM
113122012-04-26 Joseph Myers <joseph@codesourcery.com>
11313
5aeb141a
JM
11314 * sysdeps/unix/i386/brk.S: Remove file.
11315 * sysdeps/unix/i386/dl-brk.S: Likewise.
11316 * sysdeps/unix/i386/pipe.S: Likewise.
11317 * sysdeps/unix/i386/sigreturn.S: Likewise.
11318 * sysdeps/unix/i386/syscall.S: Likewise.
11319 * sysdeps/unix/i386/vfork.S: Likewise.
11320 * sysdeps/unix/i386/wait.S: Likewise.
11321
7143acae
JM
11322 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11323 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11324
2ce4f015
JM
11325 * configure.in (arm*-none*): Do not allow without
11326 --enable-hacker-mode.
11327 (netbsd*): Remove case setting base_os.
11328 (386bsd*): Likewise.
11329 (freebsd*): Likewise.
11330 (bsdi*): Likewise.
11331 (osf*): Likewise.
11332 (sunos*): Likewise.
11333 (ultrix*): Likewise.
11334 (newsos*): Likewise.
11335 (dynix*): Likewise.
11336 (*bsd*): Likewise.
11337 (sysv*): Likewise.
11338 (isc*): Likewise.
11339 (esix*): Likewise.
11340 (sco*): Likewise.
11341 (minix*): Likewise.
11342 (irix4*): Likewise.
11343 (irix6*): Likewise.
11344 (solaris[2-9]*): Likewise.
11345 (none): Likewise.
11346 * configure: Regenerated.
11347
0ac229c8
AZ
113482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11349
11350 [BZ #11521]
11351 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11352 overflow or cancellation in calculating denominator.
11353 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11355 down expression to avoid unexpected rounding in newer GCCs.
11356 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11357
33f244f4
DM
113582012-04-26 David S. Miller <davem@davemloft.net>
11359
11360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11361 long-double compat symbols.
11362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11375
cfa1f3e8
DM
113762012-04-25 David S. Miller <davem@davemloft.net>
11377
11378 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11379 HWCAP_* values only after the memory barriers have been defined.
11380 (atomic_full_barrier): Define.
11381 (atomic_read_barrier): Define.
11382 (atomic_write_barrier): Define.
11383
6e236b92
SP
113842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11385
11386 * shlib-versions: Add libgcc_s version information.
11387 * sysdeps/generic/libgcc_s.h: Remove.
11388 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11389 libgcc_s.h.
11390 * sysdeps/gnu/unwind-resume.c: Likewise.
11391 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11392
aab39a09
DM
113932012-04-25 David S. Miller <davem@davemloft.net>
11394
11395 * sysdeps/unix/sparc/brk.S: Delete.
11396 * sysdeps/unix/sparc/dl-brk.S: Delete.
11397 * sysdeps/unix/sparc/pipe.S: Delete.
11398 * sysdeps/unix/sparc/sysdep.S: Delete.
11399 * sysdeps/unix/sparc/sysdep.h: Delete.
11400 * sysdeps/unix/sparc/vfork.S: Delete.
11401 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11402 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11404 ret_ERRVAL, r0, r1, MOVE): Define.
11405 (JUMPTARGET): Remove.
11406 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11407 sysdeps/unix/sparc/sysdep.h
11408 (ENTRY, END): Remove.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11410
a3cc4f48
JM
114112012-04-25 Joseph Myers <joseph@codesourcery.com>
11412
2ed8cda2
JM
11413 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11414 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11415 -DIS_IN_build.
11416
35d76d59
JM
11417 * timezone/README: Update upstream location and email address for
11418 tzcode and tzdata.
11419 * timezone/zdump.c: Update from tzcode 2012b.
11420 * timezone/zic.c: Likewise.
11421
a3cc4f48
JM
11422 * configure.in (libc_cv_as_needed): Remove test.
11423 * configure: Regenerated.
11424 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11425 conditional definition.
11426 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11427 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11428 * config.make.in (have-as-needed): Remove variable.
11429
ceab42c3
SP
114302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11431 Paul Pluzhnikov <ppluzhnikov@google.com>
11432
11433 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11434 strings correctly.
11435
3ce2865f
CLT
114362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11437
11438 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11439 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11440 * sysdeps/sh/strlen.S: Likewise.
11441
f37e0d68
JM
114422012-04-24 Joseph Myers <joseph@codesourcery.com>
11443
ae186e9a
JM
11444 * sysdeps/unix/fork.S: Remove file.
11445 * sysdeps/unix/i386/fork.S: Likewise.
11446 * sysdeps/unix/sparc/fork.S: Likewise.
11447
b96914af
JM
11448 * sysdeps/unix/system.c: Remove file.
11449 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11450
f37e0d68
JM
11451 * sysdeps/unix/getegid.S: Remove file.
11452 * sysdeps/unix/geteuid.S: Likewise.
11453
87ef29ca
RM
114542012-04-24 Roland McGrath <roland@hack.frob.com>
11455
83bcd236
RM
11456 * scripts/check-localplt.awk: New file.
11457 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11458 of diff.
11459 * scripts/data/localplt-generic.data: Add a comment.
11460
87ef29ca
RM
11461 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11462 NODE when __dir_mkfile failed.
11463 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11464 Reported by Ludovic Courtès <ludo@gnu.org>.
11465
e5a6e567
AJ
114662012-04-24 Andreas Jaeger <aj@suse.de>
11467
11468 * Makerules (common-clean): Also remove gen-as-const-headers
11469 files.
11470
c1820385
JM
114712012-04-24 Joseph Myers <joseph@codesourcery.com>
11472
11473 * Makerules (native-compile): Do not change working directory for
11474 build. Use $(OUTPUT_OPTION) in command.
11475 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11476
94e02fc4
AZ
114772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11478
11479 [BZ #13886]
11480 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11481 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11482 * math/libm-test.inc (floor_test): Add more tests.
11483 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11484
3a533ca3
JM
114852012-04-24 Joseph Myers <joseph@codesourcery.com>
11486
940ab4b3
JM
11487 * sysdeps/unix/getdents.c: Remove file.
11488 * sysdeps/unix/sysv/getdents.c: Likewise.
11489 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11490
90e037bd
JM
11491 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11492 sysdeps/unix/mman/syscalls.list.
11493 (mmap): Likewise.
11494 (mprotect): Likewise.
11495 (msync): Likewise.
11496 (munmap): Likewise.
11497 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11498 * sysdeps/unix/mman/syscalls.list: Remove.
11499 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11500
3a533ca3
JM
11501 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11502 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11503 * configure: Regenerated.
11504 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11505 $(libgcc_s_suffix).
11506 * config.make.in (libgcc_s_suffix): Remove variable.
11507
1ad743de
JM
115082012-04-23 Joseph Myers <joseph@codesourcery.com>
11509
4ad451e2
JM
11510 * sysdeps/unix/sysv/gethostname.c: Move to ...
11511 * sysdeps/posix/gethostname.c: ... here.
11512
5e37ce39
JM
11513 * sysdeps/unix/execve.S: Remove file.
11514
1ad743de
JM
11515 * sysdeps/unix/_exit.S: Remove file.
11516
4e681b5b
AJ
115172012-04-23 Andreas Jaeger <aj@suse.de>
11518
11519 [BZ #13739]
11520 * manual/Makefile: Remove make dist support, there's no
11521 need for a stand-alone documentation tar ball.
11522 (TEXI2DVI): Define always, it's not in Makeconfig.
11523 (dist): Removed.
11524 (tar-it): Removed.
11525 (edition): Removed.
11526 (glibc-doc-$(edition).tar): Removed
11527 (%.Z): Removed.
11528 (%.gz): Removed.
11529 (%.uu): Removed.
11530 (ETAGS): Remove, it's in Makeconfig.
11531 (move-if-change): Remove, it's in Makeconfig.
11532
c0baea34
PE
115332013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11534
11535 [BZ #13970]
11536 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11537 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11538 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11539 (strtod_l, strtof_l, strtold_l): Remove __wur.
11540 It is not necessarily an error to ignore strtol's return value.
11541 One can reliably look at the stored endptr to decide whether
11542 the number had valid syntax.
11543
7c0616fa
AJ
115442012-04-21 Andreas Jaeger <aj@suse.de>
11545
803cb6b7 11546 [BZ #13739]
7c0616fa
AJ
11547 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11548
b0fe253f
JM
115492012-04-21 Joseph Myers <joseph@codesourcery.com>
11550
11551 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11552 * sysdeps/unix/sysv/Versions: Remove file.
11553
8280f22d
MT
115542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11555
11556 [BZ #13927]
11557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11558
75ce411f 115592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11560
11561 [BZ #7064]
11562 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11563 version from __vm86.
11564
097d59fa
JM
115652012-04-20 Joseph Myers <joseph@codesourcery.com>
11566
a90f3bcb
JM
11567 * sysdeps/unix/common/lxstat.c: Remove file.
11568 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11569
edc7ea78
JM
11570 * sysdeps/unix/sysv/Makefile: Remove file.
11571
cb78c221
JM
11572 * sysdeps/unix/sysv/direct.h: Remove file.
11573
efa6a45f
JM
11574 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11575 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11576 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11577 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11578 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11579 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11580 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11581
9c9f2d0c
JM
11582 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11583
4541c83b
JM
11584 * sysdeps/unix/xmknod.c: Remove file.
11585 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11586
f5d153a0
JM
11587 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11588
aa746595
JM
11589 * sysdeps/unix/sysv/i386/time.S: Remove file.
11590
cce5905e
JM
11591 * sysdeps/unix/fxstat.c: Remove file.
11592 * sysdeps/unix/xstat.c: Likewise.
11593 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11594
37fa3841
JM
11595 * sysdeps/unix/sysv/sigaction.c: Remove file.
11596
ff1962a3
JM
11597 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11598 (sysdep_headers): Remove variable.
11599 [termio.h not in sysdep_headers] (generated): Likewise.
11600 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11601 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11602 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11603 * sysdeps/unix/sysv/tcflow.c: Likewise.
11604 * sysdeps/unix/sysv/tcflush.c: Likewise.
11605 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11606 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11607 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11608 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11609 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11610
e7740d31
JM
11611 * sysdeps/unix/siglist.c: Remove file.
11612
ee06f18b
JM
11613 * sysdeps/unix/getppid.S: Remove file.
11614
097d59fa
JM
11615 * sysdeps/unix/mkdir.c: Remove file.
11616 * sysdeps/unix/rmdir.c: Likewise.
11617
ff3d51ec
AS
116182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11619
11620 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11621 ERR_MAX value.
11622 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11623 errlist-compat value.
11624
50f81fd7
DM
116252012-04-18 David S. Miller <davem@davemloft.net>
11626
11627 * sysdeps/generic/memcopy.h (reg_char): Delete.
11628 * debug/strcat_chk.c: Use char, not reg_char.
11629 * debug/strcpy_chk.c: Likewise.
11630 * debug/strncat_chk.c: Likewise.
11631 * debug/strncpy_chk.c: Likewise.
11632 * string/memchr.c: Likewise.
11633 * string/memrchr.c: Likewise.
11634 * string/rawmemchr.c: Likewise.
11635 * string/strcat.c: Likewise.
11636 * string/strchr.c: Likewise.
11637 * string/strchrnul.c: Likewise.
11638 * string/strcmp.c: Likewise.
11639 * string/strcpy.c: Likewise.
11640 * string/strncat.c: Likewise.
11641 * string/strncmp.c: Likewise.
11642 * string/strncpy.c: Likewise.
11643
8ff41c46
WS
116442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11645
11646 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11647 __builtin_memcopy is called when src and dest ranges are known to not
11648 overlap.
11649
6b652f46
WS
116502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11651
11652 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11653 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11654 fwd_align_merge macro call.
11655 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11656 bwd_align_merge macro call.
11657 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11658
b282631e
WS
116592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11660
11661 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11662 bwd_align_merge macros.
11663 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11664 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11665 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11666
95aa737c
DM
116672012-04-18 David S. Miller <davem@davemloft.net>
11668
11669 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11670
7a99a614
AJ
116712012-04-18 Andreas Jaeger <aj@suse.de>
11672
11673 [BZ# 6794]
11674 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11675 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11676 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11677
11678 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11679 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11680 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11681
11682 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11683 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11684 Adjust for changed ldbl-128 files.
11685
11686 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11687 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11688 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11689
e5270c23
DM
116902012-04-17 David S. Miller <davem@davemloft.net>
11691
11692 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11693
fb5e92c9
AS
116942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11695
11696 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11697 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11698 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11699 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11700 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11701 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11702
76da7265
AZ
117032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11704
11705 [BZ #6794]
11706 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11707 * math/libm-test.inc: Add ilogb errno and exception tests.
11708 * math/w_ilogb.c: New file: ilogb wrapper.
11709 * math/w_ilogbf.c: New file: ilogbf wrapper.
11710 * math/w_ilogbl.c: New file: ilogbl wrapper.
11711 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11712 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11713 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11714 exception being thrown with 0.0 as argument.
11715 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11716 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11717 exception being thrown with 0.0 as argument.
11718 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11719 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11720 exception being thrown with 0.0 as argument.
11721 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11722 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11723 exception being thrown with 0.0 as argument.
11724 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11725 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11726 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11727 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11728 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11729 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11730 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11731 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11732 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11733
0396e69d
PB
117342012-04-17 Petr Baudis <pasky@ucw.cz>
11735
11736 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11737 with altivec.
11738
750b5926
MP
117392012-04-16 Marek Polacek <polacek@redhat.com>
11740
11741 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11742
751728a1
MP
117432012-04-16 Marek Polacek <polacek@redhat.com>
11744
11745 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11746 operands of fdivp instruction.
11747
34a27407
L
117482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11751 * elf/tst-auditmod3b.c: Likewise.
11752 * elf/tst-auditmod4b.c: Likewise.
11753 * elf/tst-auditmod5b.c: Likewise.
11754 * elf/tst-auditmod6b.c: Likewise.
11755 * elf/tst-auditmod6c.c: Likewise.
11756 * elf/tst-auditmod7b.c: Likewise.
11757 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11758 * sysdeps/x86_64/preconfigure.in: Likewise.
11759 * sysdeps/x86_64/preconfigure: Regenerated.
11760
7e73e17d
L
117612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11762
11763 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11764 __ILP32__.
11765
c7a6ab72
AB
117662012-04-13 Antoine Balestrat <merkil33@gmail.com>
11767
11768 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11769 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11770
a9e8e0e0
CL
117712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11772
11773 [BZ #13973]
11774 * locale/iso-639.def: Fix gl language name. Spotted by
11775 Yaron Shahrabani.
11776
ec98af7d
RM
117772012-04-12 Roland McGrath <roland@hack.frob.com>
11778
11779 [BZ #2074]
11780 * libio/libio.h (__io_write_fn): Update comment.
11781
247c3ede
PB
117822012-04-12 Petr Baudis <pasky@ucw.cz>
11783
11784 [BZ #2074]
11785 * stdio.texi (Hook Functions): The user provided writer function
11786 is not allowed to return -1.
11787
55939d6d
DM
117882012-04-11 David S. Miller <davem@davemloft.net>
11789
11790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11791
90020f5a
MF
117922012-04-11 Mike Frysinger <vapier@gentoo.org>
11793
11794 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11795 Add a leading slash to rtkaio.
11796
288f9098
JM
117972012-04-11 Jim Meyering <meyering@redhat.com>
11798
90020f5a
MF
11799 [BZ #11959]
11800 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11801 It is not necessarily an error to ignore fwrite's return
11802 value. One can reliably use ferror to test for errors after
11803 the fact.
288f9098 11804
4be2b570
L
118052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 * bits/types.h (__snseconds_t): New type.
11808 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11809
11810 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11812 (__SNSECONDS_T_TYPE): Likewise.
11813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11814 (__SNSECONDS_T_TYPE): Likewise.
11815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11816 (__SNSECONDS_T_TYPE): Likewise.
11817
288f9098 118182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11819
11820 [BZ #2636]
11821 * manual/time.texi (Processor Time): Return type of times is
11822 elapsed real time since an arbitrary point in the past.
11823 (CPU Time): Move CLK_TCK from here...
11824 (Processor Time): ...to here. Correct description.
11825 * manual/conf.texi (Constants for Sysconf): Correct description of
11826 _SC_CLK_TCK.
11827
d7dd4413
DM
118282012-04-10 David S. Miller <davem@davemloft.net>
11829
11830 [BZ #13967]
11831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11832 where the is a gap between DT_REL(A) and DT_JMPREL.
11833
b46068fc
L
118342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11835
11836 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11837 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11838 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11839
73d65cc3
SP
118402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11841
11842 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11843 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11844 (dl_main): Handle --inhibit-cache.
11845 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11846 _dl_inhibit_cache.
11847 * elf/dl-load.c (_dl_map_object): Use it.
11848 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11849
bcc8d661
JM
118502012-04-09 Joseph Myers <joseph@codesourcery.com>
11851
8f9a2fae
JM
11852 [BZ #13872]
11853 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11854 (__ieee754_powl): Saturate large exponents rather than testing for
11855 overflow of y*log2(x).
11856 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11857 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11858 exceptions.
11859
bcc8d661
JM
11860 [BZ #11521]
11861 * math/s_ctan.c: Include <float.h>.
11862 (__ctan): Avoid internal overflow or cancellation in calculating
11863 denominator.
11864 * math/s_ctanf.c: Likewise.
11865 * math/s_ctanl.c: Likewise.
11866 * math/s_ctanh.c: Likewise.
11867 * math/s_ctanhf.c: Likewise.
11868 * math/s_ctanhl.c: Likewise.
11869 * math/libm-test.inc (ctan_test): Add more tests.
11870 (ctanh_test): Likewise.
11871 * sysdeps/i386/fpu/libm-test-ulps: Update.
11872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11873
823fbbb4
AJ
118742012-04-09 Andreas Jaeger <aj@suse.de>
11875
03879793
AJ
11876 [BZ #6894]
11877 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11878 is an optional BSD extension.
11879
823fbbb4
AJ
11880 [BZ #10254]
11881 * manual/stdio.texi (Opening Streams): Document additional fopen
11882 parameters.
11883
8de131cb
RM
118842012-04-09 Roland McGrath <roland@hack.frob.com>
11885
11886 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11887 %eax without telling the compiler.
11888
c0ed9d7d
CD
118892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11890
11891 [BZ # 13963]
11892 * manual/install.texi: Use sourceware.org.
11893
c483f6b4
JM
118942012-04-09 Joseph Myers <joseph@codesourcery.com>
11895
d7dd9453
JM
11896 [BZ #13873]
11897 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11898 (__ieee754_pow): Generate overflow and underflow using huge*huge
11899 and tiny*tiny rather than just returning constant infinity or zero
11900 for large exponents.
11901 * math/libm-test.inc (pow_test): Require overflow exceptions for
11902 applicable cases of large exponents.
11903
c483f6b4
JM
11904 [BZ #706]
11905 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11906 (__ieee754_pow): Use iterative multiplication algorithm only for
11907 integer exponents with absolute value below 1024. Check for odd
11908 integer exponents when using algorithm for real exponents.
11909 * math/libm-test.inc (pow_test): Add more tests.
11910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11911
d2de7579
JM
119122012-04-08 Joseph Myers <joseph@codesourcery.com>
11913
11914 [BZ #13705]
11915 * math/libm-test.inc (exp_test): Do not allow overflow exception
11916 on underflow test.
11917
f77f1232
AJ
119182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11919
11920 [BZ #13705]
11921 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11922 instead of __kernel_standard_f.
11923
3884932b
MF
119242012-04-08 Mike Frysinger <vapier@gentoo.org>
11925
11926 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11927 * sysdeps/x86_64/memset_chk.S: Likewise.
11928
54472e9c
AJ
119292012-04-08 Andreas Jaeger <aj@suse.de>
11930
6ab0fbfc
AJ
11931 [BZ #10153]
11932 * manual/startup.texi (Environment Access): Describe return value
11933 for putenv and setenv.
11934
61efba8c
AJ
11935 [BZ #6895]
11936 * manual/filesys.texi (Directory Entries): Add description for
11937 DT_LNK.
11938
95c3f29a
AJ
11939 [BZ #6890]
11940 * manual/filesys.texi (Directory Entries): Clarify that it's file
11941 system not operating system in the description of DT_UNKNOWN.
11942
54472e9c
AJ
11943 [BZ #6578]
11944 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11945
624254b1
SC
119462012-04-08 Stephen Compall <s11@member.fsf.org>
11947
11948 [BZ #6649]
11949 * manual/llio.texi (Opening and Closing Files): Add cross
11950 reference to explain mode argument.
11951
1e4920e0
MF
119522012-04-07 Mike Frysinger <vapier@gentoo.org>
11953
11954 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11955 * sysdeps/x86_64/memset_chk.S: Likewise.
11956
5ed848f3
DM
119572012-04-07 David S. Miller <davem@davemloft.net>
11958
11959 * elf/elf.h (R_SPARC_WDISP10): Define.
11960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11961 R_SPARC_SIZE32.
11962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11963 R_SPARC_SIZE64 and R_SPARC_H34.
11964
96154cd8
CD
119652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11966
11967 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11968 conditions and remove no longer applicable assertion.
11969
9904dc47
L
119702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11971
11972 * bits/byteswap.h: Include <features.h>.
11973 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11974 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11975
f8887d0a
L
119762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11977
11978 * bits/byteswap.h (__bswap_16): Removed.
11979 Include <bits/byteswap-16.h> to get __bswap_16.
11980 * sysdeps/i386/bits/byteswap.h: Likewise.
11981 * sysdeps/s390/bits/byteswap.h: Likewise.
11982 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11983 * bits/byteswap-16.h: New file.
11984 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11985 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11986 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11987 * string/Makefile (headers): Add bits/byteswap-16.h.
11988
62470f60
PP
119892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11990
11991 [BZ #13895]
11992 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11993 extra indirection.
11994 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11995 * nss/tst-nss-static.c: New.
11996
4dad7bab
RM
119972012-04-06 Robert Millan <rmh@gnu.org>
11998
11999 [BZ #6486]
12000 * manual/llio.texi (File Position Primitive): lseek
12001 refers to WHENCE when it really means OFFSET.
12002
e9142a17
AJ
120032012-04-06 Andreas Jaeger <aj@suse.de>
12004
2c040eff
AJ
12005 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12006 strncmp declarations.
12007
e9142a17
AJ
12008 * abilist/libc.abilist: Add __poll and __ppoll.
12009
ff9f1c5f
DM
120102012-04-05 David S. Miller <davem@davemloft.net>
12011
dcd2ae90
DM
12012 * scripts/check-local-headers.sh: Accept a host triplet in the
12013 path matched by the exclude regexp.
12014
993eb054
DM
12015 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12016 definition.
12017 * sysdeps/powerpc/powerpc32/dl-machine.h
12018 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12019 * sysdeps/s390/s390-32/dl-machine.h
12020 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12021 * sysdeps/sparc/sparc32/dl-machine.h
12022 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12023 * sysdeps/sparc/sparc64/dl-machine.h
12024 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12025
ff9f1c5f
DM
12026 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12027 lazy binding.
48e2e132 12028 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12029 undefined symbol errors.
12030
48e2e132 12031 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12032 DT_NEEDED entries.
12033
e80d6f94
MM
120342012-04-05 Michael Matz <matz@suse.de>
12035
12036 [BZ #13592]
12037 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12038
349fa79f
AJ
120392012-04-05 Andreas Jaeger <aj@suse.de>
12040
12041 [BZ #13908]
12042 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12043 comment.
12044
f402708f
KK
120452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12046
12047 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12048 which ROUND is no valid rounding mode.
12049
2ecccfc9
KK
120502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12051
12052 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12053 read again.
12054 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12055
8a53f50f
KK
120562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12057
12058 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12059 an exception using FPU order intentionally.
12060
120612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12062
12063 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12064 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12065 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12066 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12067
d653abb7
SJ
120682012-04-05 Simon Josefsson <simon@josefsson.org>
12069
12070 [BZ #12340]
12071 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12072 EINVAL when BUFLEN is too smal.
12073
c3b1bf7d
TS
120742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12075
12076 [BZ #13553]
12077 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12078 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12079
b1aa60f3
AJ
120802012-04-03 Andreas Jaeger <aj@suse.de>
12081
c3b1bf7d 12082 [BZ #13938]
67f60a26
AJ
12083 * manual/setjmp.texi (System V contexts): Fix sentence.
12084
b1aa60f3
AJ
12085 [BZ #13926]
12086 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12087 New macro for this case.
12088 [!__GNUC__] (__bswap_64): New inline function for this case.
12089 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12090 * bits/byteswap.h: Likewise.
12091 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12092 ull, guard with __GLIBC_HAVE_LONG_LONG.
12093
12094 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12095 __GLIBC_HAVE_LONG_LONG.
12096
12097 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12098 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12099
39c59c35
TMQMF
121002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12101
12102 [BZ #13691]
12103 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12104 inptr and inend, rather than using last_ch.
12105
135ffda8
DM
121062012-04-02 David S. Miller <davem@davemloft.net>
12107
12108 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12109 * stdio-common/printf-parse.h (read_int): Change return type to
12110 'int', return -1 on INT_MAX overflow.
12111 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12112 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12113 overflows INT_MAX. Check for overflow of in-format-string precision
12114 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12115 SIZE_MAX not INT_MAX for integer overflow test.
12116 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12117 skip the construct in the format string but do not record anything.
12118 * stdio-common/bug22.c: Adjust to test both width/prevision
12119 INT_MAX overflow as well as total length INT_MAX overflow. Check
12120 explicitly for proper errno values.
12121
228c019e
TS
121222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12123
302cadd3
TS
12124 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12125 CHAR_MAX.
12126 * string/test-strcmp.c [! WIDE]: Likewise.
12127 * time/tst-mktime2.c: Likewise for INT_MAX.
12128 * string/test-string.h: #include <sys/param.h> for MIN.
12129
228c019e
TS
12130 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12131 * sysdeps/i386/init-first.c (init): Likewise.
12132 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12133 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12134 * sysdeps/sh/init-first.c (init): Likewise.
12135
cfa633f5
UD
121362012-04-01 Ulrich Drepper <drepper@gmail.com>
12137
12138 * po/ru.po: Update from translation team.
d1635ef8 12139 * po/vi.po: Likewise.
cfa633f5 12140
6cd0a5ea
SP
121412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12142
12143 * resolv/nss_dns/dns-host.c: Merge copyright years.
12144
4b43400f
LD
121452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12146
12147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12148 Optimize memcpy with prefetch if
12149 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12150 src, dst pointers have unequal 16 byte alignments.
12151
48c41d04
SP
121522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12153
12154 [BZ #13928]
12155 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12156 from a CNAME entry and return the minimum ttl for the query.
12157 (gaih_getanswer_slice): Likewise.
12158
b8dc394d
JL
121592012-03-30 Jeff Law <law@redhat.com>
12160
12161 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12162 due to long keys.
12163 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12164 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12165
2f5a5ed0
JL
12166 * resolv/nss_dns/dns-host.c: Update copyright year.
12167
1d39e359
UD
121682012-03-30 Ulrich Drepper <drepper@gmail.com>
12169
c030f70c 12170 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12171 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12172
1d39e359
UD
12173 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12174 comments for sendmmsg.
12175
121762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12177
12178 [BZ #13691]
12179 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12180 with only 1 character between 0x0041 and 0x01b0.
12181 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12182 * wcsmbs/tst-mbsnrtowcs.c: New file.
12183
20fde227
DM
121842012-03-29 David S. Miller <davem@davemloft.net>
12185
12186 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12187 small copies by hand.
12188
984a4237
JL
121892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12190
12191 [BZ #13761]
12192 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12193 _nss_compat_initgroups_dyn): Fall back to malloc/free
12194 for large group memberships.
12195
18c9d62b
DM
121962012-03-28 David S. Miller <davem@davemloft.net>
12197
88d85d4f
DM
12198 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12199 that branches into memcpy.
12200 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12201 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12203 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12205 bits.
12206 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12207 implementation too.
12208 * sysdeps/sparc/mempcpy.S: New file.
12209
e5aa83e1
DM
12210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12211 the IFUNC routine in the libc case.
12212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12213
88570753
DM
12214 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12215 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12216 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12217 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12218 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12219 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12220 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12221 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12222
249d7567
DM
12223 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12224 loop to 256 bytes instead of 64 bytes and fix test signedness.
12225
18c9d62b
DM
12226 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12227 * sysdeps/sparc/sparc32/Makefile: rather than here...
12228 * sysdeps/sparc/sparc64/Makefile: and here.
12229
05f3d1f6
UD
122302012-03-28 Ulrich Drepper <drepper@gmail.com>
12231
12232 * malloc/mallocbug.c: Avoid warnings about unused variables.
12233
86ae07a8
JL
122342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12235
12236 [BZ #13760]
12237 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12238 in the right place. Discard and retry query if response is
12239 larger than input buffer size.
12240
41bf21a1
JM
122412012-03-28 Joseph Myers <joseph@codesourcery.com>
12242
d6270972
JM
12243 [BZ #369]
12244 [BZ #2678]
12245 [BZ #3866]
12246 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12247 x for large integer exponent.
12248 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12249 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12250 sign of result as needed afterwards.
12251 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12252 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12253 result for underflowing pow the same as for overflow.
12254 (__kernel_standard_l): Handle powl overflow and underflow here
12255 rather than calling __kernel_standard.
12256 * math/libm-test.inc (pow_test): Add more tests.
12257
414fca03 12258 [BZ #3868]
41bf21a1
JM
12259 [BZ #13879]
12260 [BZ #13910]
12261 [BZ #13911]
12262 [BZ #13912]
12263 [BZ #13913]
12264 [BZ #13915]
12265 [BZ #13916]
12266 [BZ #13917]
12267 [BZ #13918]
12268 [BZ #13919]
12269 [BZ #13920]
12270 [BZ #13921]
12271 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12272 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12273 (__kernel_standard_l): New function.
12274 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12275 __kernel_standard.
12276 * math/w_acosl.c (__acosl): Likewise.
12277 * math/w_asinl.c (__asinl): Likewise.
12278 * math/w_atan2l.c (__atan2l): Likewise.
12279 * math/w_atanhl.c (__atanhl): Likewise.
12280 * math/w_coshl.c (__coshl): Likewise.
12281 * math/w_exp10l.c (__exp10l): Likewise.
12282 * math/w_exp2l.c (__exp2l): Likewise.
12283 * math/w_fmodl.c (__fmodl): Likewise.
12284 * math/w_hypotl.c (__hypotl): Likewise.
12285 * math/w_j0l.c (__j0l, __y0l): Likewise.
12286 * math/w_j1l.c (__j1l, __y1l): Likewise.
12287 * math/w_jnl.c (__jnl, __ynl): Likewise.
12288 * math/w_lgammal.c (__lgammal): Likewise.
12289 * math/w_log10l.c (__log10l): Likewise.
12290 * math/w_log2l.c (__log2l): Likewise.
12291 * math/w_logl.c (__logl): Likewise.
12292 * math/w_powl.c (__powl): Likewise.
12293 * math/w_remainderl.c (__remainderl): Likewise.
12294 * math/w_scalbl.c (sysv_scalbl): Likewise.
12295 * math/w_sinhl.c (__sinhl): Likewise.
12296 * math/w_sqrtl.c (__sqrtl): Likewise.
12297 * math/w_tgammal.c (__tgammal): Likewise.
12298 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12299 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12300 * math/libm-test.inc (acos_test): Add more tests.
12301 (acosh_test): Likewise.
12302 (asin_test): Likewise.
12303 (atanh_test): Likewise.
12304 (exp_test): Likewise.
12305 (exp10_test): Likewise.
12306 (exp2_test): Likewise.
12307 (expm1_test): Likewise.
12308 (lgamma_test): Likewise.
12309 (log_test): Likewise.
12310 (log10_test): Likewise.
12311 (log1p_test): Likewise.
12312 (log2_test): Likewise.
12313 (pow_test): Do not allow some spurious overflow exceptions.
12314 (sqrt_test): Add more tests.
12315 (tgamma_test): Likewise.
12316 (y0_test): Likewise.
12317 (y1_test): Likewise.
12318 (yn_test): Likewise.
12319
dd62fda6
AB
123202012-03-27 Anton Blanchard <anton@samba.org>
12321
12322 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12323 MAP_HUGETLB.
12324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12325 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12327
1e3cdfda
AJ
123282012-03-27 David S. Miller <davem@davemloft.net>
12329
b855ab85
DM
12330 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12331
1e3cdfda
AJ
12332 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12333 have-as-vis3 check.
12334
123352012-03-27 Andreas Jaeger <aj@suse.de>
12336
12337 * sysdeps/x86_64/elf/configure.in: Moved to ...
12338 * sysdeps/x86_64/configure.in: ... here.
12339 * sysdeps/x86_64/elf/start.S: Moved to ...
12340 * sysdeps/x86_64/start.S: ... here.
12341 * sysdeps/x86_64/elf/configure: Delete.
12342
12343 * sysdeps/x86_64/configure.in: Merge contents from
12344 sysdeps/i386/configure.in (without i686 check).
12345
12346 * sysdeps/i386/elf/Versions: Merge into ...
12347 * sysdeps/i386/Versions: ... this.
12348 * sysdeps/i386/elf/Versions: Delete file.
12349 * sysdeps/i386/elf/start.S: Moved to ...
12350 * sysdeps/i386/start.S: ...here.
12351 * sysdeps/i386/elf/configure.in: Merge into...
12352 * sysdeps/i386/configure.in: ...here.
12353 * sysdeps/i386/elf/configure.in: Delete file.
12354 * sysdeps/i386/elf/configure: Delete file.
12355
12356 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12357 * debug/backtracesyms.c: ... here.
12358 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12359 * debug/backtracesymsfd.c: ... here.
12360 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12361 * sysdeps/generic/ifunc-sel.h: ... here.
12362
12363 * sysdeps/unix/i386/start.c: Delete file.
12364 * sysdeps/unix/sparc/start.c: Delete file.
12365 * sysdeps/unix/start.c: Delete file.
12366
12367 * sysdeps/sh/elf/configure.in: Moved to ...
12368 * sysdeps/sh/configure.in: ... here.
12369 * sysdeps/sh/elf/start.S: Moved to ...
12370 * sysdeps/sh/start.S: ... here.
12371 * sysdeps/sh/elf/configure: Delete file.
12372
12373 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12374 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12375 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12376 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12377 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12378 * sysdeps/powerpc/powerpc64/start.S: here.
12379 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12380 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12381 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12382 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12383 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12384
12385 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12386 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12387 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12388 * sysdeps/powerpc/powerpc32/start.S: ... here.
12389 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12390 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12391 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12392
12393 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12394 * sysdeps/powerpc/ifunc-sel.h: ... here.
12395 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12396 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12397
12398 * sysdeps/sparc/elf/configure.in: Moved to ...
12399 * sysdeps/sparc/configure.in: ... here.
12400 * sysdeps/sparc/elf/configure: Delete file.
12401 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12402 * sysdeps/sparc/sparc32/start.S: ... here.
12403 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12404 * sysdeps/sparc/sparc64/start.S: ... here.
12405 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12406 * sysdeps/sparc/sparc32/Makefile: ... this.
12407 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12408 * sysdeps/sparc/sparc64/Makefile: ... this.
12409
12410 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12411 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12412 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12413 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12414 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12415 * sysdeps/s390/s390-32/setjmp.S: ... here.
12416 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12417 * sysdeps/s390/s390-32/configure.in: ... here.
12418 * sysdeps/s390/s390-32/elf/configure: Delete file.
12419 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12420 * sysdeps/s390/s390-32/start.S: ... here.
12421
12422 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12423 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12424 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12425 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12426 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12427 * sysdeps/s390/s390-64/setjmp.S: ... here.
12428 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12429 * sysdeps/s390/s390-64/configure.in: ... here
12430 * sysdeps/s390/s390-64/elf/configure: Delete file.
12431 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12432 * sysdeps/s390/s390-64/start.S: ... here.
12433 * sysdeps/s390/s390-64/elf/configure: Delete.
12434
12435 * configure.in: Remove support for elf directories in sysdeps.
12436
12437 * configure: Regenerated.
12438 * sysdeps/i386/configure: Regenerated.
12439 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12440 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12441 * sysdeps/s390/s390-32/configure: Regenerated.
12442 * sysdeps/s390/s390-64/configure: Regenerated.
12443 * sysdeps/sh/configure: Regenerated.
12444 * sysdeps/sparc/configure: Regenerated.
12445 * sysdeps/x86_64/configure: Regenerated.
12446
a3f61311
AS
124472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12448
c876e002
AS
12449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12450
a3f61311
AS
12451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12452 denormal result into account.
12453
ac4c54f0
RM
124542012-03-25 Roland McGrath <roland@hack.frob.com>
12455
12456 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12457 Reported by Allan McRae <allan@archlinux.org>.
12458
6a9b9c02
JL
124592012-03-23 Jeff Law <law@redhat.com>
12460
12461 * nss/getnssent.c (__nss_getent): Fix typo.
12462
4c42a0c1
DM
124632012-03-23 David S. Miller <davem@davemloft.net>
12464
12465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12466
1532c7ac
L
124672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12468
12469 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12470 to pad to uint64_t for each field.
12471 (dl_tls_index): Replace unsigned long with uint64_t.
12472
3ff42526
PP
124732012-03-23 Daniel Jacobowitz <dmj@google.com>
12474 Paul Pluzhnikov <ppluzhnikov@google.com>
12475
12476 [BZ #6528]
12477 * grp/Makefile (otherlibs): Don't set it.
12478 * inet/Makefile (otherlibs): Likewise.
12479 * login/Makefile (otherlibs): Likewise.
12480 * nscd/Makefile (otherlibs): Likewise.
12481 * posix/Makefile (otherlibs): Likewise.
12482 * pwd/Makefile (otherlibs): Likewise.
12483 * rt/Makefile (otherlibs): Likewise.
12484 * sunrpc/Makefile (otherlibs): Likewise.
12485 * nss/Makefile (otherlibs): Likewise.
12486 Add libnss_files to routines and static-only-routines.
12487 ($(objpfx)getent): Remove rule.
12488 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12489 static-only-routines.
12490
7c69cd14
JM
124912012-03-22 Joseph Myers <joseph@codesourcery.com>
12492
12493 [BZ #13892]
12494 * math/s_cexp.c: Include <float.h>.
12495 (__cexp): Handle exp result overflowing not necessarily
12496 overflowing both real and imaginary parts of result.
12497 * math/s_cexpf.c: Likewise.
12498 * math/s_cexpl.c: Likewise.
12499 * math/libm-test.inc (cexp_test): Add more tests.
12500 * sysdeps/i386/fpu/libm-test-ulps: Update.
12501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12502
81b035fe
L
125032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12504
12505 * include/link.h (ELFW): New macro.
12506 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12507 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12508
1da7940c
L
125092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12510
12511 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12512 with uint64_t.
12513
b749dbb9
L
125142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12515
12516 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12517 declaration.
12518 (struct La_x32_retval): Likewise.
12519
2ff87f3f
L
125202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12521
12522 * sysdeps/x86_64/preconfigure.in: New file.
12523 * sysdeps/x86_64/preconfigure: New generated file.
12524
c0df8e69
JM
125252012-03-22 Joseph Myers <joseph@codesourcery.com>
12526
48e44791
JM
12527 [BZ #13824]
12528 * math/e_exp2l.c: Include <float.h>.
12529 (__ieee754_exp2l): Handle overflow and underflow cases
12530 separately. Only pass fractional part of argument to
12531 __ieee754_expl.
12532 * math/libm-test.inc (exp2_test): Add more tests.
12533
c0df8e69
JM
12534 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12535 negating x to take absolute value.
12536 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12537 Likewise.
12538 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12539 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12540 Likewise.
12541 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12542 computing low part if x was negated.
12543 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12544
c8e43ba7
L
125452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12546
12547 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12548 la_x32_gnu_pltexit.
12549 (pltexit): Cast int_retval to ptrdiff_t.
12550 * elf/tst-auditmod3b.c: Likewise.
12551 * elf/tst-auditmod4b.c: Likewise.
12552 * elf/tst-auditmod5b.c: Likewise.
12553 * elf/tst-auditmod6b.c: Likewise.
12554 * elf/tst-auditmod6c.c: Likewise.
12555 * elf/tst-auditmod7b.c: Likewise.
12556
12557 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12558 and x32_gnu_pltexit.
12559
12560 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12561 __ELF_NATIVE_CLASS.
12562 (La_x32_regs): New macro.
12563 (La_x32_retval): Likewise.
12564 (la_x32_gnu_pltenter): New function prototype.
12565 (la_x32_gnu_pltexit): Likewise.
12566
7998fa78
AS
125672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12568
dcb33988
AS
12569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12570 exponent.
12571
233fc563
AS
12572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12573
7998fa78
AS
12574 * configure.in (libc_cv_cc_nofma): Check for option to disable
12575 generation of FMA instructions.
12576 * configure: Regenerate.
12577 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12578 * sysdeps/ieee754/dbl-64/Makefile: New file.
12579 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12580 Remove brandred-fma4.
12581 (CFLAGS-brandred-fma4.c): Remove.
12582 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12583 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12584 define.
12585 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12586 define.
12587
8e95c99a
L
125882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12591 LLONG_MAX != LONG_MAX.
12592 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12593 (_fitoa_word): Likewise.
12594 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12595 LLONG_MAX != LONG_MAX.
12596 * stdio-common/_itowa.h: Include <_itoa.h>.
12597 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12598 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12599 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12600 only if not defined.
12601 (_ITOA_WORD_TYPE): Likewise.
12602 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12603 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12604
6f4db457
DM
126052012-03-21 David S. Miller <davem@davemloft.net>
12606
12607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12608
7785fe5a
L
126092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12610
12611 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12612 of x86_64 when setting libc_cv_slibdir, libdir and
12613 libc_cv_localedir.
12614 * sysdeps/unix/sysv/linux/configure: Regenerated.
12615
4535cd55
JM
126162012-03-21 Joseph Myers <joseph@codesourcery.com>
12617
12618 * manual/lang.texi (Old Varargs): Remove section.
12619 (How Variadic): Update menu.
12620 (va_start): Do not mention varargs.h.
12621
17228132
TS
126222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12623 Joseph Myers <joseph@codesourcery.com>
12624
12625 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12626 link test.
12627 * configure: Regenerated.
12628
8149f976
TS
126292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12630
05f3d1f6
UD
12631 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12632 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12633 conformtest.pl
8149f976 12634
1a4ac776
JM
126352012-03-21 Joseph Myers <joseph@codesourcery.com>
12636
be22ce65
JM
12637 * NOTES: Remove.
12638 * Makefile (files-for-dist): Remove NOTES.
12639 (NOTES): Remove rule.
12640 * README: Don't refer to NOTES.
12641 * manual/creature.texi: Don't include macros.texi.
12642 * manual/intro.texi (creature.texi): Remove comment referring to
12643 NOTES.
12644
40b601fb
JM
12645 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12646 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12647 * configure: Regenerated.
12648 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12649 LIBC_TRY_CC_OPTION.
12650 (libc_cv_as_i686): Likewise.
12651 (libc_cv_cc_avx): Likewise.
12652 (libc_cv_cc_sse2avx): Likewise.
12653 (libc_cv_cc_fma4): Likewise.
12654 (libc_cv_cc_novzeroupper): Likewise.
12655 * sysdeps/i386/configure: Regenerated.
12656
1a4ac776
JM
12657 [BZ #13883]
12658 * sysdeps/i386/fpu/s_cexp.S: Remove.
12659 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12660 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12661 * math/libm-test.inc (cexp_test): Add more tests.
12662 * sysdeps/i386/fpu/libm-test-ulps: Update.
12663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12664
a458e7fe
AM
126652012-03-21 Allan McRae <allan@archlinux.org>
12666
12667 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12668
0cb7efc5
JM
126692012-03-21 Joseph Myers <joseph@codesourcery.com>
12670
12671 [BZ #13871]
12672 * math/w_exp2.c: Do not include <float.h>.
12673 (o_threshold, u_threshold): Remove.
12674 (__exp2): Calculate result before checking finiteness and calling
12675 __kernel_standard.
12676 * math/w_exp2f.c: Likewise.
12677 * math/w_exp2l.c: Likewise.
12678 * math/libm-test.inc (exp2_test): Require overflow exception for
12679 1e6 input.
2460d3aa
JM
12680
12681 [BZ #3866]
12682 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12683 range of signed 64-bit integers before using fistpll. Remove
12684 checks for whether integers fit in mantissa bits.
12685 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12686 the range of signed 32-bit integers before using fistpl. Remove
12687 checks for whether integers fit in mantissa bits.
12688 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12689 (__ieee754_powl): Test for y outside the range of signed 64-bit
12690 integers before using fistpll. Reduce 64-bit values to 63-bit
12691 ones as needed.
12692 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12693 divide-by-zero is raised for zero to large negative powers.
12694 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12695 (__ieee754_powl): Test for y outside the range of signed 64-bit
12696 integers before using fistpll. Reduce 64-bit values to 63-bit
12697 ones as needed.
12698 * math/libm-test.inc (pow_test): Add more tests.
12699
eb96ffb0
L
127002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12703 <stdio-common/_itoa.h>.
12704 * debug/segfault.c: Likewise.
12705 * elf/dl-cache.c: Likewise.
12706 * elf/dl-minimal.c: Likewise.
12707 * elf/dl-misc.c: Likewise.
12708 * elf/dl-sysdep.c: Likewise.
12709 * elf/dl-version.c: Likewise.
12710 * elf/rtld.c: Likewise.
12711 * hurd/hurdsock.c: Likewise.
12712 * hurd/lookup-retry.c: Likewise.
12713 * malloc/malloc.c: Likewise.
12714 * malloc/mtrace.c: Likewise.
12715 * nscd/nscd_getgr_r.c: Likewise.
12716 * nscd/nscd_getpw_r.c: Likewise.
12717 * nscd/nscd_getserv_r.c: Likewise.
12718 * posix/getopt_init.c: Likewise.
12719 * posix/wordexp.c: Likewise.
12720 * stdio-common/_itoa.c: Likewise.
12721 * stdio-common/printf_fphex.c: Likewise.
12722 * stdio-common/vfprintf.c: Likewise.
12723 * string/_strerror.c: Likewise.
12724 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12725 * sysdeps/i386/i686/hp-timing.h: Likewise.
12726 * sysdeps/mach/_strerror.c: Likewise.
12727 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12728 * sysdeps/mach/hurd/sethostid.c: Likewise.
12729 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12730 * sysdeps/mach/xpg-strerror.c: Likewise.
12731 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12733 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12734 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12735 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12736 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12737 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12738 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12739 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12740 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12741 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12742 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12743 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12744 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12745 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12746 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12747 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12748 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12749 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12750 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12751 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12752
12753 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12754
12755 * stdio-common/_itoa.h: Moved to ...
12756 * sysdeps/generic/_itoa.h: Here.
12757
12758 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12759
12760 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12761 instead of "_itoa.h" and "_itowa.h".
12762 * stdio-common/vfprintf.: Likewise.
12763
d1af992d
L
127642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12765
12766 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12767 <bits/wordsize.h>.
12768 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12769 (__signbit): Likwise.
12770 (llrintf): Likwise.
12771 (llrint): Likwise.
12772
114883e0
L
127732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12774
12775 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12776 __WORDSIZE != 64.
12777
c135cc1b
JM
127782012-03-20 Joseph Myers <joseph@codesourcery.com>
12779
12780 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12781 OVERFLOW_EXCEPTION_OK.
12782 * math/libm-test.inc ("Philosophy"): Update comment about
12783 exception testing.
12784 (OVERFLOW_EXCEPTION): Define.
12785 (OVERFLOW_EXCEPTION_OK): Likewise.
12786 (INVALID_EXCEPTION_OK): Renumber.
12787 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12788 (IGNORE_ZERO_INF_SIGN): Likewise.
12789 (test_exceptions): Handle FE_OVERFLOW.
12790 (exp10_test): Expect overflow exceptions.
12791 (exp2_test): Likewise.
12792 (expm1_test): Likewise.
12793 (nextafter_test): Likewise.
12794 (pow_test): Likewise.
12795 (scalbn_test): Likewise.
12796 (scalbln_test): Likewise.
12797
95443d88
L
127982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12799
12800 * sysdeps/x86_64/bits/atomic.h
12801 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12802 64bit integer.
12803 (atomic_exchange_acq): Likewise.
12804 (__arch_exchange_and_add_body): Likewise.
12805 (__arch_add_body): Likewise.
12806 (atomic_add_negative): Likewise.
12807 (atomic_add_zero): Likewise.
12808
490df6c4
L
128092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12810
c2722551 12811 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12812 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12813
5e52b189
L
128142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12815
12816 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12817 Check __x86_64__ instead of __WORDSIZE.
12818
a9879d4c
L
128192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12820
12821 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12822
5df98260
DM
128232012-03-19 David S. Miller <davem@davemloft.net>
12824
e1497744
DM
12825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12826
5df98260
DM
12827 * sysdeps/sparc/fpu/fenv_private.h: New file.
12828 * sysdeps/sparc/fpu/math_private.h: Use it.
12829 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12830 Remove.
12831 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12832 (libc_feholdexcept_setroundl): Remove.
12833 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12834 Remove.
12835 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12836 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12837
b4c35121
L
128382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12839
12840 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12841 int64_t instead of long int.
12842 (INSERT_WORDS64): Likwise.
12843
56965fd7
L
128442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12845
12846 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12847 _Unwind_GetCFA return to _Unwind_Ptr first.
12848
83d1aec8
JM
128492012-03-19 Joseph Myers <joseph@codesourcery.com>
12850
1897ad44
JM
12851 [BZ #13629]
12852 * math/s_clog.c: Include <float.h>.
12853 (__clog): Scale large or subnormal inputs.
12854 * math/s_clogf.c: Likewise.
12855 * math/s_clogl.c: Likewise.
12856 * math/s_clog10.c: Include <float.h>.
12857 (M_LOG10_2): Define.
12858 (__clog10): Scale large or subnormal inputs.
12859 * math/s_clog10f.c: Likewise.
12860 * math/s_clog10l.c: Likewise.
12861 * math/libm-test.inc (clog_test): Add more tests.
12862 (clog10_test): Likewise.
12863 * sysdeps/i386/fpu/libm-test-ulps: Update.
12864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12865
7726d6a9
JM
12866 [BZ #11451]
12867 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12868 x and y.
12869 * math/libm-test.inc (atan2_test): Add another test.
12870
83d1aec8
JM
12871 * Makerules (common-objdir-compile): Remove.
12872 * sysdeps/unix/Makefile (config-generated): Do not add
12873 $(unix-generated) to variable.
12874 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12875 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12876 Remove rule.
12877 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12878 Likewise.
12879 [generic bits/local_lim.h] (before-compile): Do not append to
12880 variable.
12881 [generic bits/local_lim.h] (common-generated): Likewise.
12882 [generic sys/param.h] (before-compile): Do not append to variable.
12883 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12884 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12885 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12886 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12887 include.
12888 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12889 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12890 [generic sys/param.h] ($(addprefix
12891 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12892 [generic sys/param.h] (common-generated): Do not append to
12893 variable.
12894 [generic sys/param.h] (sysdep_headers): Likewise.
12895 [generic bits/errno.h] (before-compile): Do not append to
12896 variable.
12897 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12898 rule.
12899 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12900 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12901 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12902 [generic bits/errno.h] (common-generated): Do not append to
12903 variable.
12904 [generic bits/ioctls.h] (before-compile): Do not append to
12905 variable.
12906 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12907 rule.
12908 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12909 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12910 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12911 rule.
12912 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12913 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12914 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12915 [generic bits/ioctls.h] (common-generated): Do not append to
12916 variable.
12917 [generic sys/syscall.h] (syscall.h): Remove variable.
12918 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12919 rule.
12920 [generic sys/syscall.h] (before-compile): Do not append to
12921 variable.
12922 [generic sys/syscall.h] (common-generated): Likewise.
12923 * sysdeps/unix/errnos-tmpl.c: Remove file.
12924 * sysdeps/unix/errnos.awk: Likewise.
12925 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12926 * sysdeps/unix/ioctls.awk: Likewise.
12927 * sysdeps/unix/mk-local_lim.c: Likewise.
12928 * sysdeps/unix/snarf-ioctls: Likewise.
12929
4851a949
RH
129302012-03-19 Richard Henderson <rth@twiddle.net>
12931
bd37f2ee
RH
12932 * sysdeps/i386/fpu/fenv_private.h: New file.
12933 * sysdeps/i386/fpu/math_private.h: Use it.
12934 (math_opt_barrier, math_force_eval): Remove.
12935 (libc_feholdexcept_setround_53bit): Remove.
12936 (libc_feupdateenv_53bit): Remove.
12937 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12938 (math_opt_barrier, math_force_eval): Remove.
12939 (libc_feholdexcept): Remove.
12940 (libc_feholdexcept_setround): Remove.
12941 (libc_fetestexcept, libc_fesetenv): Remove.
12942 (libc_feupdateenv_test): Remove.
12943 (libc_feupdateenv, libc_feholdsetround): Remove.
12944 (libc_feresetround): Remove.
12945
d0adc922
RH
12946 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12947 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12948
0fe0f1f8
RH
12949 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12950 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12951 (libc_feupdateenv_testl): New.
12952 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12953 (libc_feupdateenv_testf): New.
12954 (libc_feupdateenv): Use libc_feupdateenv_test.
12955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12957
eb92c487
RH
12958 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12959 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12960 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12961 (libc_feresetround_noex): New.
12962 (libc_feresetround_noexf): New.
12963 (libc_feresetround_noexl): New.
12964 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12965 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12966 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12967 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12968 SET_RESTORE_ROUND.
12969 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12970 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12971 (__cos): Likewise.
12972 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12973 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12974 SET_RESTORE_ROUND_NOEX.
12975 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12976 SET_RESTORE_ROUND_NOEXF.
12977 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12978 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12979 (libc_feholdsetroundf): New.
12980 (libc_feresetround, libc_feresetroundf): New.
12981
7d2e8012
RH
12982 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12983 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12984 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12985
b4dabbb4
RH
12986 * sysdeps/generic/math_private.h: Include <fenv.h>.
12987 (default_libc_feholdexcept): New.
12988 (default_libc_feholdexcept_setround): New.
12989 (default_libc_fesetenv, default_libc_feupdateenv): New.
12990 (libc_feholdexcept): Only define if undefined.
12991 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12992 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12993 (libc_feholdexcept_setroundl): Likewise.
12994 (libc_feholdexcept_setround_53bit): Likewise.
12995 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12996 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12997 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12998 (libc_feupdateenv_53bit): Likewise.
12999 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13000 (libc_feholdexcept): Convert from macro to inline function.
13001 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13002 (libc_fesetenv, libc_feupdateenv): Likewise.
13003
4851a949
RH
13004 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13005 not previously defined.
13006 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13007 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13008 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13009 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13010 * sysdeps/ieee754/flt-32/math_private.h: New file.
13011 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13012 math_private.h below SET_FLOAT_WORD.
13013 (__isnan, __isinf_ns, __finite): Remove.
13014 (__isnanf, __isinf_nsf, __finitef): Remove.
13015
e79d442e
AS
130162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13017
13018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13019
90b80344
DM
130202012-03-17 David S. Miller <davem@davemloft.net>
13021
13022 [BZ #6471]
13023 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13024 for 2.16.
13025
edc21804
DM
130262012-03-16 David S. Miller <davem@davemloft.net>
13027
77e927af
DM
13028 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13029 warnings.
13030
374976dd
DM
13031 [BZ #6471]
13032 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13033 properly.
13034 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13035 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13036 sysdep_routines when subdir is sysvipc.
13037 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13038 __getshmlba helper.
13039
edc21804
DM
13040 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13041
473c3ef3
L
130422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13043
13044 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13045 [__LP64__].
13046
eb0f39b6
L
130472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13048
13049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13050 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13051 (__lround): Renamed to ...
13052 (__llround): This. Replace long int with long long int.
13053 Define lround functions as aliases of llround functions.
13054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13055
6b6cd74b
L
130562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13057
13058 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13059 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13060 adresses to uintptr_t. Replace "long int" and "unsigned long
13061 int" with "greg_t" on va_arg.
13062
f1a77b01
L
130632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13064
13065 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13066 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13067
13068 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13069 Move e_machine check before EI_CLASS check. Handle x32
13070 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13071 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13072 SKIP_EM_IA_64 and include
13073 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13074
13075 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13076 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13077 (add_system_dir): New macro.
13078
13079 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13080 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13081
11b90b9f
JM
130822012-03-16 Joseph Myers <joseph@codesourcery.com>
13083
c36e1d23
JM
13084 [BZ #2551]
13085 [BZ #2552]
13086 [BZ #2553]
13087 [BZ #2554]
13088 [BZ #2562]
13089 [BZ #2563]
13090 [BZ #2565]
13091 [BZ #2566]
13092 [BZ #2576]
13093 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13094 (y0): Likewise.
13095 * math/w_j0f.c (j0f): Likewise.
13096 (y0f): Likewise.
13097 * math/w_j0l.c (__j0l): Likewise.
13098 (__y0l): Likewise.
13099 * math/w_j1.c (j1): Likewise.
13100 (y1): Likewise.
13101 * math/w_j1f.c (j1f): Likewise.
13102 (y1f): Likewise.
13103 * math/w_j1l.c (__j1l): Likewise.
13104 (__y1l): Likewise.
13105 * math/w_jn.c (jn): Likewise.
13106 (yn): Likewise.
13107 * math/w_jnf.c (jnf): Likewise.
13108 (ynf): Likewise.
13109 * math/w_jnl.c (__jnl): Likewise.
13110 (__ynl): Likewise.
13111 * math/libm-test.inc (j0_test): Add more tests.
13112 (j1_test): Likewise.
13113 (jn_test): Likewise. Add trailing semicolon to existing test.
13114 (y0_test): Likewise.
13115 (y1_test): Likewise.
13116 * sysdeps/i386/fpu/libm-test-ulps: Update.
13117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13118
11b90b9f
JM
13119 [BZ #13851]
13120 [BZ #13854]
13121 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13122 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13123 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13124 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13125 (__tanl): Set errno for infinite argument.
13126 * sysdeps/i386/fpu/mptan.c: Remove.
13127 * sysdeps/i386/fpu/s_tan.S: Likewise.
13128 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13129 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13130 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13131 * math/libm-test.inc (tan_test): Add more tests and enable more
13132 tests for double and long double.
13133 * sysdeps/i386/fpu/libm-test-ulps: Update.
13134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13135
6a1bd2a1
JK
131362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13137
13138 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13139 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13140
10a803e0
RM
131412012-03-16 Roland McGrath <roland@hack.frob.com>
13142
13143 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13144 * configure.in: Use it for both main tree and add-ons.
13145 * configure: Regenerated.
13146
f196c7f7
L
131472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13148
13149 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13150
8848d99d
JM
131512012-03-16 Joseph Myers <joseph@codesourcery.com>
13152
96cbe7f4
JM
13153 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13154 in comment.
13155
8848d99d
JM
13156 [BZ #13851]
13157 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13158 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13162 infinite argument.
13163 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13165 != 0 for prec == 2.
13166 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13167 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13168 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13169 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13170 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13171 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13172 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13173 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13174 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13175 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13176 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13177 * math/libm-test.inc (cos_test): Add more tests and enable more
13178 tests for long double.
13179 (sin_test): Likewise.
13180 (sincos_test): Likewise.
13181 * sysdeps/i386/fpu/libm-test-ulps: Update.
13182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13183
dd7f4703
DM
131842012-03-16 David S. Miller <davem@davemloft.net>
13185
13186 * sysdeps/sparc/fpu/math_private.h: New file.
13187
006f1daa
DM
131882012-03-15 David S. Miller <davem@davemloft.net>
13189
c0c83bc8
DM
13190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13191 file.
e6a62e18 13192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13194 file.
e6a62e18
DM
13195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13200 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13201 sysdep routines.
13202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13203
88cb87d9
DM
13204 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13205 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13206
006f1daa 13207 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13209 sparc-ifunc.h
006f1daa 13210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13212 Likewise.
13213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13214 Likewise.
006f1daa
DM
13215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13219 Likewise.
006f1daa
DM
13220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13225 Likewise.
13226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13227 Likewise.
006f1daa
DM
13228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13252
11e0098e
AS
132532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13254
13255 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13256 scaling.
13257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13258
e85b09d0
AJ
132592012-03-15 Andreas Jaeger <aj@suse.de>
13260
13261 [BZ #13852]
13262 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13263 ieee754/flt-32 implementation for sin, cos and sincos.
13264 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13265 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13266 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13267 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13268 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13269 ieee754/flt-32 implementation for tan.
13270
13271 * math/libm-test.inc (cos_test): Enable some large input tests for
13272 float as well
13273 (sin_test): Likewise.
13274 (sincos_test): Likewise.
13275 (tan_test): Add tests for large input.
13276
13277 * sysdeps/i386/fpu/libm-test-ulps: Update.
13278
81c64153
AJ
132792012-03-15 Andreas Jaeger <aj@suse.de>
13280
13281 [BZ #13658]
13282 * math/libm-test.inc (cos_test): Add more test cases.
13283 (sin_test): Likewise.
13284 (sincos_test): Likewise.
13285
7bbfa5c6
AJ
132862012-03-15 Andreas Jaeger <aj@suse.de>
13287
13288 [BZ #13837]
13289 * math/libm-test.inc (cos_test): Add a test case for large input
13290 value.
13291 (sin_test): Likewise.
13292 (sincos_test): Likewise.
13293
132942012-03-15 Andreas Jaeger <aj@suse.de>,
13295 Joseph Myers <joseph@codesourcery.com>
13296
13297 [BZ #13658]
0671f479 13298 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13299 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13300 * sysdeps/i386/fpu/branred.c: Likewise.
13301 * sysdeps/i386/fpu/dosincos.c: Likewise.
13302 * sysdeps/i386/fpu/mpa.c: Likewise.
13303 * sysdeps/i386/fpu/s_cos.S: Likewise.
13304 * sysdeps/i386/fpu/s_sin.S: Likewise.
13305 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13306 * sysdeps/i386/fpu/sincos32.c: Likewise.
13307
13308 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13309 Define.
13310 (libc_feupdateenv_53bit): Define.
13311 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13312 Define.
13313 (libc_feupdateenv_53bit): Define.
13314
13315 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13316 53 bit (without extend i386 double precision).
13317
13318 * math/libm-test.inc (sincos_test): Add tests for large input.
13319 (sin): Likewise.
13320 (cos): Likewise.
13321
13322 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13323
9cad04ea
AS
133242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13325
13326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13327
f7062b9a
DM
133282012-03-15 David S. Miller <davem@davemloft.net>
13329
13330 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13331 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13332 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13333 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13346 file.
f7062b9a 13347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13349 file.
f7062b9a 13350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13352 file.
f7062b9a 13353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13355 file.
f7062b9a
DM
13356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13357 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13358 fmin/fmax sysdep routines.
13359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13360
7bd951ff
DM
133612012-03-14 David S. Miller <davem@davemloft.net>
13362
559398ab
DM
13363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13369 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13370 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13384 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13385 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13388 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13389 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13392 routines.
13393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13394 file.
559398ab 13395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13397 file.
559398ab 13398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13400 file.
559398ab 13401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13403 file.
559398ab 13404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13406 file.
559398ab 13407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13409 file.
13410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13411 file.
13412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13413 file.
13414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13415 file.
13416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13417 New file.
13418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13419 file.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13421 file.
559398ab 13422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13424 file.
559398ab 13425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13427 file.
559398ab 13428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13430 file.
559398ab 13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13433 VIS3 routines.
559398ab
DM
13434
13435 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13436 New file.
13437
5a1c1e32
DM
13438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13439
eae47a36
DM
13440 * sysdeps/sparc/configure.in: New file.
13441 * sysdeps/sparc/configure: Generate.
13442 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13443 * configure: Regenerate.
13444 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13445 * config.make.in (have-as-vis3): New.
13446 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13447 available use -Av9d instead of -Av9a.
13448 * sysdeps/sparc/sparc64/Makefile: Likewise.
13449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13451 New file.
13452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13453 file.
13454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13455 New file.
13456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13457 file.
eae47a36
DM
13458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13460 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13461 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13463
c0c83bc8
DM
13464 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13465 fzeros/fnegs to load 0x80000000 into a float register instead of
13466 using the stack.
7bd951ff
DM
13467 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13468
bd951ccb
JM
134692012-03-14 Joseph Myers <joseph@codesourcery.com>
13470
13471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13472 bits/syscall.h.
13473 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13474 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13475 ($(inst_includedir)/bits/syscall.h): Remove rule.
13476 ($(objpfx)bits/syscall.d): Include instead of
13477 $(objpfx)syscall-list.d.
13478 (generated): Change syscall-list.h and syscall-list.d to
13479 bits/syscall.h and bits/syscall.d.
13480
bb4e6db2
RM
134812012-03-14 Roland McGrath <roland@hack.frob.com>
13482
13483 [BZ #13846]
13484 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13485
aa4a2ae1
JM
134862012-03-14 Joseph Myers <joseph@codesourcery.com>
13487
e456826d
JM
13488 [BZ #13841]
13489 * math/s_csqrt.c: Include <float.h>.
13490 (__csqrt): Scale large or subnormal inputs.
13491 * math/s_csqrtf.c: Likewise.
13492 * math/s_csqrtl.c: Likewise.
13493 * math/libm-test.inc (csqrt_test): Add more tests.
13494 * sysdeps/i386/fpu/libm-test-ulps: Update.
13495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13496
aa4a2ae1
JM
13497 [BZ #13840]
13498 * math/libm-test.inc (hypot_test): Add more tests.
13499
7c10fd35
DM
135002012-03-13 David S. Miller <davem@davemloft.net>
13501
13502 [BZ #13840]
13503 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13504 double-precision for the calculation instead of scaling.
13505
f453b98b
JM
135062012-03-13 Joseph Myers <joseph@codesourcery.com>
13507
13508 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13509 manipulate bits before adding and subtracting TWO52[sx].
13510 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13511 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13512 Likewise.
13513 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13514
09a3453f
DM
135152012-03-13 David S. Miller <davem@davemloft.net>
13516
8e59da90
DM
13517 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13518 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13520 rtld-global-offsets.h
13521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13522
2a8ab7f2
DM
13523 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13524 large parameters.
13525
10f62770
DM
13526 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13527
5f0bdb18
DM
13528 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13529 'err' in the ifdef scope in which it is actually used.
13530
09a3453f
DM
13531 * nss/nss_db/db-init.c: Include string.h
13532
b4b2eb5e
DM
135332012-03-12 David S. Miller <davem@davemloft.net>
13534
98bb2f1c
DM
13535 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13536 masking out of the most significant byte of random value used.
13537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13538 Fix coding style in previous change.
13539
b4b2eb5e
DM
13540 * sysdeps/unix/sysv/linux/kernel-features.h
13541 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13542 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13543 expression.
13544 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13545 later.
13546
6e226b09
DM
135472012-03-11 David S. Miller <davem@davemloft.net>
13548
a1bcbd40
DM
13549 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13550 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13551 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13552 for 'resultvar' otherwise things get truncated on 64-bit.
13553
cb9d6174
DM
13554 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13555 Fix masking out of the most significant byte of random value used.
13556
6e226b09
DM
13557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13558
058c132d
AS
135592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13560
13561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13562
2d2cd515
DM
135632012-03-09 David S. Miller <davem@davemloft.net>
13564
13565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13566 variables with appropriate CPP guards.
13567 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13568 frame pointer, not the stack pointer. Correct layout comments. Fix test
13569 on resulting framesize and the management of the outregs buffer for pltexit.
13570 Preserve floating point return values across _dl_call_pltexit call.
13571 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13572 framesize and the management of the outregs buffer for pltexit.
13573 Preserve floating point return values across _dl_call_pltexit
13574 call.
13575 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13576 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13577 (print_exit): Fix format string for return register value.
13578
9a07f9d0
JM
135792012-03-10 Joseph Myers <joseph@codesourcery.com>
13580
13581 * sunrpc/Makefile (others): Add rpcgen.
13582 ($(objpfx)rpcgen): Remove special build rule and dependency on
13583 libc.
13584 * sunrpc/rpcgen.c: New file.
13585
547b5e30
PE
135862012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13587
c524201a
PE
13588 [BZ #13673]
13589 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13590 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13591 * sysdeps/i386/crti.S: Likewise.
13592 * sysdeps/i386/crtn.S: Likewise.
13593 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13594 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13595 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13596 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13597 * sysdeps/sh/crti.S: Likewise.
13598 * sysdeps/sh/crtn.S: Likewise.
13599 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13600
7b6235f2
PE
13601 [BZ #13673]
13602 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13603 with URL.
13604 * locale/programs/locfile-kw.gperf: Likewise.
13605 * locale/programs/charmap-kw.h: Regenerated.
13606 * locale/programs/locfile-kw.h: Likewise.
13607
547b5e30
PE
13608 [BZ #13673]
13609 * intl/plural.y: Replace FSF snail mail address with URL.
13610 * intl/plural.c: Regenerated.
13611
5f0a5dae
RH
136122012-03-09 Richard Henderson <rth@twiddle.net>
13613
13614 * include/math_private.h: Remove file.
13615 * math/math_private.h: Move file ...
13616 * sysdeps/generic/math_private.h: ... here.
13617
b8c03620
RH
13618 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13619 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13620 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13621
4e234f5d 13622 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13623 and <math_private.h>.
13624 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13625 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13626 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13627 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13628 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13648 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13705 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13706 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13707 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13712 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13715 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13717 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13718 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13719 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13720 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13721 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13722 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13723 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13724 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13725 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13726 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13727 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13729 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13730 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13731 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13732 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13733 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13734 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13735 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13736 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13738 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13739 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13740 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13743 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13744 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13745 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13746 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13747 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13748 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13749 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13750 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13751 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13752 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13753 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13754 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13755 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13756 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13757 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13758 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13759 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13760 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13761 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13762 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13763 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13765 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13766 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13767 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13768 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13769 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13770 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13771 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13772 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13773 * sysdeps/ieee754/k_standard.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13889 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13893 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13896 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13901 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13906 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13916 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13918 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13922 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13923 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13924 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13927 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13933 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13934 * sysdeps/ieee754/s_lib_version.c: Likewise.
13935 * sysdeps/ieee754/s_matherr.c: Likewise.
13936 * sysdeps/ieee754/s_signgam.c: Likewise.
13937 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13939 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13940 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13941 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13942 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13943 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13944 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13945 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13946 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13947 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13948 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13949 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13950 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13951 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13952 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13953 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13954 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13955 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13956 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13958
1991fa03
JM
139592012-03-09 Joseph Myers <joseph@codesourcery.com>
13960
13961 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13962 * sunrpc/rpc_main.c: Likewise.
13963 * sunrpc/rpc_svcout.c: Likewise.
13964
60d6f5a6
DM
139652012-03-09 David S. Miller <davem@davemloft.net>
13966
13967 * include/math_private.h: New file.
13968
4962050e
JM
139692012-03-09 Joseph Myers <joseph@codesourcery.com>
13970
02a6f887
JM
13971 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13972 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13973 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13974 from <bits/socket_type.h>.
13975 (enum __socket_type): Don't define here.
13976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13978 bits/socket_type.h.
13979
c6e013c1
JM
13980 [BZ #13566]
13981 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13982 checking __USE_GNU.
13983
4962050e
JM
13984 * Makerules ($(inst_includedir)/%.h): New rule.
13985 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13986 (install-others): Remove variable setting.
13987 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13988
38842f45
RH
139892012-03-08 Richard Henderson <rth@twiddle.net>
13990
67bb6da6
RH
13991 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13992 from macro to inline function; merge with the
13993 !__LIBC_INTERNAL_MATH_INLINES version.
13994 (__ieee754_sqrtf): Likewise.
13995
15194b4b
RH
13996 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13997 to inline function.
13998 (__rintf, __floor, __floorf): Likewise.
13999
64e21ede
RH
14000 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14001 macro to inline function.
14002 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14003
38842f45
RH
14004 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14005 not <math/math_private.h>.
14006
c64bf5fe
DM
140072012-03-08 David S. Miller <davem@davemloft.net>
14008
14009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14010 copyright year.
14011 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14012
82d86f28
TS
140132012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14014
14015 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14016 normalization.
14017 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14018 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14019
aea5d727
UD
140202012-03-08 Ulrich Drepper <drepper@gmail.com>
14021
14022 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14023 be defined individually, they must be defined as a block. Define
14024 S for printing a string instead of hidint the different by using a
14025 macro for adding the 'l'.
14026 * stdio-common/tst-fphex-wide.c: Adjust.
14027
70bca0a3
MP
140282012-03-07 Marek Polacek <polacek@redhat.com>
14029
14030 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14031
65b81130
MP
140322012-03-08 Marek Polacek <polacek@redhat.com>
14033
14034 [BZ #13806]
14035 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14036 * stdio-common/tst-fphex.c: Define a few macros to make the
14037 test reusable. Use them.
14038 * stdio-common/tst-fphex-wide.c: New file.
14039
07037eeb
JM
140402012-03-08 Joseph Myers <joseph@codesourcery.com>
14041
a7a93d50
JM
14042 [BZ #6911]
14043 * manual/macros.texi (gnusystems): New macro.
14044 (nongnusystems): Likewise.
14045 (gnulinuxhurdsystems): Likewise.
14046 (gnuhurdsystems): Likewise..
14047 (gnulinuxsystems): Likewise.
14048 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14049 variants of the GNU system, not "GNU system".
14050 * manual/conf.texi: Likewise.
14051 * manual/errno.texi: Likewise. Update example of errno macro
14052 expansion.
14053 * manual/filesys.texi: Likewise.
14054 (getumask): Document as specific to GNU/Hurd.
14055 * manual/install.texi: Likewise. Reword some references to
14056 GNU/Linux.
14057 * manual/intro.texi: Likewise.
14058 * manual/io.texi: Likewise.
14059 (File Name Portability): Detail which constraints are inapplicable
14060 to all GNU systems and which are only inapplicable to GNU/Hurd.
14061 * manual/job.texi: Likewise.
14062 * manual/llio.texi: Likewise.
14063 (O_NOCTTY): Document as present on GNU/Linux.
14064 * manual/maint.texi: Likewise.
14065 * manual/memory.texi: Likewise.
14066 * manual/pattern.texi: Likewise.
14067 * manual/pipe.texi: Likewise.
14068 * manual/process.texi: Likewise.
14069 * manual/resource.texi: Likewise.
14070 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14071 child on GNU/Hurd.
14072 * manual/setjmp.texi: Likewise.
14073 * manual/signal.texi: Likewise.
14074 * manual/startup.texi: Likewise.
14075 * manual/stdio.texi: Likewise.
14076 * manual/terminal.texi: Likewise.
14077 (ONLCR): Document as POSIX.
14078 (OXTABS): Document availability on GNU/Linux as XTABS.
14079 (ONOEOT): Document availability separately from other bits.
14080 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14081 * manual/time.texi: Likewise.
14082 * manual/users.texi: Likewise.
14083 * INSTALL: Regenerated.
14084 * sysdeps/gnu/errlist.c: Regenerated.
14085
07037eeb
JM
14086 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14087 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14088 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14089 puts.
14090 * configure: Regenerated.
14091
d1d3431a
JM
140922012-03-07 Joseph Myers <joseph@codesourcery.com>
14093
af6a1e37
JM
14094 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14095 default includes instead of AC_HEADER_CHECK.
14096 * sysdeps/i386/configure: Regenerated.
14097
d1d3431a
JM
14098 [BZ #10716]
14099 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14100 * math/s_cacoshf.c (__cacoshf): Likewise.
14101 * math/s_cacoshl.c (__cacoshl): Likewise.
14102 * math/s_casinh.c (__casinh): Set signs of result from argument.
14103 * math/s_casinhf.c (__casinhf): Likewise.
14104 * math/s_casinhl.c (__casinhl): Likewise.
14105 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14106 (casinh_test): Add more tests.
14107 * sysdeps/i386/fpu/libm-test-ulps: Update.
14108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14109
482ff4da
UD
141102012-03-07 Ulrich Drepper <drepper@gmail.com>
14111
872fda05
UD
14112 * po/zh_TW.po: Update from translation team.
14113
a4300c7a
UD
14114 * login/Makefile (distribute): Remove variable.
14115 * catgets/Makefile: Likewise.
14116 * mach/Makefile: Likewise.
14117 * malloc/Makefile: Likewise.
14118 * misc/Makefile: Likewise.
14119 * iconv/Makefile: Likewise.
14120 * nscd/Makefile: Likewise.
14121 * hurd/Makefile: Likewise.
14122 * manual/Makefile: Likewise.
14123 * locale/Makefile: Likewise.
14124 * intl/Makefile: Likewise.
14125 * conform/Makefile: Likewise.
14126 * nss/Makefile: Likewise.
14127 * time/Makefile: Likewise.
14128 * soft-fp/Makefile: Likewise.
14129 * dirent/Makefile: Likewise.
14130 * gmon/Makefile: Likewise.
14131 * po/Makefile: Likewise.
14132 * rt/Makefile: Likewise.
14133 * socket/Makefile: Likewise.
14134 * math/Makefile: Likewise.
14135 * signal/Makefile: Likewise.
14136 * debug/Makefile: Likewise.
14137 * elf/Makefile: Likewise.
14138 * timezone/Makefile: Likewise.
14139 * stdlib/Makefile: Likewise.
14140 * iconvdata/Makefile: Likewise.
14141 * sunrpc/Makefile: Likewise.
14142 * io/Makefile: Likewise.
14143 * argp/Makefile: Likewise.
14144 * inet/Makefile: Likewise.
14145 * hesiod/Makefile: Likewise.
14146 * grp/Makefile: Likewise.
14147 * csu/Makefile: Likewise.
14148 * wctype/Makefile: Likewise.
14149 * crypt/Makefile: Likewise.
14150 * libio/Makefile: Likewise.
14151 * string/Makefile: Likewise.
14152 * nis/Makefile: Likewise.
14153 * resolv/Makefile: Likewise.
14154 * stdio-common/Makefile: Likewise.
14155 * wcsmbs/Makefile: Likewise.
14156 * dlfcn/Makefile: Likewise.
14157 * posix/Makefile: Likewise.
14158
3b7c4e74 14159 [BZ #6959]
482ff4da
UD
14160 * timezone/Makefile: Don't install timezone files, just the programs
14161 and scripts.
14162
f72ed77d
UD
141632012-03-06 Ulrich Drepper <drepper@gmail.com>
14164
a000466f
UD
14165 * nss/databases.def: Add missing gshadow entry.
14166
f72ed77d
UD
14167 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14168
a53b7a4e
MP
141692012-03-06 Marek Polacek <polacek@redhat.com>
14170
14171 [BZ #13726]
14172 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14173 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14174 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14175 * stdio-common/tst-long-dbl-fphex.c: New file.
14176
e9258400
DM
141772012-03-06 David S. Miller <davem@davemloft.net>
14178
14179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14180 (set_obp_int): New function.
14181 (get_obp_int): New function.
14182 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14183 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14184 Avoid unused variable warnings on 'val' and use builtin_expect.
14185 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14186 __builtin_expect.
e9258400
DM
14187 (INLINE_CLONE_SYSCALL): Likewise.
14188
3bd2c723
DM
141892012-03-05 David S. Miller <davem@davemloft.net>
14190
14191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14192
bbb78d03
AS
141932012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14194
884c5db4
AS
14195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14196
bbb78d03
AS
14197 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14198 only for |x| >= 40.
14199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14200
1c9f702a 142012012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14202
14203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14204 Replace gettimeofday with __vdso_gettimeofday.
14205
7be16f82
RM
14206 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14207 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14208 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14209
14210 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14211 time with __vdso_time.
14212
ed58a00f
JM
142132012-03-05 Joseph Myers <joseph@codesourcery.com>
14214
14215 * manual/lang.texi (size_t): Note types to which size_t may be
14216 equivalent with the GNU C Library, but do not describe when
14217 differences between them are significant.
14218
30ee4ced
AJ
142192012-03-05 Andreas Jaeger <aj@suse.de>
14220
14221 * sysdeps/i386/fpu/libm-test-ulps: Update.
14222
b7cd39e8
JM
142232012-03-05 Joseph Myers <joseph@codesourcery.com>
14224
14225 [BZ #3976]
14226 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14227 (__ieee754_pow): Save and restore rounding mode and use
14228 round-to-nearest for main computations.
14229 * math/libm-test.inc (pow_test_tonearest): New function.
14230 (pow_test_towardzero): Likewise.
14231 (pow_test_downward): Likewise.
14232 (pow_test_upward): Likewise.
14233 (main): Call the new functions.
14234 * sysdeps/i386/fpu/libm-test-ulps: Update.
14235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14236
14237 [BZ #3976]
14238 * math/libm-test.inc (cosh_test_tonearest): New function.
14239 (cosh_test_towardzero): Likewise.
14240 (cosh_test_downward): Likewise.
14241 (cosh_test_upward): Likewise.
14242 (sinh_test_tonearest): Likewise.
14243 (sinh_test_towardzero): Likewise.
14244 (sinh_test_downward): Likewise.
14245 (sinh_test_upward): Likewise.
14246 (main): Call the new functions.
14247 * sysdeps/i386/fpu/libm-test-ulps: Update.
14248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14249
6c6a98c9
TV
142502012-03-05 Tom de Vries <tom@codesourcery.com>
14251
14252 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14253 default stack guard is set in last bytes.
14254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14255
21bb2d2e 142562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14257
21bb2d2e 14258 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14259
21bb2d2e
AJ
14260 [BZ #13656]
14261 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14262 possibly allocate from heap instead of stack.
14263 * stdio-common/bug-vfprintf-nargs.c: New file.
14264 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14265
c6922934
AS
142662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14267
14268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14269
bc957d53
MP
142702012-03-03 Marek Polacek <polacek@redhat.com>
14271
14272 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14273 * math/math_private.h: Likewise.
14274 * stdlib/tst-strtod.c: Likewise.
14275 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14276 * sysdeps/x86_64/bits/atomic.h: Likewise.
14277
6358490d
DM
142782012-03-02 David S. Miller <davem@davemloft.net>
14279
14280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14284 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14285 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14286 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14287 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14288
01ae168d
RM
142892012-03-02 Roland McGrath <roland@hack.frob.com>
14290
d9a17c07
RM
14291 [BZ #13792]
14292 * manual/examples/README: New file, says the example source files
14293 can be used under GPL>=2.
14294 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14295 line containing just "*/".
14296 * manual/examples/add.c: Add copyright header (GPL>=2).
14297 * manual/examples/argp-ex1.c: Likewise.
14298 * manual/examples/argp-ex2.c: Likewise.
14299 * manual/examples/argp-ex3.c: Likewise.
14300 * manual/examples/argp-ex4.c: Likewise.
14301 * manual/examples/atexit.c: Likewise.
14302 * manual/examples/db.c: Likewise.
14303 * manual/examples/dir.c: Likewise.
14304 * manual/examples/dir2.c: Likewise.
14305 * manual/examples/execinfo.c: Likewise.
14306 * manual/examples/filecli.c: Likewise.
14307 * manual/examples/filesrv.c: Likewise.
14308 * manual/examples/fmtmsgexpl.c: Likewise.
14309 * manual/examples/genpass.c: Likewise.
14310 * manual/examples/inetcli.c: Likewise.
14311 * manual/examples/inetsrv.c: Likewise.
14312 * manual/examples/isockad.c: Likewise.
14313 * manual/examples/longopt.c: Likewise.
14314 * manual/examples/memopen.c: Likewise.
14315 * manual/examples/memstrm.c: Likewise.
14316 * manual/examples/mkfsock.c: Likewise.
14317 * manual/examples/mkisock.c: Likewise.
14318 * manual/examples/mygetpass.c: Likewise.
14319 * manual/examples/pipe.c: Likewise.
14320 * manual/examples/popen.c: Likewise.
14321 * manual/examples/rprintf.c: Likewise.
14322 * manual/examples/search.c: Likewise.
14323 * manual/examples/select.c: Likewise.
14324 * manual/examples/setjmp.c: Likewise.
14325 * manual/examples/sigh1.c: Likewise.
14326 * manual/examples/sigusr.c: Likewise.
14327 * manual/examples/stpcpy.c: Likewise.
14328 * manual/examples/strdupa.c: Likewise.
14329 * manual/examples/strftim.c: Likewise.
14330 * manual/examples/strncat.c: Likewise.
14331 * manual/examples/subopt.c: Likewise.
14332 * manual/examples/swapcontext.c: Likewise.
14333 * manual/examples/termios.c: Likewise.
14334 * manual/examples/testopt.c: Likewise.
14335 * manual/examples/testpass.c: Likewise.
14336 * manual/examples/timeval_subtract.c: Likewise.
14337
01ae168d
RM
14338 [BZ #13792]
14339 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14340 function to ...
14341 * manual/timeval_subtract.c.texi: ... here, new file.
14342
49efa33d
DM
143432012-03-02 David S. Miller <davem@davemloft.net>
14344
14345 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14346
28afd92d
JM
143472012-03-02 Joseph Myers <joseph@codesourcery.com>
14348
804360ed
JM
14349 [BZ #3976]
14350 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14351 (__sin): Save and restore rounding mode and use round-to-nearest
14352 for all computations.
14353 (__cos): Save and restore rounding mode and use round-to-nearest
14354 for all computations.
14355 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14356 <fenv.h>.
14357 (tan): Save and restore rounding mode and use round-to-nearest for
14358 all computations.
14359 * math/libm-test.inc (cos_test_tonearest): New function.
14360 (cos_test_towardzero): Likewise.
14361 (cos_test_downward): Likewise.
14362 (cos_test_upward): Likewise.
14363 (sin_test_tonearest): Likewise.
14364 (sin_test_towardzero): Likewise.
14365 (sin_test_downward): Likewise.
14366 (sin_test_upward): Likewise.
14367 (tan_test_tonearest): Likewise.
14368 (tan_test_towardzero): Likewise.
14369 (tan_test_downward): Likewise.
14370 (tan_test_upward): Likewise.
14371 (main): Call the new functions.
14372 * sysdeps/i386/fpu/libm-test-ulps: Update.
14373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14374
a6d06d7b
JM
14375 [BZ #10135]
14376 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14377 small n, then large n, before computing and testing k+n.
14378 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14380 Likewise.
14381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14382 Likewise.
14383 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14384 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14385 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14386 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14387 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14389 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14390 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14391 * math/libm-test.inc (scalbn_test): Add more tests.
14392 (scalbln_test): Likewise.
14393
07e12bb3
JM
14394 * manual/filesys.texi (mode_t): Describe constraints on size and
14395 signedness, not exact equivalence to a particular type.
14396 (ino_t): Likewise.
14397 (ino64_t): Likewise.
14398 (dev_t): Likewise.
14399 (nlink_t): Likewise.
14400 (blkcnt_t): Likewise.
14401 (blkcnt64_t): Likewise.
14402 * manual/llio.texi (off_t): Likewise.
14403
28afd92d
JM
14404 [BZ #3976]
14405 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14406 (__ieee754_exp): Save and restore rounding mode and use
14407 round-to-nearest for all computations.
14408 * math/libm-test.inc (exp_test_tonearest): New function.
14409 (exp_test_towardzero): Likewise.
14410 (exp_test_downward): Likewise.
14411 (exp_test_upward): Likewise.
14412 (main): Call the new functions.
14413 * sysdeps/i386/fpu/libm-test-ulps: Update.
14414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14415
b1eeb65d
CD
144162012-03-01 Chris Demetriou <cgd@google.com>
14417
14418 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14419 have predictable order.
14420
53362a4b
DM
144212012-03-01 David S. Miller <davem@davemloft.net>
14422
3c969083
DM
14423 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14424
759707de
DM
14425 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14426 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14427 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14428 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14429
dfdb8ff2
DM
14430 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14431 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14432 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14434 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14435 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14436 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14437 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14438 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14439
ead89f96
DM
14440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14441
7f66bd07
DM
14442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14443 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14444 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14445
53362a4b
DM
14446 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14447 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14448 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14449 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14450 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14451 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14452 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14453 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14454 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14455 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14456 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14457 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14459 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14460 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14461 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14462 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14463 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14464 * sysdeps/sparc/elf/configure: Regenerated.
14465
7b1902cb
JM
144662012-03-01 Joseph Myers <joseph@codesourcery.com>
14467
bec039bc
JM
14468 * configure.in (AS, LD): Require binutils 2.20 or later.
14469 * configure: Regenerated.
14470 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14471 as required minimum version.
14472 * INSTALL: Regenerated.
14473
7b1902cb
JM
14474 [BZ #2541]
14475 [BZ #4108]
14476 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14477 before squaring exponent.
14478 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14479 bottom long double and 27 bits of top long double before squaring
14480 exponent.
14481 * math/libm-test.inc (erfc_test): Add more tests.
14482 * sysdeps/i386/fpu/libm-test-ulps: Update.
14483 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14485
f775c276
KT
144862012-03-01 Kai Tietz <ktietz@redhat.com>
14487
14488 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14489 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14490 containing bit-fields.
14491 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14492 * soft-fp/single.h (_FP_UNION_S): Likewise.
14493 * soft-fp/double.h (_FP_UNION_D): Likewise.
14494
5b8a4d4a
JM
144952012-02-29 Joseph Myers <joseph@codesourcery.com>
14496
0bab47b6
JM
14497 [BZ #13786]
14498 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14499 not include ../strcmp.S.
14500 [USE_AS_STRNCASECMP_L]: Likewise.
14501 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14502 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14503 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14504 (__strncasecmp_l_ia32): Define as alias to
14505 __strncasecmp_l_nonascii.
14506
0fcad3e2
JM
14507 [BZ #5794]
14508 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14509 * sysdeps/i386/fpu/libm-test-ulps: Update.
14510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14511
5b8a4d4a
JM
14512 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14514
8fdceb2e
JL
145152012-02-29 Jeff Law <law@redhat.com>
14516
14517 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14518 out of bounds read.
14519
1f393a11
MP
145202012-02-29 Marek Polacek <polacek@redhat.com>
14521
14522 [BZ #13706]
14523 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14524 * elf/Makefile: Add rules to run tst-unused-dep.out.
14525
8847f037
DM
145262012-02-28 David S. Miller <davem@davemloft.net>
14527
14528 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14529 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14532 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14533 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14534
169d7f11
JM
145352012-02-29 Joseph Myers <joseph@codesourcery.com>
14536
14537 * math/libm-test.inc (llround_test): Move one test from
14538 lround_test. Use TEST_f_L in moved test.
14539 (lround_test): Move misplaced test to llround_test. Add testcase
14540 from bug 2561.
14541
39adf059
UD
145422012-02-28 Ulrich Drepper <drepper@gmail.com>
14543
14544 * sysdeps/x86_64/fpu/e_expf.S: New file.
14545 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14546
71b5d1c5
SB
145472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14548
14549 [BZ #13637]
14550 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14551 of remain_len that may cause incomplete multi-byte character and
14552 false match.
14553 * posix/bug-regex33.c: New file.
14554 * posix/Makefile (tests): Add bug-regex33.
14555
1f77f049
JM
145562012-02-28 Joseph Myers <joseph@codesourcery.com>
14557
14558 * manual/macros.texi: New file.
14559 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14560 * manual/libc.texinfo: Include macros.texi.
14561 * manual/creatute.texi: Likewise.
14562 * manual/install.texi: Likewise.
14563 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14564 @glibcadj{} in references to the GNU C Library.
14565 * manual/charset.texi: Likewise.
14566 * manual/conf.texi: Likewise.
14567 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14568 when not using those macros.
14569 * manual/creature.texi: Likewise.
14570 * manual/crypt.texi: Likewise.
14571 * manual/errno.texi: Likewise.
14572 * manual/filesys.texi: Likewise.
14573 * manual/header.texi: Likewise.
14574 * manual/install.texi: Likewise.
14575 * manual/intro.texi: Likewise.
14576 * manual/io.texi: Likewise.
14577 * manual/job.texi: Likewise.
14578 * manual/lang.texi: Likewise.
14579 * manual/libc.texiinfo: Likewise.
14580 * manual/llio.texi: Likewise.
14581 * manual/locale.texi: Likewise.
14582 * manual/maint.texi: Likewise.
14583 * manual/math.texi: Likewise.
14584 * manual/memory.texi: Likewise.
14585 * manual/message.texi: Likewise.
14586 * manual/nss.texi: Likewise.
14587 * manual/pattern.texi: Likewise.
14588 * manual/process.texi: Likewise.
14589 * manual/resource.texi: Likewise.
14590 * manual/search.texi: Likewise.
14591 * manual/setjmp.texi: Likewise.
14592 * manual/signal.texi: Likewise.
14593 * manual/socket.texi: Likewise.
14594 * manual/startup.texi: Likewise.
14595 * manual/stdio.texi: Likewise.
14596 * manual/string.texi: Likewise.
14597 * manual/sysinfo.texi: Likewise.
14598 * manual/syslog.texi: Likewise.
14599 * manual/terminal.texi: Likewise.
14600 * manual/time.texi: Likewise.
14601 * manual/users.texi: Likewise.
14602 * INSTALL: Regenerated.
14603 * NOTES: Regenerated.
d40c5d54 14604 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14605
450bf206
AS
146062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14607
14608 * include/dirent.h: Include <dirstream.h> before
14609 <dirent/dirent.h>.
14610
741a235b
DM
146112012-02-28 David S. Miller <davem@davemloft.net>
14612
14613 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14614 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14615 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14616 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14617
d6b5aa58
DM
146182012-02-27 David S. Miller <davem@davemloft.net>
14619
1aff59a3
DM
14620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14622 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14623 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14624
d6b5aa58
DM
14625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14626 frame pointer instead of stack pointer relative arg slot.
14627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14628 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14629 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14630
433f48bf
CD
146312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14632
14633 [BZ #3992]
14634 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14635
d674b76d
DM
146362012-02-27 David S. Miller <davem@davemloft.net>
14637
14638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14642 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14643 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14644 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14645 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14646
0e7727f7
JM
146472012-02-27 Joseph Myers <joseph@codesourcery.com>
14648
14649 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14650 later. Allow versions 5-9.
43be4ca2 14651 * configure: Regenerated.
0e7727f7
JM
14652 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14653 required minimum version and 4.6 as recommended version. Do not
14654 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14655 * INSTALL: Regenerated.
0e7727f7 14656
a78bc654
DM
146572012-02-27 David S. Miller <davem@davemloft.net>
14658
428d5830
DM
14659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14663 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14664 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14665 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14666 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14667
a78bc654
DM
14668 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14669 manipulate bits before adding and subtracting TWO112[sx].
14670 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14671
4579f81c
RM
146722012-02-27 Roland McGrath <roland@hack.frob.com>
14673
36c8acb4
RM
14674 [BZ #13775]
14675 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14676 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14677 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14678 being in POSIX, because they are in 1003.1-2008.
14679
84ad622b
RM
14680 * rt/tst-aio.c: Include <fcntl.h>.
14681 * rt/tst-aio7.c: Likewise.
14682 * rt/tst-aio64.c: Likewise.
14683
4579f81c
RM
14684 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14685
abd923db
JM
146862012-02-27 Joseph Myers <joseph@codesourcery.com>
14687
14688 * manual/install.texi (--with-headers): Describe headers as
14689 interface headers, not private headers.
14690 (Specific advice for GNU/Linux systems): Describe use of headers
14691 from "make headers_install", not private headers from older
14692 kernels.
43be4ca2 14693 * INSTALL: Regenerated.
abd923db
JM
14694 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14695 Change to 2.6.19.
14696 * sysdeps/unix/sysv/linux/configure: Regenerated.
14697
6664049b
JM
14698 * manual/llio.texi (fclean): Remove documentation.
14699
bb8b6697
JM
14700 * manual/Makefile (libc-texi-generated): New variable. Include
14701 version.texi.
14702 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14703 $(libc-texi-generated), not duplicated list of files.
14704 (version.texi, stamp-version): New rules.
14705 (realclean): Remove $(libc-texi-generated), not individual files
14706 from that list. Do not remove dir-add.texinfo.
14707 * manual/libc.texinfo: Comment out uses of edition numbers and
14708 references to printed manual. Remove last-updated dates.
14709 (EDITION): Comment out.
14710 (ISBN): Likewise.
14711 (VERSION, UPDATED): Remove.
14712 (version.texi): Include.
14713
12e5c3b9
AS
147142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14715
14716 * sysdeps/posix/spawni.c: Include <signal.h>.
14717 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14718 * sysdeps/pthread/aio_fsync.c: Likewise.
14719
4efeffc1 147202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14721
ba63ba08
UD
14722 * conform/Makefile (tests): Run only when not cross-compiling and
14723 when fast-check is not defined.
14724
d94a4670
UD
14725 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14726 * conform/data/limits.h-data: Fixes for POSIX2008.
14727 * conform/run-conformtest.sh: Run all tests.
14728 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14729 headers.
14730 * include/bits/dlfcn.h: Likewise.
14731 * include/langinfo.h: Likewise.
14732 * include/monetary.h: Likewise.
14733 * include/sys/poll.h: Likewise.
14734
14735 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14736 for __USE_GNU.
14737 * posix/spawn.h: Define __need_sigset_t.
14738 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14739 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14740 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14741 to get sigevent_t only.
14742 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14743 only for __USE_GNU.
14744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14745 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14746 process_vm_writev only for __USE_GNU.
14747 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14748
14749 * conform/Makefile: For now ignore errors from run-conformtest.
14750 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14751 POSIX to avoid namespace pollution. Don't prepend headers.
14752 * conform/data/aio.h-data: Fixes for POSIX testing.
14753 * conform/data/fcntl.h-data: Likewise.
14754 * conform/data/glob.h-data: Likewise.
14755 * conform/data/grp.h-data: Likewise.
14756 * conform/data/pthread.h-data: Likewise.
14757 * conform/data/pwd.h-data: Likewise.
14758 * conform/data/signal.h-data: Likewise.
14759 * conform/data/spawn.h-data: Likewise.
14760 * conform/data/stdio.h-data: Likewise.
14761 * conform/data/stdlib.h-data: Likewise.
14762 * conform/data/stropts.h-data: Likewise.
14763 * conform/data/sys/mman.h-data: Likewise.
14764 * conform/data/sys/stat.h-data: Likewise.
14765 * conform/data/sys/types.h-data: Likewise.
14766 * conform/data/sys/wait.h-data: Likewise.
14767 * conform/data/time.h-data: Likewise.
14768 * conform/data/unistd.h-data: Likewise.
14769 * conform/data/utime.h-data: Likewise.
14770
14771 * io/sys/stat.h: fchmod was always in POSIX.
14772 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14773 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14774 * rt/aio.h: Define __need_timespec before including <time.h>.
14775 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14776 struct. Add forward declaration of pthread_attr_t and use it in
14777 sigevent.
14778 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14779 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14780 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14781 always remove CLK_TCK definition.
14782
c20105c3
AS
147832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14784
14785 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14786
7a270350
UD
147872012-02-25 Ulrich Drepper <drepper@gmail.com>
14788
31341567
UD
14789 * conform/run-conformtest.sh: New file.
14790 * conform/Makefile: Run run-conformtest for tests.
14791 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14792 support.
14793
14794 * conform/data/uchar.h-data: New file.
14795 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14796 * conform/data/arpa/inet.h-data: Likewise.
14797 * conform/data/assert.h-data: Likewise.
14798 * conform/data/complex.h-data: Likewise.
14799 * conform/data/cpio.h-data: Likewise.
14800 * conform/data/ctype.h-data: Likewise.
14801 * conform/data/dirent.h-data: Likewise.
14802 * conform/data/dlfcn.h-data: Likewise.
14803 * conform/data/errno.h-data: Likewise.
14804 * conform/data/fcntl.h-data: Likewise.
14805 * conform/data/float.h-data: Likewise.
14806 * conform/data/fmtmsg.h-data: Likewise.
14807 * conform/data/fnmatch.h-data: Likewise.
14808 * conform/data/ftw.h-data: Likewise.
14809 * conform/data/glob.h-data: Likewise.
14810 * conform/data/grp.h-data: Likewise.
14811 * conform/data/iconv.h-data: Likewise.
14812 * conform/data/inttypes.h-data: Likewise.
14813 * conform/data/langinfo.h-data: Likewise.
14814 * conform/data/libgen.h-data: Likewise.
14815 * conform/data/limits.h-data: Likewise.
14816 * conform/data/locale.h-data: Likewise.
14817 * conform/data/math.h-data: Likewise.
14818 * conform/data/monetary.h-data: Likewise.
14819 * conform/data/mqueue.h-data: Likewise.
14820 * conform/data/ndbm.h-data: Likewise.
14821 * conform/data/net/if.h-data: Likewise.
14822 * conform/data/netdb.h-data: Likewise.
14823 * conform/data/netinet/in.h-data: Likewise.
14824 * conform/data/nl_types.h-data: Likewise.
14825 * conform/data/poll.h-data: Likewise.
14826 * conform/data/pthread.h-data: Likewise.
14827 * conform/data/pwd.h-data: Likewise.
14828 * conform/data/regex.h-data: Likewise.
14829 * conform/data/sched.h-data: Likewise.
14830 * conform/data/search.h-data: Likewise.
14831 * conform/data/semaphore.h-data: Likewise.
14832 * conform/data/setjmp.h-data: Likewise.
14833 * conform/data/signal.h-data: Likewise.
14834 * conform/data/spawn.h-data: Likewise.
14835 * conform/data/stdarg.h-data: Likewise.
14836 * conform/data/stdio.h-data: Likewise.
14837 * conform/data/stdlib.h-data: Likewise.
14838 * conform/data/string.h-data: Likewise.
14839 * conform/data/strings.h-data: Likewise.
14840 * conform/data/stropts.h-data: Likewise.
14841 * conform/data/sys/ipc.h-data: Likewise.
14842 * conform/data/sys/mman.h-data: Likewise.
14843 * conform/data/sys/msg.h-data: Likewise.
14844 * conform/data/sys/resource.h-data: Likewise.
14845 * conform/data/sys/select.h-data: Likewise.
14846 * conform/data/sys/sem.h-data: Likewise.
14847 * conform/data/sys/shm.h-data: Likewise.
14848 * conform/data/sys/socket.h-data: Likewise.
14849 * conform/data/sys/stat.h-data: Likewise.
14850 * conform/data/sys/statvfs.h-data: Likewise.
14851 * conform/data/sys/time.h-data: Likewise.
14852 * conform/data/sys/timeb.h-data: Likewise.
14853 * conform/data/sys/times.h-data: Likewise.
14854 * conform/data/sys/types.h-data: Likewise.
14855 * conform/data/sys/uio.h-data: Likewise.
14856 * conform/data/sys/un.h-data: Likewise.
14857 * conform/data/sys/utsname.h-data: Likewise.
14858 * conform/data/sys/wait.h-data: Likewise.
14859 * conform/data/syslog.h-data: Likewise.
14860 * conform/data/tar.h-data: Likewise.
14861 * conform/data/termios.h-data: Likewise.
14862 * conform/data/utime.h-data: Likewise.
14863 * conform/data/utmpx.h-data: Likewise.
14864 * conform/data/varargs.h-data: Likewise.
14865 * conform/data/wchar.h-data: Likewise.
14866 * conform/data/wctype.h-data: Likewise.
14867 * conform/data/wordexp.h-data: Likewise.
14868
14869 * include/stropts.h: New file.
14870 * include/uchar.h: New file.
14871 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14872 * include/assert.h: Likewise.
14873 * include/ctype.h: Likewise.
14874 * include/dirent.h: Likewise.
14875 * include/dlfcn.h: Likewise.
14876 * include/fcntl.h: Likewise.
14877 * include/fnmatch.h: Likewise.
14878 * include/glob.h: Likewise.
14879 * include/grp.h: Likewise.
14880 * include/libio.h: Likewise.
14881 * include/locale.h: Likewise.
14882 * include/math.h: Likewise.
14883 * include/net/if.h: Likewise.
14884 * include/netdb.h: Likewise.
14885 * include/netinet/in.h: Likewise.
14886 * include/pthread.h: Likewise.
14887 * include/pwd.h: Likewise.
14888 * include/regex.h: Likewise.
14889 * include/sched.h: Likewise.
14890 * include/search.h: Likewise.
14891 * include/setjmp.h: Likewise.
14892 * include/signal.h: Likewise.
14893 * include/stdio.h: Likewise.
14894 * include/stdlib.h: Likewise.
14895 * include/string.h: Likewise.
14896 * include/sys/cdefs.h: Likewise.
14897 * include/sys/mman.h: Likewise.
14898 * include/sys/msg.h: Likewise.
14899 * include/sys/resource.h: Likewise.
14900 * include/sys/select.h: Likewise.
14901 * include/sys/socket.h: Likewise.
14902 * include/sys/stat.h: Likewise.
14903 * include/sys/statvfs.h: Likewise.
14904 * include/sys/time.h: Likewise.
14905 * include/sys/times.h: Likewise.
14906 * include/sys/uio.h: Likewise.
14907 * include/sys/utsname.h: Likewise.
14908 * include/sys/wait.h: Likewise.
14909 * include/termios.h: Likewise.
14910 * include/time.h: Likewise.
14911 * include/ulimit.h: Likewise.
14912 * include/unistd.h: Likewise.
14913 * include/utime.h: Likewise.
14914 * include/wchar.h: Likewise.
14915 * include/wctype.h: Likewise.
14916 * include/wordexp.h: Likewise.
14917
14918 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14919
7a270350
UD
14920 * time/time.h: TIME_UTC must be a macro.
14921 Make timespec_get available for ISO C11 only as well.
14922
7724defc
UD
149232012-02-24 Ulrich Drepper <drepper@gmail.com>
14924
14925 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14926 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14927
6b1d1d46
JM
149282012-02-24 Joseph Myers <joseph@codesourcery.com>
14929
14930 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14931
0f8bbd69
JM
149322012-02-24 Joseph Myers <joseph@codesourcery.com>
14933
14934 * manual/texinfo.tex: Update to version 2012-01-19.16.
14935
66ab80bc
JM
149362012-02-24 Joseph Myers <joseph@codesourcery.com>
14937
14938 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14939
74981cc5
RM
149402012-02-24 Roland McGrath <roland@hack.frob.com>
14941
ee968201
RM
14942 [BZ #13738]
14943 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14944 * manual/fdl-1.3.texi: New file.
14945 * manual/fdl-1.1.texi: File removed.
14946
74981cc5
RM
14947 [BZ #13738]
14948 * manual/libc.texinfo (FDL_VERSION): New @set.
14949 Use it for mention of FDL in cover text.
14950 (Documentation License): Use it in @include file name.
14951
7bb764bc
JM
149522012-02-22 Joseph Myers <joseph@codesourcery.com>
14953 Roland McGrath <roland@hack.frob.com>
14954
14955 [BZ #5461]
14956 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14957 not LONG_LONG_MAX and LONG_LONG_MIN.
14958 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14959 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14960 name.
14961 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14962
6cbeae47
JM
149632012-02-22 Joseph Myers <joseph@codesourcery.com>
14964
14965 [BZ #2547]
14966 [BZ #11365]
14967 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14968 manipulate bits before adding and subtracting TWO23[sx].
14969 * math/libm-test.inc (nearbyint_test): Add more tests.
14970
fe45ce09
JM
149712012-02-22 Joseph Myers <joseph@codesourcery.com>
14972
14973 [BZ #2548]
14974 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14975 bits before adding and subtracting TWO23[sx].
14976 * math/libm-test.inc (rint_test): Add more tests.
14977 (rint_test_tonearest): Likewise.
14978 (rint_test_towardzero): Likewise.
14979 (rint_test_downward): Likewise.
14980 (rint_test_upward: Likewise.
14981
ff3b3d82
JM
149822012-02-22 Joseph Myers <joseph@codesourcery.com>
14983
14984 [BZ #10110]
14985 * include/stdc-predef.h: New file. Extracted from features.h.
14986 * include/features.h: Include stdc-predef.h.
14987 * Makefile (headers): Add stdc-predef.h.
14988 * CONFORMANCE (Compiler limitations): Update.
14989
ef0aab35
JM
149902012-02-22 Joseph Myers <joseph@codesourcery.com>
14991
14992 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14993
58639409
DM
149942012-02-21 David S. Miller <davem@davemloft.net>
14995
14996 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14997 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14998
c0e70b25
DM
149992012-02-20 David S. Miller <davem@davemloft.net>
15000
15001 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15002 using a normal save/restore sequence, rather than allocating a
15003 dummy stack frame just to store a frame pointer and restore.
15004 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15005
fb06851d
JM
150062012-02-21 Joseph Myers <joseph@codesourcery.com>
15007
15008 * manual/install.texi: Fix stray word in line-wrapped comment.
15009
7a8b71c3
DM
150102012-02-20 David S. Miller <davem@davemloft.net>
15011
d510c123
DM
15012 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15013 both binutils and gcc support GOTDATA.
15014
0722d7c2
DM
15015 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15016 "rd %pc" in the PIC register setup sequences.
15017
3d2b3019
DM
15018 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15019 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15020 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15021 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15022 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15024 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15025 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15027 (SYSCALL_ERROR_HANDLER): Likewise.
15028 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15029 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15031 (SYSCALL_ERROR_HANDLER): Likewise.
15032
c80098a9
DM
15033 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15034 (HAVE_GCC_GOTDATA): New.
15035 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15036 relocation support in both binutils and gcc.
15037 * sysdeps/sparc/elf/configure: Regenerate.
15038
3a2545a0
DM
15039 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15040 * sysdeps/sparc/sparc32/elf/configure: Delete.
15041 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15042 * sysdeps/sparc/sparc64/elf/configure: Delete.
15043 * sysdeps/sparc/elf/configure.in: New file.
15044 * sysdeps/sparc/elf/configure: Generate.
15045
7a8b71c3
DM
15046 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15047 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15048 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15049 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15050 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15051
f1e86fca
JM
150522012-02-21 Joseph Myers <joseph@codesourcery.com>
15053
15054 * manual/install.texi: Do not mention specific glibc version
15055 numbers.
15056 * manual/libc.texinfo (VERSION, UPDATED): Update.
15057 (@copying): Use @copyright{} and range of years.
15058
0e7dfaef
JM
150592012-02-21 Joseph Myers <joseph@codesourcery.com>
15060
15061 [BZ #13695]
15062 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15063 [crti.S not in sysdirs] (generated): Do not append.
15064 [crti.S not in sysdirs] (omit-deps): Likewise.
15065 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15066 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15067 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15068 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15069 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15070 Likewise.
15071 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15072 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15073 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15074 * csu/defs.awk: Remove file.
15075 * sysdeps/generic/initfini.c: Likewise.
15076 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15077 variable.
15078 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15079 Likewise.
15080
599af3ca
JM
150812012-02-20 Joseph Myers <joseph@codesourcery.com>
15082
15083 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15084 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15085 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15086 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15087 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15088 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15089 <bits/epoll.h>.
15090 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15091 (__EPOLL_PACKED): Define to empty if not defined by
15092 <bits/epoll.h>.
15093 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15095 bits/epoll.h.
15096
0e499750
JM
150972012-02-20 Joseph Myers <joseph@codesourcery.com>
15098
15099 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15100 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15101 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15102 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15103 <bits/timerfd.h>.
15104 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15106 bits/timerfd.h.
15107
5ad91f6e
JM
151082012-02-20 Joseph Myers <joseph@codesourcery.com>
15109
15110 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15111 in C locale.
15112 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15113 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15114 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15116
06b99b02
AJ
151172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15118
15119 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15120 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15121
7638c0fd
AS
151222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15123
15124 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15125 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15126 defined.
15127 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15128 Likewise.
15129 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15130 entry for 2.16.
15131
92221550
AJ
151322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15133
15134 * math/w_acos.c: Use non-signaling floating-point comparisons.
15135 * math/w_acosf.c: Likewise.
15136 * math/w_acosh.c: Likewise.
15137 * math/w_acoshf.c: Likewise.
15138 * math/w_acoshl.c: Likewise.
15139 * math/w_acosl.c: Likewise.
15140 * math/w_asin.c: Likewise.
15141 * math/w_asinf.c: Likewise.
15142 * math/w_asinl.c: Likewise.
15143 * math/w_atanh.c: Likewise.
15144 * math/w_atanhf.c: Likewise.
15145 * math/w_atanhl.c: Likewise.
15146 * math/w_exp2.c: Likewise.
15147 * math/w_exp2f.c: Likewise.
15148 * math/w_exp2l.c: Likewise.
15149 * math/w_j0.c: Likewise.
15150 * math/w_j0f.c: Likewise.
15151 * math/w_j0l.c: Likewise.
15152 * math/w_j1.c: Likewise.
15153 * math/w_j1f.c: Likewise.
15154 * math/w_j1l.c: Likewise.
15155 * math/w_jn.c: Likewise.
15156 * math/w_jnf.c: Likewise.
15157 * math/w_log.c: Likewise.
15158 * math/w_log10.c: Likewise.
15159 * math/w_log10f.c: Likewise.
15160 * math/w_log10l.c: Likewise.
15161 * math/w_log2.c: Likewise.
15162 * math/w_log2f.c: Likewise.
15163 * math/w_log2l.c: Likewise.
15164 * math/w_logf.c: Likewise.
15165 * math/w_logl.c: Likewise.
15166 * math/w_sqrt.c: Likewise.
15167 * math/w_sqrtf.c: Likewise.
15168 * math/w_sqrtl.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15171 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15172 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15173 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15174
ebaf36eb
JM
151752012-02-19 Joseph Myers <joseph@codesourcery.com>
15176
15177 [BZ #9739]
15178 * manual/string.texi (strnlen): Use correct parameter name in
15179 equivalent expression.
15180
71c254a6
JM
151812012-02-19 Joseph Myers <joseph@codesourcery.com>
15182
15183 [BZ #11174]
15184 * manual/users.texi (seteuid): Consistently use neweuid for
15185 argument name.
15186
16d2c631
JM
151872012-02-19 Joseph Myers <joseph@codesourcery.com>
15188
15189 [BZ #13704]
15190 * manual/nss.texi (Services in the NSS configuration): Correct
15191 list of services in example configuration file.
15192
cd837b09
NB
151932012-02-19 Nick Bowler <nbowler@draconx.ca>
15194
15195 [BZ #11322]
15196 * manual/arith.texi: Remove statements about negative zero
15197 behaving identically to zero.
15198
02c4bbad
JM
151992012-02-18 Joseph Myers <joseph@codesourcery.com>
15200
15201 [BZ #5993]
15202 * manual/install.texi: Do not document upgrading from libc5.
15203
366842e7
JM
152042012-02-18 Joseph Myers <joseph@codesourcery.com>
15205
15206 [BZ #4596]
15207 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15208
dd54084d
DM
152092012-02-18 David S. Miller <davem@davemloft.net>
15210
15211 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15212 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15213 %o7 across the call.
15214 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15215 instead.
15216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15217 SETUP_PIC_REG_LEAF.
15218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15219 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15220 * sysdeps/sparc/crtn.S: Likewise.
15221
2bcc53a3
UD
152222012-02-17 Ulrich Drepper <drepper@gmail.com>
15223
15224 * aout/Makefile: Remove.
15225
09c093b5
RK
152262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15227
15228 [BZ #13058]
15229 * manual/examples/argp-ex1.c (main): Format definition in GNU
15230 style.
15231 * manual/examples/argp-ex2.c (main): Likewise.
15232 * manual/examples/argp-ex3.c (main): Likewise.
15233 * manual/examples/argp-ex4.c (main): Likewise.
15234 * manual/examples/longopt.c (main): Use new-style prototype
15235 definition.
15236 * manual/examples/strncat.c (main): Specify return type and use
15237 (void) for arguments.
15238 * manual/examples/subopt.c (main): Use char **argv argument.
15239
2ee633a2
JM
152402012-02-17 Joseph Myers <joseph@codesourcery.com>
15241
15242 [BZ #5077]
15243 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15244 rounding modes.
15245
0520adde
FB
152462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15247
15248 [BZ #6907]
15249 * manual/string.texi (strchr): Change when strchrnul is
15250 recommended.
15251
3f4081cd
DGM
152522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15253
15254 [BZ #174]
15255 * manual/locale.texi (setlocale): Document LOCPATH.
15256
d1b10e78
JM
152572012-02-17 Joseph Myers <joseph@codesourcery.com>
15258
15259 [BZ #10210]
15260 * manual/process.texi (execle): Move @dots{} before last argument.
15261
79c6869c
PB
152622012-02-17 Paul Bolle <pebolle@tiscali.nl>
15263
15264 [BZ #12047]
15265 * manual/charset.texi (Generic Charset Conversion): Fix typo
15266 (LC_TYPE -> LC_CTYPE).
15267
cc6e48bc
NB
152682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15269
15270 [BZ #5805]
15271 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15272 (scalbnf): Likewise.
15273 (scalbnl): Likewise.
15274 (scalbln): Likewise.
15275 (scalblnf): Likewise.
15276 (scalblnl): Likewise.
15277 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15278 (vwarnx): Likewise.
15279 (verr): Likewise.
15280 (verrx): Likewise.
15281 * manual/filesys.texi (telldir): Use braces around return type.
15282 * manual/llio.texi (mmap): Add space after comma.
15283 (mmap64): Likewise.
15284 * manual/math.texi (jn): Use @var{} on parameter names.
15285 (jnf): Likewise.
15286 (jnl): Likewise.
15287 (yn): Likewise.
15288 (ynf): Likewise.
15289 (ynl): Likewise.
15290 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15291 line.
15292 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15293 "...".
15294 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15295 (sched_get_priority_max): Likewise.
15296 * manual/signal.texi (sigvec): Add space after comma.
15297 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15298 names.
15299 (if_indextoname): Likewise.
15300 (if_freenameindex): Likewise.
15301 (sendto): Use ',' instead of '.' in prototype.
15302 * manual/startup.texi (syscall): Use @dots{} instead of literal
15303 "...".
15304 * manual/stdio.texi (__fpending): Separate initial words of
15305 paragraph from @deftypefun line.
15306 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15307 "...".
15308 (vsyslog): Use @var{} on parameter names.
15309 * manual/terminal.texi (stty): Use @var{} on parameter names.
15310 * manual/users.texi (getutmp): Use @var{} on parameter names.
15311 (getutmpx): Likewise.
15312
5b23062f
JM
153132012-02-17 Joseph Myers <joseph@codesourcery.com>
15314
15315 [BZ #6884]
15316 * manual/stdio.texi (fopen): Fix typos in description of
15317 ",ccs=STRING".
15318
8dee4833
AJ
153192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15320
15321 [BZ #4026]
15322 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15323 get clock_id definition.
15324
9078ce93
TS
153252012-02-17 Thomas Schwinge <thomas@schwinge.name>
15326
15327 [BZ #4822]
15328 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15329 (madvise): Cast every argument to void on its own.
15330
3835c55f
JM
153312012-02-17 Joseph Myers <joseph@codesourcery.com>
15332
15333 [BZ #9902]
15334 * manual/startup.texi (Exit Status): Fix typo.
15335
35c47e37
JM
153362012-02-17 Joseph Myers <joseph@codesourcery.com>
15337
15338 [BZ #10140]
15339 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15340 * manual/examples/argp-ex2.c: Likewise.
15341 * manual/examples/argp-ex3.c: Likewise.
15342
e3b69ca7
RH
153432012-02-16 Richard Henderson <rth@redhat.com>
15344
15345 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15346 * sysdeps/s390/s390-32/initfini.c: Remove.
15347 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15348 * sysdeps/s390/s390-64/initfini.c: Remove.
15349
df83af67
KK
153502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15351
15352 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15353 compiler output for sysdeps/generic/initfini.c.
15354 * sysdeps/sh/elf/initfini.c: Remove file.
15355
f63f3380
DM
153562012-02-16 David S. Miller <davem@davemloft.net>
15357
fb59b3a4
DM
15358 [BZ #11494]
15359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15360
f63f3380
DM
15361 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15362 * sysdeps/sparc/crti.S: New file.
15363 * sysdeps/sparc/crtn.S: New file.
15364 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15365 * sysdeps/sparc/sparc64/Makefile: Likewise.
15366
df6a4a4a
MF
153672012-02-15 Mike Frysinger <vapier@gentoo.org>
15368
6dd8f3dc 15369 [BZ #3335]
df6a4a4a
MF
15370 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15371
1cac7236
RM
153722012-02-15 Roland McGrath <roland@hack.frob.com>
15373
d2c736f8
RM
15374 [BZ #4822]
15375 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15376
1cac7236
RM
15377 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15378 (write, read, close): Likewise.
15379 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15380
8e475601
JM
153812012-02-15 Joseph Myers <joseph@codesourcery.com>
15382
15383 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15384 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15385 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15386 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15387 <bits/signalfd.h>.
15388 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15390 bits/signalfd.h.
15391
ed656b40
MP
153922012-02-14 Marek Polacek <polacek@redhat.com>
15393
15394 * sysdeps/x86_64/crti.S: New file.
15395 * sysdeps/x86_64/crtn.S: New file.
15396 * sysdeps/x86_64/elf/initfini.c: Remove file.
15397
2a979d3a
JM
153982012-02-13 Joseph Myers <joseph@codesourcery.com>
15399
15400 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15401 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15402 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15403 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15404 <bits/inotify.h>.
15405 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15407 bits/inotify.h.
15408
2a418ac3
JM
154092012-02-13 Joseph Myers <joseph@codesourcery.com>
15410
15411 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15412 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15413 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15414 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15415 <bits/eventfd.h>.
15416 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15418 bits/eventfd.h.
15419
fb779be7
TS
154202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15421
e19e83c5
RM
15422 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15423 __feraiseexcept instead of feraiseexcept.
7c35ffed 15424
fb779be7
TS
15425 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15426 nanosleep invocations.
15427 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15428 strings, and add error checking for a nanosleep invocations.
15429
59ba27a6
PE
154302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15431
15432 Replace FSF snail mail address with URLs, as per GNU coding standards.
15433 Most of the snail mail addresses were wrong anyway, and omitting
15434 them makes the source code easier to maintain. Almost all of the
15435 changes are to license notices and to locale LC_IDENTIFICATION
15436 addresses, except for this one:
15437 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15438 not its snail mail address.
15439
57b957eb
RH
154402012-02-09 Richard Henderson <rth@twiddle.net>
15441
af850b1c
RH
15442 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15443 of kernel-features.h.
15444
57b957eb
RH
15445 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15446
6b73181a
MP
154472012-02-08 Marek Polacek <polacek@redhat.com>
15448
15449 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15450 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15451 * sysdeps/gnu/_G_config.h: Likewise.
15452 * sysdeps/generic/_G_config.h: Likewise.
15453
26ecc33a
AS
154542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15455
6c6dbc63
AS
15456 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15457 tests.
15458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15459
e216c012
AS
15460 * sysdeps/powerpc/powerpc32/crti.S: New file.
15461 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15462 * sysdeps/powerpc/powerpc64/crti.S: New file.
15463 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15464
26ecc33a
AS
15465 * Makeconfig (have-initfini): Don't set.
15466 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15467 * configure.in (nopic_initfini): Don't substitute.
15468 * config.h.in (HAVE_INITFINI): Don't #undef.
15469 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15470 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15471
3add8e13
JM
154722012-02-08 Joseph Myers <joseph@codesourcery.com>
15473
15474 Support crti.S and crtn.S provided directly by architectures.
15475 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15476 [crti.S in sysdirs] (omit-deps): Likewise.
15477 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15478 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15479 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15480 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15481 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15482 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15483 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15484 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15485 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15486 compiler output for sysdeps/generic/initfini.c.
15487 * sysdeps/i386/elf/Makefile: Remove file.
15488 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15489
a22f12b4
MP
154902012-02-07 Marek Polacek <polacek@redhat.com>
15491
15492 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15493 * sysdeps/gnu/_G_config.h: Likewise.
15494 * sysdeps/mach/hurd/_G_config.h: Likewise.
15495
148cf100
MP
154962012-02-07 Marek Polacek <polacek@redhat.com>
15497
15498 * math/Makefile (tests): Add tst-CMPLX2.
15499 * math/tst-CMPLX2.c: New file.
15500
cfdc0dd7
AS
155012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15502
84ba42c4
AS
15503 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15504
cfdc0dd7
AS
15505 * math/libm-test.inc (jn_test): Add missing L suffix.
15506
622c86f4
MP
155072012-02-06 Marek Polacek <polacek@redhat.com>
15508
15509 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15510 * sysdeps/i386/fpu/e_powf.S: Likewise.
15511 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15512 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15513 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15514 * sysdeps/i386/fpu/e_pow.S: Likewise.
15515 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15516 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15517 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15518 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15519 * sysdeps/i386/fpu/e_log2.S: Likewise.
15520 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15521 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15522 * sysdeps/i386/fpu/e_powl.S: Likewise.
15523 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15524 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15525 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15526 * sysdeps/i386/fpu/e_logl.S: Likewise.
15527 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15528 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15529 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15530 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15531 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15532 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15533 * sysdeps/i386/fpu/e_log.S: Likewise.
15534 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15535 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15536 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15537 * sysdeps/i386/fpu/e_logf.S: Likewise.
15538 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15539 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15540 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15541 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15542 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15543 * sysdeps/i386/fpu/e_log10.S: Likewise.
15544 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15545 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15546 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15547 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15548 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15549 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15550 * sysdeps/i386/asm-syntax.h: Likewise.
15551 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15552 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15553 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15554 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15555 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15556 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15557 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15558 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15559 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15560 * sysdeps/powerpc/sysdep.h: Likewise.
15561 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15562 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15563
d4a54ac6
JM
155642012-02-06 Joseph Myers <joseph@codesourcery.com>
15565
15566 [BZ #411]
15567 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15568
314054ea
JM
155692012-02-06 Joseph Myers <joseph@codesourcery.com>
15570
15571 * sysdeps/i386/sysdep.h: Include <features.h>.
15572 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15573 version.
15574
d8e0ca50
JM
155752012-02-05 Joseph Myers <joseph@codesourcery.com>
15576
15577 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15578 Define.
15579 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15580 LOAD_PIC_REG_STR.
15581
b1da7dd9
JM
155822012-02-03 Joseph Myers <joseph@codesourcery.com>
15583
15584 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15585 (SETUP_PIC_REG): Use GET_PC_THUNK.
15586 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15587 macro.
15588
9a1d9254
JM
155892012-02-03 Joseph Myers <joseph@codesourcery.com>
15590
15591 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15592 for non-PIC compilation.
15593 (SETUP_PIC_REG): Add .p2align directive.
15594 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15595 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15610 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15611 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15612 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15613 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15614 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15615 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15616 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15617 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15618 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15620 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15621 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15622 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15623 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15624 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15625 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15626 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15627 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15628 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15629 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15630 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15631 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15632 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15633 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15634 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15635
65dc3b75
JM
156362012-02-03 Joseph Myers <joseph@codesourcery.com>
15637
15638 * math/tst-CMPLX.c: Include <stdio.h>.
15639
d55bf177
JM
156402012-01-31 Joseph Myers <joseph@codesourcery.com>
15641
15642 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15643 float.
15644 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15645 * sysdeps/sparc/bits/mathdef.h: Likewise.
15646
69db4f8f
MP
156472012-01-31 Marek Polacek <polacek@redhat.com>
15648
15649 * libio/libio.h: Don't define _PARAMS.
15650 * locale/programs/config.h: Don't define PARAMS.
15651 * stdlib/strtol_l.c: Likewise.
15652 (__strtol_l): Remove PARAMS from the prototype.
15653
41b81892
UD
156542012-01-31 Ulrich Drepper <drepper@gmail.com>
15655
3b49edc0
UD
15656 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15657 names. Just use the correct names. Remove unnecessary wrapper
15658 functions.
15659 * malloc/arena.c: Likewise.
15660 * malloc/hooks.c: Likewise.
15661
41b81892
UD
15662 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15663 ARENA_TEST says not to. Simplify test for creation of a new arena.
15664 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15665
27a25b6e
UD
156662012-01-30 Ulrich Drepper <drepper@gmail.com>
15667
15668 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15669 into tail calls.
15670 (update_get_addr): New function.
15671 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15672 GET_ADDR_MODULE parameter.
15673
c8a89e7d
JM
156742012-01-30 Joseph Myers <joseph@codesourcery.com>
15675
15676 * crypt/cert.c: Remove __STDC__ conditionals.
15677 * crypt/crypt-entry.c: Likewise.
15678 * crypt/crypt_util.c: Likewise.
15679 * libio/filedoalloc.c: Likewise.
15680 * libio/fileops.c: Likewise.
15681 * libio/genops.c: Likewise.
15682 * libio/iofclose.c: Likewise.
15683 * libio/iofdopen.c: Likewise.
15684 * libio/iofopen.c: Likewise.
15685 * libio/iofopen64.c: Likewise.
15686 * libio/iogetdelim.c: Likewise.
15687 * libio/iopopen.c: Likewise.
15688 * libio/obprintf.c: Likewise.
15689 * libio/oldfileops.c: Likewise.
15690 * libio/oldiofclose.c: Likewise.
15691 * libio/oldiofdopen.c: Likewise.
15692 * libio/oldiofopen.c: Likewise.
15693 * libio/oldiopopen.c: Likewise.
15694 * libio/wfiledoalloc.c: Likewise.
15695 * libio/wgenops.c: Likewise.
15696 * locale/programs/xmalloc.c: Likewise.
15697 * misc/syslog.c: Likewise.
15698 * stdio-common/xbug.c: Likewise.
15699 * string/memchr.c: Likewise.
15700 * string/memcmp.c: Likewise.
15701 * string/memrchr.c: Likewise.
15702 * string/rawmemchr.c: Likewise.
15703 * sysdeps/posix/getcwd.c: Likewise.
15704 * time/strftime_l.c: Likewise.
15705
3b100462
JM
157062012-01-30 Joseph Myers <joseph@codesourcery.com>
15707
15708 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15709 * config.make.in (config-cflags-sse2avx): Define.
15710 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15711 Fix typo.
15712
607998af
CM
157132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15714
15715 * scripts/config.guess: Update from upstream config git repository.
15716 * scripts/config.sub: Likewise.
15717
3601428f
CM
157182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15719
3ac8b282
CM
15720 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15721 (EM_NUM): Update.
15722 (R_TILEPRO_*, R_TILEGX_*): New macros.
15723
e034841e
CM
15724 * scripts/firstversions.awk: Fix bug in version range handling.
15725
540d7568
CM
15726 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15727
3601428f
CM
15728 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15729
463de862
CM
15730 * include/sys/epoll.h: New file.
15731 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15732 libc_hidden_def.
15733
73139a76
UD
157342012-01-28 Ulrich Drepper <drepper@gmail.com>
15735
96bc5b45
UD
15736 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15737 Avoid unnecessary __WORDSIZE == 64 test.
15738 (fmaxf): Use VEX format if possible.
15739 (fmax): Likewise.
15740 (fminf): Likewise.
15741 (fmin): Likewise.
15742
56f6f6a2
UD
15743 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15744 * math/math_private.h: Remove libc_fegetround* and
15745 libc_fesetround*.
15746 * sysdeps/i386/configure.in: Check for -msse2avx.
15747 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15748 also if SSE2AVX is defined.
15749 Remove libc_fegetround* and libc_fesetround*.
15750 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15751 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15753 of HAS_YMM_USABLE.
15754 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15755 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15759
73139a76
UD
15760 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15761
d73f93a4
AZ
157622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15763
15764 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15765 size is not set.
15766 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15767
6ee65ed6
UD
157682012-01-27 Ulrich Drepper <drepper@gmail.com>
15769
15770 [BZ #13618]
15771 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15772 relocation.
15773 * Makeconfig (libm): Define.
15774 * elf/Makefile: Add rules to build and run tst-relsort1.
15775 * elf/tst-relsort1.c: New file.
15776 * elf/tst-relsort1mod1.c: New file.
15777 * elf/tst-relsort1mod2.c: New file.
15778
8db21882
JM
157792012-01-27 Joseph Myers <joseph@codesourcery.com>
15780
15781 * math/s_ldexp.c: Remove __STDC__ conditionals.
15782 * math/s_ldexpf.c: Likewise.
15783 * math/s_ldexpl.c: Likewise.
15784 * math/s_nextafter.c: Likewise.
15785 * math/s_nexttowardf.c: Likewise.
15786 * math/s_significand.c: Likewise.
15787 * math/s_significandf.c: Likewise.
15788 * math/s_significandl.c: Likewise.
15789 * math/w_jnl.c: Likewise.
15790 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15791 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15792 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15793 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15794 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15799 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15800 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15803 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15804 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15809 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15810 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15811 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15812 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15813 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15814 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15815 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15816 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15817 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15818 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15819 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15820 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15821 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15822 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15823 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15824 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15825 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15826 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15827 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15828 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15829 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15830 * sysdeps/ieee754/k_standard.c: Likewise.
15831 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15834 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15835 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15836 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15838 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15842 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15844 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15845 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15847 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15850 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15851 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15852 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15854 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15867 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15868 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15870 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15871 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15873 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15874 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15875 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15876 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15886 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15887 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15890 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15891 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15892 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15894 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15895 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15897 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15899 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15903 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15904 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15905 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15906 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15910 * sysdeps/ieee754/s_matherr.c: Likewise.
15911 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15912 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15915
965a54a4
JM
159162012-01-26 Joseph Myers <joseph@codesourcery.com>
15917
15918 * crypt/md5.h: Remove __STDC__ conditionals.
15919 * libio/libioP.h: Likewise.
15920 * locale/programs/config.h: Likewise.
15921 * sysdeps/generic/sysdep.h: Likewise.
15922 * sysdeps/i386/asm-syntax.h: Likewise.
15923 * sysdeps/s390/asm-syntax.h: Likewise.
15924 * sysdeps/unix/sysdep.h: Likewise.
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15927
7071ad79
JM
159282012-01-26 Joseph Myers <joseph@codesourcery.com>
15929
15930 * libio/libio.h: Remove __STDC__ conditionals.
15931 * malloc/obstack.h: Likewise.
15932 * math/complex.h: Likewise.
15933 * math/math.h: Likewise.
15934 * sysdeps/generic/_G_config.h: Likewise.
15935 * sysdeps/gnu/_G_config.h: Likewise.
15936 * sysdeps/mach/hurd/_G_config.h: Likewise.
15937 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15938 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15939 * sysdeps/sparc/bits/mathdef.h: Likewise.
15940
afc5ed09
UD
159412012-01-26 Ulrich Drepper <drepper@gmail.com>
15942
15943 [BZ #13583]
15944 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15945 Clean up HAS_* macros.
afc5ed09 15946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15947 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15948 possible.
15949 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15950 HAS_AVX.
15951 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15952 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15953 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15955 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15956
bdb6de1d
JM
159572012-01-25 Joseph Myers <joseph@codesourcery.com>
15958
15959 * elf/tst-unique3.cc (gets): Remove declaration.
15960 * elf/tst-unique3lib.cc (gets): Likewise.
15961 * elf/tst-unique3lib2.cc (gets): Likewise.
15962 * elf/tst-unique4.cc (gets): Likewise.
15963
b15549e6
UD
159642012-01-24 Ulrich Drepper <drepper@gmail.com>
15965
15966 * include/stdio.h: Add C++ protection. Add gets declarations and
15967 definitions.
15968 * debug/tst-chk1.c: Don't declare gets here.
15969 * stdio-common/tst-gets.c: Likewise.
15970
a037381f
JM
159712012-01-24 Joseph Myers <joseph@codesourcery.com>
15972
15973 * posix/glob: Remove directory.
15974
f1d4aa75
JM
159752012-01-24 Joseph Myers <joseph@codesourcery.com>
15976
15977 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15978
81c0c964
PT
159792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15980
15981 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15982 of the non-standard EPFNOSUPPORT.
15983
0ea698ae
ST
159842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15985
15986 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15987 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15988 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15989
d220b117
UD
159902012-01-21 Ulrich Drepper <drepper@gmail.com>
15991
15992 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15993
3e1aa84e
UD
159942012-01-20 Ulrich Drepper <drepper@gmail.com>
15995
15996 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15997 transient errors.
15998 * nscd/grpcache.c (cache_addgr): Likewise.
15999 * nscd/hstcache.c (cache_addhst): Likewise.
16000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16001 * nscd/pwdcache.c (cache_addpw): Likewise.
16002 * nscd/servicescache.c (cache_addserv): Likewise.
16003
400aa020
UD
160042012-01-16 Ulrich Drepper <drepper@gmail.com>
16005
d77e7869
UD
16006 * malloc/malloc.c: Various cleanups.
16007 * malloc/hooks.c: Likewise.
16008
400aa020
UD
16009 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16010 * stdlib/bug-fmtmsg1.c: New file.
16011
16012 * stdlib/fmtmsg.c (init): Add missing unlock.
16013 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16014
e0a309cf
MP
160152012-01-12 Marek Polacek <polacek@redhat.com>
16016
16017 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16018 and _GNU_SOURCE.
16019
929d11c7
WS
160202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16021
16022 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16023 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16024 macro to ensure uniqueness of label name.
16025 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16026 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16027
41d0e869
UD
160282012-01-11 Ulrich Drepper <drepper@gmail.com>
16029
0cc5ed3b
UD
16030 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16031
41d0e869
UD
16032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16033 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16034 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16036
a47a831a
UD
160372012-01-10 Ulrich Drepper <drepper@gmail.com>
16038
daa891c0
UD
16039 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16040
16041 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16042 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16043 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16044
e58ef0f2
UD
16045 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16046
a47a831a 16047 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16048 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16049 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16051
16052 * math/bits/math-finite.h: Add ldexp support.
16053
a0bfc9c7
MP
160542012-01-10 Marek Polacek <polacek@redhat.com>
16055
16056 * locale/programs/localedef.h (show_archive_content): Add noreturn
16057 attribute.
16058
d6e97a1d
UD
160592012-01-09 Ulrich Drepper <drepper@gmail.com>
16060
16061 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16062
d5835c26
UD
160632012-01-08 Ulrich Drepper <drepper@gmail.com>
16064
e5f484c6
UD
16065 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16066
d5835c26
UD
16067 * io/Makefile (headers): Add bits/poll2.h.
16068
d1f741e9
WS
160692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16070
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16072 typo #include statement.
16073
ec09c1c4
UD
160742012-01-08 Ulrich Drepper <drepper@gmail.com>
16075
16076 * include/sys/cdefs.h: Define __attribute_alloc_size.
16077 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16078 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16079 * elf/pldd.c: Likewise.
16080 * iconv/iconv_charmap.c: Likewise.
16081 * iconv/iconvconfig.c: Likewise.
16082 * iconv/strtab.c: Likewise.
16083 * locale/programs/locale.c: Likewise.
16084 * locale/programs/localedef.h: Likewise.
16085 * locale/programs/simple-hash.c: Likewise.
16086 * nscd/nscd.h: Likewise.
16087 * nss/makedb.c: Likewise.
16088 * sysdeps/generic/ldconfig.h: Likewise.
16089 * locale/programs/localedef.c: Remove xmalloc prototype.
16090 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16091
20b38e03
PP
160922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16093
16094 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16095 appropriate.
16096
a0da5fe1
UD
160972012-01-08 Ulrich Drepper <drepper@gmail.com>
16098
1d5a644a 16099 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16100 * math/tst-CMPLX.c: New file.
1d5a644a 16101
8784a6db
UD
16102 * math/complex.h (CMPLXL): Fix typo.
16103
d9a216c0
UD
16104 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16105 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16106 GLIBC_2.16.
16107 * debug/tst-chk1.c: Add poll and ppoll tests.
16108 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16109 * include/sys/poll.h: Add hidden proto for ppoll.
16110 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16111 * sysdeps/mach/hurd/ppoll.c: Likewise.
16112 * io/ppoll.c: Likewise.
16113 * debug/poll_chk.c: New file.
16114 * debug/ppoll_chk.c: New file.
16115 * include/bits/poll2.h: New file.
16116 * io/bits/poll2.h: New file.
16117
ac097f5c
UD
16118 [BZ #1350]
16119 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16120
2119dcfa
UD
16121 * configure.in: static is always set to yes. Remove.
16122 * config.make.in: Don't set build-static.
16123 * Makeconfig: Remove use of build-static.
16124 * dlfcn/Makefile: Likewise.
16125 * elf/Makefile: Likewise.
16126 * math/Makefile: Likewise.
16127 * misc/Makefile: Likewise.
16128 * nptl/Makefile: Likewise.
16129 * sysdeps/mach/hurd/Makefile: Likewise.
16130
121766a9
UD
16131 * configure.in: PWD_P is not used anymore.
16132 * config.make.in: Remove PWD_P entry.
16133
51a1d39c 16134 * configure.in: Remove last remnants of RANLIB.
8720d066 16135 No need to check for signed size_t anymore.
215f4bdc
UD
16136 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16137 and IA-64.
3857022a 16138 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16139 * aclocal.m4: Likewise.
16140
d3ed7225
UD
16141 * wcsmbs/mbrtoc16.c: Implement using towc function.
16142 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16143 * wcsmbs/wcsmbsload.c: Likewise.
16144 * iconv/gconv_simple.c: Likewise.
16145 * iconv/gconv_int.h: Likewise.
16146 * iconv/gconv_builtin.h: Likewise.
16147 * iconv/iconv_prog.c: Remove CHAR16 handling.
16148
16149 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16150
16151 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16152
a0da5fe1
UD
16153 * configure.in: Remove --with-elf and --enable-bounded options.
16154 Dont set base_machine for ia64. More non-ELF conditions removed.
16155 Remove testing and setting of leading underscore information.
16156 * config.make.in (build-bounded): Set to no.
16157 * config.h.in: Remove NO_UNDERSCORES entry.
16158 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16159 them.
16160 * csu/start.c: Remove !NO_UNDERSCORE code.
16161 * locale/localeinfo.h: Likewise.
16162 * sysdeps/generic/machine-gmon.h: Likewise.
16163 * sysdeps/generic/sysdep.h: Likewise.
16164 * sysdeps/i386/sysdep.h: Likewise.
16165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16166 * sysdeps/mach/sysdep.h: Likewise.
16167 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16169 * sysdeps/sh/sysdep.h: Likewise.
16170 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16171 * sysdeps/unix/i386/sysdep.S: Likewise.
16172 * sysdeps/unix/sparc/start.c: Likewise.
16173 * sysdeps/unix/sparc/sysdep.S: Likewise.
16174 * sysdeps/unix/sparc/sysdep.h: Likewise.
16175 * sysdeps/unix/start.c: Likewise.
16176 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16177 * sysdeps/x86_64/sysdep.h: Likewise.
16178
df78418a
UD
161792012-01-07 Ulrich Drepper <drepper@gmail.com>
16180
a784e502
UD
16181 [BZ #13553]
16182 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16183 for non-gcc.
16184 * argp/argp-fmtstream.h: Use const instead __const.
16185 * argp/argp.h: Likewise.
16186 * assert/assert.h: Likewise.
16187 * bits/fenv.h: Likewise.
16188 * bits/sched.h: Likewise.
16189 * bits/sigset.h: Likewise.
16190 * bits/sigthread.h: Likewise.
16191 * catgets/nl_types.h: Likewise.
16192 * conform/data/pthread.h-data: Likewise.
16193 * crypt/crypt-private.h: Likewise.
16194 * crypt/crypt.h: Likewise.
16195 * crypt/crypt_util.c: Likewise.
16196 * ctype/ctype.h: Likewise.
16197 * debug/execinfo.h: Likewise.
16198 * debug/mbsnrtowcs_chk.c: Likewise.
16199 * debug/mbsrtowcs_chk.c: Likewise.
16200 * debug/wcsnrtombs_chk.c: Likewise.
16201 * debug/wcsrtombs_chk.c: Likewise.
16202 * debug/wcstombs_chk.c: Likewise.
16203 * dirent/dirent.h: Likewise.
16204 * dlfcn/dlfcn.h: Likewise.
16205 * elf/neededtest4.c: Likewise.
16206 * grp/grp.h: Likewise.
16207 * gshadow/gshadow.h: Likewise.
16208 * iconv/gconv.h: Likewise.
16209 * iconv/gconv_int.h: Likewise.
16210 * iconv/gconv_simple.c: Likewise.
16211 * iconv/iconv.h: Likewise.
16212 * iconv/loop.c: Likewise.
16213 * iconv/skeleton.c: Likewise.
16214 * include/aio.h: Likewise.
16215 * include/aliases.h: Likewise.
16216 * include/argz.h: Likewise.
16217 * include/arpa/inet.h: Likewise.
16218 * include/assert.h: Likewise.
16219 * include/dirent.h: Likewise.
16220 * include/dlfcn.h: Likewise.
16221 * include/execinfo.h: Likewise.
16222 * include/fcntl.h: Likewise.
16223 * include/fenv.h: Likewise.
16224 * include/glob.h: Likewise.
16225 * include/grp.h: Likewise.
16226 * include/libintl.h: Likewise.
16227 * include/mntent.h: Likewise.
16228 * include/netdb.h: Likewise.
16229 * include/pwd.h: Likewise.
16230 * include/rpc/netdb.h: Likewise.
16231 * include/sched.h: Likewise.
16232 * include/search.h: Likewise.
16233 * include/shadow.h: Likewise.
16234 * include/signal.h: Likewise.
16235 * include/stdio.h: Likewise.
16236 * include/stdlib.h: Likewise.
16237 * include/string.h: Likewise.
16238 * include/sys/socket.h: Likewise.
16239 * include/sys/stat.h: Likewise.
16240 * include/sys/statfs.h: Likewise.
16241 * include/sys/statvfs.h: Likewise.
16242 * include/sys/syslog.h: Likewise.
16243 * include/sys/time.h: Likewise.
16244 * include/sys/uio.h: Likewise.
16245 * include/time.h: Likewise.
16246 * include/unistd.h: Likewise.
16247 * include/utmp.h: Likewise.
16248 * include/wchar.h: Likewise.
16249 * include/wctype.h: Likewise.
16250 * inet/aliases.h: Likewise.
16251 * inet/arpa/inet.h: Likewise.
16252 * inet/netinet/ether.h: Likewise.
16253 * inet/netinet/in.h: Likewise.
16254 * intl/libintl.h: Likewise.
16255 * io/bits/fcntl2.h: Likewise.
16256 * io/fcntl.h: Likewise.
16257 * io/ftw.h: Likewise.
16258 * io/sys/poll.h: Likewise.
16259 * io/sys/stat.h: Likewise.
16260 * io/sys/statfs.h: Likewise.
16261 * io/sys/statvfs.h: Likewise.
16262 * io/utime.h: Likewise.
16263 * libio/bits/stdio.h: Likewise.
16264 * libio/bits/stdio2.h: Likewise.
16265 * libio/libio.h: Likewise.
16266 * libio/libioP.h: Likewise.
16267 * libio/stdio.h: Likewise.
16268 * locale/lc-ctype.c: Likewise.
16269 * locale/locale.h: Likewise.
16270 * login/utmp.h: Likewise.
16271 * malloc/arena.c: Likewise.
16272 * malloc/malloc.c: Likewise.
16273 * malloc/malloc.h: Likewise.
16274 * malloc/mcheck.c: Likewise.
16275 * malloc/mtrace.c: Likewise.
16276 * math/bits/mathcalls.h: Likewise.
16277 * math/fenv.h: Likewise.
16278 * math/math_private.h: Likewise.
16279 * misc/bits/error.h: Likewise.
16280 * misc/bits/syslog.h: Likewise.
16281 * misc/err.h: Likewise.
16282 * misc/error.h: Likewise.
16283 * misc/fstab.h: Likewise.
16284 * misc/mntent.h: Likewise.
16285 * misc/regexp.h: Likewise.
16286 * misc/search.h: Likewise.
16287 * misc/sgtty.h: Likewise.
16288 * misc/sys/mman.h: Likewise.
16289 * misc/sys/syslog.h: Likewise.
16290 * misc/sys/uio.h: Likewise.
16291 * misc/sys/xattr.h: Likewise.
16292 * misc/ttyent.h: Likewise.
16293 * nis/rpcsvc/ypclnt.h: Likewise.
16294 * nss/nss.h: Likewise.
16295 * posix/bits/unistd.h: Likewise.
16296 * posix/fnmatch.h: Likewise.
16297 * posix/glob.h: Likewise.
16298 * posix/sched.h: Likewise.
16299 * posix/spawn.h: Likewise.
16300 * posix/sys/wait.h: Likewise.
16301 * posix/unistd.h: Likewise.
16302 * posix/wordexp.h: Likewise.
16303 * pwd/pwd.h: Likewise.
16304 * resolv/netdb.h: Likewise.
16305 * resource/sys/resource.h: Likewise.
16306 * rt/aio.h: Likewise.
16307 * rt/bits/mqueue2.h: Likewise.
16308 * rt/mqueue.h: Likewise.
16309 * shadow/shadow.h: Likewise.
16310 * signal/signal.h: Likewise.
16311 * socket/send.c: Likewise.
16312 * socket/sendto.c: Likewise.
16313 * socket/sys/socket.h: Likewise.
16314 * stdio-common/printf.h: Likewise.
16315 * stdlib/bits/stdlib.h: Likewise.
16316 * stdlib/fmtmsg.h: Likewise.
16317 * stdlib/monetary.h: Likewise.
16318 * stdlib/stdlib.h: Likewise.
16319 * stdlib/ucontext.h: Likewise.
16320 * streams/stropts.h: Likewise.
16321 * string/argz.h: Likewise.
16322 * string/bits/string2.h: Likewise.
16323 * string/string.h: Likewise.
16324 * string/strings.h: Likewise.
16325 * sunrpc/rpc/auth.h: Likewise.
16326 * sunrpc/rpc/auth_des.h: Likewise.
16327 * sunrpc/rpc/clnt.h: Likewise.
16328 * sunrpc/rpc/netdb.h: Likewise.
16329 * sunrpc/rpc/pmap_clnt.h: Likewise.
16330 * sunrpc/rpc/xdr.h: Likewise.
16331 * sysdeps/generic/inttypes.h: Likewise.
16332 * sysdeps/generic/net/if.h: Likewise.
16333 * sysdeps/generic/sys/swap.h: Likewise.
16334 * sysdeps/gnu/net/if.h: Likewise.
16335 * sysdeps/gnu/utmpx.h: Likewise.
16336 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16337 * sysdeps/i386/i486/bits/string.h: Likewise.
16338 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16339 * sysdeps/s390/bits/string.h: Likewise.
16340 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16341 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16342 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16343 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16344 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16345 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16346 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16347 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16348 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16349 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16350 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16351 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16352 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16353 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16354 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16355 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16356 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16358 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16359 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16361 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16362 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16363 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16364 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16365 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16366 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16367 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16368 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16369 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16370 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16371 * sysvipc/sys/ipc.h: Likewise.
16372 * sysvipc/sys/msg.h: Likewise.
16373 * sysvipc/sys/sem.h: Likewise.
16374 * sysvipc/sys/shm.h: Likewise.
16375 * termios/termios.h: Likewise.
16376 * time/sys/time.h: Likewise.
16377 * time/time.h: Likewise.
16378 * wcsmbs/bits/wchar2.h: Likewise.
16379 * wcsmbs/uchar.h: Likewise.
16380 * wcsmbs/wchar.h: Likewise.
16381 * wctype/wctype.h: Likewise.
16382
0269750c
UD
16383 [BZ #13551]
16384 * Makeconfig: Remove all but ELF support including AIX support.
16385 * Makerules: Likewise.
16386 * config.h.in: Likewise.
16387 * config.make.in: Likewise.
16388 * configure: Likewise.
16389 * configure.in: Likewise.
16390 * csu/Makefile: Likewise.
16391 * csu/version.c: Likewise.
16392 * debug/Makefile: Likewise.
16393 * dlfcn/Makefile: Likewise.
16394 * elf/Makefile: Likewise.
16395 * extra-lib.mk: Likewise.
16396 * iconv/Makefile: Likewise.
16397 * include/libc-symbols.h: Likewise.
16398 * include/shlib-compat.h: Likewise.
16399 * resolv/Makefile: Likewise.
16400 * resolv/res_libc.c: Likewise.
16401 * rt/Makefile: Likewise.
16402 * sysdeps/i386/asm-syntax.h: Likewise.
16403 * sysdeps/i386/sysdep.h: Likewise.
16404 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16405 * sysdeps/mach/sysdep.h: Likewise.
16406 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16407 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16408 * sysdeps/s390/asm-syntax.h: Likewise.
16409 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16410 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16411 * sysdeps/sh/sysdep.h: Likewise.
16412 * sysdeps/unix/sparc/sysdep.h: Likewise.
16413 * sysdeps/wordsize-32/divdi3.c: Likewise.
16414 * sysdeps/x86_64/sysdep.h: Likewise.
16415
00bbd29b
UD
16416 * argp/Versions: Remove _argp_unlock_xxx.
16417
16418 [BZ #13559]
16419 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16420 * abilist/libBrokenLocale.abilist: Likewise.
16421 * abilist/libanl.abilist: Likewise.
16422 * abilist/libc.abilist: Likewise.
16423 * abilist/libcrypt.abilist: Likewise.
16424 * abilist/libdl.abilist: Likewise.
16425 * abilist/libm.abilist: Likewise.
16426 * abilist/libnsl.abilist: Likewise.
16427 * abilist/libpthread.abilist: Likewise.
16428 * abilist/libresolv.abilist: Likewise.
16429 * abilist/librt.abilist: Likewise.
16430 * abilist/libthread_db.abilist: Likewise.
16431 * abilist/libutil.abilist: Likewise.
16432 * abilist/libnss_db.abilist: New file.
16433
16434 * scripts/abilist.awk: Add support for indirect functions.
16435
a2693a0e
UD
16436 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16437
3f05895f
UD
16438 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16439
ecb6fb48
UD
16440 * shlib-versions: Remove entries for ports architectures.
16441
664f8cb9
UD
16442 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16443 files in ports.
16444 * elf/stackguard-macros.h: Remove support for IA-64.
16445 * elf/tst-auditmod1.c: Likewise.
16446 * sysdeps/generic/ldsodefs.h: Likewise.
16447
7ae81d88
UD
16448 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16449 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16450 configure files.
16451
bdeba135
UD
16452 [BZ #13552]
16453 * configure.in: Remove --enable-omitfp support.
16454 * FAQ.in: Adjust.
16455 * config.make.in: Likewise.
16456 * Makeconfig: Likewise.
16457 * manual/install.texi: Likewise.
16458
d75a0a62
UD
16459 In case anyone cares, the IA-64 architecture could move to ports.
16460 * sysdeps/ia64/*: Removed.
16461 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16462 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16463
dcc9756b
UD
16464 [BZ #13555]
16465 * configure.in: Remove entries for unsupported architectures.
16466
d3761ebc 16467 [BZ #13533]
9954432e
UD
16468 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16469 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16470 routines.
16471 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16472 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16473 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16474 fall back to using wcrtomb.
16475 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16476 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16477 renaming.
16478 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16479 * wcsmbs/tst-c16c32-1.c: New file.
16480
16481 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16482 local variable.
16483
c3a87236
UD
16484 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16485
28926a1b
UD
16486 * elf/tst-unique3.cc: Add explicit declaration of gets.
16487 * elf/tst-unique3lib.cc: Likewise.
16488 * elf/tst-unique3lib2.cc: Likewise.
16489 * elf/tst-unique4.cc: Likewise.
16490
df78418a
UD
16491 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16492
8ecd6b2a
JM
164932012-01-06 Joseph Myers <joseph@codesourcery.com>
16494
16495 [BZ #13566]
16496 * assert/assert.h (static_assert): Don't define for C++.
16497 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16498 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16499
9f115170
UD
165002012-01-03 Ulrich Drepper <drepper@gmail.com>
16501
5e0d0300
UD
16502 * iconv/loop.c (single loop): Fix assertion in storing of
16503 remaining bytes.
16504
9f115170
UD
16505 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16506
81fb02b0
UD
165072012-01-01 Ulrich Drepper <drepper@gmail.com>
16508
16509 * posix/getconf.c: Update copyright year.
16510 * nss/getent.c: Likewise.
a316c1f6 16511 * nss/makedb.c: Likewise.
81fb02b0
UD
16512 * iconv/iconvconfig.c: Likewise.
16513 * iconv/iconv_prog.c: Likewise.
16514 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16515 * elf/pldd.c: Likewise.
16516 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16517 * catgets/gencat.c: Likewise.
16518 * csu/version.c: Likewise.
16519 * elf/ldd.bash.in: Likewise.
16520 * elf/sprof.c (print_version): Likewise.
16521 * locale/programs/locale.c: Likewise.
16522 * locale/programs/localedef.c: Likewise.
a316c1f6 16523 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16524 * nscd/nscd.c (print_version): Likewise.
16525 * debug/xtrace.sh: Likewise.
16526 * malloc/memusage.sh: Likewise.
16527 * malloc/mtrace.pl: Likewise.
16528 * debug/catchsegv.sh: Likewise.
16529
2ba92745
JJ
165302011-12-30 Jakub Jelinek <jakub@redhat.com>
16531
16532 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16533 pure attribute.
16534
dadebdae
UD
165352011-12-24 Ulrich Drepper <drepper@gmail.com>
16536
d3761ebc 16537 [BZ #13533]
db6af3eb
UD
16538 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16539 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16540 transformations.
16541 * iconv/gconv_int.h: Likewise.
16542 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16543 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16544 from libc for GLIBC_2.16.
16545 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16546 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16547 * wcsmbs/uchar.h: Really define mbstate_t.
16548 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16549 * wcsmbs/c16rtomb.c: New file.
16550 * wcsmbs/mbrtoc16.c: New file.
16551 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16552 for C/POSIX locale.
16553 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16554 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16555
dadebdae
UD
16556 * wcsmbs/wchar.h: Add missing __restrict.
16557
67371b56
UD
165582011-12-23 Ulrich Drepper <drepper@gmail.com>
16559
74033a25
UD
16560 [BZ #13532]
16561 * time/Makefile (routines): Add timespec_get.
16562 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16563 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16564 timespec for ISO C11.
16565 * time/timespec_get.c: New file.
16566 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16567 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16568
380d7e87
UD
16569 [BZ #13531]
16570 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16571 * stdlib/stdlib.h: Declare aligned_alloc.
16572 * Versions.def: Add GLIBC_2.16 for libc.
16573 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16574
4e9e7a35
UD
16575 [BZ 13527]
16576 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16577 ISO C11.
16578
380d7e87 16579 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16580 code.
16581
03a71829
UD
16582 [BZ #13528]
16583 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16584
839e283e
UD
16585 [BZ #13529]
16586 * assert/assert.h (static_assert): Define.
16587
ce5294e2 16588 * version.h: Update for 2.16 development version.
90fa7312 16589
8d44e150 16590 [BZ #13526]
d7809905
UD
16591 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16592 _ISOC11_SOURCE.
16593
c0da14cd
UD
16594 * version.h (RELEASE): Bump for 2.15 release.
16595 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16596
530a3249
MP
16597 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16598 Patch by Marek Polacek <mpolacek@redhat.com>.
16599
67371b56
UD
16600 * bits/byteswap.h: Protect long long constants with __extension__.
16601 * sysdeps/i386/bits/byteswap.h: Likewise.
16602 * sysdeps/ia64/bits/byteswap.h: Likewise.
16603 * sysdeps/s390/bits/byteswap.h: Likewise.
16604 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16605
15db4de1
LD
166062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16607
16608 [BZ #13540]
bbe315ea
LD
16609 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16610 destination buffer.
15db4de1
LD
16611 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16612
2b2596b1
MP
166132011-12-23 Marek Polacek <polacek@redhat.com>
16614
16615 * elf/dl-addr.c (determine_info): Add inline keyword.
16616 * elf/tst-auditmod4b.c (check_avx): Likewise.
16617 * elf/tst-auditmod6b.c (check_avx): Likewise.
16618 * elf/tst-auditmod6c.c (check_avx): Likewise.
16619 * elf/tst-auditmod7b.c (check_avx): Likewise.
16620
70c6c246
UD
166212011-12-23 Ulrich Drepper <drepper@gmail.com>
16622
16623 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16624 !__SSE_MATH__.
16625
c044cf14
LD
166262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16627
15db4de1 16628 [BZ #13540]
c044cf14
LD
16629 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16630 processing for last bytes.
16631
6b13d9d9
BH
166322011-08-06 Bruno Haible <bruno@clisp.org>
16633
d455f537
BH
16634 [BZ #13061]
16635 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16636 U+0385, not to U+1FEE.
16637
6b13d9d9
BH
16638 [BZ #13062]
16639 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16640 entry for U+00A5 U+0301.
16641
db910efd
UD
166422011-12-22 Ulrich Drepper <drepper@gmail.com>
16643
27deeafc
UD
16644 [BZ #13166]
16645 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16646 buffer for the output is too small.
16647
aed9d171
UD
16648 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16649 optimization.
16650
db910efd
UD
16651 [BZ #13185]
16652 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16653 SSE flags if possible.
16654
2bd779ae
LD
166552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16656
e7f9dac3 16657 [BZ #13540]
2bd779ae
LD
16658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16659 processing for last bytes.
16660
154bfc16
JM
166612011-12-22 Joseph Myers <joseph@codesourcery.com>
16662
16663 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16664 (syscall-list-default-options, syscall-list-default-condition)
16665 (syscall-list-includes): Define.
16666 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16667 list of ABIs and options and #if conditions for each ABI. Do not
16668 handle common syscalls between ABIs specially.
16669 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16670 Remove.
16671 (syscall-list-variants, syscall-list-32bit-options)
16672 (syscall-list-32bit-condition, syscall-list-64bit-options)
16673 (syscall-list-64bit-condition): Define.
16674 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16675 (syscall-list-variants, syscall-list-32bit-options)
16676 (syscall-list-32bit-condition, syscall-list-64bit-options)
16677 (syscall-list-64bit-condition): Define.
16678 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16679 Remove.
16680 (syscall-list-variants, syscall-list-32bit-options)
16681 (syscall-list-32bit-condition, syscall-list-64bit-options)
16682 (syscall-list-64bit-condition): Define.
16683 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16684 Remove.
16685 (syscall-list-variants, syscall-list-32bit-options)
16686 (syscall-list-32bit-condition, syscall-list-64bit-options)
16687 (syscall-list-64bit-condition): Define.
16688
21eaf3a5
UD
166892011-12-22 Ulrich Drepper <drepper@gmail.com>
16690
16c6f992
UD
16691 * locale/iso-639.def: Add brx entry.
16692
41043168
UD
16693 [BZ #13328]
16694 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16695 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16696
21eaf3a5
UD
16697 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16698 __feraiseexcept_renamed.
16699
e3a851a2
UD
167002011-12-21 Ulrich Drepper <drepper@gmail.com>
16701
4920765e
UD
16702 [BZ #13538]
16703 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16704 EPOLLET with unsigned values.
16705 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16707
e3a851a2
UD
16708 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16709 to large cancellation.
16710 * math/s_cacoshf.c: Likewise.
16711 * math/s_cacoshl.c: Likewise.
16712
b27e24b8
RK
167132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16714
16715 [BZ #13305]
aebefeee 16716 [BZ #12786]
b27e24b8
RK
16717 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16718 * math/s_cacoshf.c: Likewise.
16719 * math/s_cacoshl.c: Likewise.
16720
ee190f67
UD
167212011-12-21 Ulrich Drepper <drepper@gmail.com>
16722
16723 [BZ #13439]
16724 * iconv/gconv.h: Define __GCONV_SWAP.
16725 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16726 * iconvdata/utf-16.c: Likewise.
16727 * iconvdata/utf-32.c: Likewise.
16728
707f25df
AS
167292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16730
16731 [BZ #13524]
16732 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16733 numerator after shifting it by one limb.
16734
d2daaa1e
RÁE
167352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16736
16737 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16738 under [__USE_EXTERN_INLINES].
16739
a4647e72
UD
167402011-12-17 Ulrich Drepper <drepper@gmail.com>
16741
16742 [BZ #13446]
16743 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16744
f0b264f1
AZ
167452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16746
16747 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16748 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16749 optimized code.
16750 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16751 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16752 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16753 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16754 for strncasecmp/strncasecmp_l compilation.
16755 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16756 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16757
8ef4f244
MP
167582011-12-08 Marek Polacek <mpolacek@redhat.com>
16759
16760 [BZ #13484]
16761 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16762 of __asm__.
16763
97ac2654
UD
167642011-12-17 Ulrich Drepper <drepper@gmail.com>
16765
16766 [BZ #13506]
16767 * time/tzfile.c (__tzfile_read): Check values from file header.
16768
91d2a845
WS
167692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16770
16771 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16772 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16773 * powerpc/powerpc32/dl-start.S: Likewise.
16774 * powerpc/powerpc32/elf/start.S: Likewise.
16775 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16776 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16777 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16778 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16779 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16780 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16781 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16782 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16783 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16784 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16785 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16786 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16787 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16788 * powerpc/powerpc32/memset.S: Likewise.
16789 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16790 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16791 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16792 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16793 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16794 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16795 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16796 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16797 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16798 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16799 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16800 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16801 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16802
a1267ba1
AZ
168032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16804
16805 * math/libm-test.inc: Added more nearbyint tests.
16806 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16807 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16808 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16809 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16810
ad8ac1bd
RL
168112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16812
16813 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16814 FD_CLOEXEC.
16815
1d3e4b61
UD
168162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16817
16818 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16819 Add wcscpy-ssse3 wcscpy-c.
16820 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16821 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16822 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16823 * sysdeps/x86_64/wcschr.S: New file.
16824 * sysdeps/x86_64/wcsrchr.S: New file.
16825 * string/test-strcmp.c: Remove checking of wcscmp function for
16826 wrong alignments.
16827 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16828 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16829 wcsrchr-sse2 wcsrchr-c.
16830 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16831 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16832 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16833 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16834 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16835 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16836 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16837 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16838 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16839 * wcsmbc/wcschr.c (WCSCHR): New macro.
16840
5b330a2d
UD
168412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16842
16843 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16844 * wcsmbs/test-wcsrchr.c: New file.
16845 * string/test-strrchr.c: Add wcsrchr support.
16846 (WIDE): New macro.
16847 * wcsmbs/test-wcscpy.c: New file.
16848 * string/test-strcpy.c: Add wcscpy support.
16849 (WIDE): New macro.
26428b7c 16850
f039c043
UD
168512011-12-10 Ulrich Drepper <drepper@gmail.com>
16852
16853 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16854 the inner loop.
16855
850fb039
AS
168562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16857
16858 [BZ #13472]
16859 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16860
4efbd5cb
UD
168612011-12-04 Ulrich Drepper <drepper@gmail.com>
16862
52ff5dd0 16863 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16864 Minor optimizations.
52ff5dd0 16865
4efbd5cb
UD
16866 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16867 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16868 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16869
8a426e12
UD
168702011-12-03 Ulrich Drepper <drepper@gmail.com>
16871
aff2453d
UD
16872 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16873 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16874 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16875 for gcc to avoid warnings.
16876 * inet/Makefile (tests): Add tst-checks.
16877 * inet/tst-checks.c: New file.
16878
16879 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16880 warning.
16881
16882 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16883 __wmemcmp_sse2.
16884
16885 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16886 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16887
8a426e12
UD
16888 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16889
9bea3473
UD
168902011-12-02 Ulrich Drepper <drepper@gmail.com>
16891
3a965496
UD
16892 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16893 problem.
16894
9bea3473
UD
16895 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16896
f101631b
UD
168972011-11-29 Joseph Myers <joseph@codesourcery.com>
16898
16899 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16900 conditional on GCC version.
16901 (__arch_compare_and_exchange_val_8_acq)
16902 (__arch_compare_and_exchange_val_16_acq)
16903 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16904 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16905 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16906
a98275aa
UD
169072011-12-02 Joseph Myers <joseph@codesourcery.com>
16908
16909 * sysdeps/sh/backtrace.c: New file.
16910
d4cc29a2
AS
169112011-12-02 Andreas Schwab <schwab@redhat.com>
16912
16913 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16914 parenthesis.
16915
6257af2d
AS
169162011-12-01 Andreas Schwab <schwab@redhat.com>
16917
16918 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16919 falling back to utime.
16920
b5f44c1a
AS
169212011-11-30 Andreas Schwab <schwab@redhat.com>
16922
16923 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16924 expectations for float.
16925
f3a6cc0a
AS
169262011-11-29 Andreas Schwab <schwab@redhat.com>
16927
16928 * locale/weight.h (findidx): Add parameter len.
16929 * locale/weightwc.h (findidx): Likewise.
16930 * posix/fnmatch_loop.c (FCT): Adjust caller.
16931 * posix/regcomp.c (build_equiv_class): Likewise.
16932 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16933 * posix/regexec.c (check_node_accept_bytes): Likewise.
16934 * string/strcoll_l.c (STRCOLL): Likewise.
16935 * string/strxfrm_l.c (STRXFRM): Likewise.
16936
9d65ea3a
UD
169372011-11-17 Ulrich Drepper <drepper@gmail.com>
16938
16939 * Makefile.in: Remove CVSOPT handling.
16940 * configure.in: Remove use of AC_REVISION.
16941 * iconvdata/Makefile (distribute): No need to filter out CVS.
16942 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16943 handling.
16944
5583a086
AS
169452011-11-16 Andreas Schwab <schwab@redhat.com>
16946
16947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16948 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16949 [USE_AS_STRNCASECMP_L]: Likewise.
16950 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16951 NO_TLS_DIRECT_SEG_REFS.
16952 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16953 Fix argument offsets for non-PIC.
16954 [USE_AS_STRNCASECMP_L]: Likewise.
16955 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16956 NO_TLS_DIRECT_SEG_REFS.
16957
d62a8200
UD
169582011-11-15 Ulrich Drepper <drepper@gmail.com>
16959
9d65ea3a 16960 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16961 O_CLOEXEC.
16962 * locale/loadlocale.c (_nl_load_locale): Likewise.
16963
09f93bd3
AS
169642011-11-15 Andreas Schwab <schwab@redhat.com>
16965
446514f9
AS
16966 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16967 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16968 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16969 (SYSCALL_GETTIME): Set errno on error.
16970
09f93bd3
AS
16971 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16972 count references to noai6ai_cached.
16973
312be3f9
UD
169742011-11-15 Ulrich Drepper <drepper@gmail.com>
16975
16976 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16977
16978 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16979 FD_CLOEXEC for /proc/self/maps.
16980
16981 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16982 FD_CLOEXEC for /proc/meminfo.
16983
16984 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16985 gai.conf.
16986
16987 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16988 FD_CLOEXEC for given file.
16989
16990 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16991
16992 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16993 FD_CLOEXEC for /etc/hosts.
16994 (_gethtent): Likewise.
16995
16996 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16997
16998 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16999 cancellation and set FD_CLOEXEC for /etc/netgroup.
17000
17001 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17002 reading /etc/publickey.
17003
17004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17005 allow cancellation when reading /etc/group.
17006
17007 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17008 cancellation.
17009 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17010
17011 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17012 when using data file.
17013
17014 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17015
17016 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17017 (write_nis_obj): Use "c" and "e" in fopen.
17018
17019 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17020
17021 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17022
17023 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17024
17025 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17026
17027 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17028 locale.alias.
17029
17030 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17031
17032 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17033
17034 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17035
17036 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17037 file parsing and set FD_CLOEXEC.
17038
82af0fa8
UD
170392011-11-14 Ulrich Drepper <drepper@gmail.com>
17040
17041 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17042
a5fb313c
AS
170432011-11-14 Andreas Schwab <schwab@redhat.com>
17044
17045 * malloc/arena.c (arena_get2): Don't call reused_arena when
17046 _int_new_arena failed.
17047
6abf3465
UD
170482011-11-14 Ulrich Drepper <drepper@gmail.com>
17049
17050 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17051 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17052 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17053 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17054 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17055 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17056 to compile strcasecmp and strncasecmp.
17057 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17058 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17059
17060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17061
76e3966e
UD
170622011-11-13 Ulrich Drepper <drepper@gmail.com>
17063
17064 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17065 locale-defines.sym to gen-as-const-headers.
17066 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17067 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17069 to compile strcasecmp and strncasecmp.
17070 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17071 strcasecmp_l and strncasecmp_l.
17072 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17073 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17074 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17075 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17076 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17077 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17078 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17079 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17080 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17081 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17082 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17083
ab26144e
UD
170842011-11-12 Ulrich Drepper <drepper@gmail.com>
17085
7edb22ef
UD
17086 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17087 result of SYSDEP_GETTIME_CPU to retval.
17088 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17089 parameter list to macro. Remove trailing semicolon. Adjust users.
17090
9694fc44
UD
17091 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17092 variable.
17093
8ad89ef8
UD
17094 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17095 mantissa words.
17096 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17097
0c822ef9
UD
17098 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17099 from unused variable.
17100
874e0564
UD
17101 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17102 DWARF definitions.
17103 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17104 for assembling.
17105
3a2edc79
UD
17106 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17107 over namespaces.
17108
f3c2577f
UD
17109 * sunrpc/rpc_prot.c (rejected): Fix case value.
17110
294ce126
UD
17111 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17112 unsigned long long int to avoid warnings in shift.
17113
5e2b63c6
UD
17114 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17115 of use of trans.
17116 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17117 variable tmp.
17118
e7f4b08e
UD
17119 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17120 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17121 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17122
ab26144e
UD
17123 * nis/nis_table.c (nis_list): Use variable of correct type for
17124 result of __follow_path call.
17125
8a6d5255
AZ
171262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17127
17128 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17129 of math functions ceil, trunc, floor, round, and sqrt, when
17130 avaliable on the platform.
17131 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17132 name clash.
17133 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17134 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17135 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17136
aaddc98c
MP
171372011-10-30 Marek Polacek <mpolacek@redhat.com>
17138
17139 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17140 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17141
95b7042b
RM
171422011-11-11 Roland McGrath <roland@hack.frob.com>
17143
17144 * include/unistd.h: Fix __readlink return type.
17145 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17146
57769839
UD
171472011-11-11 Ulrich Drepper <drepper@gmail.com>
17148
17149 * stdlib/ucontext.h: Undo last change for makecontext.
17150
edc5984d
AS
171512011-11-11 Andreas Schwab <schwab@redhat.com>
17152
98591e58
AS
17153 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17154
edc5984d
AS
17155 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17156 * setjmp/setjmp.h: Mark functions as non-leaf.
17157 * setjmp/bits/setjmp2.h: Likewise.
17158 * stdlib/ucontext.h: Likewise.
17159
77cdc054
AS
171602011-11-10 Andreas Schwab <schwab@redhat.com>
17161
17162 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17163 (reused_arena): Don't check arena limit.
17164 (arena_get2): Atomically check arena limit.
17165
fe72eebd
UD
171662011-11-08 Ulrich Drepper <drepper@gmail.com>
17167
5f078c32
UD
17168 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17169 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17170
fe72eebd
UD
17171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17172 instructions.
17173
ae1bc2fa
AS
171742011-11-07 Andreas Schwab <schwab@redhat.com>
17175
7583a88d
AS
17176 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17177 handler when locking.
17178
ae1bc2fa
AS
17179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17180 Fix size of allocated buffer.
17181
10fb0bfa
AS
171822011-11-04 Andreas Schwab <schwab@redhat.com>
17183
998832a4
AS
17184 [BZ #10103]
17185 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17186 declarations for long double functions.
17187 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17188
10fb0bfa
AS
17189 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17190
3d7ba52b
AS
171912011-11-03 Andreas Schwab <schwab@redhat.com>
17192
a9ae54a1
AS
17193 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17194 installed.
17195
3d7ba52b
AS
17196 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17197 is disabled.
17198
bc8db248
ST
171992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17200
17201 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17202
45b96dd6
AS
172032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17204
647776f6
AS
17205 * include/alloca.h (stackinfo_alloca_round): Define.
17206 (extend_alloca): Use it.
17207 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17208 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17209 here.
17210
d91a8b93
AS
17211 * scripts/check-local-headers.sh: Ignore libaudit.h.
17212
45b96dd6
AS
17213 * nscd/Makefile (extra-objs): Make recursively expanded.
17214
432d41ce
UD
172152011-11-01 Ulrich Drepper <drepper@gmail.com>
17216
34372fc6
UD
17217 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17218 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17219
fadb59f8
UD
17220 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17221 * posix/tst-rfc3484-2.c: Likewise.
17222 * posix/tst-rfc3484-3.c: Likewise.
17223
78239589
UD
17224 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17225 process_vm_writev.
17226 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17227 process_vm_writev.
17228 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17229 process_vm_writev from libc using GLIBC_2.15 version.
17230
432d41ce
UD
17231 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17232
02f9c6cf
PP
172332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17234
17235 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17236 stack usage.
17237
3a2c0242
UD
172382011-10-31 Ulrich Drepper <drepper@gmail.com>
17239
f4ec4833
UD
17240 [BZ #13367]
17241 * nss/getent.c (initgroups_keys): Show error message in case no group
17242 names are given.
17243
3a2c0242
UD
17244 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17245 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17246 __bump_nl_timestamp.
17247 * nscd/connections (nscd_init): When host database is served open
17248 netlink socket and request notification about configuration changes.
17249 (main_loop_poll): Track netlink file descriptor and bump timestamp
17250 in case data becomes available.
17251 (main_loop_epoll): Likewise.
17252 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17253 (database_pers_head): Add extra_data fileds.
17254 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17255 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17256 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17257 Adjust caller.
17258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17259 in6ai data, call __free_in6ai.
17260 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17261 Add -DHAVE_NETLINK.
17262 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17263 interface information. Reuse previous data if netlink timestamp
17264 is not changed.
17265 (__bump_nl_timestamp): New function.
17266 (__free_in6ai): New function.
17267
636064eb
UD
172682011-10-30 Ulrich Drepper <drepper@gmail.com>
17269
17270 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17271 close_not_cancel_no_status here.
17272 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17273
9beb2334
UD
172742011-10-29 Ulrich Drepper <drepper@gmail.com>
17275
6ef76f3b
UD
17276 [BZ #13276]
17277 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17278 return value.
17279
0ffc4f3e 17280 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17281 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17282 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17283
cb95113e
UD
172842011-07-03 Andreas Jaeger <aj@suse.de>
17285
17286 [BZ #10709]
17287 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17288 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17289 * math/libm-test.inc (sin_test): Add test case.
17290
a1b560ff
UD
172912011-10-29 Ulrich Drepper <drepper@gmail.com>
17292
c9aaface
UD
17293 [BZ #13337]
17294 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17295 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17296
d272e7f1
UD
17297 * elf/chroot_canon.c (chroot_canon): Cleanups.
17298
1bc33071
UD
17299 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17300
1760874d
TJ
17301 [BZ #13335]
17302 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17303 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17304
51d91b18
UD
17305 * string/test-strchr.c: Make usable for strchrnul testing.
17306 * string/test-strchrnul.c: New file.
17307 * string/Makefile (strop-tests): Add strchrnul.
17308
a1b560ff 17309 * po/it.po: Update from translation team.
b611fb81 17310 * po/es.po: Likewise.
a1b560ff 17311
a5b81e1f
UD
173122011-10-28 Ulrich Drepper <drepper@gmail.com>
17313
fd52bc6d
UD
17314 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17315 the three constants needed as parameters. Drop the others.
17316 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17317 __m128i_strloadu_tolower.
52e4b9eb
UD
17318 Create and initialize variable zero and use it in all the places
17319 where _mm_setzero_si128 was used.
fd52bc6d 17320
a5b81e1f
UD
17321 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17322 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17323 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17324 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17325 anymore.
17326 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17327 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17328 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17329 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17330 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17331 __mpranred, __mptan.
17332 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17333 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17334 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17335 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17336 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17337 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17338 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17339 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17340 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17341
b4343346
AS
173422011-10-28 Andreas Schwab <schwab@redhat.com>
17343
0c92d8a8
AS
17344 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17345 redefine if SHARED.
17346 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17347
b4343346
AS
17348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17349 wide char related routines to wcsmbs subdir.
17350
3871f58f
AS
173512011-10-27 Andreas Schwab <schwab@redhat.com>
17352
17353 [BZ #13344]
17354 * misc/sys/cdefs.h (__THROWNL): Define.
17355 * posix/unistd.h: Use __THREADNL instead of __THREAD
17356 for memory synchronization functions.
17357
94d44d9f
RM
173582011-10-26 Roland McGrath <roland@hack.frob.com>
17359
21b64b15 17360 [BZ #13349]
94d44d9f
RM
17361 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17362 doesn't exist.
17363 * manual/stdio.texi (Obstack Streams): Node removed.
17364
f6ce9294
AS
173652011-10-26 Andreas Schwab <schwab@redhat.com>
17366
80479147
AS
17367 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17368 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17369 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17370
f6ce9294
AS
17371 * math/math_private.h (math_force_eval): Allow non-addressable
17372 arguments.
17373 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17374
618280a1
UD
173752011-10-25 Ulrich Drepper <drepper@gmail.com>
17376
e0016b11
UD
17377 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17378 file is not needed.
17379
17380 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17381 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17382 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17383 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17384 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17385 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17386 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17387 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17388 Add AVX variants.
17389 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17390 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17391 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17392 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17393 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17394 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17395 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17396 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17397 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17398 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17399 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17400 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17401 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17402 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17403 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17404 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17405 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17406 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17407 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17408
17409 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17410 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17411
618280a1
UD
17412 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17413 place. Use VEX encoding when compiling for AVX.
17414
37822576
AS
174152011-10-25 Andreas Schwab <schwab@redhat.com>
17416
1f1e1947
AS
17417 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17418 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17419
37822576
AS
17420 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17421
31ea014d
UD
174222011-10-25 Ulrich Drepper <drepper@gmail.com>
17423
d7826aa1 17424 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17425 useless if() expression.
d7826aa1
UD
17426 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17435 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17436 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17437 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17438 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17439 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17441 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17442 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17444 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17445
31ea014d
UD
17446 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17447
16437fec
AS
174482011-10-25 Andreas Schwab <schwab@redhat.com>
17449
17450 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17451 condition.
17452 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17453
31d3cc00
UD
174542011-10-25 Ulrich Drepper <drepper@gmail.com>
17455
17456 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17457 .text section. Avoid duplicate constants.
17458 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17460 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17462 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17466 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17467 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17468 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17470 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17471 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17472 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17473 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17474 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17475 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17476 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17478 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17479 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17480 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17481 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17482 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17483 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17484 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17485 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17486 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17487 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17488 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17489 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17491 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17492 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17493 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17494 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17495 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17496 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17497 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17498 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17499 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17500 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17501 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17502 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17503
58985aa9
UD
175042011-10-24 Ulrich Drepper <drepper@gmail.com>
17505
202c9deb
UD
17506 * sysdeps/x86_64/dla.h: Move to ...
17507 * sysdeps/x86_64/fpu/dla.h: ...here.
17508 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17509 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17510
af968f62
UD
17511 * config.make.in: Add have-mfma4 entry.
17512 * configure.in: Substitute libc_cv_cc_fma4.
17513 * math/Makefile (dbl-only-routines): Add sincostab.
17514 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17515 Use __sincostab not sincos.
17516 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17517 name is a macro.
17518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17522 using __copysign.
17523 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17524 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17525 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17526 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17527 and __inv.
17528 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17529 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17530 __copysign.
17531 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17532 define aliases when function name is a macro.
17533 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17534 sysdeps/ieee754/dbl-64/sincos.tbl.
17535 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17536 fma4-enabled routines.
17537 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17538 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17539 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17540 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17541 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17542 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17543 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17544 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17545 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17546 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17547 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17548 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17549 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17550 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17551 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17552 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17553 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17554 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17555 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17557 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17558 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17560 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17562 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17563 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17564 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17565 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17566 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17567
58985aa9
UD
17568 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17569 rename.
17570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17576 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17577 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17578
a201fbcf
AS
175792011-10-24 Andreas Schwab <schwab@redhat.com>
17580
17581 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17582
fc2ee42a
LD
175832011-10-23 Ulrich Drepper <drepper@gmail.com>
17584
bb3129bd
UD
17585 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17586
0275fff8
UD
17587 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17588 prediction.
17589 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17590
2fa2ae85
UD
17591 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17592 Remove unused variable magic_bits.
17593 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17594
fc2ee42a
LD
17595 * string/strnlen.c: Define and use STRNLEN macro.
17596 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17597 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17599 * wcsmbs/wcslen.c: Define and use WCSLEN.
17600 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17601 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17602 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17603 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17604 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17605 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17606 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17607
ce7dd29f
LD
176082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17609
17610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17611 strnlen-sse2-no-bsf.
17612 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17613 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17614 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17615 Add strnlen support.
17616 (USE_AS_STRNLEN): New macro.
17617 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17618 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17619 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17620 * sysdeps/x86_64/wcslen.S: New file.
17621
979c70a3
MZ
176222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17623
17624 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17625 XMM-moves are used for copying on small sizes.
17626
2d09f82f
LD
176272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17628
17629 * wcsmbs/Makefile (strop-tests): Add wcschr.
17630 * wcsmbs/test-wcschr.c: New file.
17631 * string/test-strchr.c: Update.
17632 Add wcschr support.
17633 (WIDE): New macro.
17634
619fccca
LD
176352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17636
2d09f82f 17637 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17638 * wcsmbs/test-wcslen.c: New file.
17639 * string/test-strlen.c: Update.
17640 Add wcslen support.
17641 (WIDE): New macro.
17642
09f699ea
UD
176432011-10-23 Ulrich Drepper <drepper@gmail.com>
17644
17645 * po/it.po: Update from translation team.
17646
95584d3b
LD
176472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17648
17649 * sysdeps/x86_64/wcscmp.S: Update.
17650 Fix wrong comparison semantics.
17651 wcscmp shall use signed comparison not unsigned.
17652 Don't use substraction to avoid overflow bug.
17653 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17654 * wcsmbc/wcscmp.c: Likewise.
17655 * string/test-strcmp.c: Likewise.
17656 Add new tests to check cases with negative values.
17657
c8b3296b
UD
176582011-10-23 Ulrich Drepper <drepper@gmail.com>
17659
17660 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17661 * sysdeps/x86_64/dla.h: ...here. New file.
17662 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17671
246ad57a
AS
176722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17673
17674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17675 __ynl_finite aliases.
17676
a1a87169
UD
176772011-10-22 Ulrich Drepper <drepper@gmail.com>
17678
0d355eb7
UD
17679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17680
a1a87169
UD
17681 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17682 define DLA_FMA.
17683 [DLA_FMA] (EMULV): Use DLA_FMA.
17684 [DLA_FMA] (MUL12): Use EMULV.
17685 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17686 that are not needed.
17687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17694
ee2aafe0
AS
176952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17696
17697 * math/s_nan.c: Undef __nan.
17698 * math/s_nanf.c: Undef __nanf.
17699 * math/s_nanl.c: Undef __nanl.
17700 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17701 "math_private.h".
17702
bc62c2fb
UD
177032011-10-22 Ulrich Drepper <drepper@gmail.com>
17704
77425c63
UD
17705 * math/s_catan.c: Add branch predictions.
17706 * math/s_catanf.c: Likewise.
17707 * math/s_catanh.c: Likewise.
17708 * math/s_catanhf.c: Likewise.
17709 * math/s_catanhl.c: Likewise.
17710 * math/s_catanl.c: Likewise.
17711 * math/s_cexp.c: Likewise.
17712 * math/s_cexpf.c: Likewise.
17713 * math/s_cexpl.c: Likewise.
17714 * math/s_clog.c: Likewise.
17715 * math/s_clog10.c: Likewise.
17716 * math/s_clog10f.c: Likewise.
17717 * math/s_clog10l.c: Likewise.
17718 * math/s_clogf.c: Likewise.
17719 * math/s_clogl.c: Likewise.
17720 * math/s_csqrt.c: Likewise.
17721 * math/s_csqrtf.c: Likewise.
17722 * math/s_csqrtl.c: Likewise.
17723 * math/s_ctanf.c: Likewise.
17724 * math/s_ctanh.c: Likewise.
17725 * math/s_ctanhf.c: Likewise.
17726 * math/s_ctanhl.c: Likewise.
17727 * math/s_ctanl.c: Likewise.
17728
bc62c2fb
UD
17729 * math/math_private.h: Define __nan, __nanf, __nanl.
17730 * math/s_cacosh.c: Include <math_private.h>.
17731 * math/s_cacoshl.c: Likewise.
17732 * math/s_casinh.c: Likewise.
17733 * math/s_casinhf.c: Likewise.
17734 * math/s_casinhl.c: Likewise.
17735 * math/s_ccos.c: Rely entire on ccosh.
17736 * math/s_ccosf.c: Rely entire on ccoshf.
17737 * math/s_ccosl.c: Rely entirely on ccoshl.
17738 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17739 Remove tests for FE_INVALID.
17740 * math/s_ccoshf.c: Likewise.
17741 * math/s_ccoshl.c: Likewise.
17742 * math/s_csin.c: Likewise.
17743 * math/s_csinf.c: Likewise.
17744 * math/s_csinh.c Likewise.
17745 * math/s_csinhf.c: Likewise.
17746 * math/s_csinhl.c: Likewise.
17747 * math/s_csinl.c: Likewise.
17748 * math/s_ctan.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17750 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17751 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17752
8ec250a4
UD
177532011-10-21 Ulrich Drepper <drepper@gmail.com>
17754
c196fed8
UD
17755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17756 compilation problems.
17757
8ec250a4
UD
17758 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17759 __builtin_expect.
17760
8d4f46c6
UD
177612011-10-20 Ulrich Drepper <drepper@gmail.com>
17762
ed72b654
UD
17763 * sysdeps/i386/configure.in: Test for -mfma4 option.
17764 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17765 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17766 COMMON_CPUID_INDEX_80000001.
17767 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17768 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17769 use it if FMA3 is not supported.
17770 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17771
8d4f46c6
UD
17772 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17773 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17774
d45c60c2
AS
177752011-10-20 Andreas Schwab <schwab@redhat.com>
17776
17777 [BZ #12892]
17778 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17779 it would create a cycle with a link time dependency.
17780
d9a4d2ab
UD
177812011-10-19 Ulrich Drepper <drepper@gmail.com>
17782
855d1560
UD
17783 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17784 instruction.
17785 * string/Makefile (strop-tests): Add rawmemchr.
17786 * string/test-rawmemchr.c: New file.
17787
d9a4d2ab
UD
17788 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17790 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17791 when compiling str{,n}casecmp and when AVX is available. Hook up
17792 new optimized code in initializers.
17793
8f3b1ffe
AS
177942011-10-19 Andreas Schwab <schwab@redhat.com>
17795
17796 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17797 __feraiseexcept instead of feraiseexcept.
17798
d38f1dba
UD
177992011-10-18 Ulrich Drepper <drepper@gmail.com>
17800
d9a8d0ab
UD
17801 * math/math_private.h: Define defaults for libc_fetestexcept and
17802 libc_feupdateenv.
17803 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17804 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17805 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17806 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17807 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17808 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17809 libc_fetestexcept and libc_feupdateenv.
17810
4855e3dd
UD
17811 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17812 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17813 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17814 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17815 libc_feholdexcept_setround.
17816
581d30e3
UD
17817 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17818 Add s_nearbyint-c and s_nearbyintf-c.
17819 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17820 nearbyintf inlines.
17821 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17822 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17823 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17824 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17825
d38f1dba
UD
17826 * math/math_private.h: Define defaults for libc_fegetround,
17827 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17828 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17829 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17830 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17831 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17832 standard functions.
17833 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17834 Remove comments and hacks for old compiler versions.
17835 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17836 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17837 libc_feholdexceptl.
17838
caa6c9d8
AS
178392011-10-18 Andreas Schwab <schwab@redhat.com>
17840
17841 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17842 (__feraiseexcept_renamed): Add __NTH.
17843 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17844 namespace violations.
17845
97c066e6
UD
178462011-10-17 Ulrich Drepper <drepper@gmail.com>
17847
99ce7b04
UD
17848 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17849
1004d182
UD
17850 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17851
228a984d
UD
17852 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17853 recently added interfaces.
17854 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17855
c8553a6a
UD
17856 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17857 about macro parameter expansion.
17858
ed22dcf6
UD
17859 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17860 __NO_MATH_INLINES is defined. Cleanups.
17861
17862 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17863 and __floorf is target has SSE4.1.
17864 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17865 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17866 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17867 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17868
b171c137
UD
17869 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17870 name.
17871 (floorf): Likewise.
17872
97c066e6
UD
17873 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17874
629f62ef
AS
178752011-10-17 Andreas Schwab <schwab@redhat.com>
17876
49a43d80
AS
17877 * misc/sys/cdefs.h: Fix last change.
17878
629f62ef
AS
17879 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17880 database lookup.
17881
e453f6cd
UD
178822011-10-16 Ulrich Drepper <drepper@gmail.com>
17883
aa78043a
UD
17884 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17885
ad0f5cad
UD
17886 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17892 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17893 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17894 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17895 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17896 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17897 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17898 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17899 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17900 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17901 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17902 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17903 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17904 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17905 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17906 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17907 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17908
17909 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17910 ceil, ceilf, floor, floorf.
17911
17912 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17913 Perform IRELATIVE relocations last.
17914
e453f6cd
UD
17915 * elf/do-rel.h: Add another parameter nrelative, replacing the
17916 local variable with the same name. Change name of the function
17917 to end in Rel or Rela (uppercase).
17918 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17919 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17920 elf_dynamic_do_##reloc function.
17921
fd5bdc09
UD
179222011-10-15 Ulrich Drepper <drepper@gmail.com>
17923
79b195b5
UD
17924 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17925 is sufficient, at least on modern CPUs.
17926
d4a28569
UD
17927 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17928
b61099b5
UD
17929 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17930 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17931
bcf01e6d
UD
17932 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17933 __expl_finite.
17934 * math/bits/math-finite.h: Add entries for exp.
17935 * math/e_expl.c: Add __*_finite alias.
17936 * sysdeps/i386/fpu/e_exp.S: Likewise.
17937 * sysdeps/i386/fpu/e_expf.S: Likewise.
17938 * sysdeps/i386/fpu/e_expl.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17940 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17941 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17944 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17945 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17946
ba1a0d59
UD
17947 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17948 is sufficient, at least on modern CPUs.
17949
fd5bdc09
UD
17950 * ctype/ctype-info.c (__ctype_init): Define.
17951 * include/ctype.h (__ctype_init): Declare.
17952 (__ctype_b_loc): The variable is always initialized.
17953 (__ctype_toupper_loc): Likewise.
17954 (__ctype_tolower_loc): Likewise.
17955 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17956 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17957
7872cfb0
AS
179582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17959
b468825a
AS
17960 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17961
7872cfb0
AS
17962 * configure.in: Also look in $cxxmachine/include for C++ system
17963 headers.
17964
be13f7bf
LD
179652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17966
17967 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17968 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17969 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17970 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17971 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17972 (USE_AS_WMEMCMP): New macro.
17973 Fixing indents.
17974 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17975 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17976 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17977 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17979 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17980 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17981 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17982 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17983 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17984 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17985 (USE_AS_WMEMCMP): New macro.
17986 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17987 * sysdeps/string/test-memcmp.c: Update.
17988 Fix simple_wmemcmp.
17989 Add new tests.
17990 * wcsmbs/wmemcmp.c: Update.
17991 (WMEMCMP): New macro.
17992 Fix overflow bug.
17993
556a2007
AJ
179942011-10-12 Andreas Jaeger <aj@suse.de>
17995
17996 [BZ #13268]
17997 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17998
538faaa7
UD
179992011-10-15 Ulrich Drepper <drepper@gmail.com>
18000
ab6737ff
UD
18001 * libio/iofwide.c (do_length): Avoid warning.
18002
538faaa7
UD
18003 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18004
396a21b1
UD
180052011-10-14 Ulrich Drepper <drepper@gmail.com>
18006
cdf2901f
UD
18007 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18008
38ad40ce
UD
18009 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18010 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18011 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18012 * sysdeps/i386/i686/fpu/e_log.S: New file.
18013 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18014 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18015
396a21b1
UD
18016 * ctype/ctype.h: Add support for inlined isXXX functions when
18017 compiling C++ code.
18018
6b1f68c9
AS
180192011-10-14 Andreas Schwab <schwab@redhat.com>
18020
349290c0
AS
18021 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18022
6b1f68c9
AS
18023 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18024
f2282d42
RM
180252011-10-13 Roland McGrath <roland@hack.frob.com>
18026
18027 [BZ #13291]
18028 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18029
5298ffa8
AS
180302011-10-13 Andreas Schwab <schwab@redhat.com>
18031
714fad23
AS
18032 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18033 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18034 feraiseexcept.
18035
81dcc7fb
AS
18036 * sysdeps/x86_64/memrchr.S: Check for zero size.
18037
5298ffa8
AS
18038 * string/stratcliff.c: Add memrchr tests.
18039
951fbcec
LD
180402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18041
18042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18043 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18044 rawmemchr-sse2 rawmemchr-sse2-bsf.
18045 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18046 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18047 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18048 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18049 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18050 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18051 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18052 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18053 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18054 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18055 * string/memrchr.c (MEMRCHR): New macro.
18056
0ac5ae23
UD
180572011-10-12 Ulrich Drepper <drepper@gmail.com>
18058
18059 Add integration with gcc's -ffinite-math-only and optimize wrapper
18060 functions in libm.
18061 * Versions.def: Define GLIBC_2.15 version for libm.
18062 * math/Makefile (headers): Add bits/math-finite.h.
18063 * math/bits/math-finite.h: New file.
18064 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18065 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18066 * math/e_acoshl.c: Add __*_finite alias.
18067 * math/e_acosl.c: Likewise.
18068 * math/e_asinl.c: Likewise.
18069 * math/e_atan2l.c: Likewise.
18070 * math/e_atanhl.c: Likewise.
18071 * math/e_coshl.c: Likewise.
18072 * math/e_exp10.c: Likewise.
18073 * math/e_exp10f.c: Likewise.
18074 * math/e_exp10l.c: Likewise.
18075 * math/e_exp2l.c: Likewise.
18076 * math/e_fmodl.c: Likewise.
18077 * math/e_gammal_r.c: Likewise.
18078 * math/e_hypotl.c: Likewise.
18079 * math/e_j0l.c: Likewise.
18080 * math/e_j1l.c: Likewise.
18081 * math/e_jnl.c: Likewise.
18082 * math/e_lgammal_r.c: Likewise.
18083 * math/e_log10l.c: Likewise.
18084 * math/e_log2l.c: Likewise.
18085 * math/e_logl.c: Likewise.
18086 * math/e_powl.c: Likewise.
18087 * math/e_sinhl.c: Likewise.
18088 * math/e_sqrtl.c: Likewise.
18089 * math/e_scalb.c: Completely rewritten and optimized.
18090 * math/e_scalbf.c: Likewise.
18091 * math/e_scalbl.c: Likewise.
18092 * math/w_acos.c: Likewise.
18093 * math/w_acosf.c: Likewise.
18094 * math/w_acosl.c: Likewise.
18095 * math/w_acosh.c: Likewise.
18096 * math/w_acoshf.c: Likewise.
18097 * math/w_acoshl.c: Likewise.
18098 * math/w_asin.c: Likewise.
18099 * math/w_asinf.c: Likewise.
18100 * math/w_asinl.c: Likewise.
18101 * math/w_atan2.c: Likewise.
18102 * math/w_atan2f.c: Likewise.
18103 * math/w_atan2l.c: Likewise.
18104 * math/w_atanh.c: Likewise.
18105 * math/w_atanhf.c: Likewise.
18106 * math/w_atanhl.c: Likewise.
18107 * math/w_exp10.c: Likewise.
18108 * math/w_exp10f.c: Likewise.
18109 * math/w_exp10l.c: Likewise.
18110 * math/w_fmod.c: Likewise.
18111 * math/w_fmodf.c: Likewise.
18112 * math/w_fmodl.c: Likewise.
18113 * math/w_j0.c: Likewise.
18114 * math/w_j0f.c: Likewise.
18115 * math/w_j0l.c: Likewise.
18116 * math/w_j1.c: Likewise.
18117 * math/w_j1f.c: Likewise.
18118 * math/w_j1l.c: Likewise.
18119 * math/w_jn.c: Likewise.
18120 * math/w_jnf.c: Likewise.
18121 * math/w_log.c: Likewise.
18122 * math/w_logf.c: Likewise.
18123 * math/w_logl.c: Likewise.
18124 * math/w_log10.c: Likewise.
18125 * math/w_log10f.c: Likewise.
18126 * math/w_log10l.c: Likewise.
18127 * math/w_log2.c: Likewise.
18128 * math/w_log2f.c: Likewise.
18129 * math/w_log2l.c: Likewise.
18130 * math/w_pow.c: Likewise.
18131 * math/w_powf.c: Likewise.
18132 * math/w_powl.c: Likewise.
18133 * math/w_remainder.c: Likewise.
18134 * math/w_remainderf.c: Likewise.
18135 * math/w_remainderl.c: Likewise.
18136 * math/w_scalb.c: Likewise.
18137 * math/w_scalbf.c: Likewise.
18138 * math/w_scalbl.c: Likewise.
18139 * math/w_sqrt.c: Likewise.
18140 * math/w_sqrtf.c: Likewise.
18141 * math/w_sqrtl.c: Likewise.
18142 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18143 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18144 used.
18145 * math/math_private.h: Declare __kernel_standard_f.
18146 * math/w_cosh.c: Remove cruft and optimize a bit.
18147 * math/w_coshf.c: Likewise.
18148 * math/w_coshl.c: Likewise.
18149 * math/w_exp2.c: Likewise.
18150 * math/w_exp2f.c: Likewise.
18151 * math/w_exp2l.c: Likewise.
18152 * math/w_hypot.c: Likewise.
18153 * math/w_hypotf.c: Likewise.
18154 * math/w_hypotl.c: Likewise.
18155 * math/w_lgamma.c: Likewise.
18156 * math/w_lgamma_r.c: Likewise.
18157 * math/w_lgammaf.c: Likewise.
18158 * math/w_lgammaf_r.c: Likewise.
18159 * math/w_lgammal.c: Likewise.
18160 * math/w_lgammal_r.c: Likewise.
18161 * math/w_sinh.c: Likewise.
18162 * math/w_sinhf.c: Likewise.
18163 * math/w_sinhl.c: Likewise.
18164 * math/w_tgamma.c: Likewise.
18165 * math/w_tgammaf.c: Likewise.
18166 * math/w_tgammal.c: Likewise.
18167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18169 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18170 Minor optimizations. Pretty printing. Remove cruft.
18171 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18172 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18173 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18174 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18175 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18176 * sysdeps/i386/fpu/e_asin.S: Likewise.
18177 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18178 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18179 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18180 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18181 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18182 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18183 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18184 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18185 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18186 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18187 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18188 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18189 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18190 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18191 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18192 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18193 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18194 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18195 * sysdeps/i386/fpu/e_log.S: Likewise.
18196 * sysdeps/i386/fpu/e_log10.S: Likewise.
18197 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18198 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18199 * sysdeps/i386/fpu/e_log2.S: Likewise.
18200 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18201 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18202 * sysdeps/i386/fpu/e_logf.S: Likewise.
18203 * sysdeps/i386/fpu/e_logl.S: Likewise.
18204 * sysdeps/i386/fpu/e_pow.S: Likewise.
18205 * sysdeps/i386/fpu/e_powf.S: Likewise.
18206 * sysdeps/i386/fpu/e_powl.S: Likewise.
18207 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18208 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18209 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18210 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18211 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18212 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18213 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18214 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18215 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18220 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18237 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18238 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18239 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18240 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18241 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18242 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18243 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18244 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18245 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18247 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18248 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18249 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18250 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18251 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18252 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18253 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18254 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18255 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18256 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18257 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18299 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18301 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18302 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18304 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18307 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18308 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18309 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18310 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18311 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18312 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18313 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18314 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18315 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18316 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18317 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18318 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18319 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18320 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18321 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18322 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18323 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18324 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18325 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18326 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18327 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18328 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18329 (__isnanf): Likewise.
18330 (__isinf_ns): Likewise.
18331 (__isinf_nsf): Likewise.
18332 (__finite): Likewise.
18333 (__finitef): Likewise.
18334 (__ieee754_sqrt): Define as macro.
18335 (__ieee754_sqrtf): Define as macro.
18336 (__ieee754_sqrtl): Define as macro.
18337 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18338 inlined copy.
18339 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18340 __FINITE_MATH_ONLY__ consistent.
18341 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18342
12cc2fcd
AS
183432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18344
a843a204
AS
18345 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18346 of rawmemchr.
18347
12cc2fcd
AS
18348 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18349
c853acd5
UD
183502011-10-09 Ulrich Drepper <drepper@gmail.com>
18351
18352 * po/ja.po: Update from translation team.
18353
c658d255
RM
183542011-10-08 Roland McGrath <roland@hack.frob.com>
18355
110946e4
RM
18356 * locale/programs/locarchive.c (prepare_address_space): New function.
18357 (create_archive, enlarge_archive, open_archive): Use it.
18358
50604220
RM
18359 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18360 inside [SHARED], where it is used.
18361
c658d255
RM
18362 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18363
18364 * nss/getent.c (netgroup_keys): Remove unused variable.
18365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18366
6a621eb7
UD
183672011-10-08 Ulrich Drepper <drepper@gmail.com>
18368
7edb55ce
UD
18369 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18370 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18372 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18373 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18374 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18375 * math/Makefile (libm-calls): Add s_isinf_ns.
18376 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18377 * math/multc3.c: Likewise.
18378 * math/s_casin.c: Likewise.
18379 * math/s_casinf.c: Likewise.
18380 * math/s_casinl.c: Likewise.
18381 * math/s_ccos.c: Likewise.
18382 * math/s_ccosf.c: Likewise.
18383 * math/s_ccosl.c: Likewise.
18384 * math/s_ctan.c: Likewise.
18385 * math/s_ctanf.c: Likewise.
18386 * math/s_ctanh.c: Likewise.
18387 * math/s_ctanhf.c: Likewise.
18388 * math/s_ctanhl.c: Likewise.
18389 * math/s_ctanl.c: Likewise.
18390 * math/w_fmod.c: Likewise.
18391 * math/w_fmodf.c: Likewise.
18392 * math/w_fmodl.c: Likewise.
18393 * math/w_remainder.c: Likewise.
18394 * math/w_remainderf.c: Likewise.
18395 * math/w_remainderl.c: Likewise.
18396 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18397 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18398 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18400 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18401 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18402 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18403 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18404
187da0ae
UD
18405 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18406 of the number.
18407 * stdio-common/printf_fphex.c: Likewise.
18408 * stdio-common/printf_size.c: Likewise.
18409
9277c064
UD
18410 * math/e_exp10.c: Include math_private.h using <...> not "...".
18411 * math/e_exp10f.c: Likewise.
18412 * math/e_exp10l.c: Likewise.
18413 * math/e_exp2l.c: Likewise.
18414 * math/e_j0l.c: Likewise.
18415 * math/e_j1l.c: Likewise.
18416 * math/e_jnl.c: Likewise.
18417 * math/e_lgammal_r.c: Likewise.
18418 * math/e_rem_pio2l.c: Likewise.
18419 * math/e_scalb.c: Likewise.
18420 * math/e_scalbf.c: Likewise.
18421 * math/e_scalbl.c: Likewise.
18422 * math/k_cosl.c: Likewise.
18423 * math/k_sinl.c: Likewise.
18424 * math/k_tanl.c: Likewise.
18425 * math/s_cacoshf.c: Likewise.
18426 * math/s_catan.c: Likewise.
18427 * math/s_catanf.c: Likewise.
18428 * math/s_catanh.c: Likewise.
18429 * math/s_catanhf.c: Likewise.
18430 * math/s_catanhl.c: Likewise.
18431 * math/s_catanl.c: Likewise.
18432 * math/s_ccosh.c: Likewise.
18433 * math/s_ccoshf.c: Likewise.
18434 * math/s_ccoshl.c: Likewise.
18435 * math/s_cexp.c: Likewise.
18436 * math/s_cexpf.c: Likewise.
18437 * math/s_cexpl.c: Likewise.
18438 * math/s_clog.c: Likewise.
18439 * math/s_clog10.c: Likewise.
18440 * math/s_clog10f.c: Likewise.
18441 * math/s_clog10l.c: Likewise.
18442 * math/s_clogf.c: Likewise.
18443 * math/s_clogl.c: Likewise.
18444 * math/s_csin.c: Likewise.
18445 * math/s_csinf.c: Likewise.
18446 * math/s_csinh.c: Likewise.
18447 * math/s_csinhf.c: Likewise.
18448 * math/s_csinhl.c: Likewise.
18449 * math/s_csinl.c: Likewise.
18450 * math/s_csqrt.c: Likewise.
18451 * math/s_csqrtf.c: Likewise.
18452 * math/s_csqrtl.c: Likewise.
18453 * math/s_ctan.c: Likewise.
18454 * math/s_ctanf.c: Likewise.
18455 * math/s_ctanh.c: Likewise.
18456 * math/s_ctanhf.c: Likewise.
18457 * math/s_ctanhl.c: Likewise.
18458 * math/s_ctanl.c: Likewise.
18459 * math/s_ldexp.c: Likewise.
18460 * math/s_ldexpf.c: Likewise.
18461 * math/s_ldexpl.c: Likewise.
18462 * math/s_significand.c: Likewise.
18463 * math/s_significandf.c: Likewise.
18464 * math/s_significandl.c: Likewise.
18465 * math/w_acos.c: Likewise.
18466 * math/w_acosf.c: Likewise.
18467 * math/w_acosh.c: Likewise.
18468 * math/w_acoshf.c: Likewise.
18469 * math/w_acoshl.c: Likewise.
18470 * math/w_acosl.c: Likewise.
18471 * math/w_asin.c: Likewise.
18472 * math/w_asinf.c: Likewise.
18473 * math/w_asinl.c: Likewise.
18474 * math/w_atan2.c: Likewise.
18475 * math/w_atan2f.c: Likewise.
18476 * math/w_atan2l.c: Likewise.
18477 * math/w_atanh.c: Likewise.
18478 * math/w_atanhf.c: Likewise.
18479 * math/w_atanhl.c: Likewise.
18480 * math/w_cosh.c: Likewise.
18481 * math/w_coshf.c: Likewise.
18482 * math/w_coshl.c: Likewise.
18483 * math/w_dremf.c: Likewise.
18484 * math/w_exp10.c: Likewise.
18485 * math/w_exp10f.c: Likewise.
18486 * math/w_exp10l.c: Likewise.
18487 * math/w_exp2.c: Likewise.
18488 * math/w_exp2f.c: Likewise.
18489 * math/w_fmod.c: Likewise.
18490 * math/w_fmodf.c: Likewise.
18491 * math/w_fmodl.c: Likewise.
18492 * math/w_hypot.c: Likewise.
18493 * math/w_hypotf.c: Likewise.
18494 * math/w_hypotl.c: Likewise.
18495 * math/w_j0.c: Likewise.
18496 * math/w_j0f.c: Likewise.
18497 * math/w_j0l.c: Likewise.
18498 * math/w_j1.c: Likewise.
18499 * math/w_j1f.c: Likewise.
18500 * math/w_j1l.c: Likewise.
18501 * math/w_jn.c: Likewise.
18502 * math/w_jnf.c: Likewise.
18503 * math/w_jnl.c: Likewise.
18504 * math/w_lgamma.c: Likewise.
18505 * math/w_lgamma_r.c: Likewise.
18506 * math/w_lgammaf.c: Likewise.
18507 * math/w_lgammaf_r.c: Likewise.
18508 * math/w_lgammal.c: Likewise.
18509 * math/w_lgammal_r.c: Likewise.
18510 * math/w_log.c: Likewise.
18511 * math/w_log10.c: Likewise.
18512 * math/w_log10f.c: Likewise.
18513 * math/w_log10l.c: Likewise.
18514 * math/w_log2.c: Likewise.
18515 * math/w_log2f.c: Likewise.
18516 * math/w_log2l.c: Likewise.
18517 * math/w_logf.c: Likewise.
18518 * math/w_logl.c: Likewise.
18519 * math/w_pow.c: Likewise.
18520 * math/w_powf.c: Likewise.
18521 * math/w_powl.c: Likewise.
18522 * math/w_remainder.c: Likewise.
18523 * math/w_remainderf.c: Likewise.
18524 * math/w_remainderl.c: Likewise.
18525 * math/w_scalb.c: Likewise.
18526 * math/w_scalbf.c: Likewise.
18527 * math/w_scalbl.c: Likewise.
18528 * math/w_sinh.c: Likewise.
18529 * math/w_sinhf.c: Likewise.
18530 * math/w_sinhl.c: Likewise.
18531 * math/w_sqrt.c: Likewise.
18532 * math/w_sqrtf.c: Likewise.
18533 * math/w_sqrtl.c: Likewise.
18534 * math/w_tgamma.c: Likewise.
18535 * math/w_tgammaf.c: Likewise.
18536 * math/w_tgammal.c: Likewise.
18537
6a621eb7
UD
18538 * po/ja.po: Update from translation team.
18539
bf582445
AJ
185402011-09-29 Andreas Jaeger <aj@suse.de>
18541
f9efbf3a
AJ
18542 [BZ #13179]
18543 * sunrpc/netname.c (netname2host): Fix logic.
18544
bf582445
AJ
18545 [BZ #6779]
18546 [BZ #6783]
18547 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18548 correctly.
18549 * math/w_remainder.c (__remainder): Likewise.
18550 * math/w_remainderf.c (__remainderf): Likewise.
18551 * math/libm-test.inc (remainder_test): Add test cases.
18552
48693bea
AK
185532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18554
18555 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18556 sdiv_qrnnd.
18557
42622229
LD
185582011-10-07 Ulrich Drepper <drepper@gmail.com>
18559
18560 * string/test-memcmp.c: Avoid unncessary #defines.
18561 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18562
093ecf92
LD
185632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18564
18565 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18566 Use new sse2 version for core i3 - i7 as it's faster
18567 than sse42 version.
18568 (bit_Prefer_PMINUB_for_stringop): New.
18569 * sysdeps/x86_64/rawmemchr.S: Update.
18570 Replace with faster SSE2 version.
18571 * sysdeps/x86_64/memrchr.S: New file.
18572 * sysdeps/x86_64/memchr.S: Update.
18573 Replace with faster SSE2 version.
18574
fde56e5c
MP
185752011-09-12 Marek Polacek <mpolacek@redhat.com>
18576
18577 * elf/dl-load.c (lose): Add cast to avoid warning.
18578
21fd49a9
UD
185792011-10-07 Ulrich Drepper <drepper@gmail.com>
18580
5a06e643
UD
18581 * po/ca.po: Update from translation team.
18582
684ae515
UD
18583 * inet/getnetgrent_r.c: Hook up nscd.
18584 * nscd/Makefile (routines): Add nscd_netgroup.
18585 (nscd-modules): Add netgroupcache.
18586 (CFLAGS-netgroupcache.c): Define.
18587 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18588 (cache_search): Add const to second parameter.
18589 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18590 INNETGR.
18591 (dbs): Add netgrdb entry.
18592 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18593 (verify_persistent_db): Handle netgrdb.
18594 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18595 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18596 GETFDNETGR.
18597 (netgroup_response_header): Define.
18598 (innetgroup_response_header): Define.
18599 (datahead): Add netgroup_response_header and innetgroup_response_header
18600 elements.
18601 * nscd/nscd.conf: Add entries for netgroup cache.
18602 * nscd/nscd.h (dbtype): Add netgrdb.
18603 (_PATH_NSCD_NETGROUP_DB): Define.
18604 (netgroup_iov_disabled): Declare.
18605 (xmalloc, xcalloc, xrealloc): Move declarations here.
18606 (cache_search): Adjust prototype.
18607 Add netgroup-related prototypes.
18608 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18609 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18610 (__nscd_innetgr): Declare.
18611 * nscd/selinux.c (perms): Use access_vector_t as element type and
18612 add netgroup-related initializers.
18613 * nscd/netgroupcache.c: New file.
18614 * nscd/nscd_netgroup.c: New file.
18615 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18616 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18617 For four parameters use innetgr.
18618 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18619 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18620 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18621 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18622
21fd49a9
UD
18623 * nscd/connections.c (register_traced_file): Don't register file
18624 for disabled databases.
18625
054c0457
UD
186262011-10-06 Ulrich Drepper <drepper@gmail.com>
18627
32b63198
UD
18628 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18629
054c0457
UD
18630 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18631 from tree and freeing node.
18632
64031225
JO
186332011-09-25 Jiri Olsa <jolsa@redhat.com>
18634
18635 * nss/nsswitch.c (__nss_database_lookup): Handle
18636 nss_parse_service_list out of memory case.
18637
0490345c
JO
186382011-09-15 Jiri Olsa <jolsa@redhat.com>
18639
18640 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18641 out of memory case.
18642
3a62d00d
AS
186432011-10-04 Andreas Schwab <schwab@redhat.com>
18644
18645 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18646 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18647 pass it down.
18648 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18649 elf_machine_rela, elf_machine_lazy_rel.
18650 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18651 (ELF_DYNAMIC_DO_REL): Likewise.
18652 (ELF_DYNAMIC_DO_RELA): Likewise.
18653 (ELF_DYNAMIC_RELOCATE): Likewise.
18654 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18655 to ELF_DYNAMIC_DO_REL.
18656 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18657 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18658 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18659 elf_machine_rela.
18660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18661 skip_ifunc, don't call ifunc function if non-zero.
18662 (elf_machine_rela): Likewise.
18663 (elf_machine_lazy_rel): Likewise.
18664 (elf_machine_lazy_rela): Likewise.
18665 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18666 (elf_machine_lazy_rel): Likewise.
18667 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18668 Likewise.
18669 (elf_machine_lazy_rel): Likewise.
18670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18671 Likewise.
18672 (elf_machine_lazy_rel): Likewise.
18673 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18674 (elf_machine_lazy_rel): Likewise.
18675 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18676 (elf_machine_lazy_rel): Likewise.
18677 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18678 (elf_machine_lazy_rel): Likewise.
18679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18680 (elf_machine_lazy_rel): Likewise.
18681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18682 (elf_machine_lazy_rel): Likewise.
18683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18684 (elf_machine_lazy_rel): Likewise.
18685
68577918
UD
186862011-09-28 Ulrich Drepper <drepper@gmail.com>
18687
18688 * nss/nss_files/files-init.c (_nss_files_init): Use static
18689 initialization for all the *_traced_file variables.
18690
68822d74
AS
186912011-09-28 Andreas Schwab <schwab@redhat.com>
18692
18693 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18694
2056100b
RM
186952011-09-27 Roland McGrath <roland@hack.frob.com>
18696
18697 [BZ #13226]
18698 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18699
32c76b63
AS
187002011-09-27 Andreas Schwab <schwab@redhat.com>
18701
18702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18703 Reread the line before reparsing it.
18704
bf972c9d
AS
187052011-09-26 Andreas Schwab <schwab@redhat.com>
18706
18707 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18708
e057a1b5
JM
187092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18710 Maxim Kuvyrkov <maxim@codesourcery.com>
18711 Joseph Myers <joseph@codesourcery.com>
18712
18713 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18714 if needed for __stack_chk_guard.
18715
bc7e1c36
RM
187162011-09-19 Roland McGrath <roland@hack.frob.com>
18717
ecb1482f
RM
18718 * sysdeps/posix/spawni.c (script_execute): Always define it.
18719 It will be optimized away if unused.
18720 (maybe_script_execute): New function.
18721 (__spawni): Call it.
18722
bc7e1c36
RM
18723 * Makerules: Don't include tls.make.
18724 (config-tls): Always set to thread.
18725 * tls.make.c: File removed.
18726
1c3b002b
MF
187272011-09-19 Mike Frysinger <vapier@gentoo.org>
18728
18729 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18730 * config.make.in (CPPFLAGS-config): New substituted variable.
18731
2840865d
UD
187322011-09-15 Ulrich Drepper <drepper@gmail.com>
18733
88738eb6
UD
18734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18735
cbf645a6 18736 [BZ #13192]
2840865d
UD
18737 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18738 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18739
b402e91a
RM
187402011-09-15 Roland McGrath <roland@hack.frob.com>
18741
18742 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18743 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18744 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18745 (CALL_FAIL): Likewise.
18746 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18747 (CALL_FAIL): Macro removed.
18748 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18749
4c1a1f71
UD
187502011-09-15 Ulrich Drepper <drepper@gmail.com>
18751
18752 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18753 for __FINITE_MATH_ONLY__ == 1.
18754
edc121be
AS
187552011-09-15 Andreas Schwab <schwab@redhat.com>
18756
18757 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18758 __ieee754_sqrt instead of sqrt.
18759 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18760 __ieee754_sqrtf instead of sqrtf.
18761 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18762 __floorf instead of floorf.
18763 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18764 __floorf, __truncf instead of floorf, truncf.
18765
cd205654
UD
187662011-09-14 Ulrich Drepper <drepper@gmail.com>
18767
ee4d0315
UD
18768 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18769
cd205654
UD
18770 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18771 __extern_always_inline.
18772 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18773 32-bit.
18774
48b67d71
AS
187752011-09-14 Andreas Schwab <schwab@redhat.com>
18776
18777 * elf/rtld.c (dl_main): Also relocate in dependency order when
18778 doing symbol dependency testing.
18779
1ae12c75
AS
187802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18781
18782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18783 Always define `refsym'.
18784
995a80df
AS
187852011-09-13 Andreas Schwab <schwab@redhat.com>
18786
e529793b
AS
18787 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18788 (__FD_ELT): Renamed from __FDELT.
18789 * misc/bits/select2.h (__FD_ELT): Likewise.
18790 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18791 __FD_MASK instead of __FDELT, __FDMASK.
18792 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18793 Likewise.
18794 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18795 Likewise.
18796
52d4fef8
AS
18797 * elf/Makefile (gen-ldd): Fix pattern.
18798
995a80df
AS
18799 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18800 (init_tls): Likewise.
18801
8682f8b0
UD
188022011-09-12 Ulrich Drepper <drepper@gmail.com>
18803
18804 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18805
de82006d
AS
188062011-09-12 Andreas Schwab <schwab@redhat.com>
18807
a7c8e6a1
AS
18808 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18809 `struct cmsghdr *' instead of `void *'.
18810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18811 Likewise.
18812
0f31fe77
AS
188132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18814
18815 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18816 if non-absolute.
18817 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18818 ldd_rewrite_script.
0f31fe77 18819
32b4c839
UD
188202011-09-11 Ulrich Drepper <drepper@gmail.com>
18821
83cd1420
UD
18822 * configure.in: Remove --with-tls option.
18823 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18824 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18825 out in case it is missing.
18826 * sysdeps/ia64/elf/configure.in: Likewise.
18827 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18828 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18829 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18830 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18831 * sysdeps/sh/elf/configure.in: Likewise.
18832 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18833 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18834 * sysdeps/x86_64/elf/configure.in: Likewise.
18835 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18836 * sysdeps/mach/hurd/tls.h: Likewise.
18837
633f745d
UD
18838 [BZ #13067]
18839 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18840
f318beb8
UD
18841 [BZ #13090]
18842 * configure.in: Fix use of AC_INIT.
18843
32b4c839
UD
18844 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18845
3ce1f295
UD
188462011-09-10 Ulrich Drepper <drepper@gmail.com>
18847
bb016596
UD
18848 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18849 __set_errno.
8e58439c
UD
18850 * malloc/hooks.c: Likewise.
18851
aebae053 18852 [BZ #11929]
02d46fc4
UD
18853 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18854 variables statically.
18855 (narenas): Initialize.
18856 (list_lock): Initialize.
bb016596
UD
18857 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18858 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18859 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18860 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18861 Add initializers to main_arena and mp_.
18862 (malloc_state): Remove pagesize member. Change all users to use
18863 GLRO(dl_pagesize).
18864
18865 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18866 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18867 is always initialized.
18868
22a89187
UD
18869 * malloc/malloc.c: Removed unused configurations and dead code.
18870 * malloc/arena.c: Likewise.
18871 * malloc/hooks.c: Likewise.
02d46fc4 18872 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18873
d063d164
UD
18874 * include/tls.h: Removed. USE___THREAD must always be defined.
18875 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18876 * elf/dl-libc.c: Likewise.
18877 * elf/dl-tsd.c: Likewise.
18878 * include/errno.h: Likewise.
18879 * include/netdb.h: Likewise.
18880 * include/resolv.h: Likewise.
18881 * inet/herrno-loc.c: Likewise.
18882 * inet/herrno.c: Likewise.
18883 * malloc/arena.c: Likewise.
18884 * malloc/hooks.c: Likewise.
18885 * malloc/malloc.c: Likewise.
18886 * resolv/res-state.c: Likewise.
18887 * resolv/res_libc.c: Likewise.
18888 * sysdeps/i386/dl-machine.h: Likewise.
18889 * sysdeps/ia64/dl-machine.h: Likewise.
18890 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18891 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18892 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18893 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18894 * sysdeps/sh/dl-machine.h: Likewise.
18895 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18896 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18897 * sysdeps/unix/i386/sysdep.S: Likewise.
18898 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18899 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18901 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18904 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18909 * sysdeps/x86_64/dl-machine.h: Likewise.
18910 * tls.make.c: Likewise.
18911
3ce1f295
UD
18912 * configure.in: Remove --with-__thread option. Make tests for
18913 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18914 tls_model attribute fail if no support is available. Remove
18915 USE_IN_LIBIO.
18916 * Makeconfig: Adjust for dropped configure option. All features are
18917 now mandatory.
18918 * Makerules: Likewise.
18919 * Versions.def: Likewise.
18920 * argp/argp-fmtstream.c: Likewise.
18921 * argp/argp-fmtstream.h: Likewise.
18922 * argp/argp-help.c: Likewise.
18923 * assert/assert.c: Likewise.
18924 * config.h.in: Likewise.
18925 * config.make.in: Likewise.
18926 * configure: Likewise.
18927 * configure.in: Likewise.
18928 * csu/Versions: Likewise.
18929 * csu/init.c: Likewise.
18930 * elf/tst-audit2.c: Likewise.
18931 * elf/tst-tls10.c: Likewise.
18932 * elf/tst-tls10.h: Likewise.
18933 * elf/tst-tls11.c: Likewise.
18934 * elf/tst-tls12.c: Likewise.
18935 * elf/tst-tls14.c: Likewise.
18936 * elf/tst-tlsmod11.c: Likewise.
18937 * elf/tst-tlsmod12.c: Likewise.
18938 * elf/tst-tlsmod13.c: Likewise.
18939 * elf/tst-tlsmod13a.c: Likewise.
18940 * elf/tst-tlsmod14a.c: Likewise.
18941 * elf/tst-tlsmod15b.c: Likewise.
18942 * elf/tst-tlsmod16a.c: Likewise.
18943 * elf/tst-tlsmod16b.c: Likewise.
18944 * elf/tst-tlsmod7.c: Likewise.
18945 * elf/tst-tlsmod8.c: Likewise.
18946 * elf/tst-tlsmod9.c: Likewise.
18947 * gmon/gmon.c: Likewise.
18948 * grp/fgetgrent_r.c: Likewise.
18949 * grp/putgrent.c: Likewise.
18950 * hurd/fopenport.c: Likewise.
18951 * include/libc-symbols.h: Likewise.
18952 * include/tls.h: Likewise.
18953 * intl/gettextP.h: Likewise.
18954 * intl/loadinfo.h: Likewise.
18955 * locale/global-locale.c: Likewise.
18956 * locale/localeinfo.h: Likewise.
18957 * mach/devstream.c: Likewise.
18958 * malloc/arena.c: Likewise.
18959 * malloc/set-freeres.c: Likewise.
18960 * misc/err.c: Likewise.
18961 * misc/getttyent.c: Likewise.
18962 * misc/mntent_r.c: Likewise.
18963 * posix/getopt.c: Likewise.
18964 * posix/wordexp.c: Likewise.
18965 * pwd/fgetpwent_r.c: Likewise.
18966 * resolv/Versions: Likewise.
18967 * resolv/res_hconf.c: Likewise.
18968 * shadow/fgetspent_r.c: Likewise.
18969 * shadow/putspent.c: Likewise.
18970 * stdio-common/printf_fphex.c: Likewise.
18971 * stdio-common/tmpfile.c: Likewise.
18972 * stdlib/abort.c: Likewise.
18973 * stdlib/fmtmsg.c: Likewise.
18974 * sunrpc/auth_unix.c: Likewise.
18975 * sunrpc/clnt_perr.c: Likewise.
18976 * sunrpc/clnt_tcp.c: Likewise.
18977 * sunrpc/clnt_udp.c: Likewise.
18978 * sunrpc/clnt_unix.c: Likewise.
18979 * sunrpc/openchild.c: Likewise.
18980 * sunrpc/svc_simple.c: Likewise.
18981 * sunrpc/svc_tcp.c: Likewise.
18982 * sunrpc/svc_udp.c: Likewise.
18983 * sunrpc/svc_unix.c: Likewise.
18984 * sunrpc/xdr.c: Likewise.
18985 * sunrpc/xdr_array.c: Likewise.
18986 * sunrpc/xdr_rec.c: Likewise.
18987 * sunrpc/xdr_ref.c: Likewise.
18988 * sunrpc/xdr_stdio.c: Likewise.
18989
1248c1c4
PB
189902011-09-09 Ulrich Drepper <drepper@gmail.com>
18991
18992 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18993
189942011-07-03 Andreas Jaeger <aj@suse.de>
18995
18996 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18997 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18998 regenerate with gen-libm-tests.pl.
18999
190002010-05-12 Petr Baudis <pasky@suse.cz>
19001
19002 [BZ #11589]
19003 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19004 around j0() zero points by switching to j1().
19005 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19009
f22e1074
UD
190102011-09-09 Ulrich Drepper <drepper@gmail.com>
19011
f19009c1
UD
19012 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19013 instead of 0.
19014 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19015 instead of 0. .
19016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19017 Patch in part by Pavel Roskin <proski@gnu.org>.
19018
3f8cc204
UD
19019 [BZ #13138]
19020 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19021 realloc.
19022 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19023 Free memory block if necessary.
19024
f22e1074
UD
19025 [BZ #12847]
19026 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19027 be NULL. Don't lock in this case.
19028
0a2349f9
RM
190292011-09-09 Roland McGrath <roland@hack.frob.com>
19030
19031 * elf/elf.h (ELFOSABI_GNU): New macro.
19032 (ELFOSABI_LINUX): Define to that.
19033
f3cdd467
DZ
190342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19035
19036 * string/strncat.c (strncat): Undef the symbol in case it has been
19037 defined in bits/string.h.
19038
74718d13
UD
190392011-09-09 Ulrich Drepper <drepper@gmail.com>
19040
633e9e0f
UD
19041 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19042
0a2349f9 19043 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19044 link map.
19045
f9924780
AJ
190462011-08-17 Andreas Jaeger <aj@suse.de>
19047
19048 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19049
7f5517aa
PP
190502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19051 Ian Lance Taylor <iant@google.com>
19052
19053 * math/libm-test.inc (lround_test): New testcase.
19054 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19055
762011fe
UD
190562011-09-08 Ulrich Drepper <drepper@gmail.com>
19057
92963737
UD
19058 * Makefile: Remove support for automatic cvs check-ins.
19059 * Makerules: Likewise.
19060 * config.make.in: Likewise.
19061 * configure.in: Likewise.
19062 * intl/Makefile: Likewise.
19063 * locale/Makefile: Likewise.
19064 * po/Makefile: Likewise.
19065 * posix/Makefile: Likewise.
19066 * sysdeps/gnu/Makefile: Likewise.
19067 * sysdeps/mach/hurd/Makefile: Likewise.
19068 * sysdeps/sparc/sparc32/Makefile: Likewise.
19069
b0727fd8
JS
19070 [BZ #13118]
19071 * posix/Makefile (bug-regex32-ENV): Define.
19072 Patch by John Stanley <jpsinthemix@verizon.net>.
19073
a0f33f99
UD
19074 * misc/Makefile (headers): Add bits/select2.h.
19075 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19076 * misc/bits/select2.h: New file.
19077 * include/bits/select2.h: New file.
19078 * debug/Makefile (routines): Add fdelt_chk.
19079 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19080 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19081 FD_ISSET.
19082 * debug/fdelt_chk.c: New file.
19083
762011fe
UD
19084 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19085 * wcsmbs/test-wmemcmp.c: Likewise.
19086 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19087 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19088
190892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19090
19091 * string/Makefile (strop-tests): Add memcmp.
19092 * string/test-wmemcmp.c: New file.
19093 * string/test-memcmp.c: Add wmemcmp support.
19094
7f513ec8
RM
190952011-09-08 Roland McGrath <roland@hack.frob.com>
19096
0442afb4
RM
19097 [BZ #13153]
19098 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19099 2011-07-19 change.
19100
7f513ec8
RM
19101 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19102 garbage value in a __mach_port_mod_refs call in the cases of the
19103 task-self and thread-self ports.
19104
a12b2239
ST
191052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19106
19107 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19108
610f9ab4
AS
191092011-09-08 Andreas Schwab <schwab@redhat.com>
19110
7f513ec8 19111 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19112
48882a1a
LD
191132011-09-07 Ulrich Drepper <drepper@gmail.com>
19114
b49865be
UD
19115 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19116
fdc86bc9
UD
19117 * elf/dl-libc.c (dlerror_run): Pass back error code from
19118 dl_catch_error.
19119
c966526a
UD
19120 [BZ #13123]
19121 * elf/dl-load.c (lose): Free l_origin if it is valid.
19122
48882a1a
LD
19123 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19124 names.
19125 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19126 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19127 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19128 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19129 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19130 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19131
77a2a8b4
AZ
191322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19133
19134 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19135 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19136 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19137 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19138 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19139 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19140 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19141 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19142 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19143 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19144
24f579d8
AM
191452011-08-15 Alan Modra <amodra@gmail.com>
19146
19147 [BZ #13092]
19148 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19149 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19150 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19151 ppc_mcount to static-only-routines.
19152 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19153 __mcount_internal.
19154 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19155 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19156
3d4837df
UD
191572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19158
19159 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19160 for finite and infinity parameters.
19161
22700377
WS
191622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19163
19164 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19165 and add nop instructions for throughput optimization.
19166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19167
5025581e
WS
191682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19169
19170 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19171 aligned copy for power7 with vector-scalar instructions.
19172 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19173
08a300c9
L
191742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19175
19176 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19177 AVX check.
19178
59178ef9
AS
191792011-09-07 Andreas Schwab <schwab@redhat.com>
19180
19181 [BZ #13144]
19182 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19183 last change.
19184
e38ba7ab
UD
191852011-09-07 Ulrich Drepper <drepper@gmail.com>
19186
19187 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19188 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19189 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19190 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19191 clock_gettime.
19192
d53a73ac
UD
191932011-09-06 Ulrich Drepper <drepper@gmail.com>
19194
fc8bffcc
UD
19195 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19196 Forgot to demangle the pointer.
19197
ceaa0c5d
UD
19198 * sysdeps/i386/sysdep.h: Define atom_text_section.
19199 * sysdeps/x86_64/sysdep.h: Likewise.
19200 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19201 section with atom_text_section.
19202 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19204 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19206 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19207
a77d3c17
UD
19208 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19209 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19210 already be defined. Change to take two parameters and don't assign
19211 result to variable. Adjust all users.
19212 Define INTERNAL_GETTIME if not already defined.
19213 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19214 call.
19215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19216 HAVE_CLOCK_GETTIME_VSYSCALL.
19217 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19218
d53a73ac
UD
19219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19220 gettimeofday vsyscall, just use time.
19221
a8f84144
AS
192222011-09-06 Andreas Schwab <schwab@redhat.com>
19223
19224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19225 <errno.h>.
19226
ef606249
UD
192272011-09-06 Ulrich Drepper <drepper@gmail.com>
19228
19229 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19230 syscall on x86-64.
19231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19232 syscall.
19233 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19234 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19235 syscall if possible.
19236
6585cb60
UD
192372011-09-05 Ulrich Drepper <drepper@gmail.com>
19238
19239 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19240 e_ident. Don't pass to find_mapsXX.
19241 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19242
a5f524e4
LD
192432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19244
19245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19246 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19247 * sysdeps/x86_64/multiarch/strchr.S: Update.
19248 Check bit_slow_BSF bit.
19249 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19250 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19251 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19252
554881ef
UD
192532011-09-05 Ulrich Drepper <drepper@gmail.com>
19254
d96de963
UD
19255 [BZ #13134]
19256 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19257 before glibc 2.15.
19258 (tryshell): Define.
19259 (__spawni): Change last parameter to be flag. Test
19260 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19261 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19262 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19263 * posix/spawni.c: Likewise.
19264 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19265 * posix/spawnp.c: Likewise. Change normal version to use
19266 SPAWN_XFLAGS_USE_PATH.
19267 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19268 SPAWN_XFLAGS_TRY_SHELL.
19269
d48e5868
UD
19270 [BZ #13150]
19271 * posix/glob.h: Remove gcc 1.x support.
19272
554881ef
UD
19273 [BZ #13068]
19274 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19275
693fb948
LD
192762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19277
19278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19279 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19280 strrchr-sse2-bsf
19281 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19282 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19283 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19284 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19285 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19286 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19287
1b48c537
UD
192882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19289
49d42c37
UD
19290 * sysdeps/x86_64/wcscmp.S: New file.
19291
1b48c537
UD
19292 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19293 wcscmp-c wcscmp-sse2
19294 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19295 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19296 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19297 * wcsmbs/wcscmp.c: Allow renaming.
19298
15c95c5d
DM
192992011-09-05 David S. Miller <davem@davemloft.net>
19300
19301 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19302 stack slot, rather than the struct return pointer slot.
19303 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19304 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19306 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19307
2f0ad8f3
UD
193082011-09-05 Ulrich Drepper <drepper@gmail.com>
19309
d88ae418
UD
19310 * po/ja.po: Update from translation team.
19311
2f0ad8f3
UD
19312 [BZ #13144]
19313 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19314 kernel in 64-bit binaries.
19315
5f4318d1
DM
193162011-09-01 David S. Miller <davem@davemloft.net>
19317
19318 * elf/elf.h (HWCAP_SPARC_*): Move to..
19319 * sysdeps/sparc/sysdep.h: this new file and add new values.
19320 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19321 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19322 _DL_HWCAP_COUNT to 24.
19323 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19324 entries.
19325 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19326 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19327 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19328 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19329 instead of magic constants.
19330 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19331
3ba57516
DM
193322011-08-31 David S. Miller <davem@davemloft.net>
19333
19334 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19336 Reimplement to do errno handling inline.
19337 (SYSCALL_ERROR_HANDLER): New macro.
19338 (__SYSCALL_STRING): Do not do errno handling in asm.
19339 (__CLONE_SYSCALL_STRING): Delete.
19340 (__INTERNAL_SYSCALL_STRING): Delete.
19341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19342 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19343 (PSEUDO): Reimplement to do errno handling inline.
19344 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19345 (SYSCALL_ERROR_HANDLER): New macro.
19346 (__SYSCALL_STRING): Do not do errno handling in asm.
19347 (__CLONE_SYSCALL_STRING): Delete.
19348 (__INTERNAL_SYSCALL_STRING): Delete.
19349 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19350 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19351 i386.
19352 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19353 (inline_syscall*): Add 'err' argument.
19354 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19355 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19356 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19357 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19358
19359 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19360 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19361
2bc17433
AS
193622011-08-30 Andreas Schwab <schwab@redhat.com>
19363
19364 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19365
fbeb5f4d
JO
193662011-08-29 Jiri Olsa <jolsa@redhat.com>
19367
19368 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19369 directive.
19370
ad69cc26
DM
193712011-08-24 David S. Miller <davem@davemloft.net>
19372
19373 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19374
39dd69df
AS
193752011-08-24 Andreas Schwab <schwab@redhat.com>
19376
19377 * elf/Makefile: Add rules to build and run unload8 test.
19378 * elf/unload8.c: New file.
19379 * elf/unload8mod1.c: New file.
19380 * elf/unload8mod1x.c: New file.
19381 * elf/unload8mod2.c: New file.
19382 * elf/unload8mod3.c: New file.
19383
19384 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19385 it wasn't used.
19386
2c0b250a
DM
193872011-08-23 David S. Miller <davem@davemloft.net>
19388
19389 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19390 subtract stack bias.
19391 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19392 %sp not %fp in calculations.
19393 (_JMPBUF_UNWINDS_ADJ): Likewise.
19394
22044b48
DM
19395 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19396 (aio_suspend): Call it to force an exception region around the
19397 AIO_MISC_WAIT() invocation.
19398
2cae4995
AS
193992011-08-23 Andreas Schwab <schwab@redhat.com>
19400
19401 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19402 backslash.
19403
873a772e
AJ
194042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19405
19406 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19407 protection macro.
19408 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19409 and <dl-machine.h>.
19410 (Elf64_FuncDesc): Remove.
19411
25ad0df1
DM
194122011-08-22 David S. Miller <davem@davemloft.net>
19413
19414 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19415 sigaltstack check, add missing cfi directives.
19416 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19417 missing cfi directives, and sigaltstack handling.
19418
e888bcbe
AS
194192011-08-16 Andreas Schwab <schwab@redhat.com>
19420
19421 [BZ #11724]
19422 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19423 object is seen twice.
19424 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19425
19426 * elf/Makefile (distribute): Add tst-initorder2.c.
19427 (tests): Add tst-initorder2.
19428 (modules-names): Add tst-initorder2a tst-initorder2b
19429 tst-initorder2c tst-initorder2d. Add rules to build them.
19430 ($(objpfx)tst-initorder2.out): New rule.
19431 * elf/tst-initorder2.c: New file.
19432 * elf/tst-initorder2.exp: New file.
19433
87162f46
AS
194342011-08-22 Andreas Schwab <schwab@redhat.com>
19435
70538b7f
AS
19436 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19437
f55ffe58
AS
19438 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19439 dependencies back to end of function.
19440
87162f46
AS
19441 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19442 $(elfobjdir)/ld.so.
19443
91b392a4
UD
194442011-08-21 Ulrich Drepper <drepper@gmail.com>
19445
19446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19447 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19449 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19450 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19451 of __vdso_gettimeofday.
19452 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19453 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19454 attribute_hidden.
19455 (_libc_vdso_platform_setup): Remove initialization of
19456 __vdso_gettimeofday and __vdso_time.
19457
5c43483f
UD
194582011-08-20 Ulrich Drepper <drepper@gmail.com>
19459
775a77e7
UD
19460 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19461 and fgetc_unlocked.
19462 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19463 getc_unlocked.
89f447ed 19464
49c74ba9
UD
19465 * elf/dl-open.c (add_to_global): Report additions to the global scope
19466 for LD_DEBUG=scopes.
19467 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19468 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19469
5c43483f
UD
19470 [BZ #13114]
19471 * stdio-common/Makefile (tests): Add bug24.
19472 * stdio-common/bug24.c: New file.
19473
a101b025
AJ
194742011-08-19 Andreas Jaeger <aj@suse.de>
19475
19476 [BZ #13114]
19477 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19478 non-existant file when using close-on-exec mode.
19479
c88f1766
UD
194802011-08-20 Ulrich Drepper <drepper@gmail.com>
19481
0276a718
UD
19482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19483 the very first instruction.
19484
c88f1766
UD
19485 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19486 the CFI state in the end.
19487 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19488 inclusion of dl-trampoline.h.
19489 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19490
51ccffa0
AS
194912011-08-19 Andreas Schwab <schwab@redhat.com>
19492
94d7165f
AS
19493 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19494 expectations for long double.
19495
51ccffa0
AS
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19497 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19498
fd708658 194992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19500
19501 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19502 artificual limit depends upon the system page size.
19503
44f0a71e
UD
195042011-08-17 Ulrich Drepper <drepper@gmail.com>
19505
19506 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19507 * resolv/Makefile: Define CFLAGS-libresolv.
19508
8de79a24
AS
195092011-08-17 Andreas Schwab <schwab@redhat.com>
19510
19511 * nss/makedb.c (compute_tables): Make variables used in nested
19512 function static.
19513
27724598
UD
195142011-08-17 Ulrich Drepper <drepper@gmail.com>
19515
c5305d88
UD
19516 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19517 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19518 if buffer was too small.
19519
27724598
UD
19520 * elf/pldd.c (main): Attach to all threads in the process.
19521 Rewrite /proc handling to use *at functions.
19522
076fe015
UD
195232011-08-16 Ulrich Drepper <drepper@gmail.com>
19524
174baab3
UD
19525 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19526 specifies first scope to show.
19527 (dl_open_worker): Update callers. Move printing scope of new
19528 object to before the relocation.
44f0a71e 19529 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19530 * sysdeps/generic/ldsodefs.h: Update declaration.
19531
076fe015
UD
19532 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19533 string for the scope number.
19534
a60df2c3
UD
195352011-08-14 Ulrich Drepper <drepper@gmail.com>
19536
19537 * nscd/servicescache.c (cache_addserv): Make sure written is always
19538 initialized.
19539
5e4287d1
RM
195402011-08-14 Roland McGrath <roland@hack.frob.com>
19541
85ae0589
RM
19542 * sysdeps/i386/i486/bits/atomic.h
19543 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19544 statement expression, so as to suppress "set but not used" warning.
19545 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19546
69f63097
RM
19547 * string/strncat.c (STRNCAT): Use prototype definition.
19548
675456ef
RM
19549 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19550 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19551 -Iprograms here.
19552 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19553 (localedef-modules): Add localedef.
19554 (locale-modules): Add locale.
19555
5e4287d1
RM
19556 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19557 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19558 to avoid a warning.
19559
9c96ff23
DM
195602011-08-14 David S. Miller <davem@davemloft.net>
19561
19562 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19563 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19564
f9ddf089
UD
195652011-08-13 Ulrich Drepper <drepper@gmail.com>
19566
44f0a71e 19567 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19568 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19569 * elf/rtld.c (dl_main): Set l_name of vDSO.
19570 Call _dl_show_scope when DL_DEBUG_SCOPES.
19571 (process_dl_debug): Recognize scopes flag and also set it for all.
19572 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19573 Declare _dl_show_scope.
19574
1dc27704
UD
19575 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19576 (do_dlopen): Pass caller_dlopen to dl_open.
19577 (__libc_dlopen_mode): Initialize caller_dlopen.
19578
f9ddf089
UD
19579 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19580 of libc. Make tolower call locale-independent. Optimize a bit by
19581 using isdigit instead of isalnum.
19582 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19583
9ac533d3
UD
195842011-08-12 Ulrich Drepper <drepper@gmail.com>
19585
19586 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19587 was a dependency or dynamically loaded.
19588
89edf2e9
UD
195892011-08-11 Ulrich Drepper <drepper@gmail.com>
19590
8e999d29
UD
19591 * intl/l10nflist.c: Allow architecture-specific pop function.
19592 * sysdeps/x86_64/l10nflist.c: New file.
19593
89edf2e9
UD
19594 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19595 classification.
19596
14d96785
AS
195972011-08-10 Andreas Schwab <schwab@redhat.com>
19598
19599 * include/dirent.h: Add libc_hidden_proto for scandirat and
19600 scandirat64. Don't declare __scandirat64.
19601 * dirent/scandirat.c: Add libc_hidden_def.
19602 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19603 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19604
6761ac04
DM
196052011-08-10 David S. Miller <davem@davemloft.net>
19606
19607 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19608 enum.
19609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19611 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19612
c55fbd1e
UD
196132011-08-09 Ulrich Drepper <drepper@gmail.com>
19614
19615 * Versions.def [libc]: Add GLIBC_2.15.
19616 * dirent/Makefile (routines): Add scandirat and scandirat64.
19617 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19618 GLIBC_2.15.
19619 * dirent/dirent.h: Declare scandirat and scandirat64.
19620 * dirent/scandirat.c: New file.
19621 * dirent/scandirat64.c: New file.
19622 * sysdeps/wordsize-64/scandirat.c: New file.
19623 * sysdeps/wordsize-64/scandirat64.c: New file.
19624 * dirent/opendir.c: Define opendirat.
19625 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19626 using scandirat.
19627 * dirent/scandir64.c: Adjust for scandir.c change.
19628 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19629 __scandirat64, and __scandir_cancel_handler.
19630 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19631 additional parameter and use openat instead of open (outside of ld.so).
19632 Add new __opendir as wrapper around __opendirat.
19633 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19634 here without requiring old scandirat implementation.
19635
879165f2
UD
196362011-08-08 Ulrich Drepper <drepper@gmail.com>
19637
19638 * dirent/scandir.c (cancel_handler): Renamed to
19639 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19640 defined. Adjust users.
19641 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19642 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19643
cb7e923b
UD
196442011-08-04 Ulrich Drepper <drepper@gmail.com>
19645
16292edd
UD
19646 * string/test-string.h (IMPL): Use __STRING to expand name and then
19647 stringify it.
19648
cb7e923b
UD
19649 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19650 of cleanups.
19651
cff82933
LD
196522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19653
19654 * string/Makefile: Update.
19655 (strop-tests): Append strncat.
19656 * string/test-wcscmp.c: New file.
19657 New comprehensive test for wcscmp.
19658 * string/test-strcmp.c: Update.
19659 (WIDE): New define.
19660
9be9bfcc
AS
196612011-07-22 Andreas Schwab <schwab@redhat.com>
19662
19663 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19664 line.
19665
2e96f1c7
AS
196662011-07-26 Andreas Schwab <schwab@redhat.com>
19667
19668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19669 encoding to ACE if AI_IDN.
19670
85188888
JJ
196712011-08-01 Jakub Jelinek <jakub@redhat.com>
19672
19673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19674 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19675
5fa16e9b
LD
196762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19677
19678 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19679 Fix overflow bug in strncat.
19680 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19681
19682 * string/test-strncat.c: Update.
19683 Add new tests for checking overflow bugs.
19684
196852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19686
19687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19688 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19689 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19690 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19691 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19692 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19693 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19694 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19695 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19696
19697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19698 (USE_AS_STRCAT): Define.
19699 Add strcat and strncat support.
19700 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19701
8c1a459f
AS
197022011-07-25 Andreas Schwab <schwab@redhat.com>
19703
19704 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19705 __n bigger than INT_MAX+1.
19706 (__strncmp_g): Likewise.
19707
bba33c28
UD
197082011-07-23 Ulrich Drepper <drepper@gmail.com>
19709
798be72d
UD
19710 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19711 * libio/stido.h: Likewise.
19712
8accd4dc
UD
19713 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19714 (AF_NFC): Define.
19715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19716 (AF_NFC): Define.
19717
cbff0d96
UD
19718 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19719 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19721 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19723
9191c04a
UD
19724 [BZ #13021]
19725 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19726 installed.
19727
bba33c28
UD
19728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19729 typo.
19730 (_dl_x86_64_save_sse): Likewise.
19731
90f139dd
UD
197322011-07-22 Ulrich Drepper <drepper@gmail.com>
19733
1aae088a
UD
19734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19735 OSXSAVE.
19736 (_dl_x86_64_save_sse): Likewise.
19737
8e2045f5
UD
19738 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19739
90f139dd
UD
19740 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19741
1d002f25
AS
197422011-07-21 Andreas Schwab <schwab@redhat.com>
19743
19744 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19745 change.
19746 (_dl_x86_64_save_sse): Use correct AVX check.
19747
21137f89
UD
197482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19749
19750 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19751 bug in strncpy/strncat.
19752 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19753
a65c0b7a
UD
197542011-07-21 Ulrich Drepper <drepper@gmail.com>
19755
19756 * string/tester.c (test_strcat): Add tests for different alignments
19757 of source and destination.
19758 (test_strncat): Likewise.
19759
6986b98a
UD
197602011-07-20 Ulrich Drepper <drepper@gmail.com>
19761
90bb2039
UD
19762 [BZ #12852]
19763 * posix/glob.c (glob): Check passed in values before using them in
19764 expressions to avoid some overflows.
19765 (glob_in_dir): Likewise.
19766
5644ef54
UD
19767 [BZ #13007]
19768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19769 check for AVX enablement so that we don't crash with old kernels and
19770 new hardware.
19771 * elf/tst-audit4.c: Add same checks here.
19772 * elf/tst-audit6.c: Likewise.
19773
19774 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19775
bfc9dc9b
AS
197762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19777
19778 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19779
702e64bb
UD
197802011-07-20 Ulrich Drepper <drepper@gmail.com>
19781
19782 * po/cs.po: Update from translation team.
19783 * po/bg.po: Likewise.
19784
295e904f
MP
197852011-07-12 Marek Polacek <mpolacek@redhat.com>
19786
19787 * misc/sys/cdefs.h: Add support for const attribute.
19788 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19789 to gnu_dev_{major,minor,makedev} functions.
19790
3ff94596
MP
197912011-07-20 Marek Polacek <mpolacek@redhat.com>
19792
19793 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19794
28b59fca
AS
197952011-07-20 Andreas Schwab <schwab@redhat.com>
19796
19797 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19798 strlen results.
19799
19df733e
AK
198002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19801
19802 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19803 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19804 register in order to avoid conflicts with the soft frame pointer
19805 being held in r11 when necessary.
19806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19807 (INTERNAL_VSYSCALL_NCS): Likewise.
19808
c8835729
MP
198092011-07-14 Marek Polacek <mpolacek@redhat.com>
19810
19811 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19812 * elf/dl-fini.c (_dl_fini): Adjust caller.
19813 * elf/dl-close.c (_dl_close_worker): Likewise.
19814 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19815
b902330c
MP
198162011-07-15 Marek Polacek <mpolacek@redhat.com>
19817
8991e135
MP
19818 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19819 "aux_cache->nlibs < 0".
19820
b902330c
MP
19821 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19822 in the reload-count case.
19823
99710781
LD
198242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19825
19826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19827 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19828 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19829 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19830 * sysdeps/x86_64/multiarch/strcat.S: New file.
19831 * sysdeps/x86_64/multiarch/strncat.S: New file.
19832 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19833 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19834 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19835 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19837 (USE_AS_STRCAT): Define.
19838 Add strcat and strncat support.
19839 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19840 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19841 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19842 * string/strncat.c: Update.
19843 (USE_AS_STRNCAT): Define.
19844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19845 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19846 and i7.
19847 * sysdeps/x86_64/multiarch/init-arch.h
19848 (bit_Prefer_PMINUB_for_stringop): New.
19849 (index_Prefer_PMINUB_for_stringop): Likewise.
19850 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19851 bit_Prefer_PMINUB_for_stringop.
19852
7dc6bd90
UD
198532011-07-19 Ulrich Drepper <drepper@gmail.com>
19854
19855 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19856 buffer64.
19857 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19858 of casting of buffer.
19859 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19860 buffer32 and buffer64.
19861 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19862 writes instead of casting of buffer.
19863 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19864 buffer32.
19865 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19866 casting of buffer.
19867
e0e72284
AS
198682011-07-19 Andreas Schwab <schwab@redhat.com>
19869
19870 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19871
feb1eb0b
UD
198722011-07-19 Ulrich Drepper <drepper@gmail.com>
19873
19874 * nscd/nscd.c (termination_handler): Don't do anything for a database
19875 if it has not yet been initialized.
19876
298711ff
UD
198772011-07-18 Ulrich Drepper <drepper@gmail.com>
19878
19879 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19880
198812011-07-15 Marek Polacek <mpolacek@redhat.com>
19882
19883 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19884
f9d68389
UD
198852011-07-18 Ulrich Drepper <drepper@gmail.com>
19886
19887 * po/nl.po: Update from translation team.
19888 * po/sv.po: Likewise.
19889
db290cf5
RM
198902011-07-16 Roland McGrath <roland@hack.frob.com>
19891
19892 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19893 now disallowed by GCC.
5c550700 19894
fd5e21c7
RM
19895 * configure.in (use-default-link): Default to yes if a test -shared
19896 link meets our qualifications.
19897 * configure: Regenerated.
19898
5c550700
RM
19899 * config.make.in (output-format): New variable.
19900 * configure.in: Check for ld --print-output-format support.
19901 * configure: Regenerated.
19902 * Makerules ($(common-objpfx)format.lds)
19903 [$(output-format) != unknown]: Just use $(output-format),
19904 instead of the linker-script munging.
19905
9fa2c032
RM
199062011-07-14 Roland McGrath <roland@hack.frob.com>
19907
a6928d51
RM
19908 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19909 of $(common-objpfx)shlib.lds.
19910 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19911
661607b3
RM
19912 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19913 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19914
9fa2c032
RM
19915 * configure.in (-z relro check): Adjust test code to add a large
19916 writable data section after it.
19917 * configure: Regenerated.
19918
defe9061
RM
199192011-07-11 Roland McGrath <roland@hack.frob.com>
19920
19921 * configure.in (-z relro check): Fix test code to make the variable
19922 truly const.
19923 * configure: Regenerated.
19924
319b9ad4
UD
199252011-07-11 Ulrich Drepper <drepper@gmail.com>
19926
19927 * nscd/nscd.h (struct traced_file): Define.
19928 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19929 elements. Add traced_files.
19930 (inotify_fd): Declare.
19931 (register_traced_file): Declare.
19932 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19933 (inotify_fd): Export.
19934 (resolv_conf_descr): Remove.
19935 (nscd_init): Move inotify descriptor creation to main.
19936 Don't register files for notification here.
19937 (register_traced_file): New function.
19938 (invalidate_cache): Don't use reset_res to determine whether to call
19939 res_init, go through the list of registered files.
19940 (main_loop_poll): The inotify descriptors are now stored in the
19941 structures for the traced files.
19942 (main_loop_epoll): Likewise
19943 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19944 to __nss_disable_nscd.
19945 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19946 for a database anymore. Check the records for all the registered
19947 files instead.
19948 * nss/Makefile (libnss_files-routines): Add files-init.
19949 (libnss_db-routines): Add db-init.
19950 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19951 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19952 * nss/nss_db/db-init.c: New file.
19953 * nss/nss_files/files-init.c: New file.
19954 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19955 __nss_lookup_function.
19956 (__nss_lookup_function): Call nss_load_library.
19957 (nss_load_all_libraries): New function.
19958 (__nss_disable_nscd): Take parameter with callback function for files
19959 to register. Set is_nscd. Load all the DSOs for the NSS modules
19960 used for the cached services.
19961 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19962 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19963 options for features to all the files in nscd.
19964
19965 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19966
23bee3e8
RM
199672011-07-10 Roland McGrath <roland@hack.frob.com>
19968
19969 * csu/elf-init.c (__libc_csu_init): Comment typo.
19970
46a5b7f0
UD
199712011-07-09 Ulrich Drepper <drepper@gmail.com>
19972
19973 * po/pl.po: Update from translation team.
19974 * po/ja.po: Likewise.
19975 * po/ru.po: Likewise.
19976 * po/ko.po: Likewise.
19977 * po/fr.po: Likewise.
19978
d30cf5bb
RM
199792011-07-09 Roland McGrath <roland@hack.frob.com>
19980
113ddea4
RM
19981 * configure.in (.ctors/.dtors header and trailer check):
19982 Use an empirical test on a built program.
19983 * configure: Regenerated.
19984
574920b4
RM
19985 * configure.in (-z relro check): Use an empirical test on a built DSO.
19986 Detect, but do not require, on ia64.
19987 * configure: Regenerated.
19988
d30cf5bb
RM
19989 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19990 Update tests that use readelf to use $READELF instead.
19991 * configure: Regenerated.
19992
8538fdb3
UD
199932011-07-08 Ulrich Drepper <drepper@gmail.com>
19994
19995 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19996 if the result is not used.
19997
04d08991
AJ
199982011-07-05 Andreas Jaeger <aj@suse.de>
19999
20000 [BZ#9696]
20001 * stdlib/tst-strtod.c: Add testcase.
20002
de283087
AD
200032011-07-07 Ulrich Drepper <drepper@gmail.com>
20004
4e5f31c8 20005 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20006 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20007 The latter has a higher limit. Take additional parameter to pass to
20008 the new function.
20009 (__pathconf): Pass file to __statfs_link_max.
20010 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20011 __statfs_link_max.
20012 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20013 __statfs_link_max.
20014
de283087
AD
20015 [BZ #12868]
20016 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20017 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20018 Handle Lustre.
20019 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20020 (__statfs_filesize_max): Likewise.
20021 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20022
c75fa153
AJ
200232011-07-05 Andreas Jaeger <aj@suse.de>
20024
20025 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20026
1a544854
UD
200272011-07-06 Marek Polacek <mpolacek@redhat.com>
20028
20029 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20030 `status' variable.
20031 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20032 Likewise.
20033
6f0eec67
UD
200342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20035
20036 * Makefile (strop-tests): Add strncat.
20037 * string/test-strncat.c: New file.
20038
aae30307
UD
200392011-06-30 Marek Polacek <mpolacek@redhat.com>
20040
20041 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20042
c0cfb5eb
UD
200432011-06-21 Andreas Jaeger <aj@suse.de>
20044
20045 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20046 Copy rule from iconvdata/Makefile.
20047
01636b21
UD
200482011-07-06 Ulrich Drepper <drepper@gmail.com>
20049
20050 [BZ #12922]
20051 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20052 but no long options are defined, just return 'W'.
20053
9895c8bc
UD
200542011-06-22 Marek Polacek <mpolacek@redhat.com>
20055
20056 [BZ #9696]
20057 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20058
5d4cf042
UD
200592011-07-06 Ulrich Drepper <drepper@gmail.com>
20060
20061 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20062 netgroups to read.
960e5535 20063 (innetgr): Likewise.
5d4cf042 20064
751eb97e
RM
200652011-07-05 Roland McGrath <roland@hack.frob.com>
20066
20067 * config.make.in (install_root): Default to $(DESTDIR).
20068
f15f1e45
UD
200692011-07-05 Ulrich Drepper <drepper@gmail.com>
20070
20071 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20072
4e34ac6a
RM
200732011-07-02 Roland McGrath <roland@hack.frob.com>
20074
5e9b6af4
RM
20075 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20076
84f9ea0f
RM
20077 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20078 containing directory rather than embedding absolute directory names.
20079
ea5ee9f7
RM
20080 * scripts/check-local-headers.sh: Rewritten using awk.
20081 Match by word, not by line. Print error messages for matches.
20082 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20083
1b74661a
RM
20084 * Makerules [shlib-lds-flags empty]:
20085 ($(common-objpfx)libc_pic.opts): New target.
20086 ($(common-objpfx)libc_pic.os.clean): New target.
20087 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20088
20089 * config.make.in (OBJCOPY): New variable.
20090 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20091 * configure: Regenerated.
20092
f781ef40
RM
20093 * config.make.in (use-default-link): New variable.
20094 * configure.in (use_default_link): Grok --with-default-link to set it.
20095 * configure: Regenerated.
20096 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20097 (shlib-lds, shlib-lds-flags): Define to empty.
20098
2d4fa81e
RM
20099 * Makerules (shlib-lds): New variable.
20100 (shlib-lds-flags): New variable.
20101 (build-shlib, build-moduile, build-module-asneeded): Use it.
20102 ($(common-objpfx)libc.so): Use $(shlib-lds).
20103 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20104 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20105
31fffa6b
RM
20106 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20107 DT_FLAGS/DT_FLAGS_1 with zero flags.
20108
4e34ac6a
RM
20109 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20110 linker script munging.
20111
fcfc776b
UD
201122011-07-02 Ulrich Drepper <drepper@gmail.com>
20113
20114 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20115 as 128-bit value.
20116 * crypt/sha512.c (sha512_process_block): Perform total addition using
20117 128-bit if possible.
20118 (__sha512_finish_ctx): Likewise.
20119 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20120 as 64-bit value.
20121 * crypt/sha256.c (SWAP64): Define.
20122 (sha256_process_block): Perform total addition using 64-bit if
20123 possible.
20124 (__sha256_finish_ctx): Likewise.
20125
99231d9a
UD
201262011-07-01 Ulrich Drepper <drepper@gmail.com>
20127
20128 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20129 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20130 * nscd/hstcache.c (cache_addhst): Likewise.
20131 * nscd/grpcache.c (cache_addgr): Likewise.
20132 * nscd/aicache.c (addhstaiX): Likewise
20133 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20134
445b4a53
TK
201352011-07-01 Thorsten Kukuk <kukuk@suse.de>
20136
20137 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20138 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20139 * nscd/hstcache.c (cache_addhst): Likewise.
20140 * nscd/grpcache.c (cache_addgr): Likewise.
20141 * nscd/aicache.c (addhstaiX): Likewise
20142
6d4d8e8e
AS
201432011-07-01 Andreas Schwab <schwab@redhat.com>
20144
20145 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20146 domain only when needed.
20147
89f654c5
AS
201482011-06-30 Andreas Schwab <schwab@redhat.com>
20149
20150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20151 is always restored.
20152
cf3b23ff
UD
201532011-06-29 Ulrich Drepper <drepper@gmail.com>
20154
20155 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20156 are re-adding the entry.
20157 * nscd/servicescache.c (cache_addserv): Likewise.
20158
751626f9
AJ
201592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20160
20161 * sysdeps/generic/dl-irel.h: fix protection against multiple
20162 inclusions.
20163 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20164
9113ea1f
UD
201652011-06-28 Ulrich Drepper <drepper@gmail.com>
20166
5c0b8d90
UD
20167 [BZ #12935]
20168 * malloc/memusage.sh: Fix quoting in message.
20169 * debug/xtrace.sh: Likewise.
20170
9113ea1f
UD
20171 * configure.in: Remove support for --experimental-malloc option, make
20172 it the default.
20173 * config.make.in: Likewise.
20174 * malloc/Makefile: Likewise.
20175
a4172181
AS
201762011-06-27 Andreas Schwab <schwab@redhat.com>
20177
20178 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20179 two-byte characters.
20180
78a7eee7
RM
201812011-06-27 Roland McGrath <roland@hack.frob.com>
20182
62bede13
RM
20183 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20184 AC_CACHE_CHECK invocation.
20185 * configure: Regenerated.
20186
78a7eee7
RM
20187 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20188
5ce33a62
UD
201892011-06-27 Ulrich Drepper <drepper@gmail.com>
20190
034807a9
UD
20191 [BZ #12350]
20192 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20193 bit from old_res_options.
20194
4902da17
UD
20195 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20196
5ce33a62
UD
20197 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20198 value type for setfct.
20199
c2344f56
L
202002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20201
20202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20203 __gettimeofday instead of gettimeofday.
20204
68468076
UD
202052011-06-26 Ulrich Drepper <drepper@gmail.com>
20206
20207 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20208
acb0d739
L
202092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20210
20211 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20212
20213 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20214 info.
20215
8912479f
L
202162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20219 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20220 strcpy-sse2-unaligned strncpy-sse2-unaligned
20221 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20222 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20223 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20224 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20225 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20228 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20229 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20230 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20231 (STRCPY): Support SSE2 and SSSE3 versions.
20232
d5495a11
UD
202332011-06-24 Ulrich Drepper <drepper@gmail.com>
20234
20235 [BZ #12874]
20236 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20237 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20238 kernels which artificially limit size of requests.
20239
0b1cbaae
L
202402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20241
20242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20243 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20244 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20245 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20246 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20247 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20248 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20249 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20250 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20251 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20252 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20253 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20254 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20255 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20256 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20258 Enable unaligned load optimization for Intel Core i3, i5 and i7
20259 processors.
20260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20261 Define.
20262 (index_Fast_Unaligned_Load): Define.
20263 (HAS_FAST_UNALIGNED_LOAD): Define.
20264
07f494a0
MP
202652011-06-23 Marek Polacek <mpolacek@redhat.com>
20266
20267 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20268
fa3fc0fe
UD
202692011-06-22 Ulrich Drepper <drepper@gmail.com>
20270
20271 [BZ #12907]
20272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20273 until it is clear that the information is realy needed.
20274 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20275
e12df166
AS
202762011-06-22 Andreas Schwab <schwab@redhat.com>
20277
20278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20279
852eb34d
UD
202802011-06-22 Ulrich Drepper <drepper@gmail.com>
20281
84e2a551
UD
20282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20283 /sys/devices/system/cpu/online if it is usable.
20284
852eb34d
UD
20285 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20286 reading the information from the /proc filesystem to once a second.
20287
6e502e19
UD
202882011-06-21 Andreas Jaeger <aj@suse.de>
20289
20290 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20291 NULL after inclusion of kernel headers.
20292
75d39ff2
UD
202932011-06-21 Ulrich Drepper <drepper@gmail.com>
20294
51f9aa6a
UD
20295 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20296 calls to internal_setent.
20297
c0244a9d
UD
20298 [BZ #12885]
20299 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20300 addresses using gethostbyname4_r ignore IPv4 addresses.
20301
c5e3c2ae
UD
20302 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20303 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20304
75d39ff2
UD
20305 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20306
42675c6f
DM
203072011-06-20 David S. Miller <davem@davemloft.net>
20308
20309 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20310 inclusions.
20311 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20312
20313 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20314 (elf_irel): Use it.
20315 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20316 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20317 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20318 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20319 * sysdeps/x86_64/dl-irel.h: Likewise.
20320
20321 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20322 * elf/dl-sym.c: Likewise.
20323
57912a71
UD
203242011-06-15 Ulrich Drepper <drepper@gmail.com>
20325
20326 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20327 need to dereference resplen2.
20328
ee22793d
AS
203292011-06-14 Andreas Schwab <schwab@redhat.com>
20330
20331 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20332
a9e836b0
UD
203332011-06-15 Ulrich Drepper <drepper@gmail.com>
20334
77fb9117
UD
20335 * Makeconfig: Define vardbdir and inst_vardbdir.
20336 * nss/Makefile: Add rules to install db-Makefile.
20337
40c1b22c
UD
20338 * nss/nss_db/db-XXX.c: Cleanup.
20339
9f2da732
UD
20340 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20341 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20342 GLIBC_PRIVATE.
20343 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20344 * nss/makedb.c: Implement -g option to specify that value strings
20345 are generated and should not be added to table iterated over for
20346 get*ent calls.
20347 * nss/nss_db/db-initgroups.c: New file.
20348
82e9a1f7
UD
20349 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20350 interface.
20351
c41af17e
UD
20352 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20353 (internal_getgrouplist): Adjust to name change.
20354 Update use_initgroups_entry if this is not the first call.
20355 * nss/databases.def: Add initgroups entry.
20356
a9e836b0
UD
20357 * nss/makedb.c (compute_tables): Check result of multiple hash table
20358 sizes to minimize maximum chain length.
20359
2666d441
UD
203602011-06-14 Ulrich Drepper <drepper@gmail.com>
20361
20362 * Versions.def: Add entry for libnss_db.
20363 * shlib-versions: Likewise.
20364 * nss/Makefile: Add rules to build libnss_db.
20365 * nss/Versions: Add libnss_db information. Organize libnss_files
20366 entries better.
20367 * nss/db-Makefile: Add gshadow support. Change rules for the new
20368 makedb progra. Some minor improvements to generate smaller files.
20369 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20370 here from...
20371 * nss/makedb.c: ...here.
20372 Improve database format to be smaller and require less memory at
20373 runtime.
20374 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20375 db anymore.
20376 * nss/nss_db/db-netgrp.c: Likewise.
20377 * nss/nss_db/db-open.c: Likewise.
20378 * nss/nss_files/flies-XXX.x: Adjust comments.
20379 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20380 * nss/nss_files/files-grp.c: Likewise.
20381 * nss/nss_files/files-hosts.c: Likewise.
20382 * nss/nss_files/files-network.c: Likewise.
20383 * nss/nss_files/files-proto.c: Likewise.
20384 * nss/nss_files/files-pwd.c: Likewise.
20385 * nss/nss_files/files-rpc.c: Likewise.
20386 * nss/nss_files/files-service.c: Likewise.
20387 * nss/nss_files/files-sgrp.c: Likewise.
20388 * nss/nss_files/files-spwd.c: Likewise.
20389 * nss/nss_db/db-alias.c: Removed.
20390 * nss/nss_db/dummy-db.h: Removed.
20391
9ee76b5a
UD
203922011-06-02 Ulrich Drepper <drepper@gmail.com>
20393
20394 * nss/makedb.c: Rewritten to not use database library.
20395 * nss/Makefile: Update to build new makedb program.
20396
c71ca1f8
AJ
203972011-06-14 Andreas Jaeger <aj@suse.de>
20398
20399 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20400 memset declaration.
20401
3154bfb8
UD
204022011-06-10 Andreas Schwab <schwab@redhat.com>
20403
20404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20405 tmpbuf.
20406
b350afab
RM
204072011-06-10 Roland McGrath <roland@hack.frob.com>
20408
decd4e50
RM
20409 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20410 * elf/Makefile ($(objpfx)ld.so): Likewise.
20411
5615eaf2
RM
20412 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20413 Don't list ld.so twice in dependencies.
20414
20415 * posix/bug-regex31.c: Include <stdlib.h>.
20416
20417 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20418
20419 * nis/nss_compat/compat-spwd.c
20420 (getspent_next_nss_netgr): Remove unused variable.
20421 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20422
20423 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20424 nonmembers" output to use the right array.
20425
20426 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20427
20428 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20429
20430 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20431 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20432 * catgets/gencat.c (read_input_file): Likewise.
20433 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20434
20435 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20436 variable definition inside #if's controlling its use.
20437
20438 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20439
20440 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20441
20442 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20443
20444 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20445 unreachable code.
20446
20447 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20448
b68e08db
RM
20449 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20450 * configure: Regenerated.
20451
b350afab
RM
20452 * Makerules: Revert last change.
20453 * elf/Makefile: Likewise.
20454
28368601
RM
204552011-06-09 Roland McGrath <roland@hack.frob.com>
20456
20457 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20458 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20459 (reloc-link): Likewise.
20460
11988f8f
UD
204612011-06-09 Ulrich Drepper <drepper@gmail.com>
20462
20463 * elf/Makefile: Add rules to build pldd.
20464 * elf/pldd.c: New file.
20465 * elf/pldd-xx.c: New file.
20466
e80fab37
UD
204672011-06-07 Ulrich Drepper <drepper@gmail.com>
20468
20469 * version.h: Update for 2.15 development version.
20470
9b849836
DM
204712011-06-07 David S. Miller <davem@davemloft.net>
20472
20473 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20474 ifuncs.
20475 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20476 elf_machine_lazy_rel): Likewise.
20477 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20478 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20479 elf_machine_lazy_rel): Likewise.
20480 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20481 dl_hwcap via passed in argument.
20482 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20483 Likewise.
20484
5a31b283
AK
204852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20486
20487 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20488
069e52f8
RM
204892011-06-06 Roland McGrath <roland@hack.frob.com>
20490
20491 [BZ #12849]
20492 * manual/fdl-1.1.texi: New file, verbatim from:
20493 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20494 * manual/lgpl-2.1.texi: New file, verbatim from:
20495 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20496 * manual/Makefile (licenses): New variable, list those new file names.
20497 (texis): Use it.
20498 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20499
20500 * manual/fdl.texi: File removed.
20501 * manual/lesser.texi: File removed.
20502 * manual/libc.texinfo (Copying, Documentation License):
20503 Use new @include file names, put @appendix directive before @include.
20504
f16846a5
JJ
205052011-06-04 Jakub Jelinek <jakub@redhat.com>
20506
20507 [BZ #12841]
20508 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20509 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20510 (mq_open): Add __NTH.
20511
3d29045b
L
205122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20513
20514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20515 Assume Intel Core i3/i5/i7 processor if AVX is available.
20516
8c297311
UD
205172011-05-31 Ulrich Drepper <drepper@gmail.com>
20518
20519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20520 typo.
20521
c8fc0c91
UD
205222011-05-31 Andreas Schwab <schwab@redhat.com>
20523
20524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20525 memory. Use alloca_account. Fix memory leak when retrying.
20526
5b27a807
UD
205272011-05-31 Ulrich Drepper <drepper@gmail.com>
20528
356f8bc6
UD
20529 * version.h (RELEASE): Bump for 2.14 release.
20530 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20531
5b27a807
UD
20532 * config.make.in (RANLIB): Remove entry.
20533
01f16ab0
UD
205342011-05-30 Ulrich Drepper <drepper@gmail.com>
20535
41fce8bd
UD
20536 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20537 (libc.pot): Work around missing support for .ksh extension in xgettext.
20538
4769ae77
UD
20539 [BZ #12684]
20540 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20541 if both request failed.
20542 (send_dg): In case of server errors clear resplen or *resplen2.
20543
6b1e7d19
UD
20544 [BZ #12454]
20545 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20546 when there are multiple maps.
20547 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20548 (_dl_fini): Remove test here.
20549
01f16ab0
UD
20550 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20551
b1ebd700
UD
205522011-05-29 Ulrich Drepper <drepper@gmail.com>
20553
7ae22829
UD
20554 [BZ #12350]
20555 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20556 bit from old_res_options.
20557 (gaih_inet): Likewise.
20558
553149f6 20559 [BZ #11099]
18a84741 20560 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20561 as signed.
20562
652ffab1
UD
20563 * resolv/res_init.c (res_setoptions): Make the code more compact.
20564
16985fd0
UD
20565 [BZ #11558]
20566 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20567 set RES_USEVC.
20568
0464f746
UD
20569 [BZ #11634]
20570 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20571
7d17596c
UD
20572 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20573
cf6bbbd7
UD
20574 [BZ #11781]
20575 * malloc/malloc.h: Declare malloc hook variables as volatile.
20576
13f1ab36
UD
20577 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20578 in last patch.
20579
b1ebd700
UD
20580 [BZ #11799]
20581 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20582 raise in the comment.
80e2212d
UD
20583 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20585 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20586
ce67228d
UD
205872011-05-28 Ulrich Drepper <drepper@gmail.com>
20588
8887a920
UD
20589 [BZ #12811]
20590 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20591 grow the buffers more if it already has to be sufficient.
20592 (build_wcs_upper_buffer): Likewise.
20593 * posix/regexec.c (check_matching): Likewise.
20594 (clean_state_log_if_needed): Likewise.
20595 (extend_buffers): Don't enlarge buffers beyond size of the input
20596 buffer.
20597 Patches mostly by Emil Wojak <emil@wojak.eu>.
20598 * posix/bug-regex32.c: New file.
20599 * posix/Makefile (tests): Add bug-regex32.
20600
4f031072
UD
20601 * locale/findlocale.c (_nl_find_locale): Return right away if
20602 _nl_explode_name failed.
20603 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20604
d0478f0c
UD
20605 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20606
de81b246
UD
20607 * debug/xtrace.sh: Unify messages.
20608 * malloc/memusage.sh: Likewise.
20609
c738465a
UD
20610 [BZ #12813]
20611 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20612 time symbol from vDSO. Substitute with vsyscall if not available.
20613 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20614 __vdso_time.
20615
f1f929d7
UD
20616 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20617 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20618 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20619 Add sendmmsg and internal_sendmmsg.
20620 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20621 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20622 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20623
ce67228d
UD
20624 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20625 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20626 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20627
e57420c6
UD
206282011-05-27 Ulrich Drepper <drepper@gmail.com>
20629
a8509ca5
UD
20630 [BZ #12813]
20631 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20632 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20633 available.
20634 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20635 __vdso_getcpu.
20636
e57420c6
UD
20637 [BZ #12814]
20638 * iconvdata/Makefile (tests): Add bug-iconv9.
20639 * iconvdata/bug-iconv9.c: New file.
20640
4d07db15
AS
206412011-05-27 Andreas Schwab <schwab@redhat.com>
20642
20643 [BZ #12814]
20644 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20645
ea486f69
JJ
206462011-05-25 Jakub Jelinek <jakub@redhat.com>
20647
20648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20649 (struct user_regs_struct): Change intcs field back to cs.
20650
6f038433
UD
206512011-05-25 Ulrich Drepper <drepper@gmail.com>
20652
20653 * po/ja.po: Update from translation team.
20654
67f86a25
UD
206552011-05-23 Ulrich Drepper <drepper@gmail.com>
20656
20657 [BZ #12795]
20658 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20659 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20660
def7fbd6
AS
206612011-05-20 Andreas Schwab <schwab@redhat.com>
20662
20663 * stdlib/longlong.h: Update from GCC.
20664
f50ef8f1
AS
206652011-05-23 Andreas Schwab <schwab@redhat.com>
20666
20667 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20668 parameter name.
20669 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20670 Add parameter name.
20671 (__sysconf): Pass it down.
20672
de7ce8f1
UD
206732011-05-22 Ulrich Drepper <drepper@gmail.com>
20674
f2962a71
UD
20675 [BZ #12671]
20676 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20677 some situations.
20678 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20679 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20680 add in in __libc_use_alloca calls. Adjust callers.
20681 (glob): Use malloc in some situations.
20682
de7ce8f1
UD
20683 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20684 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20685 pltexit.
20686
aec84f53
UD
206872011-05-21 Ulrich Drepper <drepper@gmail.com>
20688
05bb4a68
UD
20689 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20690 and CLOCK_BOOTTIME_ALARM.
20691
7ea72f99
UD
20692 [BZ #12782]
20693 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20694 is returned.
20695
7e4afad5
UD
20696 * string/_strerror.c (__strerror_r): Print negative errors as signed
20697 numbers.
20698
8e211fec
UD
20699 [BZ #12777]
20700 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20701 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20702 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20703
f7d82dc9
UD
20704 * configure.in: Fix typo in redirection and correct removal of test
20705 files in two cases.
20706
cc9e536d
UD
20707 [BZ #12788]
20708 * locale/setlocale.c (new_composite_name): Fix test to check for
20709 identical name of all categories.
20710
aec84f53
UD
20711 [BZ #12792]
20712 * libio/filedoalloc.c (local_isatty): New function.
20713 (_IO_file_doallocate): Use local_isatty.
20714 * stdio-common/perror.c (perror): In case a new stream is used
20715 forward the stream error.
20716 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20717 error flag.
20718
78e64fdc
RT
207192011-05-20 Ulrich Drepper <drepper@gmail.com>
20720
34a9094f
UD
20721 [BZ #11869]
20722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20723 alloca.
20724 * include/alloca.h (extend_alloca_account): Define.
20725
78e64fdc
RT
20726 [BZ #11857]
20727 * posix/regex.h: Fix comments with documentation of user-accessible
20728 fields after compilation and describe correct free'ing of pattern
20729 after re_compile_pattern.
20730 Patch by Reuben Thomas <rrt@sc3d.org>.
20731
457bddfc
RA
207322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20733
20734 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20735 and -mno-altivec to prevent the compiler from using Altivec and/or
20736 VSX instructions when the corresponding registers are not available.
20737
a4527b51
AS
207382011-05-19 Andreas Schwab <schwab@redhat.com>
20739
20740 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20741
ed690b2f
UD
207422011-05-19 Ulrich Drepper <drepper@gmail.com>
20743
20744 * libio/freopen.c (freopen): Use __dup2, not dup2.
20745 * libio/freopen64.c (freopen64): Likewise.
20746
8db73634
L
207472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20748
20749 [BZ #12775]
20750 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20751 * math/Makefile (tests): Add test-powl.
20752 (CFLAGS-test-powl.c): Define.
20753 * math/test-powl.c: New file.
20754
0a197a9d
L
207552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20756
20757 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20758
ee30c380
UD
207592011-05-17 Ulrich Drepper <drepper@gmail.com>
20760
20761 [BZ #11837]
20762 * iconvdata/gb18030.c: Update to GB18020-2005.
20763
6ce75379
UD
207642011-05-16 Ulrich Drepper <drepper@gmail.com>
20765
a4b89fd8
AR
20766 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20767 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20768 Patch by Aharon Robbins <arnold@skeeve.com>.
20769
ea389b12
UD
20770 [BZ #11892]
20771 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20772 on the stack.
20773
68a3f91f
UD
20774 [BZ #11895]
20775 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20776 through underflows.
20777
15cc7dd1
UD
20778 [BZ #12766]
20779 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20780 point to strings before performing equality test for error_one_per_line
20781 mode.
20782
f3799213
UD
20783 [BZ #11697]
20784 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20785
d79a9c94
UD
20786 [BZ #11820]
20787 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20788 (struct user_fpregs_struct): Avoid __uint*_t types.
20789
56e5eb46
UD
20790 [BZ #6420]
20791 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20792 symbol info. Use it instead of calling _dl_addr locally.
20793 (lock_and_info): New function.
20794 (tr_freehook): Call lock_and_info and pass symbol info as additional
20795 parameter to tr_where.
20796 (tr_mallochook): Likewise.
20797 (tr_reallochook): Likewise.
20798 (tr_memalignhook): Likewise.
20799
6ce75379
UD
20800 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20801 used and couldn't be at all thread-safe.
20802
f8a3b5bf
UD
208032011-05-15 Ulrich Drepper <drepper@gmail.com>
20804
94b7cc37
UD
20805 * libio/freopen.c (freopen): Don't close old file descriptor
20806 before the new one is opened. Instead dup the new file descriptor
20807 to the old one after the new stream is created.
20808 * libio/freopen64.c (freopen64): Likewise.
20809 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20810 * libio/fileops.c (_IO_new_file_close_it): Handle new
20811 _IO_FLAGS2_NOCLOSE flag.
20812 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20813 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20814 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20815 _IO_FLAGS2_NOCLOSE flag.
20816 * include/unistd.h: Add hidden_proto for dup3.
20817 Define __have_dup3.
20818 * io/dup3.c: Define hidden symbol.
20819 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20820
bd25564e
UD
20821 [BZ #7101]
20822 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20823 when an incomplete long option is used.
20824 * posix/tst-getopt_long1.c: New file.
20825 * posix/Makefile (tests): Add tst-getopt_long1.
20826
c84cfef4
UD
20827 [BZ #10138]
20828 * scripts/config.guess: Update from autoconf-2.68.
20829 * scripts/config.sub: Likewise.
20830
3b85df27
UD
20831 [BZ #10157]
20832 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20833 tests into ...
20834 (has_cpuclock): ...this. New function.
20835 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20836 macro here based on has_cpuclock code.
20837
15a856b1
UD
20838 [BZ #10149]
20839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20840 First byte (not low byte) is now always NUL.
20841 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20842
05f399e6
UD
20843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20844 Use non-cancelable interfaces.
20845
10a52685 20846 [BZ #9809]
94ecc67d
UD
20847 * locale/iso-639.def: Add entry for Sorani.
20848
f8a3b5bf
UD
20849 [BZ #11901]
20850 * include/stdlib.h: Move include protection to the right place.
20851 Define abort_msg_s. Declare __abort_msg with it.
20852 * stdlib/abort.c (__abort_msg): Adjust type.
20853 * assert/assert.c (__assert_fail_base): New function. Majority
20854 of code from __assert_fail. Allocate memory for __abort_msg with
20855 mmap.
20856 (__assert_fail): Now call __assert_fail_base.
20857 * assert/assert-perr.c: Remove bulk of implementation. Use
20858 __assert_fail_base.
20859 * include/assert.hL Declare __assert_fail_base.
20860 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20861 mmap.
20862 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20863
1af4e298
UD
208642011-05-14 Ulrich Drepper <drepper@gmail.com>
20865
f8a3b5bf 20866 [BZ #11952]
d26dfc60
MG
20867 [BZ #12453]
20868 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20869 until all modules are registered in the DTV.
20870 * elf/Makefile: Add rules to build and run tst-tls19.
20871 * elf/tst-tls19.c: New file.
20872 * elf/tst-tls19mod1.c: New file.
20873 * elf/tst-tls19mod2.c: New file.
20874 * elf/tst-tls19mod3.c: New file.
20875 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20876
2fc54d6f
UD
20877 [BZ #12083]
20878 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20879 correctly.
20880
98d76b46
UD
20881 [BZ #12601]
20882 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20883 two-byte sequence errors.
20884 * iconvdata/Makefile (tests): Add bug-iconv8.
20885 * iconvdata/bug-iconv8.c: New file.
20886
da3c19ef
UD
20887 [BZ #12626]
20888 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20889 buf2 definition.
20890
ca408c15
UD
20891 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20892
d6f67f7d
UD
20893 [BZ #12432]
20894 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20895 (dummy_getcfa): New function.
20896 (init): Get _Unwind_GetCFA address, use dummy if not found.
20897 (backtrace_helper): In recursion check, also check whether CFA changes.
20898 (__backtrace): Completely initialize arg.
20899
1af4e298 20900 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20901 storing incomplete byte sequence in state object. Avoid testing for
20902 guaranteed too small input if we know there is enough data available.
1af4e298 20903
da62f81b
AS
209042011-05-11 Andreas Schwab <schwab@redhat.com>
20905
20906 * Makeconfig (+link-pie): Indent.
20907 * Rules (binaries-pie): Define if $(have-fpie) and
20908 $(build-shared).
20909 (binaries-shared): Also filter out $(binaries-pie).
20910 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20911 * nscd/Makefile (others-pie): Add nscd.
20912 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20913 ($(objpfx)nscd): Remove command override.
20914 * login/Makefile (others-pie): Add pt_chown.
20915 ($(objpfx)pt_chown): Remove command override.
20916 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20917 remove command overrides.
20918
fcabc0f8
UD
209192011-05-13 Ulrich Drepper <drepper@gmail.com>
20920
20030ae6
UD
20921 * libio/tst_putwc.c: Fix error messages.
20922
fcabc0f8
UD
20923 [BZ #12724]
20924 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20925 currently writing and seek to current position when not.
20926 * libio/Makefile (tests): Add bug-fclose1.
20927 * libio/bug-fclose1.c: New file.
20928
320a5dc0
PB
209292011-05-12 Ulrich Drepper <drepper@gmail.com>
20930
20931 [BZ #12511]
20932 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20933 don't set DF_1_NODELETE here.
20934 (do_lookup_x): When entering new entry test for copy relocation
20935 and if necessary set DF_1_NODELETE flag.
20936 * elf/tst-unique4.cc: New file.
20937 * elf/tst-unique4.h: New file.
20938 * elf/tst-unique4lib.cc: New file.
20939 * elf/Makefile: Add rules to build and run tst-unique4.
20940 Patch by Piotr Bury <pbury@goahead.com>.
20941
22836f52
UD
209422011-05-11 Ulrich Drepper <drepper@gmail.com>
20943
f574184a
UD
20944 [BZ #12052]
20945 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20946
e1fb097f
UD
20947 [BZ #12625]
20948 * misc/mntent_r.c (addmntent): Flush the stream after the output
20949
22836f52
UD
20950 [BZ #12393]
20951 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20952 (is_trusted_path_normalize): Skip initial colon. Append slash
20953 to empty buffer. Duplicate is_trusted_path code but allow
20954 constructed patch to be prefix.
20955 (is_dst): Allow $ORIGIN followed by /.
20956 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20957 Correct testing of result of is_trusted_path_normalize
20958 (decompose_rpath): Fix warning.
20959
7b3b0b2a
UD
209602011-05-10 Ulrich Drepper <drepper@gmail.com>
20961
20962 [BZ #11257]
20963 * grp/initgroups.c (internal_getgrouplist): When we found the service
20964 list through the initgroups entry in nsswitch.conf do not always
20965 continue on a successful lookup. Don't always use the
eac80ce2 20966 __nss_group_database value if it is set.
7b3b0b2a
UD
20967 * nss/nsswitch.conf (initgroups): Change action for successful db
20968 lookup to continue for compatibility.
20969
2a81eaa5
UD
209702011-05-09 Ulrich Drepper <drepper@gmail.com>
20971
be97a69e
UD
20972 [BZ #11532]
20973 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20974 and CP774 modules.
20975 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20976 and CP774 modules.
20977 * iconvdata/tst-tables.sh: Likewise.
20978 * iconvdata/cp770.c: New file.
20979 * iconvdata/cp771.c: New file.
20980 * iconvdata/cp772.c: New file.
20981 * iconvdata/cp773.c: New file.
20982 * iconvdata/cp774.c: New file.
20983 * iconvdata/testdata/CP770: New file.
20984 * iconvdata/testdata/CP770..UTF8: New file.
20985 * iconvdata/testdata/CP771: New file.
20986 * iconvdata/testdata/CP771..UTF8: New file.
20987 * iconvdata/testdata/CP772: New file.
20988 * iconvdata/testdata/CP772..UTF8: New file.
20989 * iconvdata/testdata/CP773: New file.
20990 * iconvdata/testdata/CP773..UTF8: New file.
20991 * iconvdata/testdata/CP774: New file.
20992 * iconvdata/testdata/CP774..UTF8: New file.
20993
20994 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20995 END CHARMAP line.
20996 * iconvdata/gen-8bit-gap.sh: Likewise.
20997 * iconvdata/gen-8bit.sh: Likewise.
20998
c1e9e399
UD
20999 * locale/iso-639.def: Add ary entry.
21000
24c55fb3 21001 [BZ #11258]
96b4b1b0
UD
21002 * locale/C-translit.h.in: Add U20A1 transliteration.
21003
bdc2f971
KB
21004 [BZ #12178]
21005 * locale/iso-639.def: Add wae entry.
21006 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21007
2952b117
UD
21008 [BZ #12545]
21009 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21010 for n.
21011
2a81eaa5
UD
21012 [BZ #12711]
21013 * locale/C-translit.h.in: Add entry for U20B9.
21014 Patch by pravin.d.s@gmail.com.
21015
28377d1b
UD
210162011-05-08 Ulrich Drepper <drepper@gmail.com>
21017
7fb90fb8
UD
21018 [BZ #12713]
21019 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21020 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21021 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21022 in rtld. Use *stat64.
7fb90fb8 21023 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21024 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21025 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21026 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21027 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21028 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21029 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21030 __fstatat64 macros.
7fb90fb8
UD
21031 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21032 * dirent/rewinddir.c: Add libc_hidden_def.
21033 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21034 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21035
28377d1b
UD
21036 * include/dirent.h (__alloc_dir): Add flags parameter.
21037 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21038 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21039 __alloc_dir.
21040 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21041 from fdopendir if O_CLOEXEC is already set.
21042
66bdbaa4
AM
210432011-03-15 Alan Modra <amodra@gmail.com>
21044
21045 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21046 l_tls_firstbyte_offset non-zero. Save padding offset in
21047 l_tls_firstbyte_offset for later use.
21048 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21049 freeing static tls block.
21050
95721191
JN
210512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21052
21053 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21054 where #ifdef was intended. The intent is to prevent ARG_MAX from
21055 being defined by the kernel headers.
21056
f87dfb1f
UD
210572011-05-07 Ulrich Drepper <drepper@gmail.com>
21058
21059 [BZ #12734]
21060 * resolv/resolv.h: Define RES_NOTLDQUERY.
21061 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21062 no-tld-query and set RES_NOTLDQUERY.
21063 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21064 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21065 modern BIND to search name as TLD unless forbidden.
21066
47c3cd7a
UD
210672011-05-07 Petr Baudis <pasky@suse.cz>
21068 Ulrich Drepper <drepper@gmail.com>
21069
21070 [BZ #12393]
21071 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21072 (is_trusted_path): ...to here.
c1e9ea35 21073 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21074 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21075 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21076
8a35c912
PP
210772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21078
21079 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21080 __BEGIN/__END_DECLS.
21081
acd41f47
UD
210822011-05-06 Ulrich Drepper <drepper@gmail.com>
21083
21084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21085 NSS_STATUS_NOTFOUND if no record was found.
21086
597df647
AS
210872011-05-05 Andreas Schwab <schwab@redhat.com>
21088
21089 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21090 (headers-not-in-tirpc): Remove rpc/netdb.h
21091 * resolv/netdb.h: Revert last change.
21092
b9af1301
PP
210932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21094
21095 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21096 circular dependency between libgcc.a and libc.a.
21097
4e34d5f5
AS
210982011-05-05 Andreas Schwab <schwab@redhat.com>
21099
21100 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21101 * nis/Makefile: Don't install rpcsvc/*.
21102 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21103 instead of <rpc/types.h>.
21104 (MAXHOSTNAMELEN): Define.
21105
00ee369c
AS
211062011-05-03 Andreas Schwab <schwab@redhat.com>
21107
21108 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21109
0b592a30
MB
211102011-04-28 Maciej Babinski <mbabinski@google.com>
21111
21112 [BZ #12714]
21113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21114 gethostbyname4_r when IPv6 results are possible.
21115
6e04cbbe
UD
211162011-05-02 Ulrich Drepper <drepper@gmail.com>
21117
21118 [BZ #12723]
21119 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21120 _PC_PIPE_BUF handling.
21121
e4ecafe0
BH
211222011-04-30 Bruno Haible <bruno@clisp.org>
21123
21124 [BZ #12717]
21125 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21126 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21127 to 'int'.
21128 * inet/getnameinfo.c (getnameinfo): Likewise.
21129
125ee683
UD
211302011-04-29 Ulrich Drepper <drepper@gmail.com>
21131
21132 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21133 to groups setting in database lookup.
21134 * nss/nsswitch.conf: Add initgroups entry.
21135
b722481a
EB
211362011-04-22 Ulrich Drepper <drepper@gmail.com>
21137
21138 [BZ #12685]
21139 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21140 mode string.
21141 Patch by Eric Blake <eblake@redhat.com>.
21142
4df46dbd
L
211432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21144
21145 * sunrpc/Makefile (need-export-routines): Add svc_run.
21146 (routines): Remove svc_run.
21147 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21148 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21149 * sunrpc/svc_run.c (svc_run): Likewise.
21150 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21151
e84142d2
UD
211522011-04-21 Ulrich Drepper <drepper@gmail.com>
21153
21154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21155 problem in reallocation in last patch.
21156
877175d8
UD
211572011-04-20 Ulrich Drepper <drepper@gmail.com>
21158
21159 * sunrpc/Makefile: Move inclusion of Rules.
21160
ab8eed78
UD
211612011-04-19 Ulrich Drepper <drepper@gmail.com>
21162
21163 * nss/nss_files/files-initgroups.c: New file.
21164 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21165 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21166 _nss_files_initgroups_dyn.
21167
e3d8f584
RS
211682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21169
21170 * elf/elf.h (R_ARM_IRELATIVE): Define.
21171
af190f45
UD
211722011-04-19 Ulrich Drepper <drepper@gmail.com>
21173
21174 * po/ru.po: Update from translation team.
21175
53cf59ef
UD
211762011-04-17 Ulrich Drepper <drepper@gmail.com>
21177
21178 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21179 dependencies.
21180
4c559bcd
MF
211812011-02-06 Mike Frysinger <vapier@gentoo.org>
21182
21183 [BZ #12653]
21184 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21185 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21188 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21189
4420675c
AS
211902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21191
21192 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21193 differing bytes.
21194 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21195 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21196 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21197
75ea32ab
UD
211982011-04-17 Ulrich Drepper <drepper@gmail.com>
21199
21200 [BZ #12420]
21201 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21202 storing it.
21203 * stdlib/bug-getcontext.c: New file.
21204 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21205
27390476
AK
212062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21207
21208 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21209 instructions into .machine "z9-109".
21210 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21211 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21212
10442705
AK
212132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21214
21215 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21216 between environment variables and auxiliary vector.
21217
7b57bfe5
UD
212182011-04-16 Ulrich Drepper <drepper@gmail.com>
21219
21220 * Makefile: Add rules to build linkobj/libc.so.
21221 * include/libc-symbols.h: Define libc_hidden_nolink.
21222 * include/rpc/auth.h: Mark functions which are to be hidden.
21223 * include/rpc/auth_des.h: Likewise.
21224 * include/rpc/auth_unix.h: Likewise.
21225 * include/rpc/clnt.h: Likewise.
21226 * include/rpc/des_crypt.h: Likewise.
21227 * include/rpc/key_prot.h: Likewise.
21228 * include/rpc/pmap_clnt.h: Likewise.
21229 * include/rpc/pmap_prot.h: Likewise.
21230 * include/rpc/pmap_rmt.h: Likewise.
21231 * include/rpc/rpc_msg.h: Likewise.
21232 * include/rpc/svc.h: Likewise.
21233 * include/rpc/svc_auth.h: Likewise.
21234 * include/rpc/xdr.h: Likewise.
21235 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21236 * nss/Makefile: Likewise.
21237 * sunrpc/Makefile: Don't install headers. Build library with normal
21238 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21239 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21240 for the compat linking library. Remove use of INTDEF/INTUSE.
21241 * sunrpc/auth_none.c: Likewise.
21242 * sunrpc/auth_unix.c: Likewise.
21243 * sunrpc/authdes_prot.c: Likewise.
21244 * sunrpc/authuxprot.c: Likewise.
21245 * sunrpc/clnt_gen.c: Likewise.
21246 * sunrpc/clnt_perr.c: Likewise.
21247 * sunrpc/clnt_raw.c: Likewise.
21248 * sunrpc/clnt_simp.c: Likewise.
21249 * sunrpc/clnt_tcp.c: Likewise.
21250 * sunrpc/clnt_udp.c: Likewise.
21251 * sunrpc/clnt_unix.c: Likewise.
21252 * sunrpc/des_crypt.c: Likewise.
21253 * sunrpc/des_soft.c: Likewise.
21254 * sunrpc/get_myaddr.c: Likewise.
21255 * sunrpc/key_call.c: Likewise.
21256 * sunrpc/key_prot.c: Likewise.
21257 * sunrpc/netname.c: Likewise.
21258 * sunrpc/pm_getmaps.c: Likewise.
21259 * sunrpc/pm_getport.c: Likewise.
21260 * sunrpc/pmap_clnt.c: Likewise.
21261 * sunrpc/pmap_prot.c: Likewise.
21262 * sunrpc/pmap_prot2.c: Likewise.
21263 * sunrpc/pmap_rmt.c: Likewise.
21264 * sunrpc/publickey.c: Likewise.
21265 * sunrpc/rpc_cmsg.c: Likewise.
21266 * sunrpc/rpc_common.c: Likewise.
21267 * sunrpc/rpc_dtable.c: Likewise.
21268 * sunrpc/rpc_prot.c: Likewise.
21269 * sunrpc/rpc_thread.c: Likewise.
21270 * sunrpc/rtime.c: Likewise.
21271 * sunrpc/svc.c: Likewise.
21272 * sunrpc/svc_auth.c: Likewise.
21273 * sunrpc/svc_authux.c: Likewise.
21274 * sunrpc/svc_raw.c: Likewise.
21275 * sunrpc/svc_run.c: Likewise.
21276 * sunrpc/svc_simple.c: Likewise.
21277 * sunrpc/svc_tcp.c: Likewise.
21278 * sunrpc/svc_udp.c: Likewise.
21279 * sunrpc/svc_unix.c: Likewise.
21280 * sunrpc/svcauth_des.c: Likewise.
21281 * sunrpc/xcrypt.c: Likewise.
21282 * sunrpc/xdr.c: Likewise.
21283 * sunrpc/xdr_array.c: Likewise.
21284 * sunrpc/xdr_float.c: Likewise.
21285 * sunrpc/xdr_intXX_t.c: Likewise.
21286 * sunrpc/xdr_mem.c: Likewise.
21287 * sunrpc/xdr_rec.c: Likewise.
21288 * sunrpc/xdr_ref.c: Likewise.
21289 * sunrpc/xdr_sizeof.c: Likewise.
21290 * sunrpc/xdr_stdio.c: Likewise.
21291
e6c61494
UD
212922011-04-10 Ulrich Drepper <drepper@gmail.com>
21293
21294 [BZ #12650]
21295 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21296 * sysdeps/ia64/dl-tls.h: Likewise.
21297 * sysdeps/powerpc/dl-tls.h: Likewise.
21298 * sysdeps/s390/dl-tls.h: Likewise.
21299 * sysdeps/sh/dl-tls.h: Likewise.
21300 * sysdeps/sparc/dl-tls.h: Likewise.
21301 * sysdeps/x86_64/dl-tls.h: Likewise.
21302 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21303
34fe483e
AS
213042011-03-14 Andreas Schwab <schwab@redhat.com>
21305
21306 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21307 rpath element also skip the following colon.
21308 (expand_dynamic_string_token): Add is_path parameter and pass
21309 down to DL_DST_REQUIRED and _dl_dst_substitute.
21310 (decompose_rpath): Call expand_dynamic_string_token with
21311 non-zero is_path. Ignore empty rpaths.
21312 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21313 with zero is_path.
21314
f12a32e6
AS
213152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21316
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21318 Make cancelable.
21319
38a7d692
UD
213202011-04-09 Ulrich Drepper <drepper@gmail.com>
21321
21322 [BZ #12655]
21323 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21324 Patch by Filipe David Manana <fdmanana@apache.org>.
21325
e451d22b
AS
213262011-04-07 Andreas Schwab <schwab@redhat.com>
21327
21328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21329 Maintain aligned stack.
21330 (CHECK_RSP): Remove unused macro.
21331
dedc7c7b
UD
213322011-04-03 Ulrich Drepper <drepper@gmail.com>
21333
21334 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21335 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21336
94521213
UD
213372011-04-02 Ulrich Drepper <drepper@gmail.com>
21338
21339 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21340
8cb700c0 21341 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21342
0354e355
L
213432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21344
21345 [BZ #12518]
21346 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21347 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21348 * sysdeps/x86_64/memmove.c: New file.
21349 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21350 (memcpy): Renamed to ...
21351 (__new_memcpy): This.
21352 (memcpy): Provide GLIBC_2_14 memcpy.
21353 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21354 (memcpy): Provide GLIBC_2_2_5 memcpy.
21355
8593482f
UD
213562011-04-01 Ulrich Drepper <drepper@gmail.com>
21357
21358 [BZ #12631]
21359 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21360
81a5726b
AS
213612011-03-30 Andreas Schwab <schwab@redhat.com>
21362
21363 * misc/syncfs.c: New file.
21364 * misc/Makefile (routines): Add syncfs.
21365 * posix/unistd.h: Declare syncfs.
21366 * sysdeps/unix/syscalls.list: Add syncfs.
21367
00e5419f
AS
213682011-04-01 Andreas Schwab <schwab@redhat.com>
21369
21370 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21371 open_by_handle_at.
21372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21373 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21375 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21377 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21378 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21379
748876bf
UD
213802011-04-01 Ulrich Drepper <drepper@gmail.com>
21381
658e451d
UD
21382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21383 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21384 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21386 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21389
748876bf
UD
21390 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21391 sync_file_range.c with -fexceptions.
21392 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21393 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21394 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21395 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21396 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21397 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21399 sync_file_range as cancellation point
21400 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21401 now a wrapper around __call_sync_file_range with cancellation handling.
21402 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21403 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21404 function name to __call_sync_file_range.
21405 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21406 Add call_sync_file_range.
748876bf 21407
6e63d5e1
AS
214082011-04-01 Andreas Schwab <schwab@redhat.com>
21409
21410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21411 bits/timex.h.
6e63d5e1 21412
46998f74
UD
214132011-04-01 Ulrich Drepper <drepper@gmail.com>
21414
4c1423ed
UD
21415 * iconv/iconv.h: Fix typo in comment.
21416 * io/fcntl.h: Likewise.
21417 * libio/stdio.h: Likewise.
21418 * posix/spawn.h: Likewise.
21419 * posix/unistd.h: Likewise.
21420 * stdlib/stdlib.h: Likewise.
21421 * time/time.h: Likewise.
21422 * wcsmbs/wchar.h: Likewise.
21423
158648c0
UD
21424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21425 open_by_handle): Add.
21426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21427 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21428 Augment a few comments.
21429 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21431 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21434 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21435 open_by_handle.
21436
46998f74
UD
21437 * io/fcntl.h (AT_EMPTY_PATH): Define.
21438
83fe108b
UD
214392011-03-30 Ulrich Drepper <drepper@gmail.com>
21440
21441 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21442 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21443 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21444 to...
21445 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21446 * Versions.def: Add GLIBC_2.14.
21447 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21448 Export.
83fe108b 21449
bb242059
UD
214502011-03-22 Ulrich Drepper <drepper@gmail.com>
21451
21452 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21453 round counter.
21454 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21455
c97a1282
L
214562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21457
21458 [BZ #12597]
21459 * string/test-strncmp.c (do_page_test): New function.
21460 (check2): Likewise.
21461 (test_main): Call check2.
21462 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21463
2a115601
UD
214642011-03-20 Ulrich Drepper <drepper@gmail.com>
21465
21466 [BZ #12587]
21467 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21468 Handle cache information in CPU leaf 4.
21469 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21470
8126d904
UD
214712011-03-18 Ulrich Drepper <drepper@gmail.com>
21472
042c49c6 21473 [BZ #12583]
8126d904
UD
21474 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21475 character representation.
21476 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21477
ccfe366e
RA
214782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21479
21480 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21481 END(__isnan) to END(__isnanf) to match function entry point/label
21482 EALIGN(__isnanf,...).
21483
c6e13027
JJ
214842011-03-10 Jakub Jelinek <jakub@redhat.com>
21485
21486 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21487
33f85a3f
UD
214882011-03-10 Ulrich Drepper <drepper@gmail.com>
21489
028478fa
UD
21490 [BZ #12510]
21491 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21492 copy from the symbol referenced in the relocation to initialize the
21493 used variable.
21494 Patch by Piotr Bury <pbury@goahead.com>.
21495 * elf/Makefile: Add rules to build and tst-unique3.
21496 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21497 * elf/tst-unique3.cc: New file.
21498 * elf/tst-unique3.h: New file.
21499 * elf/tst-unique3lib.cc: New file.
21500 * elf/tst-unique3lib2.cc: New file.
21501
33f85a3f
UD
21502 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21503
03592fc7
MF
215042011-03-10 Mike Frysinger <vapier@gentoo.org>
21505
21506 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21507 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21508 to _start.
03592fc7 21509
6a5ee102
UD
215102011-03-06 Ulrich Drepper <drepper@gmail.com>
21511
21512 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21513 to-be-loaded object along a path to loader is ld.so.
21514
7e4ba49c
HJ
215152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21516 Ulrich Drepper <drepper@gmail.com>
21517
21518 * sysdeps/x86_64/memset.S: After aligning destination, code
21519 branches to different locations depending on the value of
21520 misalignment, when multiarch is enabled. Fix this.
21521
215222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21523
21524 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21525 Set _x86_64_preferred_memory_instruction for AMD processsors.
21526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21527 Set bit_Prefer_SSE_for_memop for AMD processors.
21528
13a804de
UD
215292011-03-04 Ulrich Drepper <drepper@gmail.com>
21530
21531 * libio/fmemopen.c (fmemopen): Optimize a bit.
21532
9d25c392
AS
215332011-03-03 Andreas Schwab <schwab@redhat.com>
21534
21535 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21536
a5543c6a
RM
215372011-03-03 Roland McGrath <roland@redhat.com>
21538
21539 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21540
012d35f7
DM
215412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21542
7e4ba49c 21543 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21544 __bzero_ultra1 instead of __memset_ultra1.
21545
4bff6e01
AS
215462011-02-23 Andreas Schwab <schwab@redhat.com>
21547 Ulrich Drepper <drepper@gmail.com>
21548
21549 [BZ #12509]
21550 * include/link.h (struct link_map): Add l_orig_initfini.
21551 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21552 returning unsuccessfully.
21553 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21554 close of a file loaded at startup, restore the original l_initfini
21555 list.
21556 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21557 list, store the pointer.
21558 * elf/Makefile ($(objpfx)noload-mem): New rule.
21559 (noload-ENV): Define.
21560 (tests): Add $(objpfx)noload-mem.
21561 * elf/noload.c: Include <memcheck.h>.
21562 (main): Call mtrace. Close all opened handles.
21563
f2092faf
AS
215642011-02-17 Andreas Schwab <schwab@redhat.com>
21565
21566 [BZ #12454]
21567 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21568 dependencies are missing.
21569
6c8a2e88
ST
215702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21571
f2092faf 21572 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21573 Hurd needs munmap.
21574 * sysdeps/mach/hurd/ifreq.h: New file.
21575
84a42118
PB
215762011-01-27 Petr Baudis <pasky@suse.cz>
21577 Ulrich Drepper <drepper@gmail.com>
21578
071f805e 21579 [BZ 12445]#
84a42118
PB
21580 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21581 to extend_alloca().
21582 * stdio-common/bug23.c: New file.
21583 * stdio-common/Makefile (tests): Add bug23.
21584
e23fe25b
AS
215852010-09-28 Andreas Schwab <schwab@redhat.com>
21586 Ulrich Drepper <drepper@gmail.com>
21587
21588 [BZ #12489]
21589 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21590 before performing relro protection. At old place add assertion
21591 to make sure nothing changed.
21592
d3f02e10
NS
215932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21594 Glauber de Oliveira Costa <glommer@gmail.com>
21595
21596 * elf/elf.h: Add new ARM TLS relocs.
21597
d55fd7a5
RA
215982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21599
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21601 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21602 cast from r3.
21603 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21604 'tests' variable.
21605 * sysdeps/wordsize-64/tst-writev.c: New file.
21606
2206397e
RA
216072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21608
21609 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21610 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21611 insns in _dl_start to prevent a TOC reference before relocs are
21612 resolved.
21613
e9433893
UD
216142011-02-15 Ulrich Drepper <drepper@gmail.com>
21615
21616 [BZ #12469]
21617 * Makeconfig: Remove RANLIB definition.
21618 * Makerules: Don't use RANLIB.
21619 * aclocal.m4: Remove ranlib test.
21620 * configure.in: No need to check for ranlib.
21621 * elf/rtld-Rules: Don't use RANLIB.
21622
f75286c6
ST
216232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21624
8e31c82d
ST
21625 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21626 protection macro.
21627 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21628 inclusion protection macro.
21629
f75286c6
ST
21630 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21631 SIGRTMIN and SIGRTMAX and print information in that case only when
21632 SIGRTMIN is defined.
21633
c1d0e639
JJ
216342011-02-11 Jakub Jelinek <jakub@redhat.com>
21635
21636 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21637 arginfo fn returning -1.
21638
21639 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21640 and thousands string is zero terminated.
21641
edf9294e
AS
216422011-02-03 Andreas Schwab <schwab@redhat.com>
21643
21644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21645 sysdeps/unix/sysv/linux/bits/socket.h.
21646
2b7e92df
ST
216472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21648
edf9294e
AS
21649 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21650 (__CPU_COUNT): Remove old macros.
21651 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21652 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21653 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21654 (__sched_cpualloc, __sched_cpufree): Add declarations.
21655
a4c7ea7b
UD
216562011-02-05 Ulrich Drepper <drepper@gmail.com>
21657
21658 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21659 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21660 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21661 (readdhstai): Return value of addhstaiX call.
21662 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21663 (addgrbyX): Return value returned by cache_addgr.
21664 (readdgrbyname): Return value returned by addgrbyX.
21665 (readdgrbygid): Likewise.
21666 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21667 (addpwbyX): Return value returned by cache_addpw.
21668 (readdpwbyname): Return value returned by addhstbyX.
21669 (readdpwbyuid): Likewise.
21670 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21671 (addservbyX): Return value returned by cache_addserv.
21672 (readdservbyname): Return value returned by addservbyX:
21673 (readdservbyport): Likewise.
21674 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21675 (addhstbyX): Return value returned by cache_addhst.
21676 (readdhstbyname): Return value returned by addhstbyX.
21677 (readdhstbyaddr): Likewise.
21678 (readdhstbynamev6): Likewise.
21679 (readdhstbyaddrv6): Likewise.
21680 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21681 (readdinitgroups): Return value returned by addinitgroupsX.
21682 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21683 (prune_cache): Keep track of timeout value of re-added entries.
21684 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21685 * nscd/nscd.h: Adjust prototypes of readd* functions.
21686
a0bf67cc
RM
216872011-02-04 Roland McGrath <roland@redhat.com>
21688
21689 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21690 (nis_stats): Likewise.
21691 * nis/nis_modify.c (nis_modify): Likewise.
21692 * nis/nis_remove.c (nis_remove): Likewise.
21693 * nis/nis_add.c (nis_add): Likewise.
21694
21695 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21696
21697 * posix/fnmatch_loop.c: Add some consts.
21698
21699 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21700
435b95eb
L
217012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21702
21703 [BZ #12460]
21704 * config.make.in (config-cflags-novzeroupper): Define.
21705 * configure.in: Substitute libc_cv_cc_novzeroupper.
21706 * elf/Makefile (AVX-CFLAGS): Define.
21707 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21708 (CFLAGS-tst-auditmod4a.c): Likewise.
21709 (CFLAGS-tst-auditmod4b.c): Likewise.
21710 (CFLAGS-tst-auditmod6b.c): Likewise.
21711 (CFLAGS-tst-auditmod6c.c): Likewise.
21712 (CFLAGS-tst-auditmod7b.c): Likewise.
21713 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21714
8517b15e
UD
217152011-02-02 Ulrich Drepper <drepper@gmail.com>
21716
21717 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21718 function to the callback.
21719 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21720
10a656fe
AS
217212011-02-02 Andreas Schwab <schwab@redhat.com>
21722
21723 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21724 of errno.
21725
968dad0a
UD
217262011-01-19 Ulrich Drepper <drepper@gmail.com>
21727
9f94d2ea 21728 [BZ #11724]
968dad0a
UD
21729 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21730 of constructors.
21731 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21732 of destructors.
21733 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21734
21735 [BZ #11724]
21736 * elf/Makefile: Add rules to build and run new test.
21737 * elf/tst-initorder.c: New file.
21738 * elf/tst-initorder.exp: New file.
21739 * elf/tst-initordera1.c: New file.
21740 * elf/tst-initordera2.c: New file.
21741 * elf/tst-initordera3.c: New file.
21742 * elf/tst-initordera4.c: New file.
21743 * elf/tst-initorderb1.c: New file.
21744 * elf/tst-initorderb2.c: New file.
21745 * elf/tst-order-a1.c: New file.
21746 * elf/tst-order-a2.c: New file.
21747 * elf/tst-order-a3.c: New file.
21748 * elf/tst-order-a4.c: New file.
21749 * elf/tst-order-b1.c: New file.
21750 * elf/tst-order-b2.c: New file.
21751 * elf/tst-order-main.c: New file.
21752 New test case by George Gensure <werkt0@gmail.com>.
21753
86e92359
UD
217542010-10-01 Andreas Schwab <schwab@redhat.com>
21755
21756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21757 decoding ACE if AI_CANONIDN.
21758
5d5732b0
UD
217592011-01-18 Ulrich Drepper <drepper@gmail.com>
21760
21761 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21762
a77e8cbc
UD
217632011-01-17 Ulrich Drepper <drepper@gmail.com>
21764
6392473f
UD
21765 * version.h (RELEASE): Bump for 2.13 release.
21766 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21767
620a0529
UD
21768 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21769
18ba70a5
UD
21770 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21771 MADV_NOHUGEPAGE.
32465c3e
UD
21772 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21773 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21774 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21775 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21776 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21777 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21778
c0dafcf1
UD
21779 * posix/getconf.c: Update copyright year.
21780 * catgets/gencat.c: Likewise.
21781 * csu/version.c: Likewise.
21782 * debug/catchsegv.sh: Likewise.
21783 * debug/xtrace.sh: Likewise.
21784 * elf/ldconfig.c: Likewise.
21785 * elf/ldd.bash.in: Likewise.
21786 * elf/sprof.c (print_version): Likewise.
21787 * iconv/iconv_prog.c: Likewise.
21788 * iconv/iconvconfig.c: Likewise.
21789 * locale/programs/locale.c: Likewise.
21790 * locale/programs/localedef.c: Likewise.
21791 * malloc/memusage.sh: Likewise.
21792 * malloc/mtrace.pl: Likewise.
21793 * nscd/nscd.c (print_version): Likewise.
21794 * nss/getent.c: Likewise.
21795
a77e8cbc
UD
21796 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21797 PF_CAIF, and PF_ALG.
21798 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21799
77e8bddf
AS
218002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21801
1f20b93a
AS
21802 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21803 (modules-names): Use them.
21804 (ifunc-test-modules, ifunc-pie-tests): Define.
21805 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21806 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21807 (test-extras): Likewise.
21808 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21809 $(compile-command.c).
21810 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21811 (all-built-dso): Define.
21812 (check-textrel.out, check-execstack.out): Depend on it.
21813
77e8bddf
AS
21814 * configure.in: Don't override --enable-multi-arch.
21815
bc425b33
UD
218162011-01-15 Ulrich Drepper <drepper@gmail.com>
21817
21818 [BZ #6812]
21819 * nscd/hstcache.c (tryagain): Define.
21820 (cache_addhst): Return tryagain not notfound for temporary errors.
21821 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21822 failed.
21823
794c3ad3
UD
218242011-01-14 Ulrich Drepper <drepper@gmail.com>
21825
70181fdd
UD
21826 [BZ #10563]
21827 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21828 to make the syscall.
21829 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21830
794c3ad3
UD
21831 [BZ #12378]
21832 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21833 and fall back to matching as normal character if the string ends before
21834 the matching ']' is found. This is what POSIX requires.
21835 * posix/testfnm.c: Adjust test result.
21836 * posix/globtest.sh: Adjust test result. Add new test.
21837 * posix/tst-fnmatch.input: Likewise.
21838 * posix/tst-fnmatch2.c: Add new test.
21839
68dc9497
AS
218402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21841
21842 * elf/Makefile (check-execstack): Revert last change. Depend on
21843 check-execstack.h.
21844 (check-execstack.h): New target.
21845 (generated): Add check-execstack.h.
21846 * elf/check-execstack.c: Include "check-execstack.h".
21847 (main): Revert last change.
21848 (handle_file): Return zero if GNU_STACK is absent and
21849 DEFAULT_STACK_PERMS doesn't include PF_X.
21850
451f001b
UD
218512011-01-13 Ulrich Drepper <drepper@gmail.com>
21852
cfa28e56
UD
21853 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21854 in child fails because the descriptor is already closed.
8cf8ce17
UD
21855 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21856 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21857 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21858
1086d70d
UD
21859 [BZ #12397]
21860 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21861 syscall.
21862
451f001b
UD
21863 [BZ #10484]
21864 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21865 temporary buffer used to handle multi lookups locally.
a85b5cb4 21866 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21867
08769175
UD
218682011-01-12 Ulrich Drepper <drepper@gmail.com>
21869
21870 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21871 loader is ld.so.
21872
5e49c52e
UD
218732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21874
21875 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21876 alignment for SSE2.
21877
60522a5f
UD
218782011-01-12 Ulrich Drepper <drepper@gmail.com>
21879
21880 [BZ #12394]
21881 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21882 characters. When rounding increased number of integer digits recompute
21883 number of groups.
21884 * stdio-common/tst-grouping.c: New file.
21885 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21886
f257bbd7
UD
218872011-01-09 Ulrich Drepper <drepper@gmail.com>
21888
21889 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21890 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21891
21892 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21893 void.
21894 * bits/select.h: Likewise.
21895
fa9c15cb
UD
218962011-01-08 Ulrich Drepper <drepper@gmail.com>
21897
21898 * po/ja.po: Update from translation team.
21899
16c2895f
DM
219002011-01-04 David S. Miller <davem@sunset.davemloft.net>
21901
21902 [BZ #11155]
21903 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21904 implementation just like for lxstat, fxstatat, et al.
21905
2543fef2
JM
219062010-12-27 Jim Meyering <meyering@redhat.com>
21907
21908 [BZ #12348]
21909 * posix/regexec.c (build_trtable): Return failure indication upon
21910 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21911
98727dbe
UD
219122010-12-25 Ulrich Drepper <drepper@gmail.com>
21913
5bd6dc5c
UD
21914 [BZ #12201]
21915 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21916 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21917 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21918 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21919
97983464
UD
21920 [BZ #12207]
21921 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21922
98727dbe
UD
21923 [BZ #12204]
21924 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21925 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21926
4a531bb0
L
219272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21928
21929 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21930 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21931 script has SORT_BY_INIT_PRIORITY.
21932 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21933 NO_CTORS_DTORS_SECTIONS is defined.
21934 * elf/soinit.c: Likewise.
21935 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21936 NO_CTORS_DTORS_SECTIONS is defined.
21937 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21938 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21939 * sysdeps/sh/init-first.c: Likewise.
21940 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21941
07eb4b71
UD
219422010-12-24 Ulrich Drepper <drepper@gmail.com>
21943
21944 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21945 always use the slow path.
21946
30950a5f
RA
219472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21948
21949 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21950 similar rule which adds the sysdep directories to the header search in
21951 order to pick up the correct platform stackinfo.h.
21952 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21953 perform test if it is, otherwise return successfully without testing.
21954 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21955 DEFAULT_STACK_PERMS define in stackinfo.h.
21956 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21957 defined in stackinfo.h.
21958 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21959 DEFAULT_STACK_PERMS defined in stackinfo.h.
21960 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21961 * sysdeps/ia64/stackinfo.h: Likewise.
21962 * sysdeps/s390/stackinfo.h: Likewise.
21963 * sysdeps/sh/stackinfo.h: Likewise.
21964 * sysdeps/sparc/stackinfo.h: Likewise.
21965 * sysdeps/x86_64/stackinfo.h: Likewise.
21966 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21967 PF_X for powerpc64. Retain PF_X for powerpc32.
21968
db753e2c
UD
219692010-12-19 Ulrich Drepper <drepper@gmail.com>
21970
14b697f7
UD
21971 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21972 accurately.
db753e2c
UD
21973 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21974 GETDENTS_64BIT_ALIGNED.
21975
28300719
UD
219762010-12-14 Ulrich Drepper <dreper@gmail.com>
21977
14b697f7 21978 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21979
4f197237
AS
219802010-12-10 Andreas Schwab <schwab@redhat.com>
21981
dbb0472f
AS
21982 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21983 _GNU_SOURCE.
21984
4f197237
AS
21985 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21986 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21987 Remove __restrict.
21988 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21989 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21990
fb88ac72
UD
219912010-12-09 Ulrich Drepper <drepper@gmail.com>
21992
21993 [BZ #11655]
21994 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21995 are initialized.
21996
42acbb92
JJ
219972010-12-09 Jakub Jelinek <jakub@redhat.com>
21998
21999 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22000
c038d98d
UD
220012010-12-03 Ulrich Drepper <drepper@gmail.com>
22002
22003 * po/it.po: Update from translation team.
22004
3a4a2499
L
220052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22006
22007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22008 unused codes.
22009
1e24cf6e
UD
220102010-11-30 Ulrich Drepper <drepper@gmail.com>
22011
22012 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22013
a7690819
AS
220142010-11-24 Andreas Schwab <schwab@redhat.com>
22015
22016 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22017 specially.
22018 (gaih_getanswer_slice): Likewise.
22019
3bf8d1b1
JJ
220202010-10-20 Jakub Jelinek <jakub@redhat.com>
22021
22022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22023
6db52fbb
PB
220242010-05-31 Petr Baudis <pasky@suse.cz>
22025
22026 [BZ #11149]
22027 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22028 silently even in the chroot mode.
22029
eaca7569
UD
220302010-11-22 Ulrich Drepper <drepper@gmail.com>
22031
22032 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22033 last patch a bit. Pretty printing
22034
3056dcdb
UD
220352010-05-31 Petr Baudis <pasky@suse.cz>
22036
22037 [BZ #10085]
22038 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22039 initialization of skip_initgroups_dyn.
22040
cf7c9078
UD
220412010-11-19 Ulrich Drepper <drepper@gmail.com>
22042
22043 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22044 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22045
a1fb5e3e
UD
220462010-11-16 Ulrich Drepper <drepper@gmail.com>
22047
22048 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22049
3540d66b
AS
220502010-11-11 Andreas Schwab <schwab@redhat.com>
22051
22052 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22053 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22054 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22055 ($(objpfx)tst-fnmatch-mem): New rule.
22056 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22057 * posix/tst-fnmatch.c (main): Call mtrace.
22058
13b69574
L
220592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22060
22061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22062 Support Intel processor model 6 and model 0x2c.
22063
da93d214
LM
220642010-11-10 Luis Machado <luisgpm@br.ibm.com>
22065
22066 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22067 signed comparison.
22068
8ca52c6e
L
220692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22070
22071 [BZ #12205]
22072 * string/test-strncasecmp.c (check_result): New function.
22073 (do_one_test): Use it.
22074 (check1): New function.
22075 (test_main): Use it.
22076 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22077 Support strcasecmp and strncasecmp.
22078
69da074d
UD
220792010-11-08 Ulrich Drepper <drepper@gmail.com>
22080
22081 [BZ #12194]
22082 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22084
ff02d528
L
220852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22086
22087 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22088 IFUNC support.
22089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22090 memset-x86-64.
22091 * sysdeps/x86_64/multiarch/bzero.S: New file.
22092 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22093 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22094 * sysdeps/x86_64/multiarch/memset.S: New file.
22095 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22097 Set bit_Prefer_SSE_for_memop for Intel processors.
22098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22099 Define.
22100 (index_Prefer_SSE_for_memop): Define.
22101 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22102
344d0b54
LM
221032010-11-04 Luis Machado <luisgpm@br.ibm.com>
22104
22105 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22106 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22107
c0dde15b
UD
221082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22109
22110 [BZ #12191]
22111 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22112 (__x86_64_raw_data_cache_size_half): Likewise.
22113 (__x86_64_raw_shared_cache_size): Likewise.
22114 (__x86_64_raw_shared_cache_size_half): Likewise.
22115
22116 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22117 (__x86_64_raw_data_cache_size_half): Likewise.
22118 (__x86_64_raw_shared_cache_size): Likewise.
22119 (__x86_64_raw_shared_cache_size_half): Likewise.
22120 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22121 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22122 and __x86_64_raw_shared_cache_size_half. Round
22123 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22124 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22125 to multiple of 256 bytes.
22126
0e516e0e
MS
221272010-11-03 Ulrich Drepper <drepper@gmail.com>
22128
22129 [BZ #12167]
22130 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22131 of inacessible symlinks. Verify result of symlink before returning it.
22132 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22133 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22134
0e012e87
ER
221352010-10-28 Erich Ritz <erichritz@gmail.com>
22136
22137 * math/math.h (isinf): Fix typo in comment.
22138
de0ff7bc
UD
221392010-11-01 Ulrich Drepper <drepper@gmail.com>
22140
22141 * po/da.po: Update from translation team.
22142
fa41c84d
UD
221432010-10-26 Ulrich Drepper <drepper@gmail.com>
22144
22145 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22146 is added to the list.
22147
f0967738
AK
221482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22149 Ulrich Drepper <drepper@gmail.com>
22150
22151 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22152 the global list here. Move code to...
22153 (_dl_add_to_namespace_list): ...here. New function.
22154 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22155 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22156 * elf/dl-load.c (lose): Don't remove the element from the list.
22157 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22158 (_dl_map_object): Likewise.
22159
221602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22161
22162 [BZ #12159]
22163 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22164 into all bytes of SSE register.
22165 Patch by Richard Li <richardpku@gmail.com>.
22166
f0967738 221672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22168
22169 [BZ #12140]
22170 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22171 perturbing.
22172
d0b9e94f
MB
221732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22174
22175 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22176 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22177 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22178 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22180 submachine.
22181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22182
8e9f92e9
AS
221832010-10-22 Andreas Schwab <schwab@redhat.com>
22184
22185 * include/dlfcn.h (__RTLD_SECURE): Define.
22186 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22187 mode & __RTLD_SECURE instead.
22188 (open_path): Rename preloaded parameter to secure.
22189 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22190 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22191 * elf/dl-deps.c (openaux): Likewise.
22192 * elf/rtld.c (struct map_args): Remove is_preloaded.
22193 (map_doit): Don't use it.
22194 (dl_main): Likewise.
22195 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22196 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22197
bc96fbda
AS
221982010-09-09 Andreas Schwab <schwab@redhat.com>
22199
22200 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22201 (sysd-rules-targets): Remove duplicates.
22202 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22203 rtld-%.$o dependency.
22204
22cd1c9b
AS
222052010-10-18 Andreas Schwab <schwab@redhat.com>
22206
22207 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22208 _dl_map_object do it.
22209
18edac48
UD
222102010-10-19 Ulrich Drepper <drepper@gmail.com>
22211
22212 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22213 fast fma builtins, define the macros in the C99 standard.
22214 (FP_FAST_FMAF): Likewise.
22215 (FP_FAST_FMAL): Likewise.
22216 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22217
22218 * bits/mathdef.h: Update copyright year.
22219 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22220
d2050124
MM
222212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22222
22223 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22224 builtins, define the macros in the C99 standard.
22225 (FP_FAST_FMAF): Likewise.
22226 (FP_FAST_FMAL): Likewise.
22227 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22228 multiply/add.
22229 (FP_FAST_FMAF): Likewise.
22230
475facd1
JJ
222312010-10-15 Jakub Jelinek <jakub@redhat.com>
22232
22233 [BZ #3268]
22234 * math/libm-test.inc (fma_test): Some new testcases.
22235 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22236 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22237 y and infinite z. Do multiplication by C already in long double.
22238 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22240 y and infinite z. Do bitwise or of inexact bit into u.d.
22241 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22242 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22243 * sysdeps/i386/fpu/s_fma.S: Removed.
22244 * sysdeps/i386/fpu/s_fmal.S: Removed.
22245
7c08a05c
JJ
222462010-10-16 Jakub Jelinek <jakub@redhat.com>
22247
22248 [BZ #3268]
22249 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22251 computation is not scheduled after fetestexcept. Fix value
22252 of minimum denormal long double.
22253
f3f7372d
JJ
222542010-10-14 Jakub Jelinek <jakub@redhat.com>
22255
22256 [BZ #3268]
22257 * math/libm-test.inc (fma_test): Add some more tests.
22258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22259 correctly.
22260
14d43591
AS
222612010-10-15 Andreas Schwab <schwab@redhat.com>
22262
22263 * scripts/data/localplt-s390-linux-gnu.data: New file.
22264 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22265
5e908464
JJ
222662010-10-13 Jakub Jelinek <jakub@redhat.com>
22267
22268 [BZ #3268]
22269 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22270 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22271 instead of dbl-64.
22272 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22273 inlines.
22274 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22276 if one of x and y is very large and the other is subnormal.
22277 * sysdeps/s390/fpu/s_fmaf.c: New file.
22278 * sysdeps/s390/fpu/s_fma.c: New file.
22279 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22280 * sysdeps/powerpc/fpu/s_fma.S: New file.
22281 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22282 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22283 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22284
222852010-10-12 Jakub Jelinek <jakub@redhat.com>
22286
22287 [BZ #3268]
22288 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22289 fma tests.
22290 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22291 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22292 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22293 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22294 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22295 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22296 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22297
b833d51f
UD
222982010-10-12 Ulrich Drepper <drepper@redhat.com>
22299
22300 [BZ #12078]
22301 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22302 * posix/bug-regex31.input: Add test case.
22303
1751705d
UD
223042010-10-11 Ulrich Drepper <drepper@gmail.com>
22305
e9b9cbf5
UD
22306 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22307 * posix/bug-regex31.input: New file.
22308
22309 [BZ #12078]
22310 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22311 (parse_sub_exp): Fix last change, use postorder.
22312
ef06edbe
UD
22313 * posix/bug-regex31.c: New file.
22314 * posix/Makefile: Add rules to build and run bug-regex31.
22315
a129c80d
UD
22316 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22317
22318 [BZ #12078]
22319 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22320
b76b818e
UD
22321 [BZ #12108]
22322 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22323 to have entries in sys_siglist.
22324
1751705d
UD
22325 [BZ #12093]
22326 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22327 be NULL.
22328
9ff8d36f
JJ
223292010-10-07 Jakub Jelinek <jakub@redhat.com>
22330
22331 [BZ #3268]
22332 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22333 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22334 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22335 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22336 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22337 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22338 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22339 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22340 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22341 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22342 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22343 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22344 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22345 * math/ftestexcept.c (fetestexcept): Likewise.
22346 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22347 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22348 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22349 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22350 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22351 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22352 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22353
af325969
UD
223542010-10-11 Ulrich Drepper <drepper@gmail.com>
22355
c579b202 22356 [BZ #12107]
af325969
UD
22357 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22358 newline.
22359
67a67b95
UD
223602010-10-06 Ulrich Drepper <drepper@gmail.com>
22361
22362 * string/bug-strstr1.c: New file.
22363 * string/Makefile: Add rules to build and run bug-strstr1.
22364
5fb308bc
EB
223652010-10-05 Eric Blake <eblake@redhat.com>
22366
22367 [BZ #12092]
22368 * string/str-two-way.h (two_way_long_needle): Always clear memory
22369 when skipping input due to the shift table.
22370
45db99c7
UD
223712010-10-03 Ulrich Drepper <drepper@gmail.com>
22372
3b111893
UD
22373 [BZ #12005]
22374 * malloc/mcheck.c: Handle large requests.
22375
45db99c7
UD
22376 [BZ #12077]
22377 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22378 for strncmp and strncasecmp.
22379 * string/stratcliff.c: Add tests for strcmp and strncmp.
22380 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22381
cf7a1eb8
NI
223822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22383
22384 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22385 __set_fpscr.
22386
6484ba5e
AJ
223872010-09-30 Andreas Jaeger <aj@suse.de>
22388
22389 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22390 (CGROUP_SUPER_MAGIC): Define.
22391 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22392 Handle btrfs and cgroup file systems.
22393 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22394 Likewise.
22395
91c42559
LM
223962010-09-27 Luis Machado <luisgpm@br.ibm.com>
22397
22398 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22399 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22400
87a97932
AK
224012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22402
22403 [BZ #12067]
22404 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22405 trying to locate the ELF header.
22406
c21cc9bc
AS
224072010-09-27 Andreas Schwab <schwab@redhat.com>
22408
22409 [BZ #11611]
22410 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22411 Mask out sign-bit copies when constructing f_fsid.
22412
315970f6
PB
224132010-09-24 Petr Baudis <pasky@suse.cz>
22414
22415 * debug/stack_chk_fail_local.c: Add missing licence exception.
22416 * debug/warning-nop.c: Likewise.
22417
1ac7a2c7
JM
224182010-09-15 Joseph Myers <joseph@codesourcery.com>
22419
22420 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22421 implementing getdents64 using getdents syscall, set d_type if
22422 __ASSUME_GETDENTS32_D_TYPE.
22423
56801c50
AS
224242010-09-16 Andreas Schwab <schwab@redhat.com>
22425
22426 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22427 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22428
dda51327
UD
224292010-09-21 Ulrich Drepper <drepper@redhat.com>
22430
22431 [BZ #12037]
22432 * posix/unistd.h: Undo change of feature selection for ftruncate from
22433 2010-01-11.
22434
8ffcee4a
UD
224352010-09-20 Ulrich Drepper <drepper@redhat.com>
22436
a545ecd9 22437 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22438 detection.
22439
e24f0a8b
AS
224402010-09-20 Andreas Schwab <schwab@redhat.com>
22441
22442 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22443 fanotify_mark.
22444 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22445
7291c56f
AS
224462010-09-14 Andreas Schwab <schwab@redhat.com>
22447
22448 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22449 variables after CHECK_SP call.
22450 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22451
bc5fb037
AS
224522010-09-13 Andreas Schwab <schwab@redhat.com>
22453 Ulrich Drepper <drepper@redhat.com>
22454
22455 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22456 re-relocationg ld.so.
22457 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22458 _dl_init_paths call.
22459 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22460 here anymore.
22461
e66e7419
UD
224622010-09-14 Ulrich Drepper <drepper@redhat.com>
22463
22464 * resolv/res_init.c (__res_vinit): Count the default server we added.
22465
c044aa75
CLT
224662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22467 Ulrich Drepper <drepper@redhat.com>
22468
22469 [BZ #11968]
22470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22471 (____longjmp_chk): Use %ebx for saving value across system call.
22472 Add unwind info.
22473
32cf4069
AS
224742010-09-06 Andreas Schwab <schwab@redhat.com>
22475
22476 * manual/Makefile: Don't mix pattern rules with normal rules.
22477
817328ee
AS
224782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22479
22480 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22481 operation.
22482 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22483 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22484 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22485 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22486 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22487 Likewise.
22488
29fddf61
UD
224892010-09-04 Ulrich Drepper <drepper@redhat.com>
22490
22491 [BZ #11979]
22492 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22493 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22494
0959ffc9
UD
224952010-09-02 Ulrich Drepper <drepper@redhat.com>
22496
22497 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22498 * sysdeps/x86_64/addmul_1.S: Likewise.
22499 * sysdeps/x86_64/lshift.S: Likewise.
22500 * sysdeps/x86_64/mul_1.S: Likewise.
22501 * sysdeps/x86_64/rshift.S: Likewise.
22502 * sysdeps/x86_64/sub_n.S: Likewise.
22503 * sysdeps/x86_64/submul_1.S: Likewise.
22504
ece29840
ST
225052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22506
0959ffc9
UD
22507 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22508 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22509 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22510 * bits/sched.h [__need_schedparam]
ece29840 22511 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22512 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22513 (__defined_schedparam): Define to 1.
ece29840
ST
22514 (__sched_param): New structure, identical to sched_param.
22515 (__need_schedparam): Undefine.
22516
e53a31fe
MF
225172010-08-31 Mike Frysinger <vapier@gentoo.org>
22518
fdc0c10d
MF
22519 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22520 (epoll_create1): Declare.
22521
e53a31fe
MF
22522 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22523
a726d796
AS
225242010-08-31 Andreas Schwab <schwab@redhat.com>
22525
22526 [BZ #7066]
22527 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22528 shifting retval into place.
22529
2f3e3dc7
UD
225302010-09-01 Ulrich Drepper <drepper@redhat.com>
22531
f2933da9
UD
22532 * nis/rpcsvc/nis.h: Update copyright notice.
22533 * nis/rpcsvc/nis.x: Likewise.
22534 * nis/rpcsvc/nis_callback.h: Likewise.
22535 * nis/rpcsvc/nis_callback.x: Likewise.
22536 * nis/rpcsvc/nis_object.x: Likewise.
22537 * nis/rpcsvc/nis_tags.h: Likewise.
22538 * nis/rpcsvc/yp.h: Likewise.
22539 * nis/rpcsvc/yp.x: Likewise.
22540 * nis/rpcsvc/ypupd.h: Likewise.
22541 * nis/yp_xdr.c: Likewise.
22542 * nis/ypupdate_xdr.c: Likewise.
22543
2f3e3dc7
UD
22544 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22545 mainly the body of pmap_getport. Add parameters to specify timeouts.
22546 (pmap_getport): Use __libc_rpc_getport.
22547 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22548 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22549 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22550
f3dcc2f9
AS
225512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22552
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22554 fanotify_mark.
22555
6d34eb5b
RM
225562010-08-27 Roland McGrath <roland@redhat.com>
22557
22558 * sysdeps/i386/i686/multiarch/Makefile
22559 (CFLAGS-varshift.c): New variable.
22560
9ea3de11
UD
225612010-08-27 Ulrich Drepper <drepper@redhat.com>
22562
c96d23fc
UD
22563 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22564 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22565
9ea3de11
UD
22566 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22567
22568 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22569
623aac7f
L
225702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22571
22572 * sysdeps/x86_64/strlen.S: Unroll the loop.
22573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22574 strlen-sse2 strlen-sse2-bsf.
22575 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22576 __strlen_no_bsf if bit_Slow_BSF is set.
22577 (__strlen_sse42): Removed.
22578 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22579 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22580
8b2b7715
RM
225812010-08-25 Roland McGrath <roland@redhat.com>
22582
22583 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22584 * sysdeps/x86_64/multiarch/varshift.c: New file.
22585 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22586 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22587 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22588 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22589
e73015f2
L
225902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22591
22592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22593 strlen-sse2 strlen-sse2-bsf.
22594 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22595 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22596 (__strlen_sse2): Removed.
22597 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22600 bit_Slow_BSF for Atom.
22601 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22602 (index_Slow_BSF): Define.
22603 (HAS_SLOW_BSF): Define.
22604
df24a73e
UD
226052010-08-25 Ulrich Drepper <drepper@redhat.com>
22606
22607 [BZ #10851]
22608 * resolv/res_init.c (__res_vinit): When no server address at all
22609 is given default to loopback.
22610
f2ac4868
RM
226112010-08-24 Roland McGrath <roland@redhat.com>
22612
09055553
RM
22613 * configure.in: Remove config-name.h generation.
22614 * configure: Regenerated.
22615 * config-name.in: File removed.
22616 * scripts/config-uname.sh: New file.
22617 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22618 ($(objdir)config-name.h): New target.
22619
f2ac4868
RM
22620 * sunrpc/rpc_parse.h: Avoid nested comment.
22621
73f27d5e
RH
226222010-08-24 Richard Henderson <rth@redhat.com>
22623 Ulrich Drepper <drepper@redhat.com>
22624 H.J. Lu <hongjiu.lu@intel.com>
22625
22626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22628 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22629 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22630 _mm_alignr_epi8 with _mm_loadu_si128.
22631 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22632 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22633 (__m128i_shift_right): Removed.
22634 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22635 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22636 * sysdeps/x86_64/multiarch/varshift.h: New file.
22637 * sysdeps/x86_64/multiarch/varshift.S: New file.
22638
84b9230c
MF
226392010-08-21 Mike Frysinger <vapier@gentoo.org>
22640
22641 * configure.in: Move assembler checks to before sysdep dir checking.
22642
9bbd0ddc
PB
226432010-08-20 Petr Baudis <pasky@suse.cz>
22644
22645 * LICENSES: Sync the sunrpc license.
22646
9da4bb31
UD
226472010-08-19 Ulrich Drepper <drepper@redhat.com>
22648
a7ab6ec8
UD
22649 * sunrpc/auth_des.c: Update copyright notice once again.
22650 * sunrpc/auth_none.c: Likewise.
22651 * sunrpc/auth_unix.c: Likewise.
22652 * sunrpc/authdes_prot.c: Likewise.
22653 * sunrpc/authuxprot.c: Likewise.
22654 * sunrpc/bindrsvprt.c: Likewise.
22655 * sunrpc/clnt_gen.c: Likewise.
22656 * sunrpc/clnt_perr.c: Likewise.
22657 * sunrpc/clnt_raw.c: Likewise.
22658 * sunrpc/clnt_simp.c: Likewise.
22659 * sunrpc/clnt_tcp.c: Likewise.
22660 * sunrpc/clnt_udp.c: Likewise.
22661 * sunrpc/clnt_unix.c: Likewise.
22662 * sunrpc/des_crypt.c: Likewise.
22663 * sunrpc/des_soft.c: Likewise.
22664 * sunrpc/get_myaddr.c: Likewise.
22665 * sunrpc/getrpcport.c: Likewise.
22666 * sunrpc/key_call.c: Likewise.
22667 * sunrpc/key_prot.c: Likewise.
22668 * sunrpc/openchild.c: Likewise.
22669 * sunrpc/pm_getmaps.c: Likewise.
22670 * sunrpc/pm_getport.c: Likewise.
22671 * sunrpc/pmap_clnt.c: Likewise.
22672 * sunrpc/pmap_prot.c: Likewise.
22673 * sunrpc/pmap_prot2.c: Likewise.
22674 * sunrpc/pmap_rmt.c: Likewise.
22675 * sunrpc/rpc/auth.h: Likewise.
22676 * sunrpc/rpc/auth_unix.h: Likewise.
22677 * sunrpc/rpc/clnt.h: Likewise.
22678 * sunrpc/rpc/des_crypt.h: Likewise.
22679 * sunrpc/rpc/key_prot.h: Likewise.
22680 * sunrpc/rpc/netdb.h: Likewise.
22681 * sunrpc/rpc/pmap_clnt.h: Likewise.
22682 * sunrpc/rpc/pmap_prot.h: Likewise.
22683 * sunrpc/rpc/pmap_rmt.h: Likewise.
22684 * sunrpc/rpc/rpc.h: Likewise.
22685 * sunrpc/rpc/rpc_des.h: Likewise.
22686 * sunrpc/rpc/rpc_msg.h: Likewise.
22687 * sunrpc/rpc/svc.h: Likewise.
22688 * sunrpc/rpc/svc_auth.h: Likewise.
22689 * sunrpc/rpc/types.h: Likewise.
22690 * sunrpc/rpc/xdr.h: Likewise.
22691 * sunrpc/rpc_clntout.c: Likewise.
22692 * sunrpc/rpc_cmsg.c: Likewise.
22693 * sunrpc/rpc_common.c: Likewise.
22694 * sunrpc/rpc_cout.c: Likewise.
22695 * sunrpc/rpc_dtable.c: Likewise.
22696 * sunrpc/rpc_hout.c: Likewise.
22697 * sunrpc/rpc_main.c: Likewise.
22698 * sunrpc/rpc_parse.c: Likewise.
22699 * sunrpc/rpc_parse.h: Likewise.
22700 * sunrpc/rpc_prot.c: Likewise.
22701 * sunrpc/rpc_sample.c: Likewise.
22702 * sunrpc/rpc_scan.c: Likewise.
22703 * sunrpc/rpc_scan.h: Likewise.
22704 * sunrpc/rpc_svcout.c: Likewise.
22705 * sunrpc/rpc_tblout.c: Likewise.
22706 * sunrpc/rpc_util.c: Likewise.
22707 * sunrpc/rpc_util.h: Likewise.
22708 * sunrpc/rpcinfo.c: Likewise.
22709 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22710 * sunrpc/rpcsvc/key_prot.x: Likewise.
22711 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22712 * sunrpc/rpcsvc/mount.x: Likewise.
22713 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22714 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22715 * sunrpc/rpcsvc/rex.x: Likewise.
22716 * sunrpc/rpcsvc/rstat.x: Likewise.
22717 * sunrpc/rpcsvc/rusers.x: Likewise.
22718 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22719 * sunrpc/rpcsvc/spray.x: Likewise.
22720 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22721 * sunrpc/rtime.c: Likewise.
22722 * sunrpc/svc.c: Likewise.
22723 * sunrpc/svc_auth.c: Likewise.
22724 * sunrpc/svc_authux.c: Likewise.
22725 * sunrpc/svc_raw.c: Likewise.
22726 * sunrpc/svc_run.c: Likewise.
22727 * sunrpc/svc_simple.c: Likewise.
22728 * sunrpc/svc_tcp.c: Likewise.
22729 * sunrpc/svc_udp.c: Likewise.
22730 * sunrpc/svc_unix.c: Likewise.
22731 * sunrpc/svcauth_des.c: Likewise.
22732 * sunrpc/xcrypt.c: Likewise.
22733 * sunrpc/xdr.c: Likewise.
22734 * sunrpc/xdr_array.c: Likewise.
22735 * sunrpc/xdr_float.c: Likewise.
22736 * sunrpc/xdr_mem.c: Likewise.
22737 * sunrpc/xdr_rec.c: Likewise.
22738 * sunrpc/xdr_ref.c: Likewise.
22739 * sunrpc/xdr_sizeof.c: Likewise.
22740 * sunrpc/xdr_stdio.c: Likewise.
22741
9da4bb31
UD
22742 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22743 handling.
22744
bdaa77bc
AS
227452010-08-19 Andreas Schwab <schwab@redhat.com>
22746
22747 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22748
fe2f79db
LM
227492010-08-19 Luis Machado <luisgpm@br.ibm.com>
22750
22751 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22752 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22753 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22754 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22755 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22756 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22757 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22758 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22759 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22760 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22761 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22762 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22763 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22764 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22765
b9b42ee0
AB
227662010-07-26 Anton Blanchard <anton@samba.org>
22767
22768 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22769 * malloc/arena.c (heap_trim): Likewise.
22770
1c06ba31
UD
227712010-08-16 Ulrich Drepper <drepper@redhat.com>
22772
22773 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22774 here. Not...
22775 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22776 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22777
f8392f40
L
227782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22779
22780 * sysdeps/i386/elf/Makefile: New file.
22781
3162f12e
AS
227822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22783
22784 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22785 from fanotify_init.
22786 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22787 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22788
28c90b2c
UD
227892010-08-15 Ulrich Drepper <drepper@redhat.com>
22790
22791 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22792 of strncasecmp_l.
1feccb6c 22793 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22794
ca6bb004
UD
227952010-08-14 Ulrich Drepper <drepper@redhat.com>
22796
e9f82e0d
UD
22797 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22798 strncase_l-nonascii.
22799 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22800 Add strncase_l-ssse3.
22801 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22802 * sysdeps/x86_64/strcmp.S: Likewise.
22803 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22804 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22805 * sysdeps/x86_64/strncase.S: New file.
22806 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22807 * sysdeps/x86_64/strncase_l.S: New file.
22808 * string/Makefile (strop-tests): Add strncasecmp.
22809 * string/test-strncasecmp.c: New file.
22810
22811 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22812 warning.
22813
ca6bb004
UD
22814 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22815 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22816
052fa7b3
AS
228172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22818
22819 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22820
962dba78
UD
228212010-08-12 Ulrich Drepper <drepper@redhat.com>
22822
22823 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22824 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22825 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22826
bebff237
AM
228272010-05-01 Alan Modra <amodra@gmail.com>
22828
22829 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22830 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22831 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22832 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22833 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22834 tidying. Don't tail-call __sigjmp_save for static lib.
22835 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22836 save location.
22837 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22838 (CALL_MCOUNT): Add eh info, and nop after bl.
22839 (TAIL_CALL_SYSCALL_ERROR): New macro.
22840 (PSEUDO_RET): Use it.
22841 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22842 Correct save location of integer regs and cr.
22843 (_dl_profile_resolve): Correct cr save location. Delete nops
22844 after bl when SHARED. Reduce cfi size a little by better
22845 placement of cfi directives.
22846 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22847 make a stack frame. Instead use parm save area as a temp.
22848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22849 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22851 Don't make a stack frame for parent, use parm save area.
22852 Increase child stack frame to 112 bytes. Don't save unused reg,
22853 and adjust reg usage. Set up cfi on error recovery and
22854 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22856 (__makecontext): Add dummy nop after jump to exit.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22858 Use correct parm save area and cr save, reduce stack frame.
22859 Correct cfi for possible PSEUDO_RET frame setup.
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22861 Branch to local label emitted by PSEUDO_RET rather than
22862 __syscall_error.
22863
02637374
AS
228642010-08-12 Andreas Schwab <schwab@redhat.com>
22865
22866 [BZ #11904]
22867 * locale/programs/locale.c (print_assignment): New function.
22868 (show_locale_vars): Use it.
22869
c3e2f19b
UD
228702010-08-11 Ulrich Drepper <drepper@redhat.com>
22871
3cdaa6ad
UD
22872 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22873 field.
22874 (struct statfs64): Likewise.
22875 (_STATFS_F_FLAGS): Define.
22876 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22877 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22878 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22879 (ST_VALID): Define locally.
22880 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22881 __statvfs_getflags, use the provided value.
22882 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22883 __ASSUME_STATFS_F_FLAGS.
22884
754f7da3
UD
22885 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22886
10b3bedc
UD
22887 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22888 Add sys/fanotify.h.
22889 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22890 fanotify_mask for GLIBC_2.13.
22891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22892 fanotify_init and fanotify_mark.
22893 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22894 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22895
c08fb0d7
UD
22896 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22897 Add prlimit.
22898 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22899 prlimit64 for GLIBC_2.13.
22900 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22901 prlimit64.
22902 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22903 syscall.
22904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22905 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22906 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22907 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22909 add prlimit alias.
22910 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22911
15bac72b
UD
22912 [BZ #11903]
22913 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22914 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22915
c3e2f19b
UD
22916 * nss/Makefile: Add rules to build and run tst-nss-test1.
22917 * shlib-versions: Add entry for libnss_test1.
22918 * nss/nss_test1.c: New file.
22919 * nss/tst-nss-test1.c: New file.
22920
22921 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22922 (__nss_configure_lookup): Set appropriate entry in
22923 __nss_configure_lookup to true.
22924 * nss/nsswitch.h: Define enum with indeces of databases in
22925 databases and __nss_database_custom arrays. Declare
22926 __nss_database_custom.
22927 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22928 to avoid using nscd when custom rules are installed.
22929 * nss/getXXbyYY_r.c: Likewise.
22930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22931
22932 * nss/nss_files/files-parse.c: Whitespace fixes.
22933
f15ce4d8
UD
229342010-08-09 Ulrich Drepper <drepper@redhat.com>
22935
22936 [BZ #11883]
22937 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22938 * posix/fnmatch_loop.c: Likewise.
22939
d22e4cc9
AK
229402010-07-17 Andi Kleen <ak@linux.intel.com>
22941
22942 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22943 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22944 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22945 * Versions.def [GLIBC_2.13]: Add.
22946
805bc17d
UD
229472010-08-06 Ulrich Drepper <drepper@redhat.com>
22948
22949 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22950 Also fail if tpwd after pwuid call is NULL.
22951
5a42321d
ST
229522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22953
22954 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22955 when converting to ms.
22956
fd3ebeda
ST
229572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22958
22959 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22960 EOPNOTSUPP errors with ENOTTY.
22961 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22962 EOPNOTSUPP errors with ENOTTY.
22963
73507d3a
UD
229642010-07-31 Ulrich Drepper <drepper@redhat.com>
22965
22966 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22967 Add strcasecmp_l-ssse3.
22968 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22969 strcasecmp.
22970 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22971 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22972 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22973
fe36dd02
UD
229742010-07-30 Ulrich Drepper <drepper@redhat.com>
22975
66f6765a
UD
22976 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22977
42e08a54
UD
22978 * string/Makefile (strop-tests): Add strcasecmp.
22979 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22980 strcasecmp_l-nonascii.
22981 (gen-as-const-headers): Add locale-defines.sym.
22982 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22983 * sysdeps/x86_64/strcasecmp.S: New file.
22984 * sysdeps/x86_64/strcasecmp_l.S: New file.
22985 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22986 * sysdeps/x86_64/locale-defines.sym: New file.
22987 * string/test-strcasecmp.c: New file.
22988
fe36dd02
UD
22989 * string/test-strcasestr.c: Test both ends of the range of characters.
22990 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22991
48cbc0d6
RM
229922010-07-29 Roland McGrath <roland@redhat.com>
22993
76e6d6bc 22994 [BZ #11856]
48cbc0d6
RM
22995 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22996
880113d9
UD
229972010-07-27 Ulrich Drepper <drepper@redhat.com>
22998
22999 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23000 for ld.so.
23001
deb9cabb
AS
230022010-07-27 Andreas Schwab <schwab@redhat.com>
23003
23004 * manual/memory.texi (Malloc Tunable Parameters): Document
23005 M_PERTURB.
23006
1c7570ff
RM
230072010-07-26 Roland McGrath <roland@redhat.com>
23008
23009 [BZ #11840]
23010 * configure.in (-fgnu89-inline check): Set and substitute
23011 gnu89_inline, not libc_cv_gnu89_inline.
23012 * configure: Regenerated.
23013 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23014
24fb0f88
UD
230152010-07-26 Ulrich Drepper <drepper@redhat.com>
23016
23017 * string/test-strnlen.c: New file.
23018 * string/Makefile (strop-tests): Add strnlen.
23019 * string/tester.c (test_strnlen): Add a few more test cases.
23020 * string/tst-strlen.c: Better error reporting.
23021
23022 * sysdeps/x86_64/strnlen.S: New file.
23023
8e96b93a
UD
230242010-07-24 Ulrich Drepper <drepper@redhat.com>
23025
23026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23027 lower-latency instructions.
23028
dbc676d4
UD
230292010-07-23 Ulrich Drepper <drepper@redhat.com>
23030
23031 * string/test-strcasestr.c: New file.
23032 * string/test-strstr.c: New file.
23033 * string/Makefile (strop-tests): Add strstr and strcasestr.
23034 * string/str-two-way.h: Don't undefine MAX.
23035 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23036
f6a31e0e
AS
230372010-07-21 Andreas Schwab <schwab@redhat.com>
23038
23039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23040 strcasestr-nonascii.
23041 (CFLAGS-strcasestr-nonascii.c): Define.
23042 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23043 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23044 Remove unused attribute.
23045
5dbc3b6c
RM
230462010-07-20 Roland McGrath <roland@redhat.com>
23047
23048 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23049 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23050 ld.so.cache was broken. With it, there is no way to disable dsocaps
23051 like LD_HWCAP_MASK can disable hwcaps.
23052
23d101d8
EPM
230532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23054
23055 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23056
cc9f2e47
UD
230572010-07-16 Ulrich Drepper <drepper@redhat.com>
23058
23059 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23060 call in strcasestr.
23061 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23062 __strcasestr_sse42_nonascii.
23063 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23064 strcasestr-nonascii.c.
23065 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23066
77c1b069
LM
230672010-06-15 Luis Machado <luisgpm@br.ibm.com>
23068
23069 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23070 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23071 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23072 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23073
440566c3
UD
230742010-07-09 Ulrich Drepper <drepper@redhat.com>
23075
23076 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23077 fcntl.
23078
5be9d05d
AS
230792010-07-06 Andreas Schwab <schwab@redhat.com>
23080
c30b7ee2 23081 [BZ #11577]
5be9d05d
AS
23082 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23083 dl_signal_cerror.
23084
8a492a67
UD
230852010-07-06 Ulrich Drepper <drepper@redhat.com>
23086
23087 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23088 _PC_PIPE_BUF using F_GETPIPE_SZ.
23089
713df3d5
RM
230902010-07-05 Roland McGrath <roland@redhat.com>
23091
23092 * manual/arith.texi (Rounding Functions): Fix rint description
23093 implicit in round description.
23094
702e8f14
UD
230952010-07-02 Ulrich Drepper <drepper@redhat.com>
23096
23097 * elf/Makefile: Fix linking for a few tests to make recent linker
23098 happy.
23099
52ed8be9
AS
231002010-06-30 Andreas Schwab <schwab@redhat.com>
23101
23102 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23103 $(common-objpfx)libc_nonshared.a.
23104
f47c9a11
LM
231052010-06-21 Luis Machado <luisgpm@br.ibm.com>
23106
23107 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23108 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23109 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23110 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23111 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23112 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23113 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23114 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23129 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23130 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23131 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23132 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23133 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23134 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23135 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23136 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23137 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23138 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23139 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23140 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23155
6fb8cbcb
L
231562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23157
23158 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23159 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23160 * string/memmove.c (memmove): Renamed to ...
23161 (MEMMOVE): ...this. Default to memmove.
23162 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23163 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23164 (END_CHK): Define.
23165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23166 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23167 mempcpy-ssse3-back memmove-ssse3-back.
23168 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23169 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23170 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23171 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23172 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23173 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23174 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23175 * sysdeps/x86_64/multiarch/memmove.c: New file.
23176 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23177 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23178 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23179 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23180 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23181 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23182 Define.
23183 (index_Fast_Copy_Backward): Define.
23184 (HAS_ARCH_FEATURE): Define.
23185 (HAS_FAST_REP_STRING): Define.
23186 (HAS_FAST_COPY_BACKWARD): Define.
23187
4e733bac 231882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23189
23190 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23191 Restore proper fallback handling.
23192
63c4ed22
UD
231932010-06-19 Ulrich Drepper <drepper@redhat.com>
23194
ac2b484c
UD
23195 [BZ #11701]
23196 * posix/group_member.c (__group_member): Correct checking loop.
23197
63c4ed22
UD
23198 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23199 OOM in getpwuid_r correctly. Return error number when the caller
23200 should return, otherwise -1.
23201 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23202 call returning > 0 value.
23203 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23204
765ade4b
AS
232052010-06-07 Andreas Schwab <schwab@redhat.com>
23206
23207 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23208 libc_nonshared.a from targets in modules-names.
23209
80da2e09
KS
232102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23211
23212 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23213 requires it.
23214
158db122
LM
232152010-06-10 Luis Machado <luisgpm@br.ibm.com>
23216
23217 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23218 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23219 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23220 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23221
caa78cf8
AS
232222010-06-02 Andreas Schwab <schwab@redhat.com>
23223
23224 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23225
b2ef2c01
UD
232262010-06-14 Ulrich Drepper <drepper@redhat.com>
23227
23228 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23229 and F_GETPIPE_SZ.
23230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23232 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23235 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23236
fbd643b6
RM
232372010-06-14 Roland McGrath <roland@redhat.com>
23238
23239 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23240
f32f2869
JJ
232412010-06-07 Jakub Jelinek <jakub@redhat.com>
23242
23243 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23244 __REDIRECT followed by __THROW.
23245 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23246 * posix/getopt.h (getopt): Likewise.
23247
2a50c078
EPM
232482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23249
23250 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23251 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23252 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23253 in AT_FLAGS.
23254 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23255 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23256
eb5ad2eb
LM
232572010-05-28 Luis Machado <luisgpm@br.ibm.com>
23258
23259 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23260
3c88fe1e
L
232612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23262
23263 [BZ #11640]
23264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23265 Properly check family and model.
23266
d2f73151
TY
232672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23268
23269 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23270
ebd2e13d
LM
232712010-05-24 Luis Machado <luisgpm@br.ibm.com>
23272
23273 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23274
b32b8b45
UD
232752010-05-21 Ulrich Drepper <drepper@redhat.com>
23276
23277 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23278 symbol reference.
23279
9acbe24d
AS
232802010-05-19 Andreas Schwab <schwab@redhat.com>
23281
23282 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23283 symbol reference.
23284
f0ccf6ea
AS
232852010-05-21 Andreas Schwab <schwab@redhat.com>
23286
3d04ff3a
AS
23287 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23288 and internal_recvmmsg.
23289 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23290 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23291 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23292 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23293
f0ccf6ea
AS
23294 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23295 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23296 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23297
5b08ac57
AS
232982010-05-20 Andreas Schwab <schwab@redhat.com>
23299
23300 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23301
4828935d
LM
233022010-05-17 Luis Machado <luisgpm@br.ibm.com>
23303
23304 POWER7 optimizations.
23305 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23306 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23307
373d545e
UD
233082010-05-19 Ulrich Drepper <drepper@redhat.com>
23309
23310 * version.h: Update for 2.13 development version.
23311
21a2b1ae
AS
233122010-05-12 Andrew Stubbs <ams@codesourcery.com>
23313
23314 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23315 exceptions. Return 0.
23316
3f7dcb2b
RM
233172010-05-07 Roland McGrath <roland@redhat.com>
23318
23319 * elf/ldconfig.c (main): Add a const.
23320
5f24d53a 233212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23322
a160f8d8
UD
23323 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23324 (args_options): Add no-idn option.
23325 (ahosts_keys_int): Add idn_flags to ai_flags.
23326 (parse_option): Handle 'i' option to clear idn_flags.
23327
5f24d53a
UD
23328 * malloc/malloc.c (_int_free): Possible race in the most recently
23329 added check. Only act on the data if no current modification
23330 happened.
265bb1ce
UD
23331
23332See ChangeLog.17 for earlier changes.
This page took 2.814499 seconds and 5 git commands to generate.