]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove use of SSE4.2 functions for strstr on i686
[glibc.git] / ChangeLog
CommitLineData
1818483b
AS
12013-12-18 Andreas Schwab <schwab@suse.de>
2
3 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7 * sysdeps/i386/i686/multiarch/Makefile: Update.
8 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9
25de95bf
JM
102013-12-17 Joseph Myers <joseph@codesourcery.com>
11
12 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14
674762d9
PE
152013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16
0748546f
PE
17 Support TZ transition times < 00:00:00.
18 This is needed for version-3 tz-format files; it supports time
19 stamps past 2037 for America/Godthab (the only entry in the tz
20 database for which this change is relevant).
21 * manual/time.texi (TZ Variable): Document transition times
22 from -167:59:59 through -00:00:01.
23 * time/tzset.c (tz_rule): Time of day is now signed.
24 (__tzset_parse_tz): Parse negative time of day.
25
4480e934
PE
26 Document TZ transition times >= 25:00:00.
27 * manual/time.texi (TZ Variable): Document transition times from
28 25:00:00 through 167:59:59. These are already supported, and this
29 support will help with version-3 tz-format files.
30
69947401
PE
31 * manual/time.texi (TZ Variable): Modernize North America example
32 to reflect current (i.e., 2007-and-later) daylight saving rules.
33
674762d9
PE
34 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35
7011c262
JM
362013-12-17 Joseph Myers <joseph@codesourcery.com>
37
2fc6557e
JM
38 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39 * sysdeps/unix/bsd/bits/stat.h: Likewise.
40 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43 * sysdeps/unix/bsd/bsdstat.h: Likewise.
44 * sysdeps/unix/bsd/clock.c: Likewise.
45 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47 * sysdeps/unix/bsd/init-posix.c: Likewise.
48 * sysdeps/unix/bsd/poll.c: Likewise.
49 * sysdeps/unix/bsd/ptsname.c: Likewise.
50 * sysdeps/unix/bsd/seekdir.c: Likewise.
51 * sysdeps/unix/bsd/setegid.c: Likewise.
52 * sysdeps/unix/bsd/seteuid.c: Likewise.
53 * sysdeps/unix/bsd/setgid.c: Likewise.
54 * sysdeps/unix/bsd/setrgid.c: Likewise.
55 * sysdeps/unix/bsd/setruid.c: Likewise.
56 * sysdeps/unix/bsd/setsid.c: Likewise.
57 * sysdeps/unix/bsd/setuid.c: Likewise.
58 * sysdeps/unix/bsd/sigaction.c: Likewise.
59 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
60 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
61 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
62 * sysdeps/unix/bsd/telldir.c: Likewise.
63 * sysdeps/unix/bsd/times.c: Likewise.
64 * sysdeps/unix/bsd/usleep.c: Likewise.
65
029c7b25
JM
66 * misc/Makefile (install-lib): Remove libbsd-compat.a.
67 ($(objpfx)libbsd-compat.a): Remove rule.
68
7011c262
JM
69 * include/features.h (__FAVOR_BSD): Do not define.
70 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
71 features conflicting with POSIX.
72 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
73 (_BSD_SOURCE): Remove description of not being a subset of other
74 feature test macros.
75 * manual/job.texi (getpgrp): Do not document BSD version.
76 (getpgid): Do not document by reference to BSD getpgrp.
77 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
78 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
79 * signal/signal.h [__FAVOR_BSD]: Likewise.
80 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
81 instead of making contents conditional on [__FAVOR_BSD].
82 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
83
affb6f78
AZ
842013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85
86 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87
c88769dd
JM
882013-12-17 Joseph Myers <joseph@codesourcery.com>
89
6432a540
JM
90 [BZ #16314]
91 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
92 values below 2**-450, not 2**-500.
93 * math/auto-libm-test-in: Don't allow spurious underflow from
94 hypot.
95 * math/auto-libm-test-out: Regenerated.
96
c88769dd
JM
97 [BZ #16316]
98 [BZ #16330]
99 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
100 values of ha and hb and sort them after adjusting subnormal
101 arguments.
102 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
103 Likewise.
104 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
105 values of ea and eb and sort them after adjusting subnormal
106 arguments.
107 * math/auto-libm-test-in: Do not expect some hypot tests of
108 subnormals to fail. Add more hypot tests.
109 * math/auto-libm-test-out: Regenerated.
110
29618f6b
KK
1112013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
112
113 [BZ #13304]
114 * sysdeps/sh/s_fma.c: New file.
115 * sysdeps/sh/s_fmaf.c: New file.
116 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
117 version.
118 * sysdeps/sh/Implies: Add sh/soft-fp.
119
eacfdfbf
RM
1202013-12-16 Roland McGrath <roland@hack.frob.com>
121
122 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
123 level of indirection to members `objname', `errstring', `malloced'.
124 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
125 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
126 it as the __longjmp argument (just pass 1 instead).
127 (_dl_catch_error): Initialize C with argument pointers and address of
128 volatile local ERRCODE rather than copying values out of C at return.
129
ff362e5b
JM
1302013-12-16 Joseph Myers <joseph@codesourcery.com>
131
132 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
133 * math/auto-libm-test-out: Regenerated.
134 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
135 (hypot_test_data): Likewise.
136 (pow_test_data): Likewise.
137 (pow_tonearest_test_data): Likewise.
138 * math/gen-auto-libm-tests.c (func_calc_method): Add value
139 mpfr_ff_f.
140 (func_calc_desc): Add mpfr_ff_f union field.
141 (FUNC_mpfr_ff_f): New macro.
142 (test_functions): Add atan2, hypot and pow.
143 (special_fill_min): New function.
144 (special_fill_minus_min): Likewise.
145 (special_fill_min_subnorm): Likewise.
146 (special_fill_minus_min_subnorm): Likewise.
147 (special_real_inputs): Add min, -min, min_subnorm and
148 -min_subnorm.
149 (calc_generic_results): Handle mpfr_ff_f.
150 * sysdeps/i386/fpu/libm-test-ulps: Update.
151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152
5764c27f
WN
1532013-12-16 Will Newton <will.newton@linaro.org>
154
155 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
156 (Aligned Memory Blocks): Add documentation for aligned_alloc
157 and suggest it as an alternative to posix_memalign.
158 (Hooks for Malloc): Document __memalign_hook is also called
159 for aligned_alloc. (Summary of Malloc): Add summary for
160 aligned alloc. Document __memalign_hook is also called
161 for aligned_alloc.
162
0a096e44
WN
1632013-12-16 Will Newton <will.newton@linaro.org>
164
165 * manual/memory.texi (Malloc Examples): Clarify default
166 alignment documentation. Suggest posix_memalign rather
167 than memalign or valloc.
168 (Aligned Memory Blocks): Remove suggestion to use memalign
169 or valloc. Remove obsolete comment about BSD.
170 Document memalign errno values and mark the function obsolete.
171 Document posix_memalign returned error codes. Mark valloc
172 as obsolete. (Hooks for Malloc): __memalign_hook is also
173 called for posix_memalign and valloc.
174 (Summary of Malloc): Add posix_memalign to function summary.
175 __memalign_hook is also called for posix_memalign and valloc.
176
8d561986
SP
1772013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
178
179 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
180 TAYLOR_SIN.
181 (__sin): Adjust.
182 (__cos): Likewise.
183 (sloww): Use mynumber union. Expand ternary operator into
184 if-else statements.
185 (cslow): use mynumber union.
186
73616a74
AM
1872013-12-16 Allan McRae <allan@archlinux.org>
188
9e8ac24b
AM
189 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
190 * configure: Regenerated.
191
6f8e37eb
AM
192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
193
8894bad3
AM
194 [BZ #14120]
195 * configure.ac: Added --enable-maintainer-mode. Check for
196 autoconf when enabled.
197 * configure: Regenerated.
198
73616a74
AM
199 * nscd/nscd.service: New file.
200 * nscd/nscd.tmpfiles: New file.
201
584b18eb
OB
2022013-12-14 Ondřej Bílka <neleai@seznam.cz>
203
204 [BZ #12100]
205 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
206 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
207 * sysdeps/x86_64/multiarch/strstr.c: ... here.
208 (strstr): Add __strstr_sse2_unaligned ifunc.
209 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
210 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
211 (strcasestr): Remove __strcasestr_sse42 ifunc.
212 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
215
8a5c7897
KK
2162013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
217
218 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
219 * sysdeps/sh/bits/fenv.h: ... here.
220 * sysdeps/sh/sh4/fpu/bits: Remove directory.
221
fd712ef3
AZ
2222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
223
224 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
225
42fcb46c
AZ
2262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
227
228 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
229 hypotf multiarch implementations.
230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
232 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
233 multiarch hypot for PPC64.
234 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
237 multiarch hypotf for PPC64.
238
83efded4
AZ
2392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
240
241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
242 modff multiarch implementations.
243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
246 multiarch modf for PPC64.
247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
250 multiarch modff for PPC64.
251
43e246d2
AZ
2522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
253
254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
255 and logl multiarch implementations.
256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
259 multiarch logb for PPC64.
260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
263 multiarch logb for PPC64.
264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
267 multiarch logb for PPC64.
268
8fdad123
AZ
2692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
270
271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
272 isinff multiarch implementation.
273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
274 file.
275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
277 multiarch isinf for PPC64.
278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
279 file.
280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
281 multiarch isinff for PPC64.
282
1481d706
AZ
2832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284
285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
286 finitef multiarch implementation.
287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
288 file.
289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
291 multiarch finite for PPC64.
292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
293 file.
294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
295 multiarch finitef for PPC64.
296
5ccd5fc8
AZ
2972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
298
299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
300 lrint multiarch implementation.
301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
302 file.
303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
305 multiarch llrint for PPC64.
306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
307 multiarch lrint for PPC64.
308
2568f3fa
AZ
3092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310
311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
312 copysignf multiarch implementation.
313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
314 file.
315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
316 file.
317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
318 multiarch copysign for PPC64.
319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
320 multiarch copysignf for PPC64.
321
1cb341fd
AZ
3222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
323
324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
325 multiarch implementation.
326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
327 file.
328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
329 file.
330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
331 file.
332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
333 file.
334 multiarch llround for PPC64.
335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
336 multiarch trunc for PPC64.
337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
338 multiarch truncf for PPC64.
339
59a3e194
AZ
3402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341
342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
343 multiarch implementation.
344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
345 file.
346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
347 file.
348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
349 file.
350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
351 file.
352 multiarch llround for PPC64.
353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
354 multiarch round for PPC64.
355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
356 multiarch roundf for PPC64.
357
357fd3b4
AZ
3582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
359
360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
361 multiarch implementation.
362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
363 file.
364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
365 file.
366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
367 file.
368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
369 file.
370 multiarch llround for PPC64.
371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
372 multiarch floor for PPC64.
373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
374 multiarch floorf for PPC64.
375
96770f12
AZ
3762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
377
378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
379 multiarch implementation.
380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
381 file.
382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
383 file.
384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
385 file.
386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
387 file.
388 multiarch llround for PPC64.
389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
390 multiarch ceil for PPC64.
391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
392 multiarch ceilf for PPC64.
393
c3627f6e
AZ
3942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
395
396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
397 multiarch implementation.
398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
399 file.
400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
401 file.
402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
403 file.
404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
405 multiarch llround for PPC64.
406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
407 multiarch lround for PPC64.
408
b2284ad7
AZ
4092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
410
411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
412 multiarch implementation.
413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
416 file.
417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
420 multiarch isnan for PPC64.
421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
422 multiarch isnanf for PPC64.
423
69bbc63d
AZ
4242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
425
426 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
427 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
428 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
429 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
430 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
432
c24517c9
AZ
4332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
434
435 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
436 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
438 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
439
a52374e8
AZ
4402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
441
442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
443 multiarch implementations.
444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
445 (__libc_ifunc_impl_list): Likewise.
446 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
447 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
448 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
449 multiarch stpcpy for PPC64.
450
7f5ec113
AZ
4512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
452
453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
454 multiarch implementations.
455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
456 (__libc_ifunc_impl_list): Likewise.
457 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
458 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
459 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
460 multiarch strcpy for PPC64.
461
e28bcd42
AZ
4622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463
464 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
465 redefine function name.
466 (_wordcopy_fwd_dest_aligned): Likewise.
467 (_wordcopy_bwd_aligned): Likewise.
468 (_wordcopy_bwd_dest_aligned): Likewise.
469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
470 multiarch implementations.
471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
472 (__libc_ifunc_impl_list): Likewise.
473 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
474 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
475 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
476 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
477 multiarch wcscpy for PPC64.
478
92cacfce
AZ
4792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
480
481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
482 multiarch implementations.
483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
484 (__libc_ifunc_impl_list): Likewise.
485 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
486 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
487 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
488 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
489 multiarch wcscpy for PPC64.
490
7b714620
AZ
4912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
492
493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
494 multiarch implementations.
495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
496 (__libc_ifunc_impl_list): Likewise.
497 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
498 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
499 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
500 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
501 multiarch wcsrchr for PPC64.
502
16fd2ae3
AZ
5032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
504
505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
506 multiarch implementations.
507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
508 (__libc_ifunc_impl_list): Likewise.
509 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
510 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
511 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
512 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
513 multiarch wcschr for PPC64.
514
9ee2969b
AZ
5152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516
517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
518 multiarch implementations.
519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
520 (__libc_ifunc_impl_list): Likewise.
521 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
522 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
523 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
524 multiarch strchrnul for PPC64.
525
372dc060
AZ
5262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
527
528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
529 implementations.
530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
531 (__libc_ifunc_impl_list): Likewise.
532 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
533 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
534 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
535 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
536 strchr for PPC64.
537
24c2c3b9
AZ
5382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539
540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
541 implementations.
542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
543 (__libc_ifunc_impl_list): Likewise.
544 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
546 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
547 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
548 strncmp for PPC64.
549
1c92d9a0
AZ
5502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551
552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
553 multiarch implementations.
554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
555 (__libc_ifunc_impl_list): Likewise.
556 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
557 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
558 strncasecmp for PPC64.
559 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
560 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
561 multiarch strncasecmp_l for PPC64.
562
17de3ee3
AZ
5632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
564
565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
566 multiarch implementations.
567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
568 (__libc_ifunc_impl_list): Likewise.
569 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
571 multiarch strcasecmp for PPC64.
572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
573 file.
574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
575 multiarch strcasecmp_l for PPC64.
576
62982bf9
AZ
5772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
578
579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
580 implementations.
581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
582 (__libc_ifunc_impl_list): Likewise.
583 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
584 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
585 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
586 strnlen for PPC64.
587
a65f4904
AZ
5882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
589
590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
591 implementations.
592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
593 (__libc_ifunc_impl_list): Likewise.
594 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
595 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
596 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
597 strlen for PPC64.
598
1fd005ad
AZ
5992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
600
601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
602 implementations.
603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
604 (__libc_ifunc_impl_list): Likewise.
605 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
606 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
607 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
608 rawmemrchr for PPC64.
609
cd05ba91
AZ
6102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
611
612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
613 implementation.
614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
615 (__libc_ifunc_impl_list): Likewise.
616 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
617 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
618 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
619 memrchr for PPC64.
620
870f8676
AZ
6212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
622
623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
624 implementation.
625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
626 (__libc_ifunc_impl_list): Likewise.
627 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
628 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
629 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
630 memchr for PPC64.
631
f00be62b
AZ
6322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
633
634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
635 implementation.
636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
637 (__libc_ifunc_impl_list): Likewise.
638 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
639 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
640 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
641 mempcpy for PPC64.
642
8a29a3d0
AZ
6432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
644
645 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
646 avoid cretion of __bzero symbol.
647 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
648 Likewise.
649 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
650 Likewise.
651 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
652 Likewise.
653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
654 multiarch implementations.
655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
656 (__libc_ifunc_impl_list): Likewise.
657 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
658 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
659 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
660 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
661 bzero for PPC32.
662 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
663 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
664 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
665 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
666 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
667 memset for PPC64.
668 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
669
07253fcf
AZ
6702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671
672 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
674 implementations.
675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
676 (__libc_ifunc_impl_list): Likewise.
677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
679 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
680 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
681 memcmp for PPC64.
682
b5beafbc
AZ
6832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
684
685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
686 multiarch for POWER/PPC64.
687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
688 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
695 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
696 memcpy for PPC64.
697
5e6a4d4b
AZ
6982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
699
700 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
701 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
702 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
703 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
704 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
705 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
706 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
707 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
708 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
709 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
710 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
711 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
712 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
713 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
714 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
722
ddfab6dc
KK
7232013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
724
725 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
726
19b5525e
SP
7272013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
728
729 * benchtests/Makefile (bench): Add exp2 and log2.
730 (LDLIBS-bench-exp2): Add -lm.
731 (LDLIBS-bench-log2): Likewise.
732 * benchtests/exp2-inputs: New inputs file.
733 * benchtests/log2-inputs: New inputs file.
734 * benchtests/log-inputs: Add new inputs.
735 * benchtests/tan-inputs: Likewise.
736
196f7f5d
SP
7372013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
738
7a74607f
SP
739 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
740 definition...
741 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
742 csloww1, csloww2): ... from here.
743
196f7f5d
SP
744 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
745 instead of structures.
746 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
747 (POLYNOMIAL): Likewise.
748 (TAYLOR_SLOW): Likewise.
749 (__sin): Likewise.
750 (__cos): Likewise.
751 (slow1): Likewise.
752 (slow2): Likewise.
753 (sloww): Likewise.
754 (sloww1); Likewise.
755 (sloww2): Likewise.
756 (bsloww1): Likewise.
757 (bsloww2): Likewise.
758 (cslow2): Likewise.
759 (csloww): Likewise.
760 (csloww1): Likewise.
761 (csloww2): Likewise.
762
0dfa665c
OB
7632013-12-10 Ondřej Bílka <neleai@seznam.cz>
764
765 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
766 (__malloc_assert, __libc_realloc, __libc_calloc,
767 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
768 memcpy and memset.
769 * malloc/hooks.c (realloc_check): Likewise.
770
5782a80f
OB
7712013-12-10 Ondřej Bílka <neleai@seznam.cz>
772
773 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
774 * malloc/arena.c: Remove PER_THREAD conditional.
775 [!PER_THREAD]: Remove code.
776 (ptmalloc_unlock_all2): Likewise.
777 (ptmalloc_init): Likewise.
778 (_int_new_arena): Likewise.
779 (arena_get2): Likewise.
780 * malloc/hooks.c (__malloc_get_state): Likewise.
781 (__malloc_set_state): Likewise.
782 * malloc/malloc.c: Likewise.
783 (struct malloc_state): Likewise.
784 (struct malloc_par): Likewise.
785 (__libc_realloc): Likewise.
786 (__libc_mallopt): Likewise.
787
aeb95445
AZ
7882013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789
790 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
791
e8349efd
OB
7922013-12-09 Ondřej Bílka <neleai@seznam.cz>
793
794 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
795 macro to a function. Check for zero perturb_byte.
796 (_int_malloc, _int_free): Remove zero perturb_byte checks.
797
f3eeb3fc
OB
7982013-12-09 Ondřej Bílka <neleai@seznam.cz>
799
800 * malloc/malloc.c: (force_reg): Remove.
801 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
802 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
803 force_reg by atomic_forced_read.
804 * malloc/arena.c (ptmalloc_init): Likewise.
805 * malloc/hooks.c (top_check): Likewise.
806
be2f9009
AZ
8072013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808
809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
810
e7b914bd
MT
8112013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
812
813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
814
9f0be4f8
JM
8152013-12-08 Joseph Myers <joseph@codesourcery.com>
816
817 * math/auto-libm-test-in: Add tests of lgamma.
818 * math/auto-libm-test-out: Regenerated.
819 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
820 (M_LOG_2_SQRT_PIl): Likewise.
821 (lgamma_test_data): Use AUTO_TESTS_f_f1.
822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
823 mpfr_f_f1.
824 (func_calc_desc): Add mpfr_f_f1 union field.
825 (ARGS1): New macro.
826 (ARGS2): Likewise.
827 (ARGS3): Likewise.
828 (ARGS4): Likewise.
829 (RET1): Likewise.
830 (RET2): Likewise.
831 (CALC): Likewise.
832 (FUNC): Likewise.
833 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
834 (test_functions): Add lgamma.
835 (calc_generic_results): Handle mpfr_f_f1.
836 * sysdeps/i386/fpu/libm-test-ulps: Update.
837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
838
24eeafdb
AZ
8392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840
841 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
842 __mpn_add_n for PowerPC64/POWER7.
843 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
844 __mpn_sub_n for PowerPC64/POWER7.
845
4a2c0fd4
AZ
8462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847
848 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
849 __mpn_addmul_1 for PowerPC64.
850 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
851 __mpn_submul_1 for PowerPC64.
852 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
853 for PowerPC64.
854 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
855 for PowerPC64.
856
4b5b548c
FS
8572013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
858
859 [BZ #15089]
860 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
861
0a3ac0aa
AZ
8622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
863
864 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
865
ccdc8438
AZ
8662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
867
868 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
869 add multiarch folders.
870 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
871 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
872 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
873 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
874 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
875 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
876 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
877 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
878 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
879 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
880 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
887
2e973d99
AZ
8882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
889
890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
891 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
893 New file.
894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
895 New file.
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
897 multiarch __ieee754_hypot for PowerPC32.
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
899 New file.
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
901 New file.
902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
903 multiarch __ieee754_hypotf for PowerPC32.
904
2d9470b2
AZ
9052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
906
907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
908 long_double_symbol only if __logbl is defined.
909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
910 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
912 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
914 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
916 path for implementation.
917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
918 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
920 logb, and logbl multiarch implementations for PowerPC32.
921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
922 file.
923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
924 file.
925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
926 multiarch logb for PowerPC32.
927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
928 file.
929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
930 file.
931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
932 multiarch logbf for PowerPC32.
933 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
935 file.
936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
937 multiarch logbl implementation for PowerPC32.
938
5212ffce
AZ
9392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940
941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
942 and modff multiarch implementations.
943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
944 New file.
945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
946 New file.
947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
948 multiarch modf for PowerPC32.
949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
950 New file.
951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
952 New file.
953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
954 multiarch modff for PowerPC32.
955
79dccf31
AZ
9562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
957
958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
959 and lrintf multiarch implementations.
960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
961 New file.
962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
963 New file.
964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
965 multiarch lrint for PowerPC32.
966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
967 file: multiarch lrintf for PowerPC32.
968
deb66480
AZ
9692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
970
971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
972 and lroundf multiarch implementations.
973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
974 New file.
975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
976 New file.
977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
978 New file.
979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
980 multiarch lround for PowerPC32.
981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
982 file: multiarch lroundf for PowerPC32.
983
264b036b
AZ
9842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
985
986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
987 copysign and copysignf multiarch implementations.
988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
989 New file.
990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
991 New file.
992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
993 file: multiarch copysign for PowerPC32.
994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
995 file: multiarch copysignf for PowerPC32.
996
d47db6c9
AZ
9972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
998
999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1000 and truncf multiarch implementations.
1001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1002 New file.
1003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1004 file.
1005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1006 multiarch trunc for PowerPC32.
1007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1008 New file.
1009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1010 New file.
1011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1012 multiarch truncf for PowerPC32.
1013
ddb60b5a
AZ
10142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015
1016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1017 and roundf multiarch implementations.
1018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1019 New file.
1020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1021 file.
1022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1023 multiarch round for PowerPC32.
1024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1025 New file.
1026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1027 New file.
1028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1029 multiarch roundf for PowerPC32.
1030
bedcf49b
AZ
10312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1032
1033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1034 and floorf multiarch implementations.
1035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1036 New file.
1037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1038 file.
1039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1040 multiarch floor for PowerPC32.
1041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1042 New file.
1043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1044 New file.
1045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1046 multiarch floorf for PowerPC32.
1047
35ae5b40
AZ
10482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049
1050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1051 and ceilf multiarch implementations.
1052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1053 New file.
1054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1055 file.
1056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1057 multiarch ceil for PowerPC32.
1058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1059 New file.
1060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1061 file.
1062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1063 multiarch ceilf for PowerPC32.
1064
ae1a4cd9
AZ
10652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1066
1067 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1068 is defined.
1069 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1070 FINITEF is defined.
1071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1072 and finitef multiarch implementations.
1073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1074 New file.
1075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1076 file.
1077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1078 multiarch finite for PowerPC32.
1079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1080 New file.
1081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1082 file: multiarch finitef for PowerPC32.
1083
64fffd65
AZ
10842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085
1086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1087 and isinff multiarch implementations.
1088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1089 file.
1090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1091 file.
1092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1093 multiarch isinf for PowerPC32.
1094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1095 New file.
1096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1097 multiarch isinff for PowerPC32.
1098
8e4e7ba2
AZ
10992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1100
1101 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1102 alias when __isnan is defined.
1103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1104 and isnanf multiarch implementations.
1105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1106 file.
1107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1108 file.
1109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1110 file.
1111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1112 file.
1113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1114 multiarch isnan for PowerPC32.
1115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1116 New file.
1117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1118 New file.
1119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1120 multiarch isnanf for PowerPC32.
1121
ddba588e
AZ
11222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123
1124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1125 and sqrtf multiarch implementations.
1126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1127 file.
1128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1129 file.
1130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1131 multiarch sqrt for PowerPC32.
1132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1133 file.
1134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1135 file.
1136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1137 multiarch sqrtf for PowerPC32.
1138
0f96a2f0
AZ
11392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140
1141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1142 and llroundf multiarch implementations.
1143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1144 New file.
1145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1146 New file.
1147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1148 New file.
1149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1150 file: multiarch llround for PowerPC32.
1151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1152 file: multiarch llroundf for PowerPC32.
1153
c9b5d79e
AZ
11542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1155
1156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1157 multiarch PowerPC32 fpu implementations.
1158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1159 New file.
1160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1161 New file.
1162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1163 multiarch llrint for PowerPC32.
1164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1165 New file.
1166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1167 New file.
1168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1169 file.
1170
9cbb3aab
AZ
11712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1174
ea5a72f8
AZ
11752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1176
1177 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1178 file.
1179 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1180 file.
1181 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1182 file.
1183 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1184 multiarch wordcopy for PPC32.
1185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1186 wordcopy objects.
1187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1188 (__libc_ifunc_impl_list): Likewise.
1189 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1190 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1191 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1192 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1194 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1195
93be09e7
AZ
11962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1197
1198 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1200 file.
1201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1202 file.
1203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1204 file.
1205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1206 multiarch wcscpy for PPC32.
1207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1208 multiarch objects.
1209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1210 (__libc_ifunc_impl_list): Likewise.
1211 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1212 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1213 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1214 sysdeps/powerpc/power6/wcscpy.c.
1215
bb04e529
AZ
12162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1220 file.
1221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1222 file.
1223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1224 file.
1225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1226 multiarch wcsrchr for PPC32.
1227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1228 multiarch objects.
1229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1230 (__libc_ifunc_impl_list): Likewise.
1231 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1232 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1233 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1234 sysdeps/powerpc/power6/wcsrchr.c.
1235
05b5cd1c
AZ
12362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1237
1238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1239 file.
1240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1241 file.
1242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1244 multiarch wcschr for PPc32.
1245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1246 multiarch objects.
1247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1248 (__libc_ifunc_impl_list): Likewise.
1249 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1250 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1251 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1252 sysdeps/powerpc/power6/wcschr.c.
1253
ba964147
AZ
12542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1255
1256 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1257 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1258 file.
1259 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1260 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1261 file: multiarch strchr for PPC32.
1262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1263 multiarch objects.
1264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1265 (__libc_ifunc_impl_list): Likewise.
1266
31c81aaa
AZ
12672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268
1269 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1270 name.
1271 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1272 file.
1273 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1274 file.
1275 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1276 multiarch strchrnul for PPC32.
1277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1278 multiarch objects.
1279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1280 (__libc_ifunc_impl_list): Likewise.
1281
0d0607d9
AZ
12822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1283
1284 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1285 file.
1286 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1287 multiarch strncasecmp for PPC32.
1288 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1289 file.
1290 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1291 multiarch strncasecmp_l for PPC32.
1292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1293 strncasecmp multiarch objects.
1294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1295 (__libc_ifunc_impl_list): Likewise.
1296
4dfd5c86
AZ
12972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1298
1299 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1300 file.
1301 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1302 multiarch strncasecmp for PPC32.
1303 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1304 New file.
1305 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1306 multiarch strcasecmp_l for PPC32.
1307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1308 multiarch objects.
1309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1310 (__libc_ifunc_impl_list): Likewise.
1311
a19e01a3
AZ
13122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1313
1314 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1315 file.
1316 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1317 file.
1318 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1319 multiarch strncmp for PPC32.
1320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1321 multiarch objects.
1322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1323 (__libc_ifunc_impl_list): Likewise.
1324
ae9cf7a2
AZ
13252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326
1327 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1328 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1329 file.
1330 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1331 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1333 multiarch objects.
1334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1335 (__libc_ifunc_impl_list): Likewise.
1336
3148bb7d
AZ
13372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1338
1339 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1340 file.
1341 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1342 file.
1343 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1345 multiarch objects.
1346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1347 (__libc_ifunc_impl_list): Likewise.
1348
7af8b946
AZ
13492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1350
1351 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1352 file.
1353 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1354 file.
1355 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1356 multiarch rawmemchr for PPC32.
1357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1358 multiarch objects.
1359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1360 (__libc_ifunc_impl_list): Likewise.
1361
03a6aa6a
AZ
13622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363
1364 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1365 file.
1366 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1367 file.
1368 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1369 file: memrchr multiarch for PPC32.
1370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1371 multiarch objects.
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1373 (__libc_ifunc_impl_list): Likewise.
1374
1c62e6d9
AZ
13752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376
1377 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1378 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1379 file.
1380 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1381 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1382 multiarch memchr for PPC32.
1383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1384 multiarch objects.
1385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1386 (__libc_ifunc_impl_list): Likewise.
1387
87da8bdb
AZ
13882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1389
1390 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1391 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1392 file.
1393 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1394 file.
1395 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1396 file: multiarch mempcpy for PPC32.
1397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1398 multiarch objects.
1399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1400 (__libc_ifunc_impl_list): Likewise.
1401
20ed4714
AZ
14022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1403
1404 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1405 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1406 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1407 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1408 multiarch bzero for PPC32.
1409 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1410 file.
1411 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1412 file.
1413 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1414 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1415 file: multiarch memset for PPC32.
1416 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1418 memset multiarch objects.
1419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1420 (__libc_ifunc_impl_list): Likewise.
1421
ab3e3a46
AZ
14222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423
1424 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1425 file.
1426 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1427 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1428 memcmp for PPC32.
1429 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1431 multiarch objects.
1432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1433 (__libc_ifunc_impl_list): Likewise.
1434
930de6f0
AZ
14352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1436
1437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1438 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1440 file.
1441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1442 file.
1443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1444 file.
1445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1446 multiarch memcpy for PPC32.
1447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1448 multiarch objects.
1449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1450 (__libc_ifunc_impl_list): Likewise.
1451
4c628e00
AZ
14522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1455 support multiarch for POWER/PPC32.
1456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1457 Likewise.
1458 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1460 Implies file to make multiarch folder appers before the fpu and
1461 default folder for power4 configuration.
1462
f4479220
SP
14632013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1464
1465 * scripts/bench.pl: Append volatile keyword to type.
1466
8517800f
KK
14672013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1468
1469 * sysdeps/sh/sotruss-lib.c: New file.
1470 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1471
180138f1
AZ
14722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1473
1474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1475
bbf37bdc
JM
14762013-12-05 Joseph Myers <joseph@codesourcery.com>
1477
e47cc4e0
JM
1478 [BZ #6810]
1479 * math/w_tgamma.c: Include <errno.h>.
1480 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1481 * math/w_tgammaf.c: Include <errno.h>.
1482 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1483 * math/w_tgammal.c: Include <errno.h>.
1484 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1485 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1486 underflow. Add more tgamma tests.
1487 * math/auto-libm-test-out: Regenerated.
1488 * sysdeps/i386/fpu/libm-test-ulps: Update.
1489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1490
bbf37bdc
JM
1491 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1492 sin, sinh, tan, tanh, tgamma, y0 and y1.
1493 * math/auto-libm-test-out: Regenerated.
1494 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1495 (TEST_COND_x86): Likewise.
1496 (M_E2l): Remove macro.
1497 (M_E3l): Likewise.
1498 (M_2_SQRT_PIl): Likewise.
1499 (M_SQRT_PIl): Likewise.
1500 (M_1_DIV_El): Likewise.
1501 (log_test_data): Use AUTO_TESTS_f_f.
1502 (log10_test_data): Likewise.
1503 (log1p_test_data): Likewise.
1504 (log2_test_data): Likewise.
1505 (sin_test_data): Likewise.
1506 (sin_tonearest_test_data): Likewise.
1507 (sin_towardzero_test_data): Likewise.
1508 (sin_downward_test_data): Likewise.
1509 (sin_upward_test_data): Likewise.
1510 (sinh_test_data): Likewise.
1511 (sinh_tonearest_test_data): Likewise.
1512 (sinh_towardzero_test_data): Likewise.
1513 (sinh_downward_test_data): Likewise.
1514 (sinh_upward_test_data): Likewise.
1515 (tan_test_data): Likewise.
1516 (tan_tonearest_test_data): Likewise.
1517 (tan_towardzero_test_data): Likewise.
1518 (tan_downward_test_data): Likewise.
1519 (tan_upward_test_data): Likewise.
1520 (tanh_test_data): Likewise.
1521 (tgamma_test_data): Likewise.
1522 (y0_test_data): Likewise.
1523 (y1_test_data): Likewise.
1524 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1525 (special_real_inputs): Add pi/4.
1526 * sysdeps/i386/fpu/libm-test-ulps: Update.
1527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1528
eb5ad6b9
AZ
15292013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
1531 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1532 "longjmp_target" static probes.
1533 (__longjmp): Rename to __longjmp_symbol.
1534 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1536 on which longjmp to generate.
1537 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1538 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1539 probe.
1540 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1541 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1542 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1543 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1544 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1545 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1547 __longjmp_symbol based on which __longjmp to generate.
1548 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1549 probe.
1550 (setjmp): Rename to setjmp_symbol.
1551 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1552 (_setjmp): Rename to _setjmp_symbol.
1553 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1554 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1555 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1556 which setjmp to generate.
1557 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1558 "longjmp_target" static probes.
1559
d136c6dc
SP
15602013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1561
9298ecba
SP
1562 * benchtests/README: Add note about output arguments.
1563 * benchtests/bench-sincos.c: Remove file.
1564 * benchtests/sincos-inputs: New file.
1565 * scripts/bench.pl: Identify output arguments and define
1566 static variables for them.
1567
232983e9
SP
1568 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1569
d136c6dc
SP
1570 [BZ #15941]
1571 * Makefile (INSTALL): Add install-plain.texi as the primary
1572 dependency.
1573 * manual/install-plain.texi: New file.
1574 * manual/install.texi: Include node directive only for
1575 non-plaintext output.
1576
699ff837
JM
15772013-12-04 Joseph Myers <joseph@codesourcery.com>
1578
ab07cea8
JM
1579 * stdlib/longlong.h: Update from GCC.
1580
699ff837
JM
1581 [BZ #6807]
1582 [BZ #15901]
1583 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1584 * math/w_j0f.c (y0f): Likewise.
1585 * math/w_j0l.c (__y0l): Likewise.
1586 * math/w_j1.c (y1): Likewise.
1587 * math/w_j1f.c (y1f): Likewise.
1588 * math/w_j1l.c (__y1l): Likewise
1589 * math/w_jn.c (yn): Likewise.
1590 * math/w_jnf.c (ynf): Likewise.
1591 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1592 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1593 value for Bessel function domain errors outside _SVID_ mode.
1594 Adjust sign of return value for yn (negative integer, 0).
1595 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1596 by zero in return for negative x and set sign appropriately for
1597 negative n.
1598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1599 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1600 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1601 expectations in error cases.
1602 (y1_test_data): Likewise.
1603 (yn_test_data): Likewise.
1604 * sysdeps/i386/fpu/libm-test-ulps: Update.
1605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1606
5b118558
UW
16072013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1608
1609 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1610 "64" to "64-v1". Add "64-v2".
1611 (abi-64-options): Rename to ...
1612 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1613 (abi-64-condition): Rename to ...
1614 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1615 (abi-64-ld-soname): Rename to ...
1616 (abi-64-v1-ld-soname): ... this.
1617 (abi-64-v2-options): Define.
1618 (abi-64-v2-condition): Likewise.
1619 (abi-64-v2-ld-soname): Likewise.
1620 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1621 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1625
61cd8fe4
UW
16262013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1627 Alan Modra <amodra@gmail.com>
1628
1629 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1630 New versions for use with the ELFv2 ABI.
1631 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1632 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1633 declaration.
1634 (struct La_ppc64v2_retval): Likewise.
1635 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1636 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1637 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1638 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1639 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1640 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1641 Do not save or restore CR.
1642 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1643 (_dl_profile_resolve): Do no save or restore CR. Support extended
1644 return values for ELFv2 ABI. Fix location of FPR return registers.
1645 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1646 updated values for _CALL_ELF == 2.
1647 (La_regs, La_retval, int_retval): Likewise.
1648
8b8a692c
UW
16492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1650
1651 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1652 (FRAME_MIN_SIZE_PARM): Likewise.
1653 (FRAME_BACKCHAIN): Likewise.
1654 (FRAME_CR_SAVE): Likewise.
1655 (FRAME_LR_SAVE): Likewise.
1656 (FRAME_TOC_SAVE): Likewise.
1657 (FRAME_PARM_SAVE): Likewise.
1658 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1659 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1660 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1661 (call_mcount_parm_offset): New macro.
1662 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1663 (PROF): Use symbolic stack frame offsets.
1664 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1665 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1666 Redefine in terms of FRAME_MIN_SIZE.
1667 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1668 (_dl_profile_resolve): Likewise. Update comment.
1669 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1670 symbols stack frame offsets.
1671 (__sigsetjmp): Likewise.
1672 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1673 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1674 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1675 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1676
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1678 (FRAME_BACKCHAIN): Remove.
1679 (FRAME_CR_SAVE): Likewise.
1680 (FRAME_LR_SAVE): Likewise.
1681 (FRAME_COMPILER_DW): Likewise.
1682 (FRAME_LINKER_DW): Likewise.
1683 (FRAME_TOC_SAVE): Likewise.
1684 (FRAME_PARM_SAVE): Likewise.
1685 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1686 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1687 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1689 (CHECK_SP): Use symbolic stack frame offsets.
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1691 zone" instead of caller's parameter save area for temp storage.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1693 Likewise. Also, use symbolic stack frame offsets.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1695 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1696 our own stack frame instead of the caller's.
1697 (__socket): Use symbolic stack frame offsets.
1698
122b66de
UW
16992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1700 Alan Modra <amodra@gmail.com>
1701
1702 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1703 Define.
1704 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1705 PPC64_LOCAL_ENTRY_OFFSET): Define.
1706 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1707 New function.
1708 (elf_machine_fixup_plt): Call it.
1709 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1710 reloc arguments.
1711 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1712 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1713 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1714 r2 before calling target.
1715
696caf1d
UW
17162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1717 Alan Modra <amodra@gmail.com>
1718
1719 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1720 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1721 versions of macros to support ELFv2 ABI.
1722 (LOCALENTRY): New macro.
1723 (ENTRY, EALIGN): Use it.
1724 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1725 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1726 fall through into ENTRY entry point.
1727 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1728 Only define if _CALL_ELF != 2.
1729
1730 (elf_machine_matches_host): Verify ABI version matches.
1731 (RTLD_START): Use LOCALENTRY.
1732 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1733 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1734 (PLT_ENTRY_WORDS): New macro.
1735 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1736 (elf_machine_runtime_setup): Support ELFv2 ABI.
1737 (elf_machine_fixup_plt): Likewise.
1738 (elf_machine_plt_conflict): Likewise.
1739 (resolve_ifunc): Likewise.
1740 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1741 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1742 Likewise.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1744 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1746 (makecontext): Support ELFv2 ABI.
1747 * elf/elf.h (EF_PPC64_ABI): Define.
1748
d31beafa
UW
17492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1750
1751 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1752 New assembler macro.
1753 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1754 [ASSEMBLER] (ENTRY): ... but instead here ...
1755 [ASSEMBLER] (EALIGN): ... and here.
1756 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1757 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1758 [!ASSEMBLER] (ENTRY_2): Use it.
1759 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1760 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1761 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1762 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1763 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1765 Use PPC64_LOAD_FUNCPTR.
1766
b525166b
UW
17672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1768
1769 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1770
7ec07d9a
AM
17712013-12-04 Alan Modra <amodra@gmail.com>
1772
1773 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1774 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1775 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1776 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1777
1778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1779 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1780 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1781 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1782 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1783 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1784
5162e7dd
UW
17852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1786
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1788 (__makecontext): Fix incorrect CFI when backtracing out of
1789 context created via makecontext.
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1791 (__setcontext): Fix incorrect CFI during switch to new context.
1792 (__novec_setcontext): Likewise.
1793
19e3372b
OB
17942013-12-04 Ondřej Bílka <neleai@seznam.cz>
1795
1796 [BZ #4772]
1797 * time/strptime_l.c (__strptime_internal): Allow modifiers
1798 in strptime.
1799 * time/tst-strptime.c (day_tests): Add testcase.
1800
1801
ecaf142d
SP
18022013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1803
1804 * scripts/bench.pl: Skip over blank lines.
1805
fbf964ae
PE
18062013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1807
1808 [BZ #926]
1809 * manual/time.texi (Calendar Time): Clarify what timezone functions
1810 use.
1811
fa60a674
AZ
18122013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1813
1814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1815
d674f0ef
OB
18162013-12-04 Ondřej Bílka <neleai@seznam.cz>
1817
1818 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1819 implementation.
1820 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1821 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1822 * debug/memset_chk.c (__memset_chk): Likewise.
1823 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1824 * debug/strncpy_chk.c: Likewise.
1825
17dea188
JM
18262013-12-03 Joseph Myers <joseph@codesourcery.com>
1827
749008ff
JM
1828 [BZ #15268]
1829 [BZ #15425]
1830 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1831 (__ieee754_exp): For possibly underflowing results, check size of
1832 result and force underflow exception if required.
1833 * math/auto-libm-test-in: Add more tests of exp.
1834 * math/auto-libm-test-out: Regenerated.
1835 * sysdeps/i386/fpu/libm-test-ulps: Update.
1836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1837
17dea188
JM
1838 [BZ #16283]
1839 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1840 * math/w_exp2f.c (__exp2f): Likewise.
1841 * math/w_exp2l.c (__exp2l): Likewise.
1842 * math/auto-libm-test-in: Do not allow missing errno on exp2
1843 underflow.
1844 * math/auto-libm-test-out: Regenerated.
1845
b20de2c3
OB
18462013-12-03 Ondřej Bílka <neleai@seznam.cz>
1847
1848 [BZ #16274]
1849 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1850 handle filename validation.
1851 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1852 (do_open): Delete.
1853
d8e2dbe3
JM
18542013-12-03 Joseph Myers <joseph@codesourcery.com>
1855
34e16df5
JM
1856 [BZ #6786]
1857 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1858 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1859 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1860 <float.h>.
1861 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1862 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1863 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1865 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1866 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1867 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1868 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1869 Add more erfc tests.
1870 * math/auto-libm-test-out: Regenerated.
1871 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1873
d8e2dbe3
JM
1874 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1875 exp2, expm1, j0 and j1.
1876 * math/auto-libm-test-out: Regenerated.
1877 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1878 (erfc_test_data): Likewise.
1879 (exp_test_data): Likewise.
1880 (exp_tonearest_test_data): Likewise.
1881 (exp_towardzero_test_data): Likewise.
1882 (exp_downward_test_data): Likewise.
1883 (exp_upward_test_data): Likewise.
1884 (exp10_test_data): Likewise.
1885 (exp2_test_data): Likewise.
1886 (expm1_test_data): Likewise.
1887 (j0_test_data): Likewise.
1888 (j1_test_data): Likewise.
1889 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1890 (input_flag_type): Add flag_xfail_rounding.
1891 (input_flags): Add xfail-rounding.
1892 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1893 (output_for_one_input_case): Handle flag_xfail_rounding.
1894 * sysdeps/i386/fpu/libm-test-ulps: Update.
1895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1896
18d14251
AJ
18972013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1898
3d2e6075 1899 [BZ #16289]
18d14251
AJ
1900 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1901 division by 0.
1902
520d437b
SP
19032013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1904
1905 [BZ #16195]
1906 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1907 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1908 (STAP_PROBE0): New macro.
1909 (STAP_PROBE1): Likewise.
1910 (STAP_PROBE2): Likewise.
1911 (STAP_PROBE3): Likewise.
1912 (STAP_PROBE4): Likewise.
1913
416e0145
OB
19142013-12-02 Ondřej Bílka <neleai@seznam.cz>
1915
1916 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1917
9d17796a
SE
19182013-12-02 Steve Ellcey <sellcey@mips.com>
1919
1920 * benchtests/Makefile (bench): Add sqrt.
1921 (LDLIBS-bench-sqrt): New.
1922 * benchtests/sqrt-input: New.
1923
f524d6a8
PS
19242013-12-02 Pavel Simerda <psimerda@redhat.com>
1925
639a0ef8
PS
1926 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1927 (GAIH_EAI): Likewise.
1928 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1929 (gaih_inet): Likewise.
1930 (getaddrinfo): Don't use GAIH_EAI.
1931
f524d6a8
PS
1932 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1933 (struct gaih): Remove definition.
1934
df3aedaf
SP
19352013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1936
1937 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1938 Use HERRNOP directly.
1939
1ab19dec
AZ
19402013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1941
b42ad38d 1942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1943
176b0c79
JM
19442013-11-30 Joseph Myers <joseph@codesourcery.com>
1945
1946 * math/gen-auto-libm-tests.c (test_functions): Add more
1947 single-argument functions.
1948 (special_fill_pi_2): New function.
1949 (special_fill_minus_pi_2): Likewise.
1950 (special_fill_pi_6): Likewise.
1951 (special_fill_minus_pi_6): Likewise.
1952 (special_fill_pi_3): Likewise.
1953 (special_fill_2pi_3): Likewise.
1954 (special_fill_e): Likewise.
1955 (special_fill_1_e): Likewise.
1956 (special_fill_e_minus_1): Likewise.
1957 (special_real_inputs): Add more special inputs.
1958 (output_for_one_input_case): Do not require ERANGE on underflow to
1959 zero if round-to-nearest result does not underflow to zero, unless
1960 exact results required.
1961 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1962 atan, atanh, cbrt, cos and cosh.
1963 * math/auto-libm-test-out: Regenerated.
1964 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1965 (acos_tonearest_test_data): Likewise.
1966 (acos_towardzero_test_data): Likewise.
1967 (acos_downward_test_data): Likewise.
1968 (acos_upward_test_data): Likewise.
1969 (acosh_test_data): Likewise.
1970 (asin_test_data): Likewise.
1971 (asin_tonearest_test_data): Likewise.
1972 (asin_towardzero_test_data): Likewise.
1973 (asin_upward_test_data): Likewise.
1974 (asinh_test_data): Likewise.
1975 (atan_test_data): Likewise.
1976 (atanh_test_data): Likewise.
1977 (cbrt_test_data): Likewise.
1978 (cos_test_data): Likewise.
1979 (cos_tonearest_test_data): Likewise.
1980 (cos_towardzero_test_data): Likewise.
1981 (cos_downward_test_data): Likewise.
1982 (cos_upward_test_data): Likewise.
1983 (cosh_test_data): Likewise.
1984 (cosh_tonearest_test_data): Likewise.
1985 (cosh_towardzero_test_data): Likewise.
1986 (cosh_downward_test_data): Likewise.
1987 (cosh_upward_test_data): Likewise.
1988 * sysdeps/i386/fpu/libm-test-ulps: Update.
1989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1990
ffb536d0
JM
19912013-11-29 Joseph Myers <joseph@codesourcery.com>
1992
2a77a467
JM
1993 [BZ #6787]
1994 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1995 * math/w_exp10f.c (__exp10f): Likewise.
1996 * math/w_exp10l.c (__exp10l): Likewise.
1997 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1998 errno settings in existing tests.
1999
ea3bc4e8
JM
2000 [BZ #14032]
2001 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2002 precision control set to double precision.
2003 * sysdeps/i386/fpu/w_sqrt.c: New file.
2004 * math/auto-libm-test-in: Add more tests.
2005 * math/auto-libm-test-out: Update.
2006
0712c9d8
JM
2007 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2008 (sqrt_test_tonearest): New function.
2009 (sqrt_towardzero_test_data): New variable.
2010 (sqrt_test_towardzero): New function.
2011 (sqrt_downward_test_data): New variable.
2012 (sqrt_test_downward): New function.
2013 (sqrt_upward_test_data): New variable.
2014 (sqrt_test_upward): New function.
2015 (main): Call the new functions.
2016
ffb536d0
JM
2017 * math/gen-auto-libm-tests.c: New file.
2018 * math/auto-libm-test-in: Likewise.
2019 * math/auto-libm-test-out: New generated file.
2020 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2021 variables.
2022 (%beautify): Add generated representations of zero.
2023 (top level): Set $auto_input and call parse_auto_input.
2024 (beautify): Remove trailing "f" from hex float constants.
2025 (parse_args): Handle XFAIL_TEST.
2026 (convert_condition): New function.
2027 (or_value): Likewise.
2028 (or_cond_value): Likewise.
2029 (generate_testfile): Handle AUTO_TESTS_* lines.
2030 (parse_auto_input): New function.
2031 * math/libm-test.inc (XFAIL_TEST): New macro.
2032 (ERRNO_UNCHANGED): Update value.
2033 (ERRNO_EDOM): Likewise.
2034 (ERRNO_ERANGE): Likewise.
2035 (IGNORE_RESULT): Likewise.
2036 (TEST_COND_flt_32): New macro.
2037 (TEST_COND_dbl_64): Likewise.
2038 (TEST_COND_ldbl_96_intel): Likewise.
2039 (TEST_COND_ldbl_96_m68k): Likewise.
2040 (TEST_COND_ldbl_128): Likewise.
2041 (TEST_COND_ldbl_128ibm): Likewise.
2042 (TEST_COND_long32): Likewise.
2043 (TEST_COND_long64): Likewise.
2044 (TEST_COND_before_rounding): Likewise.
2045 (TEST_COND_after_rounding): Likewise.
2046 (enable_test): Handle XFAIL_TEST flag.
2047 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2048 with finite results.
2049 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2050 auto-libm-test-out.
2051
acd98a8e
AK
20522013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2053 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2054
2055 [BZ #16214]
2056 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2057 __tls_get_addr_internal instead of __tls_get_offset in order to
2058 avoid GOT pointer dependency. Make rtld export
2059 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2060 __tls_get_addr since we are a __tls_get_offset platform.
2061 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2062 GOT pointer being set up before.
2063 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2064
3c1c46a6
JM
20652013-11-28 Joseph Myers <joseph@codesourcery.com>
2066
7475aef5
JM
2067 * manual/math.texi (Errors in Math Functions): Document accuracy
2068 goals.
2069
8bca7cd8
JM
2070 [BZ #15004]
2071 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2072 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2075 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2077 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2079 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2087
91a1f3fe
JM
2088 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2089 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2090 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2091 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2092 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2093 Likewise.
2094 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2095 Likewise.
2096 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2097 Likewise.
2098 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2099 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2100 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2101 atomic-feupdateenv and flt-rounds.
2102 * sysdeps/powerpc/nofpu/Versions (libc): Add
2103 __atomic_feholdexcept, __atomic_feclearexcept,
2104 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2105 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2106 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2107 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2108 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2109 here.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2111 Update.
2112
c5df7609
JM
2113 * manual/arith.texi (FP Exceptions): Document that exceptions may
2114 not be raised when matherr is used.
2115 (Math Error Reporting): Document overflow in directed rounding
2116 modes. Document that errno may not be set when finite values are
2117 returned on overflow. Document intent to set errno on underflow
2118 only for underflow to zero.
2119
3c1c46a6
JM
2120 [BZ #16271]
2121 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2122 round-to-nearest then adjust result for other rounding modes.
2123 * include/fenv.h (fegetround): Use libm_hidden_proto.
2124 * math/fegetround.c (fegetround): Use libm_hidden_def.
2125 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2126 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2127 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2128 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2129 Likewise.
2130 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2131 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2132 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2133 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2134
5a4c6d53
SP
21352013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2136
2137 [BZ #16077]
2138 * nss/Versions (libnss_files): Add
2139 _nss_files_gethostbyname3_r.
2140 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2141 New function.
2142 (HOST_DB_LOOKUP): Remove macro.
2143 (_nss_files_gethostbyname_r): Implement function without the
2144 HOST_DB_LOOKUP macro.
2145 (_nss_files_gethostbyname2_r): Likewise.
2146
897b98ba
OB
21472013-11-28 Ondřej Bílka <neleai@seznam.cz>
2148
2149 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2150
6f476861
UB
21512013-11-26 Uros Bizjak <ubizjak@gmail.com>
2152
2153 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2154 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2155 warning.
2156
bd12ab55
AZ
21572013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158
2159 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2160 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2161 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2162 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2163 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2164 __fe_nomask_env_priv and attribute_hidden.
2165 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2166 (libc_feupdateenv_test_ppc): Likewise.
2167 (libc_feresetround_ppc): Likewise.
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2169 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2170 compat_symbol macro.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2172 (__fe_nomask_env): Likewise.
2173 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2174
52bb6543
OB
21752013-11-26 Ondřej Bílka <neleai@seznam.cz>
2176
2177 * string/Makefile: Remove ifunc tests.
2178 * string/test-string.h: Define TEST_IFUNC.
2179 * string/test-bcopy-ifunc.c: Remove.
2180 * string/test-bzero-ifunc.c: Likewise.
2181 * string/test-memccpy-ifunc.c: Likewise.
2182 * string/test-memchr-ifunc.c: Likewise.
2183 * string/test-memcmp-ifunc.c: Likewise.
2184 * string/test-memcpy-ifunc.c: Likewise.
2185 * string/test-memmem-ifunc.c: Likewise.
2186 * string/test-memmove-ifunc.c: Likewise.
2187 * string/test-mempcpy-ifunc.c: Likewise.
2188 * string/test-memrchr-ifunc.c: Likewise.
2189 * string/test-memset-ifunc.c: Likewise.
2190 * string/test-rawmemchr-ifunc.c: Likewise.
2191 * string/test-stpcpy-ifunc.c: Likewise.
2192 * string/test-stpncpy-ifunc.c: Likewise.
2193 * string/test-strcasecmp-ifunc.c: Likewise.
2194 * string/test-strcasestr-ifunc.c: Likewise.
2195 * string/test-strcat-ifunc.c: Likewise.
2196 * string/test-strchr-ifunc.c: Likewise.
2197 * string/test-strchrnul-ifunc.c: Likewise.
2198 * string/test-strcmp-ifunc.c: Likewise.
2199 * string/test-strcpy-ifunc.c: Likewise.
2200 * string/test-strcspn-ifunc.c: Likewise.
2201 * string/test-strlen-ifunc.c: Likewise.
2202 * string/test-strncasecmp-ifunc.c: Likewise.
2203 * string/test-strncat-ifunc.c: Likewise.
2204 * string/test-strncmp-ifunc.c: Likewise.
2205 * string/test-strncpy-ifunc.c: Likewise.
2206 * string/test-strnlen-ifunc.c: Likewise.
2207 * string/test-strpbrk-ifunc.c: Likewise.
2208 * string/test-strrchr-ifunc.c: Likewise.
2209 * string/test-strspn-ifunc.c: Likewise.
2210 * string/test-strstr-ifunc.c: Likewise.
2211
ab260039 22122013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2213
2214 * benchtests/Makefile: Remove ifunc tests.
2215 * benchtests/bench-string.h: Define TEST_IFUNC.
2216 * benchtests/bench-bcopy-ifunc.c: Remove.
2217 * benchtests/bench-bzero-ifunc.c: Likewise.
2218 * benchtests/bench-memccpy-ifunc.c: Likewise.
2219 * benchtests/bench-memchr-ifunc.c: Likewise.
2220 * benchtests/bench-memcmp-ifunc.c: Likewise.
2221 * benchtests/bench-memcpy-ifunc.c: Likewise.
2222 * benchtests/bench-memmem-ifunc.c: Likewise.
2223 * benchtests/bench-memmove-ifunc.c: Likewise.
2224 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2225 * benchtests/bench-memrchr-ifunc.c: Likewise.
2226 * benchtests/bench-memset-ifunc.c: Likewise.
2227 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2228 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2229 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2230 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2231 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2232 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2233 * benchtests/bench-strcat-ifunc.c: Likewise.
2234 * benchtests/bench-strchr-ifunc.c: Likewise.
2235 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2236 * benchtests/bench-strcmp-ifunc.c: Likewise.
2237 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2238 * benchtests/bench-strcpy-ifunc.c: Likewise.
2239 * benchtests/bench-strcspn-ifunc.c: Likewise.
2240 * benchtests/bench-strlen-ifunc.c: Likewise.
2241 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2242 * benchtests/bench-strncat-ifunc.c: Likewise.
2243 * benchtests/bench-strncmp-ifunc.c: Likewise.
2244 * benchtests/bench-strncpy-ifunc.c: Likewise.
2245 * benchtests/bench-strnlen-ifunc.c: Likewise.
2246 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2247 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2248 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2249 * benchtests/bench-strspn-ifunc.c: Likewise.
2250 * benchtests/bench-strstr-ifunc.c: Likewise.
2251
22522013-11-26 Ondřej Bílka <neleai@seznam.cz>
2253
ab260039
OB
2254 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2255
d1d9eaf4 22562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2257
d1d9eaf4
OB
2258 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2259 * rt/aio.h: Likewise.
2260 * sysdeps/gnu/bits/utmp.h: Likewise.
2261 * sysdeps/gnu/bits/utmpx.h: Likewise.
2262 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2263 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2264 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2265 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2266 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2267 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2268 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2269 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2270 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2271 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2272 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2273 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2274 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2277 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2278 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2279 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2280 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2281 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2282 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2283 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2284 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2285 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2286 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2288 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2289 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2290 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2291 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2292 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2293 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2294 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2296 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2297 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2298 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2299 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2300 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2301 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2302 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2303 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2304
a7624ed9
CD
23052013-11-25 Carlos O'Donell <carlos@redhat.com>
2306
2307 [BZ #16245]
2308 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2309 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2310
63cfe52b
JM
23112013-11-25 Joseph Myers <joseph@codesourcery.com>
2312
2313 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2314 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2315 Likewise.
2316
41e8926a
AZ
23172013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318
2319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2320 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2321 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2322 (__fesetround): Remove define.
2323 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2324 rounding and exceptions handling.
2325 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2326 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2327 (__fe_nomask_env): Likewise.
2328 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2329 __fegetround instead of fegetround.
2330 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2331 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2332
6851bd4d
RM
23332013-11-21 Roland McGrath <roland@hack.frob.com>
2334
070906ff
RM
2335 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2336 it's there.
2337
6851bd4d
RM
2338 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2339
84ae135d
MI
23402013-11-21 Meador Inge <meadori@codesourcery.com>
2341
2342 [BZ #11157]
2343 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2344 (encrypt_r): Likewise.
2345 * malloc/obstack.h (obstack_free): Likewise.
2346 * posix/unistd.h (encrypt): Likewise.
2347
daf75146
GM
23482013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2349
2350 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2351 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2352 DL_CALL_DT_FINI() that call the functions directly.
2353 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2354 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2355 * elf/dl-fini.c: Likewise.
2356
10ad46bc
OB
23572013-11-20 Ondřej Bílka <neleai@seznam.cz>
2358
2359 * malloc/hooks.c (memalign_check): Add alignment rounding.
2360 * malloc/malloc.c (_mid_memalign): New function.
2361 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2362 Implement by calling _mid_memalign.
2363 * manual/probes.texi (Memory Allocation Probes): Remove
2364 memory_valloc_retry and memory_pvalloc_retry.
2365
f3fd2628
SP
23662013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2367
4712799f
SP
2368 * locale/programs/locarchive.c (open_archive): Add const
2369 qualifier to ARCHIVEFNAME and copy default fname to
2370 DEFAULT_FNAME.
2371
0417b20f
SP
2372 [BZ #15601]
2373 * libio/tst-widetext.input: Rename Oriya to Odia.
2374 * locale/iso-639.def: Likewise.
2375
f3fd2628
SP
2376 * manual/probes.texi (Mathematical Function Probes): Add
2377 documentation for sin, cos, asin and acos probes.
2378 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2379 (__sin32): Add slowasin probe.
2380 (__cos32): Add slowacos probe.
2381 (__mpsin): Add slowsin probe.
2382 (__mpcos): Add slowcos probe.
2383
73c1ce4f
JM
23842013-11-19 Joseph Myers <joseph@codesourcery.com>
2385
2386 [BZ #15483]
2387 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2388 thread-local __sim_exceptions_thread and global
2389 __sim_exceptions_global.
2390 (__sim_disabled_exceptions): Change to thread-local
2391 __sim_disabled_exceptions_thread and global
2392 __sim_disabled_exceptions_global.
2393 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2394 and global __sim_round_mode_global.
2395 (__simulate_exceptions): Use thread-local floating-point state and
2396 set global state from it as needed.
2397 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2398 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2399 __sim_round_mode_thread.
2400 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2401 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2402 and global __sim_exceptions_global.
2403 (__sim_disabled_exceptions): Change to thread-local
2404 __sim_disabled_exceptions_thread and global
2405 __sim_disabled_exceptions_global.
2406 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2407 and global __sim_round_mode_global.
2408 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2409 (SIM_SET_GLOBAL): Likewise.
2410 * sysdeps/powerpc/soft-fp/sfp-machine.h
2411 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2412 __sim_round_mode_thread.
2413 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2414 __sim_disabled_exceptions_thread.
2415 (__sim_exceptions): Change to __sim_exceptions_thread.
2416 (__sim_disabled_exceptions): Change to
2417 __sim_disabled_exceptions_thread.
2418 (__sim_round_mode): Change to __sim_round_mode_thread.
2419 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2420 thread-local floating-point state and set global state from it as
2421 needed.
2422 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2423 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2424 (__sim_disabled_exceptions): Remove extern declaration.
2425 (feenableexcept): Use thread-local floating-point state and set
2426 global state from it as needed.
2427 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2428 extern declaration.
2429 (__sim_disabled_exceptions): Likewise.
2430 (__sim_round_mode): Likewise.
2431 (__fegetenv): Use thread-local floating-point state.
2432 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2433 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2434 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2435 floating-point state and set global state from it as needed.
2436 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2437 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2438 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2439 Likewise.
2440 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2441 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2442 Likewise.
2443 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2444 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2445 Use __sim_round_mode_thread.
2446 * math/test-fenv-tls.c: New file.
2447 * math/Makefile (tests): Add test-fenv-tls.
2448 ($(objpfx)test-fenv-tls): Depend on
2449 $(common-objpfx)nptl/libpthread.so.
2450
b5449b12
AS
24512013-11-19 Andreas Schwab <schwab@suse.de>
2452
2453 * locale/programs/locale.c (show_info): Decode wordarray elements.
2454 * locale/categories.def (LC_MONETARY): Add element for
2455 _NL_MONETARY_CRNCYSTR.
2456 * locale/C-monetary.c (conversion_rate): New variable.
2457 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2458 element.
2459
e186536b
CM
24602013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2461
2462 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2463 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2464
5c349950
PP
24652013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2466
2467 * elf/Makefile (tst-auxv): New test.
2468 * elf/tst-auxv.c: New
2469 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2470
699df45b
JM
24712013-11-18 Joseph Myers <joseph@codesourcery.com>
2472
2473 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2474 (hidden_proto): Caller changed.
2475 (hidden_tls_proto): New macro.
2476 (libc_hidden_tls_proto): Likewise.
2477 (rtld_hidden_tls_proto): Likewise.
2478 (libm_hidden_tls_proto): Likewise.
2479 (libresolv_hidden_tls_proto): Likewise.
2480 (librt_hidden_tls_proto): Likewise.
2481 (libdl_hidden_tls_proto): Likewise.
2482 (libnss_files_hidden_tls_proto): Likewise.
2483 (libnsl_hidden_tls_proto): Likewise.
2484 (libnss_nisplus_hidden_tls_proto): Likewise.
2485 (libutil_hidden_tls_proto): Likewise.
2486
b7589107
OB
24872013-11-18 Ondřej Bílka <neleai@seznam.cz>
2488
2489 [BZ #10253]
2490 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2491 (decompose_rpath): Defer expansion to fillin_rpath.
2492 (_dl_init_paths): Pass linkmap to fillin_rpath.
2493
250c23bd
RS
24942013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2495
2496 * benchtests/Makefile: Add strsep.
2497 * benchtests/bench-strsep.c: New file: strsep benchtest.
2498 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2499
a7931fcf
AS
25002013-11-18 Andreas Schwab <schwab@suse.de>
2501
2502 * locale/programs/locale.c (show_info) [case byte]: Check for
2503 '\377' instead of '\177'.
2504 * locale/C-monetary.c (not_available): Always use "\377".
2505 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2506 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2507 detect unavailable sign_posn locale elements.
2508 * locale/localeconv.c (__localeconv): For grouping and
2509 mon_grouping handle "\177" and "\377" like no grouping.
2510 (INT_ELEM): New macro. Use it to set all numeric members.
2511 * locale/programs/ld-monetary.c (monetary_read)
2512 <tok_mon_grouping>: Normalize single -1 to the empty string.
2513 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2514 Likewise.
2515
728dab0e
OB
25162013-11-07 Ondřej Bílka <neleai@seznam.cz>
2517
2518 [BZ #16055]
2519 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2520 when we match (nil).
2521 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2522
66294491
JM
25232013-11-16 Joseph Myers <joseph@codesourcery.com>
2524
ce665817
JM
2525 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2526 (NO_TEST_INLINE): Update value.
2527 (ERRNO_UNCHANGED): Likewise.
2528 (ERRNO_EDOM): Likewise.
2529 (ERRNO_ERANGE): Likewise.
2530 (IGNORE_RESULT): Likewise.
2531 (check_float_internal): Check signs of NaN results if
2532 TEST_NAN_SIGN used.
2533 (check_complex): Pass TEST_NAN_SIGN flag through to second
2534 check_float_internal call.
2535 (copysign_test_data): Add tests with quiet NaNs as second
2536 argument. Use TEST_NAN_SIGN.
2537 (fabs_test_data): Add test of negative quiet NaN argument. Use
2538 TEST_NAN_SIGN.
2539 (signbit_test_data): Add tests of quiet NaN argument.
2540 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2541
ee1466a9
JM
2542 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2543 $ignore_result.
2544 (parse_args): Handle function results specified as IGNORE.
2545 * math/libm-test.inc (IGNORE_RESULT): New macro.
2546 (check_float_internal): Do not check numerical result if flag
2547 IGNORE_RESULT set.
2548 (check_complex): Pass through IGNORE_RESULT to second
2549 check_float_internal call.
2550 (check_int): Do not check numerical result if flag IGNORE_RESULT
2551 set.
2552 (check_long): Likewise.
2553 (check_bool): Likewise.
2554 (check_longlong): Likewise.
2555 (lrint_test_data): Add tests of infinite and NaN arguments.
2556 (lrint_tonearest_test_data): Likewise.
2557 (lrint_towardzero_test_data): Likewise.
2558 (lrint_downward_test_data): Likewise.
2559 (lrint_upward_test_data): Likewise.
2560 (llrint_test_data): Likewise.
2561 (llrint_tonearest_test_data): Likewise.
2562 (llrint_towardzero_test_data): Likewise.
2563 (llrint_downward_test_data): Likewise.
2564 (llrint_upward_test_data): Likewise.
2565 (lround_test_data): Likewise.
2566 (llround_test_data): Likewise.
2567
14407b7e
JM
2568 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2569 (ERRNO_UNCHANGED): Update value.
2570 (ERRNO_EDOM): Likewise.
2571 (ERRNO_ERANGE): Likewise.
2572 (NO_TEST_INLINE_FLOAT): New macro.
2573 (NO_TEST_INLINE_DOUBLE): Likewise.
2574 (enable_test): New function.
2575 (RUN_TEST_f_f): Check enable_test before running test.
2576 (RUN_TEST_2_f): Likewise.
2577 (RUN_TEST_fff_f): Likewise.
2578 (RUN_TEST_c_f): Likewise.
2579 (RUN_TEST_f_f1): Likewise.
2580 (RUN_TEST_fF_f1): Likewise.
2581 (RUN_TEST_fI_f1): Likewise.
2582 (RUN_TEST_ffI_f1): Likewise.
2583 (RUN_TEST_c_c): Likewise.
2584 (RUN_TEST_cc_c): Likewise.
2585 (RUN_TEST_f_i): Likewise.
2586 (RUN_TEST_f_i_tg): Likewise.
2587 (RUN_TEST_ff_i_tg): Likewise.
2588 (RUN_TEST_f_b): Likewise.
2589 (RUN_TEST_f_b_tg): Likewise.
2590 (RUN_TEST_f_l): Likewise.
2591 (RUN_TEST_f_L): Likewise.
2592 (RUN_TEST_fFF_11): Likewise.
2593 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2594 conditionals.
2595 (cosh_test_data): Likewise.
2596 (exp_test_data): Likewise.
2597 (expm1_test_data): Likewise.
2598 (hypot_test_data): Likewise.
2599 (pow_test_data): Likewise.
2600 (sinh_test_data): Likewise.
2601 (tanh_test_data): Likewise.
2602 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2603 flags argument.
2604
ca07f197
JM
2605 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2606 tests with quiet NaN input and output.
2607 (acosh_test_data): Likewise.
2608 (asin_test_data): Likewise.
2609 (asinh_test_data): Likewise.
2610 (atan_test_data): Likewise.
2611 (atanh_test_data): Likewise.
2612 (atan2_test_data): Likewise.
2613 (cbrt_test_data): Likewise.
2614 (cos_test_data): Likewise.
2615 (cosh_test_data): Likewise.
2616 (erf_test_data): Likewise.
2617 (erfc_test_data): Likewise.
2618 (exp_test_data): Likewise.
2619 (exp10_test_data): Likewise.
2620 (exp2_test_data): Likewise.
2621 (expm1_test_data): Likewise.
2622 (hypot_test_data): Likewise.
2623 (j0_test_data): Likewise.
2624 (j1_test_data): Likewise.
2625 (jn_test_data): Likewise.
2626 (lgamma_test_data): Likewise.
2627 (log_test_data): Likewise.
2628 (log10_test_data): Likewise.
2629 (log1p_test_data): Likewise.
2630 (log2_test_data): Likewise.
2631 (pow_test_data): Likewise.
2632 (scalb_test_data): Likewise.
2633 (sin_test_data): Likewise.
2634 (sincos_test_data): Likewise.
2635 (sinh_test_data): Likewise.
2636 (tan_test_data): Likewise.
2637 (tanh_test_data): Likewise.
2638 (tgamma_test_data): Likewise.
2639 (y0_test_data): Likewise.
2640 (y1_test_data): Likewise.
2641 (yn_test_data): Likewise.
2642
66294491
JM
2643 [BZ #16167]
2644 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2645 argument being NaN and avoid computations with second argument in
2646 that case.
2647 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2648 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2649 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2650
1820b143
CL
26512013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2652
2653 * locale/iso-639.def: Add Chitwani Tharu (the).
2654
714bd261
AS
26552013-11-14 Andreas Schwab <schwab@suse.de>
2656
2657 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2658 word instead of empty string.
2659
7ab44563
AZ
26602013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2661
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2663 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2665 (__fe_nomask_env): Likewise.
2666
e8470ea2
SE
26672013-11-13 Steve Ellcey <sellcey@mips.com>
2668
2669 * benchtests/bench-timing.h: Include time.h.
2670
17c1d9f0
L
26712013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 [BZ #15997]
2674 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2675 to 3.4.0 for x32.
2676 * sysdeps/unix/sysv/linux/configure: Regenerated.
2677
9310c284
JM
26782013-11-13 Joseph Myers <joseph@codesourcery.com>
2679
2680 [BZ #16151]
2681 * stdlib/strtod_l.c (round_and_return): Do not consider
2682 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2683 exponent one less than half the least subnormal exponent.
2684 * stdlib/test-strtod-round-data: Add more tests.
2685 * stdlib/tst-strtod-round.c (tests): Regenerated.
2686
7a2ad8cf
AZ
26872013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2688
2689 [BZ #14143]
2690 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2691 (__fe_mask_env): Likewise.
2692 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2693 libm_hidden_proto and add function prototype.
2694 (__fe_mask_env): Add function prototype.
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2696 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2698 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2700 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2701
50727aa7
MS
27022013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2703
b2f386c1 2704 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2705 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2706
a615be46
MS
27072013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2708
2709 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2710 of htab_find_slot().
2711
7ddace62
DM
27122013-11-11 David S. Miller <davem@davemloft.net>
2713
2714 [BZ #16150]
2715 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2716 symbol in the non-vis3 case in static builds.
2717 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2718 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2719 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2720 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2721
9182aa67
JK
27222013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2723
2724 [BZ #387]
2725 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2726 it is empty.
2727
450a2e2d
AZ
27282013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729
b2f386c1
SP
2730 * benchtests/Makefile: Add bench-strtod.
2731 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2732
8ec3f656
AS
27332013-11-11 Andreas Schwab <schwab@suse.de>
2734
2735 [BZ #16153]
2736 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2737 terminating NUL in key length.
2738
76a9b998
AZ
27392013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2740
2741 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2742 Add artificial ODP entry for vDSO symbol for PPC64.
2743 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2744 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2745
e4368156
OB
27462013-11-07 Ondřej Bílka <neleai@seznam.cz>
2747
2748 [BZ #15374]
2749 * nss/getent.c (services_keys): Recognize services starting with digit.
2750
8d6bb57c
DM
27512013-11-06 David S. Miller <davem@davemloft.net>
2752
2753 [BZ #15985]
2754 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2755 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2756
e256c421
WN
27572013-11-06 Will Newton <will.newton@linaro.org>
2758
2759 * manual/memory.texi (Malloc Examples): Remove register
2760 keyword from examples.
2761
f6e12daa 27622013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2763
f6e12daa 2764 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2765
9d880655
AS
27662013-11-04 Joseph Myers <joseph@codesourcery.com>
2767
2768 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2769 depending on [__GCC_IEC_559 > 0].
2770 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2771 depending on [__GCC_IEC_559_COMPLEX > 0].
2772
ae129d3c
CL
27732013-11-03 Chris Leonard <cjl@sugarlabs.org>
2774
2775 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2776 to iso-639.def.
2777
4a15c2a4 27782013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2779
2780 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2781
8b35e35d
OB
27822013-11-01 Ondřej Bílka <neleai@seznam.cz>
2783
2784 [BZ #16112]
2785 * malloc/malloc (malloc_info): Do not handle first bin as
2786 special case.
2787
1d70fd6c
CL
27882013-11-01 Chris Leonard <cjl@sugarlabs.org>
2789
2790 * locale/iso-639.def: Add Central Nahuatl (nhn).
2791
8c5c2600
BH
27922013-11-01 Bruno Haible <bruno@clisp.org>
2793
2794 [BZ #7003]
2795 * manual/math.texi (BSD Random): Specify range upper bound as
2796 in POSIX.
2797
da5579c2
CL
27982013-10-31 Chris Leonard <cjl@sugarlabs.org>
2799
2800 * locale/iso-639.def: Add Meadow Mari (mhr).
2801
5d30d853
OB
28022013-10-31 Ondřej Bílka <neleai@seznam.cz>
2803
2804 [BZ #14752], [BZ #15763]
2805 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2806 Validate name.
2807 * rt/tst_shm.c: Add test for escaping directory.
2808
a4966c61
AS
28092013-10-31 Andreas Schwab <schwab@suse.de>
2810
8a43e768 2811 [BZ #15917]
a4966c61
AS
2812 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2813 followed by 'x' as part of digit sequence.
2814 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2815
28d708c4
MAP
28162013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2817
2818 [BZ #16037]
2819 * configure.ac: allow GNU Make 4.0 and greater.
2820 * configure: Regenerated.
2821
a56ee40b
WN
28222013-10-30 Will Newton <will.newton@linaro.org>
2823
2824 [BZ #16038]
2825 * malloc/hooks.c (memalign_check): Limit alignment to the
2826 maximum representable power of two.
2827 * malloc/malloc.c (__libc_memalign): Likewise.
2828 * malloc/tst-memalign.c (do_test): Add test for very
2829 large alignment values.
2830 * malloc/tst-posix_memalign.c (do_test): Likewise.
2831
c6e4925d
OB
28322013-10-30 Ondřej Bílka <neleai@seznam.cz>
2833
2834 [BZ #11087]
2835 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2836 (munmap_chunk): Likewise.
2837 (mremap_chunk): Likewise.
2838
28392013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2840
8a43e768 2841 [BZ #15799]
bbea82f7
OB
2842 * stdlib/div.c (div): Remove obsolete code.
2843 * stdlib/ldiv.c (ldiv): Likewise.
2844 * stdlib/lldiv.c (lldiv): Likewise.
2845
977f4b31
SP
28462013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2847
2848 [BZ #16071]
2849 * nss/nss_files/files-XXX.c (get_contents_ret): New
2850 enumerator.
2851 (get_contents): New function.
2852 (internal_getent): Use it. Expand size of LINEBUFLEN.
2853
cb8a6dbd
MF
28542013-10-30 Mike Frysinger <vapier@gentoo.org>
2855
2856 * configure.in: Moved to ...
2857 * configure.ac: ... here. Change reference to configure.in
2858 to configure.ac.
2859 * sysdeps/arm/preconfigure.ac: ... here.
2860 configure.in to configure.ac.
2861 * sysdeps/gnu/configure.in: Moved to ...
2862 * sysdeps/gnu/configure.ac: ... here.
2863 * sysdeps/i386/configure.in: Moved to ...
2864 * sysdeps/i386/configure.ac: ... here.
2865 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2866 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2867 * sysdeps/mach/configure.in: Moved to ...
2868 * sysdeps/mach/configure.ac: ... here.
2869 * sysdeps/mach/hurd/configure.in: Moved to ...
2870 * sysdeps/mach/hurd/configure.ac: ... here.
2871 * sysdeps/powerpc/configure.in: Moved to ...
2872 * sysdeps/powerpc/configure.ac: ... here.
2873 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2874 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2875 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2876 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2877 * sysdeps/s390/s390-32/configure.in: Moved to ...
2878 * sysdeps/s390/s390-32/configure.ac: ... here.
2879 * sysdeps/s390/s390-64/configure.in: Moved to ...
2880 * sysdeps/s390/s390-64/configure.ac: ... here.
2881 * sysdeps/sh/configure.in: Moved to ...
2882 * sysdeps/sh/configure.ac: ... here.
2883 * sysdeps/sparc/configure.in: Moved to ...
2884 * sysdeps/sparc/configure.ac: ... here.
2885 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2886 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2887 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2888 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2889 * sysdeps/x86_64/configure.in: Moved to ...
2890 * sysdeps/x86_64/configure.ac: ... here.
2891 * sysdeps/x86_64/preconfigure.in: Moved to ...
2892 * sysdeps/x86_64/preconfigure.ac: ... here.
2893 * aclocal.m4: Change reference to configure.in to configure.ac.
2894 * config.h.in: Likewise.
2895 * manual/install.texi: Likewise.
2896 * manual/maint.texi: Likewise.
2897 * Makefile: Likewise.
2898 * malloc/Makefile: Likewise.
2899 * nscd/Makefile: Likewise.
2900 * Makeconfig: Change reference to configure.in and
2901 preconfigure.in to configure.ac and preconfigure.ac
2902 respectively.
2903 * INSTALL: Regenerated.
2904 * configure: Likewise.
2905 * sysdeps/gnu/configure: Likewise.
2906 * sysdeps/i386/configure: Likewise.
2907 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2908 * sysdeps/mach/configure: Likewise.
2909 * sysdeps/mach/hurd/configure: Likewise.
2910 * sysdeps/powerpc/configure: Likewise.
2911 * sysdeps/powerpc/powerpc32/configure: Likewise.
2912 * sysdeps/powerpc/powerpc64/configure: Likewise.
2913 * sysdeps/s390/s390-32/configure: Likewise.
2914 * sysdeps/s390/s390-64/configure: Likewise.
2915 * sysdeps/sh/configure: Likewise.
2916 * sysdeps/sparc/configure: Likewise.
2917 * sysdeps/unix/sysv/linux/configure: Likewise.
2918 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2919 * sysdeps/x86_64/configure: Likewise.
2920 * sysdeps/x86_64/preconfigure: Likewise.
2921
36a4953a
AS
29222013-10-29 Andreas Schwab <schwab@suse.de>
2923
2924 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2925
c79a1204
SP
29262013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2927
dfa1b402
SP
2928 * benchtests/pow-inputs: Add new inputs.
2929
54f73d9c
SP
2930 * benchtests/exp-inputs: Add new inputs.
2931
c79a1204
SP
2932 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2933 conditional check for return value.
2934 (__cos32): Likewise.
2935
67beb545 29362013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2937
2938 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2939 to provide a boost for large inputs with word alignment.
2940 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2941 implementation based on optimized PPC64 strcpy.
2942 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2943 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2944 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2945 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2946
151659f6
OB
29472013-10-25 Ondřej Bílka <neleai@seznam.cz>
2948
482a077e 2949 [BZ #2801]
151659f6
OB
2950 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2951
10b0f26b
OB
29522013-10-25 Ondřej Bílka <neleai@seznam.cz>
2953
2954 [BZ #14876]
2955 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2956 * time/tst-strptime.c (day_tests): Add testcase.
2957
ca42d35e
OB
29582013-10-25 Ondřej Bílka <neleai@seznam.cz>
2959
482a077e 2960 [BZ #14029]
ca42d35e
OB
2961 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2962
52e6d801
FB
29632013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2964
2965 [BZ #16074]
2966 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2967 MAP_FAILED on error.
2968
7cbcdb36
SP
29692013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2970
2971 [BZ #16072]
2972 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2973 heap for large requests.
2974
894f3f10
AM
29752013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2976
2977 [BZ #9954]
2978 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2979 result if the result has no associated interface.
2980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2981 interface for all 127.X.Y.Z addresses.
2982
b85545a6
CL
29832013-10-24 Chris Leonard <cjl@sugarlabs.org>
2984
2985 * locale/iso-639.def: Add Ligurian (lij)
2986
d1f23d46
OB
29872013-10-21 Ondřej Bílka <neleai@seznam.cz>
2988
2989 [BZ #15825]
2990 * sunrpc/rpc_main.c: Document rpcgen -5.
2991
4db5b08f
MS
29922013-10-19 Michael Stahl <mstahl@redhat.com>
2993
2994 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2995
a471e96a
OB
29962013-10-19 Ondřej Bílka <neleai@seznam.cz>
2997
d1f23d46 2998 [BZ #10278]
a471e96a
OB
2999 * posix/glob.c: Match only directories when trailing slash is present.
3000 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3001 (main): Add testcase.
3002
45c30c61
OB
30032013-10-19 Ondřej Bílka <neleai@seznam.cz>
3004
3005 [BZ #15670]
3006 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3007
484c12fb
CD
30082013-10-18 Carlos O'Donell <carlos@redhat.com>
3009
3d7dc513
CD
3010 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3011 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3012 AUTH_DES and cindex for FIPS 140-2.
3013 (DES Encryption): Add cindex FIPS 46-3.
3014
484c12fb
CD
3015 * locale/locarchive.h (struct locarhandle): Add fname.
3016 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3017 if an optional argument was specified to --list-archive,
3018 otherwise NULL.
3019 * locale/programs/locarchive.c (show_archive_content): Take new
3020 argument fname and pass it via ah.fname to open_archive.
3021 * locale/programs/localedef.h: Update decl.
3022 (open_archive): If AH->fname is non-null, open that file
3023 rather than the default file name, and don't ignore ENOENT.
3024 (create_archive): Set AH.fname to NULL.
3025 (delete_locales_from_archive): Likewise.
3026 (add_locales_to_archive): Likewise.
3027 * locale/programs/locfile.c (write_all_categories): Likewise.
3028
3c8325fb
JM
30292013-10-18 Joseph Myers <joseph@codesourcery.com>
3030 Aldy Hernandez <aldyh@redhat.com>
3031
3032 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3033 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3034 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3036 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3037 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3038 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3039 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3040 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3041 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3042 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3043 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3044 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3045 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3046 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3047 Likewise.
3048 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3049 Likewise.
3050 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3051 Likewise.
3052 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3053 Likewise.
3054 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3055 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3056 Likewise.
3057 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3058 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3059 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3060 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3061 Likewise.
3062 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3063 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3064 * sysdeps/powerpc/preconfigure: Likewise.
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3066 Likewise.
3067 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3068 Replace contents of file by #include of <fenv_libc.h>.
3069 * sysdeps/powerpc/soft-fp/sfp-machine.h
3070 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3071 and <sys/prctl.h>.
3072 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3085 Allow copysignl PLT reference to be missing.
3086
5abe0682
RS
30872013-10-18 Richard Sandiford <richard@codesourcery.com>
3088 Joseph Myers <joseph@codesourcery.com
3089
3090 [BZ #15948]
3091 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3092 single character.
3093 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3094
c7738d08
SP
30952013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3096
3097 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3098 * elf/tst-tls1.c: Likewise.
3099 * elf/tst-tls10.h: Likewise.
3100 * elf/tst-tls14.c: Likewise.
3101 * elf/tst-tls2.c: Likewise.
3102 * elf/tst-tls3.c: Likewise.
3103 * elf/tst-tls4.c: Likewise.
3104 * elf/tst-tls5.c: Likewise.
3105 * elf/tst-tls6.c: Likewise.
3106 * elf/tst-tls7.c: Likewise.
3107 * elf/tst-tls8.c: Likewise.
3108 * elf/tst-tls9.c: Likewise.
3109 * elf/tst-tlsmod1.c: Likewise.
3110 * elf/tst-tlsmod13.c: Likewise.
3111 * elf/tst-tlsmod13a.c: Likewise.
3112 * elf/tst-tlsmod14a.c: Likewise.
3113 * elf/tst-tlsmod16a.c: Likewise.
3114 * elf/tst-tlsmod16b.c: Likewise.
3115 * elf/tst-tlsmod2.c: Likewise.
3116 * elf/tst-tlsmod3.c: Likewise.
3117 * elf/tst-tlsmod4.c: Likewise.
3118 * elf/tst-tlsmod5.c: Likewise.
3119 * elf/tst-tlsmod6.c: Likewise.
3120
0bfcf2c7
OB
31212013-10-18 Ondřej Bílka <neleai@seznam.cz>
3122
3123 [BZ #12486]
3124 * malloc/malloc.c: remove checks for statistics.
3125
264aad1e
OB
31262013-10-17 Ondřej Bílka <neleai@seznam.cz>
3127
3128 [BZ #15277]
3129 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3130 * inet/tst-network.c: Add testcase.
3131
b957ced8
AS
31322013-10-17 Andreas Schwab <schwab@suse.de>
3133
3134 [BZ #15218]
3135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3136 to determine canonical name.
3137
c5d5d574
OB
31382013-10-17 Ondřej Bílka <neleai@seznam.cz>
3139
3140 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3141 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3143 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3145 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3146 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3147 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3148 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3149 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3150 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3151 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3152 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3153 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3154 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3155 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3158 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3159 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3160 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3163 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3164 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3166 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3167 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3168 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3169 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3170 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3172 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3173 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3174 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3175 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3176 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3177 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3178 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3180 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3181 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3182 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3183 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3184 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3185 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3186 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3187 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3188 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3189 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3190 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3191 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3195 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3197 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3198
e5c2c2d0
JM
31992013-10-17 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #16041]
3202 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3203 make result into a quiet NaN.
3204
51ca9e29
JM
32052013-10-16 Joseph Myers <joseph@codesourcery.com>
3206
3207 * soft-fp/adddf3.c: Fix horizontal whitespace.
3208 * soft-fp/addsf3.c: Likewise.
3209 * soft-fp/addtf3.c: Likewise.
3210 * soft-fp/divdf3.c: Likewise.
3211 * soft-fp/divsf3.c: Likewise.
3212 * soft-fp/divtf3.c: Likewise.
3213 * soft-fp/double.h: Likewise.
3214 * soft-fp/eqdf2.c: Likewise.
3215 * soft-fp/eqsf2.c: Likewise.
3216 * soft-fp/eqtf2.c: Likewise.
3217 * soft-fp/extenddftf2.c: Likewise.
3218 * soft-fp/extended.h: Likewise.
3219 * soft-fp/extendsfdf2.c: Likewise.
3220 * soft-fp/extendsftf2.c: Likewise.
3221 * soft-fp/extendxftf2.c: Likewise.
3222 * soft-fp/fixdfdi.c: Likewise.
3223 * soft-fp/fixdfsi.c: Likewise.
3224 * soft-fp/fixdfti.c: Likewise.
3225 * soft-fp/fixsfdi.c: Likewise.
3226 * soft-fp/fixsfsi.c: Likewise.
3227 * soft-fp/fixsfti.c: Likewise.
3228 * soft-fp/fixtfdi.c: Likewise.
3229 * soft-fp/fixtfsi.c: Likewise.
3230 * soft-fp/fixtfti.c: Likewise.
3231 * soft-fp/fixunsdfdi.c: Likewise.
3232 * soft-fp/fixunsdfsi.c: Likewise.
3233 * soft-fp/fixunsdfti.c: Likewise.
3234 * soft-fp/fixunssfdi.c: Likewise.
3235 * soft-fp/fixunssfsi.c: Likewise.
3236 * soft-fp/fixunssfti.c: Likewise.
3237 * soft-fp/fixunstfdi.c: Likewise.
3238 * soft-fp/fixunstfsi.c: Likewise.
3239 * soft-fp/fixunstfti.c: Likewise.
3240 * soft-fp/floatdidf.c: Likewise.
3241 * soft-fp/floatdisf.c: Likewise.
3242 * soft-fp/floatditf.c: Likewise.
3243 * soft-fp/floatsidf.c: Likewise.
3244 * soft-fp/floatsisf.c: Likewise.
3245 * soft-fp/floatsitf.c: Likewise.
3246 * soft-fp/floattidf.c: Likewise.
3247 * soft-fp/floattisf.c: Likewise.
3248 * soft-fp/floattitf.c: Likewise.
3249 * soft-fp/floatundidf.c: Likewise.
3250 * soft-fp/floatundisf.c: Likewise.
3251 * soft-fp/floatunditf.c: Likewise.
3252 * soft-fp/floatunsidf.c: Likewise.
3253 * soft-fp/floatunsisf.c: Likewise.
3254 * soft-fp/floatunsitf.c: Likewise.
3255 * soft-fp/floatuntidf.c: Likewise.
3256 * soft-fp/floatuntisf.c: Likewise.
3257 * soft-fp/floatuntitf.c: Likewise.
3258 * soft-fp/fmadf4.c: Likewise.
3259 * soft-fp/fmasf4.c: Likewise.
3260 * soft-fp/fmatf4.c: Likewise.
3261 * soft-fp/gedf2.c: Likewise.
3262 * soft-fp/gesf2.c: Likewise.
3263 * soft-fp/getf2.c: Likewise.
3264 * soft-fp/ledf2.c: Likewise.
3265 * soft-fp/lesf2.c: Likewise.
3266 * soft-fp/letf2.c: Likewise.
3267 * soft-fp/muldf3.c: Likewise.
3268 * soft-fp/mulsf3.c: Likewise.
3269 * soft-fp/multf3.c: Likewise.
3270 * soft-fp/negdf2.c: Likewise.
3271 * soft-fp/negsf2.c: Likewise.
3272 * soft-fp/negtf2.c: Likewise.
3273 * soft-fp/op-1.h: Likewise.
3274 * soft-fp/op-2.h: Likewise.
3275 * soft-fp/op-4.h: Likewise.
3276 * soft-fp/op-8.h: Likewise.
3277 * soft-fp/op-common.h: Likewise.
3278 * soft-fp/quad.h: Likewise.
3279 * soft-fp/single.h: Likewise.
3280 * soft-fp/soft-fp.h: Likewise.
3281 * soft-fp/sqrtdf2.c: Likewise.
3282 * soft-fp/sqrtsf2.c: Likewise.
3283 * soft-fp/sqrttf2.c: Likewise.
3284 * soft-fp/subdf3.c: Likewise.
3285 * soft-fp/subsf3.c: Likewise.
3286 * soft-fp/subtf3.c: Likewise.
3287 * soft-fp/truncdfsf2.c: Likewise.
3288 * soft-fp/trunctfdf2.c: Likewise.
3289 * soft-fp/trunctfsf2.c: Likewise.
3290 * soft-fp/trunctfxf2.c: Likewise.
3291 * soft-fp/unorddf2.c: Likewise.
3292 * soft-fp/unordsf2.c: Likewise.
3293 * soft-fp/unordtf2.c: Likewise.
3294
9ebb0332
JM
32952013-10-15 Joseph Myers <joseph@codesourcery.com>
3296
3297 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3298 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3299
4b1a6d8b
OB
33002013-10-15 Ondřej Bílka <neleai@seznam.cz>
3301
3302 * elf/dl-libc.c: Clear initfini list after freeing.
3303
1e145589
JM
33042013-10-14 Joseph Myers <joseph@codesourcery.com>
3305
3306 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3307 * soft-fp/addsf3.c: Likewise.
3308 * soft-fp/addtf3.c: Likewise.
3309 * soft-fp/divdf3.c: Likewise.
3310 * soft-fp/divsf3.c: Likewise.
3311 * soft-fp/divtf3.c: Likewise.
3312 * soft-fp/double.h: Likewise.
3313 * soft-fp/eqdf2.c: Likewise.
3314 * soft-fp/eqsf2.c: Likewise.
3315 * soft-fp/eqtf2.c: Likewise.
3316 * soft-fp/extenddftf2.c: Likewise.
3317 * soft-fp/extended.h: Likewise.
3318 * soft-fp/extendsfdf2.c: Likewise.
3319 * soft-fp/extendsftf2.c: Likewise.
3320 * soft-fp/extendxftf2.c: Likewise.
3321 * soft-fp/fixdfdi.c: Likewise.
3322 * soft-fp/fixdfsi.c: Likewise.
3323 * soft-fp/fixdfti.c: Likewise.
3324 * soft-fp/fixsfdi.c: Likewise.
3325 * soft-fp/fixsfsi.c: Likewise.
3326 * soft-fp/fixsfti.c: Likewise.
3327 * soft-fp/fixtfdi.c: Likewise.
3328 * soft-fp/fixtfsi.c: Likewise.
3329 * soft-fp/fixtfti.c: Likewise.
3330 * soft-fp/fixunsdfdi.c: Likewise.
3331 * soft-fp/fixunsdfsi.c: Likewise.
3332 * soft-fp/fixunsdfti.c: Likewise.
3333 * soft-fp/fixunssfdi.c: Likewise.
3334 * soft-fp/fixunssfsi.c: Likewise.
3335 * soft-fp/fixunssfti.c: Likewise.
3336 * soft-fp/fixunstfdi.c: Likewise.
3337 * soft-fp/fixunstfsi.c: Likewise.
3338 * soft-fp/fixunstfti.c: Likewise.
3339 * soft-fp/floatdidf.c: Likewise.
3340 * soft-fp/floatdisf.c: Likewise.
3341 * soft-fp/floatditf.c: Likewise.
3342 * soft-fp/floatsidf.c: Likewise.
3343 * soft-fp/floatsisf.c: Likewise.
3344 * soft-fp/floatsitf.c: Likewise.
3345 * soft-fp/floattidf.c: Likewise.
3346 * soft-fp/floattisf.c: Likewise.
3347 * soft-fp/floattitf.c: Likewise.
3348 * soft-fp/floatundidf.c: Likewise.
3349 * soft-fp/floatundisf.c: Likewise.
3350 * soft-fp/floatunsidf.c: Likewise.
3351 * soft-fp/floatunsisf.c: Likewise.
3352 * soft-fp/floatuntidf.c: Likewise.
3353 * soft-fp/floatuntisf.c: Likewise.
3354 * soft-fp/floatuntitf.c: Likewise.
3355 * soft-fp/fmadf4.c: Likewise.
3356 * soft-fp/fmasf4.c: Likewise.
3357 * soft-fp/fmatf4.c: Likewise.
3358 * soft-fp/gedf2.c: Likewise.
3359 * soft-fp/gesf2.c: Likewise.
3360 * soft-fp/getf2.c: Likewise.
3361 * soft-fp/ledf2.c: Likewise.
3362 * soft-fp/lesf2.c: Likewise.
3363 * soft-fp/letf2.c: Likewise.
3364 * soft-fp/muldf3.c: Likewise.
3365 * soft-fp/mulsf3.c: Likewise.
3366 * soft-fp/multf3.c: Likewise.
3367 * soft-fp/negdf2.c: Likewise.
3368 * soft-fp/negsf2.c: Likewise.
3369 * soft-fp/negtf2.c: Likewise.
3370 * soft-fp/op-1.h: Likewise.
3371 * soft-fp/op-2.h: Likewise.
3372 * soft-fp/op-4.h: Likewise.
3373 * soft-fp/op-8.h: Likewise.
3374 * soft-fp/op-common.h: Likewise.
3375 * soft-fp/quad.h: Likewise.
3376 * soft-fp/single.h: Likewise.
3377 * soft-fp/soft-fp.h: Likewise.
3378 * soft-fp/sqrtdf2.c: Likewise.
3379 * soft-fp/sqrtsf2.c: Likewise.
3380 * soft-fp/sqrttf2.c: Likewise.
3381 * soft-fp/subdf3.c: Likewise.
3382 * soft-fp/subsf3.c: Likewise.
3383 * soft-fp/subtf3.c: Likewise.
3384 * soft-fp/truncdfsf2.c: Likewise.
3385 * soft-fp/trunctfdf2.c: Likewise.
3386 * soft-fp/trunctfsf2.c: Likewise.
3387 * soft-fp/trunctfxf2.c: Likewise.
3388 * soft-fp/unorddf2.c: Likewise.
3389 * soft-fp/unordsf2.c: Likewise.
3390 * soft-fp/unordtf2.c: Likewise.
3391
17c48a60
OB
33922013-10-14 Ondřej Bílka <neleai@seznam.cz>
3393
3394 [BZ #15672]
3395 * misc/error.c (error_tail): Fix possible buffer overflow.
3396
cabba934
OB
33972013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3398
3399 [BZ #13028]
3400 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3401 address.
3402
94bf958a
PM
34032013-10-14 P. J. McDermott <pj@pehjota.net>
3404
3405 [BZ #832]
3406 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3407 testing pipefail option.
3408
71b4dea7
JM
34092013-10-12 Joseph Myers <joseph@codesourcery.com>
3410
3411 * soft-fp/double.h: Indent preprocessor directives inside #if.
3412 * soft-fp/extended.h: Likewise.
3413 * soft-fp/op-2.h: Likewise.
3414 * soft-fp/op-4.h: Likewise.
3415 * soft-fp/op-common.h: Likewise.
3416 * soft-fp/quad.h: Likewise.
3417 * soft-fp/single.h: Likewise.
3418 * soft-fp/soft-fp.h: Likewise.
3419
55602758
YC
34202013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3421
3422 * iconv/iconv_prog.c: Fix typos.
3423 * stdio-common/psiginfo-data.h: Likewise.
3424
9cd83302
RT
34252013-10-12 Reuben Thomas <rrt@sc3d.org>
3426
3427 [BZ #15764]
3428 * locale/setlocale.c: Fix typo.
3429
99fd9f47
JM
34302013-10-12 Joseph Myers <joseph@codesourcery.com>
3431
b7ea74f0
JM
3432 [BZ #16036]
3433 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3434 signaling NaN arguments.
3435 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3436 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3437
8a509447
JM
3438 [BZ #14910]
3439 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3440 unordered operands.
3441 * soft-fp/gesf2.c (__gesf2): Likewise.
3442 * soft-fp/getf2.c (__getf2): Likewise.
3443 * soft-fp/ledf2.c (__ledf2): Likewise.
3444 * soft-fp/lesf2.c (__lesf2): Likewise.
3445 * soft-fp/letf2.c (__letf2): Likewise.
3446
98998e9f
JM
3447 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3448 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3449 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3450 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3451 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3452 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3453 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3454 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3455 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3456 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3457 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3458 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3459 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3460 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3461 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3462 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3463 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3464 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3465 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3466 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3467 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3468 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3469 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3470 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3471 * soft-fp/floattidf.c (__floattidf): Likewise.
3472 * soft-fp/floattisf.c (__floattisf): Likewise.
3473 * soft-fp/floattitf.c (__floattitf): Likewise.
3474 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3475 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3476 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3477 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3478 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3479 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3480 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3481 * soft-fp/gesf2.c (__gesf2): Likewise.
3482 * soft-fp/getf2.c (__getf2): Likewise.
3483 * soft-fp/ledf2.c (__ledf2): Likewise.
3484 * soft-fp/lesf2.c (__lesf2): Likewise.
3485 * soft-fp/letf2.c (__letf2): Likewise.
3486
8edc4a11
JM
3487 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3488 Undefine and redefine.
3489 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3490 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3491 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3492 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3493 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3494 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3495 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3496 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3497 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3498 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3499 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3500 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3501 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3502 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3503 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3504
8399acaf
JM
3505 [BZ #16032]
3506 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3507 without decrementing exponent if mantissa >= that for the
3508 denominator, not >.
3509 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3510 denominator, not >. Decrement exponent in < case instead of
3511 incrementing in >= case.
3512 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3513 without decrementing exponent if mantissa >= that for the
3514 denominator, not >.
3515
99fd9f47
JM
3516 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3517 computing saturated result for unsigned overflow.
3518
10e1cf6b
SP
35192013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3520 Jeff Law <law@redhat.com>
3521
3522 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3523 (atan2Mp): Add systemtap probe marker.
3524 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3525 (__ieee754_log): Add systemtap probe marker.
3526 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3527 (atanMp): Add systemtap probe marker.
3528 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3529 (tanMp): Add systemtap probe marker.
3530 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3531 (__slowexp): Add systemtap probe marker.
3532 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3533 (__slowpow): Add systemtap probe marker.
3534 * manual/probes.texi: Document probes.
3535
3d110c7c
EB
35362013-10-11 Eric Biggers <ebiggers3@gmail.com>
3537
3538 [BZ #15362]
3539 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3540 written.
3541 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3542 written.
3543 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3544 written to buffer but not flushed.
3545 * libio/iofwrite_u.c: Likewise.
3546 * libio/iopadn.c: Return bytes returned even if EOF was
3547 encountered.
3548 * libio/iowpadn.c: Likewise.
3549 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3550 if _IO_padn does not write the whole buffer.
3551 [!COMPILE_WPRINTF] (PAD): Likewise.
3552
75b4202a
DM
35532013-10-10 David S. Miller <davem@davemloft.net>
3554
3555 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3556 directory block.
3557
6c6352e6
JM
35582013-10-10 Joseph Myers <joseph@codesourcery.com>
3559
33b853c3
JM
3560 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3561 instead of FSF address.
3562 * soft-fp/fixdfti.c: Likewise.
3563 * soft-fp/fixsfti.c: Likewise.
3564 * soft-fp/fixtfti.c: Likewise.
3565 * soft-fp/fixunsdfti.c: Likewise.
3566 * soft-fp/fixunssfti.c: Likewise.
3567 * soft-fp/fixunstfti.c: Likewise.
3568 * soft-fp/floattidf.c: Likewise.
3569 * soft-fp/floattisf.c: Likewise.
3570 * soft-fp/floattitf.c: Likewise.
3571 * soft-fp/floatuntidf.c: Likewise.
3572 * soft-fp/floatuntisf.c: Likewise.
3573 * soft-fp/floatuntitf.c: Likewise.
3574 * soft-fp/trunctfxf2.c: Likewise.
3575
6c6352e6
JM
3576 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3577 * soft-fp/fixdfti.c: Likewise.
3578 * soft-fp/fixsfti.c: Likewise.
3579 * soft-fp/fixtfti.c: Likewise.
3580 * soft-fp/fixunsdfti.c: Likewise.
3581 * soft-fp/fixunssfti.c: Likewise.
3582 * soft-fp/fixunstfti.c: Likewise.
3583 * soft-fp/floattidf.c: Likewise.
3584 * soft-fp/floattisf.c: Likewise.
3585 * soft-fp/floattitf.c: Likewise.
3586 * soft-fp/floatuntidf.c: Likewise.
3587 * soft-fp/floatuntisf.c: Likewise.
3588 * soft-fp/floatuntitf.c: Likewise.
3589 * soft-fp/trunctfxf2.c: Likewise.
3590
3bf78b71
DM
35912013-10-10 David S. Miller <davem@davemloft.net>
3592
3593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3594
6f10289e
JM
35952013-10-10 Joseph Myers <joseph@codsourcery.com>
3596
bd878fc0
JM
3597 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3598 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3599 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3600 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3601 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3602 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3603 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3604
6f10289e
JM
3605 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3606 for NaNs before doing comparisons on argument.
3607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3608 Likewise.
3609
321e2684
WN
36102013-10-10 Will Newton <will.newton@linaro.org>
3611
3612 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3613 passed to _int_memalign does not overflow.
3614
40fefba1
TR
36152013-10-10 Torvald Riegel <triegel@redhat.com>
3616
3617 * scripts/bench.pl: Add include-sources directive.
3618 * benchtests/README: Update documentation.
3619
2ae21ed2
JM
36202013-10-10 Joseph Myers <joseph@codesourcery.com>
3621
dcc2dd3f
JM
3622 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3623 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3624 instead of FP_INIT_ROUNDMODE.
3625 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3626 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3627
2ae21ed2
JM
3628 [BZ #16034]
3629 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3630 copy class of input value.
3631 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3632 not handle exceptions.
3633 * soft-fp/negsf2.c (__negsf2): Likewise.
3634 * soft-fp/negtf2.c (__negtf2): Likewise.
3635 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3636
cb8f9562
JM
36372013-10-09 Joseph Myers <joseph@codesourcery.com>
3638
3639 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3640 semicolon. From Linux kernel.
3641
5b60c59d
AB
36422013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3643
3644 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3645
b86835ca
YC
36462013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3647
3648 [BZ #156]
3649 * manual/socket.texi: Added statement about buffer
3650 for gethostbyname2_r.
3651
e7044ea7
OB
36522013-10-08 Ondřej Bílka <neleai@seznam.cz>
3653
3654 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3655 Use .p2align directive instead, throughout.
3656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3657 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3658 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3659 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3661 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3662 * sysdeps/x86_64/strchr.S: Likewise.
3663 * sysdeps/x86_64/strrchr.S: Likewise.
3664
09544cbc
SP
36652013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3666
88576635
SP
3667 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3668
e7b2d1dd
SP
3669 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3670
09544cbc
SP
3671 * sysdeps/generic/math_private.h (__mpsin1): Remove
3672 declaration.
3673 (__mpcos1): Likewise.
3674 (__mpsin): New argument __range_reduce.
3675 (__mpcos): Likewise.
3676 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3677 (slow): Use __mpsin and __mpcos.
3678 (slow1): Likewise.
3679 (slow2): Likewise.
3680 (sloww): Likewise.
3681 (sloww1): Likewise.
3682 (sloww2): Likewise.
3683 (bsloww): Likewise.
3684 (bsloww1): Likewise.
3685 (bsloww2): Likewise.
3686 (cslow2): Likewise.
3687 (csloww): Likewise.
3688 (csloww1): Likewise.
3689 (csloww2): Likewise.
3690 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3691 range_reduce. Merge in __mpsin1.
3692 (__mpcos): Likewise.
3693 (__mpsin1): Remove.
3694 (__mpcos1): Likewise.
3695
7602d070
JM
36962013-10-07 Joseph Myers <joseph@codesourcery.com>
3697
3698 * locale/loadlocale.c (_nl_intern_locale_data): Use
3699 LOCFILE_ALIGNED_P.
3700 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3701 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3702 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3703 obstack data is appropriately aligned.
3704 (obstack_int32_grow_fast): Likewise.
3705 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3706 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3707 (add_locale_uint32_array): Likewise.
3708
a357259b
SP
37092013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3710
3711 * benchtests/Makefile: Remove ARGLIST and RET variables.
3712 ($(objpfx)bench-%.c): Pass only function name to the script.
3713 * benchtests/README: Update documentation.
3714 * benchtests/acos-inputs: Add new directives.
3715 * benchtests/acosh-inputs: Likewise.
3716 * benchtests/asin-inputs: Likewise.
3717 * benchtests/asinh-inputs: Likewise.
3718 * benchtests/atan-inputs: Likewise.
3719 * benchtests/atanh-inputs: Likewise.
3720 * benchtests/cos-inputs: Likewise.
3721 * benchtests/cosh-inputs: Likewise.
3722 * benchtests/exp-inputs: Likewise.
3723 * benchtests/log-inputs: Likewise.
3724 * benchtests/pow-inputs: Likewise.
3725 * benchtests/rint-inputs: Likewise.
3726 * benchtests/sin-inputs: Likewise.
3727 * benchtests/sinh-inputs: Likewise.
3728 * benchtests/tan-inputs: Likewise.
3729 * benchtests/tanh-inputs: Likewise.
3730 * scripts/bench.pl: Add support for new directives.
3731
9ec1b13d
AM
37322013-10-07 Alan Modra <amodra@gmail.com>
3733
3734 * README: Fix careless merge.
3735
8b7d57cd
AM
37362013-10-05 Alan Modra <amodra@gmail.com>
3737
3738 * NEWS: Mention powerpc64le support and bugs fixed.
3739 * README: Both big-endian and little-endian powerpc64 supported.
3740
7b7bab13
ST
37412013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3742
3743 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3744 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3745 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3746 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3747
d39baad1
RA
37482013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3749
3750 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3751 match prototype.
3752
cd78f7e7
JM
37532013-10-04 Joseph Myers <joseph@codesourcery.com>
3754
29d73d86
JM
3755 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3756 Move -mhard-float appending from
3757 ports/sysdeps/powerpc/powerpc32/Makefile.
3758 [$(with-fp) = yes] (ASFLAGS): Likewise.
3759 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3760 * sysdeps/powerpc/nofpu: Move directory from
3761 ports/sysdeps/powerpc/nofpu.
3762 * sysdeps/powerpc/soft-fp: Move directory from
3763 ports/sysdeps/powerpc/soft-fp.
3764 * sysdeps/powerpc/powerpc32/405: Move directory from
3765 ports/sysdeps/powerpc/powerpc32/405.
3766 * sysdeps/powerpc/powerpc32/440: Move directory from
3767 ports/sysdeps/powerpc/powerpc32/440.
3768 * sysdeps/powerpc/powerpc32/464: Move directory from
3769 ports/sysdeps/powerpc/powerpc32/464.
3770 * sysdeps/powerpc/powerpc32/476: Move directory from
3771 ports/sysdeps/powerpc/powerpc32/476.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3773 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3775 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3777 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3781 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3782 * README: Update for powerpc-*-linux-gnu software floating point
3783 support in libc.
3784
e246b347
JM
3785 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3786 case to powerpc/powerpc32*.
3787 * sysdeps/unix/sysv/linux/configure: Regenerated.
3788
89c2003e
JM
3789 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3790 (_FPU_MASK_OM): Define as 0x04.
3791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3793 0x00c10080.
3794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3795 0x0000003c.
3796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3797
cd78f7e7
JM
3798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3799 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3800 getcontext_e500.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3802 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3803 setcontext_e500.
3804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3805 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3806 and setcontext_e500.
3807
c755294d
CL
38082013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3809
3810 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3811
e16d221c
SP
38122013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3813
3814 * manual/threads.texi (Default Thread Attributes): Fix typo.
3815
215c7d43
WN
38162013-10-04 Will Newton <will.newton@linaro.org>
3817
3818 * malloc/Makefile: Add tst-memalign.
3819 * malloc/tst-memalign.c: New file.
3820
27d0461b
WN
3821 * malloc/tst-posix_memalign.c: Add comments.
3822 (do_test): Add comments and call free on all potentially
3823 allocated pointers. Add space after cast.
3824
1bc92709
WN
3825 * malloc/tst-pvalloc.c: Add comments.
3826 (do_test): Add comments and call free on all potentially
3827 allocated pointers. Remove duplicate check for NULL pointer.
3828 Add space after cast.
3829
66a9be9d
WN
3830 * malloc/tst-valloc.c: Add comments.
3831 (do_test): Add comments and call free on all potentially
3832 allocated pointers. Remove duplicate check for NULL pointer.
3833 Add space after cast.
3834
4cb81307
AM
38352013-10-04 Alan Modra <amodra@gmail.com>
3836
3837 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3838 Use stdint types in rather than __attribute__((mode())).
3839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3840
f8e3e9f3
AM
38412013-10-04 Alan Modra <amodra@gmail.com>
3842
3843 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3844 Correct handling of unaligned relocs for little-endian.
3845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3846
8f9ebb08
AM
38472013-10-04 Alan Modra <amodra@gmail.com>
3848
3849 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3850 * configure: Regenerate.
3851 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3852 * shlib-versions: Likewise.
3853
0edf96c2
AM
38542013-10-04 Alan Modra <amodra@gmail.com>
3855
3856 * string/tester.c (test_memrchr): Increment reported test cycle.
3857
e0f7a380
AM
38582013-10-04 Alan Modra <amodra@gmail.com>
3859
3860 * string/test-memcpy.c (do_one_test): When reporting errors, print
3861 string address and don't overrun end of string.
3862
466b0393
AM
38632013-10-04 Alan Modra <amodra@gmail.com>
3864
3865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3866 insrdi. Make better use of reg selection to speed exit slightly.
3867 Schedule entry path a little better. Remove useless "are we done"
3868 checks on entry to main loop. Handle wrapping around zero address.
3869 Correct main loop count. Handle single left-over word from main
3870 loop inline rather than by using loop_small. Remove extra word
3871 case in loop_small caused by wrong loop count. Add little-endian
3872 support.
3873 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3874 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3875 cache hint.
3876 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3877 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3878 support. Avoid rlwimi.
3879 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3880
3be87c77
AM
38812013-10-04 Alan Modra <amodra@gmail.com>
3882
3883 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3884 insrdi. Formatting.
3be87c77
AM
3885 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3886 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3887 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3888 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3889 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3890 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3891
759cfef3
AM
38922013-10-04 Alan Modra <amodra@gmail.com>
3893
3894 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3895 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3896 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3897 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3898 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3899 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3901 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3902 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3903 use of regs. Use power7 mtocrf. Tidy function tails.
3904
fe6e95d7
AM
39052013-10-04 Alan Modra <amodra@gmail.com>
3906
3907 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3908 Formatting. Consistently use rXXX register defines or rN defines.
3909 Use early exit labels that avoid restoring unused non-volatile regs.
3910 Make cr field use more consistent with rWORDn compares. Rename
3911 regs used as shift registers for unaligned loop, using rN defines
3912 for short lifetime/multiple use regs.
3913 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3915 addi 1,1,64 to pop stack frame. Simplify return value code.
3916 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3917
664318c3
AM
39182013-10-04 Alan Modra <amodra@gmail.com>
3919
3920 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3921 support. Correct typos, formatting. Optimize tail. Use insrdi
3922 rather than rlwimi.
3923 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3925 little-endian support. Correct typos.
3926 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3927 rather than rlwimi.
3928 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3929 in loop and entry code to keep "and." results.
3930 (strchr): Add little-endian support. Comment. Move cntlzd
3931 earlier in tail.
3932 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3933
43b84013
AM
39342013-10-04 Alan Modra <amodra@gmail.com>
3935
3936 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3937 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3939 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3940
8a7413f9
AM
39412013-10-04 Alan Modra <amodra@gmail.com>
3942
3943 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3944 (rTMP): Define as r11.
3945 (strcmp): Add little-endian support. Optimise tail.
3946 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3947 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3948 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3949 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3950 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3953
33ee81de
AM
39542013-10-04 Alan Modra <amodra@gmail.com>
3955
3956 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3957 little-endian support. Remove unnecessary "are we done" tests.
3958 Handle "s" wrapping around zero and extremely large "size".
3959 Correct main loop count. Handle single left-over word from main
3960 loop inline rather than by using small_loop. Correct comments.
3961 Delete "zero" tail, use "end_max" instead.
3962 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3963
db9b4570
AM
39642013-10-04 Alan Modra <amodra@gmail.com>
3965
3966 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3967 support. Don't branch over align.
3968 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3969 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3970 support. Rearrange tmp reg use to suit. Comment.
3971 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3972
f7c399cf
AM
39732013-10-04 Alan Modra <amodra@gmail.com>
3974
3975 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3976
0b2c2ace
AM
39772013-10-04 Alan Modra <amodra@gmail.com>
3978
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3980 conditional form of branch and link when obtaining pc.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3982
02f04a6c
AM
39832013-10-04 Alan Modra <amodra@gmail.com>
3984
3985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3986 HIWORD/LOWORD.
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3989
9b874b2f
AM
39902013-10-04 Alan Modra <amodra@gmail.com>
3991
3992 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3993 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3994 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3995 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3996 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3997 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3998 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3999 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4000 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4001 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4002
be1e5d31
AB
40032013-10-04 Anton Blanchard <anton@au1.ibm.com>
4004 Alistair Popple <alistair@ozlabs.au.ibm.com>
4005 Alan Modra <amodra@gmail.com>
4006
4007 [BZ #15723]
4008 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4009 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4010 _dl_hwcap access for little-endian.
4011 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4012 destroy vmx regs when saving unaligned.
4013 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4014 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4015 destroy vmx regs when saving unaligned.
4016
fef13a78
AM
40172013-10-04 Alan Modra <amodra@gmail.com>
4018
4019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4020 Don't use a union to pack hi/low value.
4021
76a66d51
AB
40222013-10-04 Anton Blanchard <anton@au1.ibm.com>
4023
4024 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4025 for little-endian.
4026 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4027 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4028 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4029 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4030 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4031
6a31fe7f
AM
40322013-10-04 Alan Modra <amodra@gmail.com>
4033
4034 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4035 constants to usual value for .cst8 section, and remove redundant
4036 high address load.
4037 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4038 constant for 0x1p52. Load little-endian words of double from
4039 correct stack offsets.
4040
7b88401f
AM
40412013-10-04 Alan Modra <amodra@gmail.com>
4042
4043 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4044 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4045 words of double from correct stack offsets.
4046 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4047 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4048 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4049 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4050 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4052 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4053 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4054 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4058 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4059 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4060 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4061 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4062 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4063
9c008155
AM
40642013-10-04 Alan Modra <amodra@gmail.com>
4065
4066 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4067 64-bit int/double union.
4068 (_FPU_SETCW): Likewise.
4069 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4070 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4071
da13146d
AM
40722013-10-04 Alan Modra <amodra@gmail.com>
4073
4074 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4075 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4076
603e8410
AM
40772013-10-04 Alan Modra <amodra@gmail.com>
4078
4079 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4080 use vector int constants.
4081 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4082
4a28b3ca
AB
40832013-10-04 Anton Blanchard <anton@au1.ibm.com>
4084
4085 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4086 array with long long.
4087 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4088 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4089 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4090 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4091 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4092 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4093 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4094 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4095 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4096 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4097 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4098 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4099 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4100
2ca85d2b
AB
41012013-10-04 Anton Blanchard <anton@au1.ibm.com>
4102
4103 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4104 (__signbit): Likewise. Correct for little-endian.
4105 (__signbitl): Call __signbit.
4106 (lrint): Correct for little-endian.
4107 (lrintf): Call lrint.
4108
62a728ae
AM
41092013-10-04 Alan Modra <amodra@gmail.com>
4110
4111 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4112 union 32-bit int array member with 64-bit int array.
4113 (t515, tm256): Double rather than long double.
4114 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4115
32c301df
AM
41162013-10-04 Alan Modra <amodra@gmail.com>
4117
4118 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4119 Delete.
4120 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4122 version of math_ldbl.h.
4123
650ef4bd
AM
41242013-10-04 Alan Modra <amodra@gmail.com>
4125
4126 [BZ #15734], [BZ #15735]
4127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4128 all uses of ieee875 long double macros and unions. Simplify test
4129 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4130 ldbl_extract_mantissa value for ix,iy exponents. Properly
4131 normalize after ldbl_extract_mantissa, and don't add hidden bit
4132 already handled. Don't treat low word of ieee854 mantissa like
4133 low word of IBM long double and mask off bit when testing for
4134 zero.
4135 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4136 all uses of ieee875 long double macros and unions. Simplify tests
4137 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4138 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4139 two1022, instead use their values. Recognise that tests for large
4140 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4142 Rewrite all uses of ieee875 long double macros and unions. Simplify
4143 test for 0.0L and nan. Correct negation.
4144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4145 ieee875 long double macros and unions. Correct output for large
4146 magnitude x. Correct absolute value calculation.
4147 (__erfcl): Likewise.
4148 * math/libm-test.inc: Add tests for errors discovered in IBM long
4149 double versions of fmodl, remainderl, erfl and erfcl.
4150
765714ca
AM
41512013-10-04 Alan Modra <amodra@gmail.com>
4152
4153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4154 all uses of ieee854 long double macros and unions. Simplify tests
4155 for long doubles that are fully specified by the high double.
4156 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4157 Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4159 Remove dead code too.
4160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4161 (__ieee754_ynl): Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4165 Remove dead code too.
4166 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4170 Simplify.
4171 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4172 Simplify.
4173 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4176 Comment on variable precision.
4177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4179 Likewise.
4180 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4185
4ebd120c
AM
41862013-10-04 Alan Modra <amodra@gmail.com>
4187
4188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4190 all uses of ieee854 long double macros and unions.
4191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4197 Likewise.
4198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4202 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4203 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4204 Simplify sign and nan test too.
4205 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4206 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4208 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4209 Likewise.
4210 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4211 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4212 Likewise.
4213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4214 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4215 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4217 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4219
1b6adf88
AM
42202013-10-04 Alan Modra <amodra@gmail.com>
4221
4222 * stdio-common/printf_size.c (__printf_size): Don't use
4223 union ieee854_long_double in fpnum union.
4224 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4225 signbit macro to retrieve sign from long double.
4226 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4227 retrieve sign from long double.
4228 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4229 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4230 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4231 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4232 * math/test-misc.c (main): Don't use union ieee854_long_double.
4233
4cf69995
AM
42342013-10-04 Alan Modra <amodra@gmail.com>
4235
4236 [BZ #15680]
4237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4238 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4239 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4240 calculation. Remove unnecessary test for denormal exponent.
4241 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4242 Correct handling of denormals. Avoid undefined shift behaviour.
4243 Correct normalisation of low mantissa when low double is denormal.
4244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4245 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4246 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4247 Correct normalisation of low mantissa. Test for overflow of high
4248 mantissa and normalise.
4249 (ldbl_nearbyint): Use more readable constant for two52.
4250 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4251 (__mpn_construct_long_double): Fix test for overflow of high
4252 mantissa and correct normalisation. Avoid undefined shift.
4253
9605ca6c
AM
42542013-10-04 Alan Modra <amodra@gmail.com>
4255
4256 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4257 (union ibm_extended_long_double): Define as an array of ieee754_double.
4258 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4259 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4260 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4261 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4269
975569d0
JM
42702013-10-03 Joseph Myers <joseph@codesourcery.com>
4271
d3d23756
JM
4272 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4273 page size instead of calling getpagesize.
4274
975569d0
JM
4275 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4276 (LOCFILE_ALIGN_MASK): Likewise.
4277 (LOCFILE_ALIGN_UP): Likewise.
4278 (LOCFILE_ALIGNED_P): Likewise.
4279 * locale/programs/ld-collate.c (collate_output): Use the new
4280 macros instead of __alignof__ (int32_t).
4281 * locale/weight.h (findidx): Likewise.
4282
b1fe1f2b
OB
42832013-10-03 Ondřej Bílka <neleai@seznam.cz>
4284
4285 [BZ #431]
4286 * manual/string.texi: Fix strncat and wcsncat.
4287
5f855e35
BM
42882013-10-03 Brooks Moses <bmoses@google.com>
4289
4290 [BZ #15915]
4291 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4292 * Makerules: ...here, and adjust associated comments.
4293
3cef6009
WN
42942013-10-02 Will Newton <will.newton@linaro.org>
4295
4296 * malloc/Makefile: Add tst-pvalloc.
4297 * malloc/tst-pvalloc.c: New file.
4298
7815420b
WN
42992013-10-02 Will Newton <will.newton@linaro.org>
4300
4301 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4302 improve test coverage.
4303
4868b204
WN
43042013-10-02 Will Newton <will.newton@linaro.org>
4305
4306 * malloc/Makefile: Add tst-posix_memalign.
4307 * malloc/tst-posix_memalign.c: New file.
4308
29c793b3
EB
43092013-10-01 Eric Blake <eblake@redhat.com>
4310
4311 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4312 Use __THROWNL rather than __THROW on static functions.
4313
fd967522
PM
43142013-09-30 Petr Machata <pmachata@redhat.com>
4315
4316 * elf/elf.h (R_AARCH64_ABS16): New macro.
4317 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4318 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4319 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4320 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4321 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4322 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4323 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4324 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4325 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4326 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4327 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4328 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4329 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4330 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4331 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4332 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4333 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4334 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4335 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4336 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4337 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4338 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4339 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4340 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4341 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4342 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4343 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4344 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4345 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4346 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4347 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4348 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4349 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4350 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4351 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4352 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4353 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4354 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4355 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4356 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4357 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4358 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4359 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4360 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4361 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4362 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4363 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4364 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4365 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4366 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4367 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4368 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4369 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4370 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4371 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4372 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4373 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4374 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4375 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4376 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4377 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4378 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4379 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4380 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4381 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4382 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4383 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4384 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4385 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4386 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4387 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4388 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4389 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4390 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4391 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4392 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4393 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4394 (R_AARCH64_TLSDESC_LDR): Likewise.
4395 (R_AARCH64_TLSDESC_ADD): Likewise.
4396 (R_AARCH64_TLSDESC_CALL): Likewise.
4397
b2179107
AS
43982013-09-30 Andreas Schwab <schwab@suse.de>
4399
4400 [BZ #15048]
4401 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4402 the nss database lookup.
4403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4405
47f28d0a
MF
44062013-09-28 Mike Frysinger <vapier@gentoo.org>
4407
4408 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4409
44102013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4411
4412 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4413 ${Bash-specific parameter/pattern/string} parameter expansion.
4414 * sysdeps/unix/make-syscalls.sh: Likewise.
4415
f4518a17
KK
44162013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4417
4418 * sysdeps/sh/stackguard-macros.h: New file.
4419
dc1a95c7
OB
44202013-09-26 Ondřej Bílka <neleai@seznam.cz>
4421
4422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4424 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4425 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4427 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4428
5ebbff8f
AZ
44292013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4430
4431 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4432 Fix thread ID register.
4433
4fd2cf9f
JM
44342013-09-25 Joseph Myers <joseph@codesourcery.com>
4435
4436 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4437 [POSIX || UNIX98]: Require rather than permitting all symbols from
4438 <time.h>.
4439 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4440 element of struct sched_param.
4441 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4442 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4443 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4444 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4445 constant.
4446
12c22bc4
OL
44472013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4448
4449 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4450 argument calculation.
4451
a03d8ea7
JM
44522013-09-24 Joseph Myers <joseph@codesourcery.com>
4453
4454 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4455 Expect macro.
4456 [POSIX] (pthread_attr_t): Do not require type.
4457 [POSIX] (pthread_cond_t): Likewise.
4458 [POSIX] (pthread_condattr_t): Likewise.
4459 [POSIX] (pthread_key_t): Likewise.
4460 [POSIX] (pthread_mutex_t): Likewise.
4461 [POSIX] (pthread_mutexattr_t): Likewise.
4462 [POSIX] (pthread_once_t): Likewise.
4463 [POSIX] (pthread_t): Likewise.
4464 [POSIX-based standards] (pthread_atfork): Expect function.
4465
6055173a
JM
44662013-09-24 Joseph Myers <joseph@codesourcery.com>
4467 Richard Sandiford <richard@codesourcery.com>
4468
4469 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4470 (swap_endianness_p): New extern variable.
4471 (set_big_endian): New inline function.
4472 (maybe_swap_uint32): Likewise.
4473 (maybe_swap_uint32_array): Likewise.
4474 (maybe_swap_uint32_obstack): Likewise.
4475 * locale/programs/locfile.c: Include <stdbool.h>.
4476 (swap_endianness_p): New variable.
4477 (add_locale_uint32): Call maybe_swap_uint32.
4478 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4479 (write_locale_data): Call maybe_swap_uint32_array.
4480 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4481 maybe_swap_uint32.
4482 (obstack_int32_grow_fast): Likewise.
4483 (output_weightwc): Call maybe_swap_uint32_obstack.
4484 (collate_output): Likewise.
4485 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4486 (OPT_LITTLE_ENDIAN): Likewise.
4487 (options): Add --little-endian and --big-endian options.
4488 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4489 * locale/programs/locarchive.c: Include "locfile.h".
4490 (GET): New macro.
4491 (SET): Likewise.
4492 (INC): Likewise.
4493 (create_archive): Use the new macros to access fields of
4494 structures directly mapped from or written to locale archives.
4495 (oldlocrecentcmp): Likewise.
4496 (enlarge_archive): Likewise.
4497 (insert_name): Likewise.
4498 (add_alias): Likewise.
4499 (add_locale): Likewise.
4500 (delete_locales_from_archive): Likewise.
4501 (show_archive_content): Likewise.
4502 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4503 locale data.
4504
39bf0bb4
RM
45052013-09-24 Roland McGrath <roland@hack.frob.com>
4506
4507 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4508 http://www.gnu.org/doc/freemanuals.texi.
4509 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4510
f02eed10
WN
45112013-09-24 Will Newton <will.newton@linaro.org>
4512
4513 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4514 macro.
4515
a3a6c312
JM
45162013-09-23 Joseph Myers <joseph@codesourcery.com>
4517
4518 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4519 unsigned char.
4520
107375ac
MR
45212013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4522
4523 * manual/threads.texi (POSIX Threads): Fix a typo.
4524
141f3a77
SP
45252013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4526
303e567a
SP
4527 [BZ #14547]
4528 * string/tst-strcoll-overflow.c: New test case.
4529 * string/Makefile (xtests): Add tst-strcoll-overflow.
4530 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4531 cache if string sizes may cause integer overflow.
4532
141f3a77
SP
4533 [BZ #14547]
4534 * string/strcoll_l.c (coll_seq): New members rule, idx,
4535 save_idx and back_us.
4536 (get_next_seq_nocache): New function.
4537 (do_compare_nocache): New function.
4538 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4539 when malloc fails.
4540
c61b4d41
CD
45412013-09-23 Carlos O'Donell <carlos@redhat.com>
4542
0b1f8e35
CD
4543 [BZ #15754]
4544 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4545 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4546 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4547
c61b4d41
CD
4548 [BZ #15754]
4549 * elf/Makefile (tests): Add tst-ptrguard1.
4550 (tests-static): Add tst-ptrguard1-static.
4551 (tst-ptrguard1-ARGS): Define.
4552 (tst-ptrguard1-static-ARGS): Define.
4553 * elf/tst-ptrguard1.c: New file.
4554 * elf/tst-ptrguard1-static.c: New file.
4555 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4556 * sysdeps/i386/stackguard-macros.h: Likewise.
4557 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4558 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4559 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4560 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4561 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4562 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4563
45642013-09-23 Hector Marco <hecmargi@upv.es>
4565 Ismael Ripoll <iripoll@disca.upv.es>
4566 Carlos O'Donell <carlos@redhat.com>
4567
4568 [BZ #15754]
4569 * sysdeps/generic/stackguard-macros.h: Define
4570 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4571 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4572 Define __pointer_chk_guard_local.
4573 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4574 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4575
f5f4e7b4
VV
45762013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4577
4578 [BZ #15859]
4579 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4580
5bb43a43
AS
45812013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4582
4583 * include/string.h (__ffs): Declare as hidden.
4584 * string/ffs.c (__ffs): Define as hidden.
4585 * sysdeps/i386/ffs.c (__ffs): Likewise.
4586 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4587 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4588 * sysdeps/s390/ffs.c (__ffs): Likewise.
4589 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4590
3ea5be54
AO
45912013-09-20 Alexandre Oliva <aoliva@redhat.com>
4592
ffb89e53
AO
4593 * NEWS: Mention malloc probes.
4594
322dea08
AO
4595 * malloc/arena.c (new_heap): New memory_heap_new probe.
4596 (grow_heap): New memory_heap_more probe.
4597 (shrink_heap): New memory_heap_less probe.
4598 (heap_trim): New memory_heap_free probe.
4599 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4600 (systrim): New memory_sbrk_less probe.
4601 * manual/probes.texi: Document them.
4602
655673f3
AO
4603 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4604 * manual/probes.texi: Document it.
4605
35fed6f1
AO
4606 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4607 (__libc_realloc): Add memory_realloc_retry probe.
4608 (__libc_memalign): Add memory_memalign_retry probe.
4609 (__libc_valloc): Add memory_valloc_retry probe.
4610 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4611 (__libc_calloc): Add memory_calloc_retry probe.
4612 * manual/probes.texi: Document them.
4613
6999d38c
AO
4614 * malloc/arena.c (get_free_list): Add probe
4615 memory_arena_reuse_free_list.
4616 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4617 and memory_arena_reuse.
4618 (arena_get2) [!PER_THREAD]: Likewise.
4619 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4620 memory_arena_reuse_realloc.
4621 * manual/probes.texi: Document them.
4622
0653427f
AO
4623 * malloc/malloc.c (__libc_free): Add
4624 memory_mallopt_free_dyn_thresholds probe.
4625 (__libc_mallopt): Add multiple memory_mallopt probes.
4626 * manual/probes.texi: Document them.
4627
3ea5be54
AO
4628 * malloc/malloc.c: Include stap-probe.h.
4629 (__libc_mallopt): Add memory_mallopt probe.
4630 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4631 * manual/probes.texi: New.
4632 * manual/Makefile (chapters): Add probes.
4633 * manual/threads.texi: Set next node.
4634
e35696c3 46352013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4636
e35696c3
CL
4637 [BZ #15963, #13985]
4638 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4639 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4640 Add `Chinese' to `nan' entry name.
4641
4aafb73c
SP
46422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4643
4644 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4645 (POLYNOMIAL): Likewise.
4646 (TAYLOR_SINCOS): Likewise.
4647 (TAYLOR_SLOW): Likewise.
4648 (__sin): Use TAYLOR_SINCOS.
4649 (__cos): Likewise.
4650 (slow): Use TAYLOR_SLOW.
4651 (sloww): Likewise.
4652 (bsloww): Likewise.
4653 (csloww): Likewise.
4654
d84f25c7
LD
46552013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4656
4657 * stdlib/strtod_l.c: Fix buffer overrun.
4658
5eea0404
SP
46592013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4660
7849ff93
SP
4661 * benchtests/Makefile (bench): Add sincos.
4662 * benchtests/bench-sincos.c: New file.
4663
cfa3c886
SP
4664 * math/libm-test.inc (cos_test_data): New test inputs.
4665 (sin_test_data): Likewise.
4666
b348e1e3
SP
4667 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4668 macro.
4669 (__sin): Use it.
4670 (__cos): Likewise.
4671 (slow1): Likewise.
4672 (slow2): Likewise.
4673 (sloww1): Likewise.
4674 (sloww2): Likewise.
4675 (bsloww1): Likewise.
4676 (bsloww2): Likewise.
4677 (cslow2): Likewise.
4678 (csloww1): Likewise.
4679 (csloww2): Likewise.
4680
6cce25f8
SP
4681 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4682 function.
4683 (__sin): Use it.
4684 (__cos): Likewise.
4685
5eea0404
SP
4686 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4687 gotos.
4688 (__cos): Likewise.
4689
9c21573c
MR
46902013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4691
4692 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4693 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4694 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4695 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4696 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4697 * elf/cache.c (print_entry): Handle the new cache flags.
4698
24d22e65
JM
46992013-09-18 Joseph Myers <joseph@codesourcery.com>
4700 Aldy Hernandez <aldyh@redhat.com>
4701
4702 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4703 Change condition to [_SOFT_FLOAT].
4704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4716 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4719 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4720 declaration.
4721
d13ef066
JM
47222013-09-18 Joseph Myers <joseph@codesourcery.com>
4723
2e071de0
JM
4724 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4725 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4726 (__longjmp): Use LOAD_GP to load saved GPRs.
4727 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4728 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4729 (__sigsetjmp): Use SAVE_GP to save GPRs.
4730
d13ef066
JM
4731 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4732 Do not append -msoft-float.
4733 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4734
97a0650b
SP
47352013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4736
4737 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4738
11ca09e9
JM
47392013-09-17 Joseph Myers <joseph@codesourcery.com>
4740
4741 [BZ #15966]
4742 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4743 (_FPU_GETCW): Use initial "__" on variable and field names but not
4744 on macro parameter name.
4745 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4746 parentheses around reference to macro parameter.
4747
08ffcf34
RS
47482013-09-13 Richard Sandiford <richard@codesourcery.com>
4749
4750 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4751 prototype.
4752 (ctype_startup): Use uint32_t in cast and sizeof for
4753 ctype->charnames.
4754
ae7080d3
JL
47552013-09-11 Jia Liu <proljc@gmail.com>
4756
4757 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4758 __daddr_t_defined.
4759 [__FreeBSD__]: Likewise.
4760
5905e7b3
OB
47612013-09-11 Ondřej Bílka <neleai@seznam.cz>
4762
4763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4764 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4765 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4766 (strchr): Remove __strchr_sse42 ifunc selection.
4767 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4768 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4769
b987c776
WN
47702013-09-11 Will Newton <will.newton@linaro.org>
4771
4772 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4773 parameter to RES. Remove hardcoded 1000 value.
4774 * benchtests/bench-skeleton.c (main): Pass RES parameter
4775 to TIMING_INIT and multiply result by 1000.
4776
ddf985af
AZ
47772013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4778
4779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4780
ffdd3181
AS
47812013-09-11 Andreas Schwab <schwab@suse.de>
4782
4783 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4784 if not defined.
4785 (O_TMPFILE) [__USE_GNU]: Define.
4786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4787 Define.
4788
b73ed247
WN
47892013-09-11 Will Newton <will.newton@linaro.org>
4790
4791 [BZ #15857]
4792 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4793 does not overflow.
4794
55e17aad
WN
47952013-09-11 Will Newton <will.newton@linaro.org>
4796
4797 [BZ #15856]
4798 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4799 does not overflow.
4800
1159a193
WN
48012013-09-11 Will Newton <will.newton@linaro.org>
4802
4803 [BZ #15855]
4804 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4805 does not overflow.
4806
5905e7b3 48072013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4808
4809 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4811 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4813 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4814
cdfc721b
AM
48152013-09-10 Allan McRae <allan@archlinux.org>
4816
aa04af00
AM
4817 [BZ #15748]
4818 * manual/arith.texi (Parsing of Floats): Clarify
4819 cross-reference.
4820
cdfc721b
AM
4821 [BZ #15849]
4822 * manual/install.texi (Running make install): Mention
4823 --enable-pt-chown.
4824 * INSTALL: Regenerated.
4825
95e7cf29
MR
48262013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4827
4828 * csu/init-first.c (_init): Remove the !SHARED condition around
4829 FPU control word initialization.
4830 * elf/dl-support.c (_dl_fpu_control): New variable.
4831 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4832 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4833 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4834 * math/test-fpucw-static.c: New file.
4835 * math/test-fpucw-ieee.c: New file.
4836 * math/test-fpucw-ieee-static.c: New file.
4837 * math/Makefile (tests): Add `test-fpucw-ieee' and
4838 `$(tests-static)'.
4839 (tests-static): New variable.
4840 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4841 dependency to...
4842 [($(build-shared),yes)]
4843 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4844 ... this.
4845 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4846 New dependency.
4847
83e43bf0
AM
48482013-09-09 Allan McRae <allan@archlinux.org>
4849
a9f5ce09
AM
4850 [BZ #15939]
4851 * manual/string.texi (Collation Functions): Fix typo in
4852 strcoll example.
4853 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4854
34829bc2
AM
4855 [BZ #15893]
4856 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4857
3932737d
AM
4858 [BZ #15892]
4859 * libio/memstream.c (open_memstream): Fix memory leak.
4860 * libio/wmemstream.c (open_wmemstream): Likewise.
4861
83e43bf0
AM
4862 [BZ #15895]
4863 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4864
0c66b8e9
WN
48652013-09-09 Will Newton <will.newton@linaro.org>
4866
4867 * malloc/Makefile: Add tst-realloc to tests.
4868 * malloc/tst-realloc.c: New file.
4869
f6b00fd1
AM
48702013-09-09 Allan McRae <allan@archlinux.org>
4871
4872 [BZ #15844]
4873 * COPYING: Update from GNU website to fix FSF address.
4874 * COPYING.LIB: Likewise.
4875
eec55e16
DM
48762013-09-06 David S. Miller <davem@davemloft.net>
4877
4878 * po/zh_TW.po: Update Chinese (traditional) translation from
4879 translation project.
4880
1ecbb381
RS
48812013-09-06 Richard Sandiford <richard@codesourcery.com>
4882 Joseph Myers <joseph@codesourcery.com>
4883
4884 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4885 "localeinfo.h".
4886 (obstack_chunk_alloc): New macro.
4887 (obstack_chunk_free): Likewise.
4888 (record_offset): New function.
4889 (init_locale_data): Likewise.
4890 (align_locale_data): Likewise.
4891 (add_locale_empty): Likewise.
4892 (add_locale_raw_data): Likewise.
4893 (add_locale_raw_obstack): Likewise.
4894 (add_locale_string): Likewise.
4895 (add_locale_wstring): Likewise.
4896 (add_locale_uint32): Likewise.
4897 (add_locale_uint32_array): Likewise.
4898 (add_locale_char): Likewise.
4899 (start_locale_structure): Likewise.
4900 (end_locale_structure): Likewise.
4901 (start_locale_prelude): Likewise.
4902 (end_locale_prelude): Likewise.
4903 (write_locale_data): Take locale_file structure rather than an
4904 iovec.
4905 * locale/programs/locfile.h: Include "obstack.h".
4906 (struct locale_file): Change to store locale file contents instead
4907 of header.
4908 (init_locale_data): New prototype.
4909 (align_locale_data): Likewise.
4910 (add_locale_empty): Likewise.
4911 (add_locale_raw_data): Likewise.
4912 (add_locale_raw_obstack): Likewise.
4913 (add_locale_string): Likewise.
4914 (add_locale_wstring): Likewise.
4915 (add_locale_uint32): Likewise.
4916 (add_locale_uint32_array): Likewise.
4917 (add_locale_char): Likewise.
4918 (start_locale_structure): Likewise.
4919 (end_locale_structure): Likewise.
4920 (start_locale_prelude): Likewise.
4921 (end_locale_prelude): Likewise.
4922 (write_locale_data): Update prototype.
4923 * locale/programs/3level.h (struct TABLE): Remove result field.
4924 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4925 Use new locale_file interface.
4926 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4927 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4928 * locale/programs/ld-address.c (address_output): Use new
4929 locale_file interface.
4930 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4931 NO_ADD_LOCALE.
4932 (collate_finish): Don't call collseq_table_finalize.
4933 (collate_output): Use new locale_file interface.
4934 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4935 in file.
4936 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4937 (TABLE): Move defines earlier in file.
4938 (ELEMENT): Likewise.
4939 (DEFAULT): Likewise.
4940 (wctrans_table_add): Move macro and inline function earlier in
4941 file.
4942 (struct wctype_table): Move type earlier in file.
4943 (add_locale_wctype_table): New static prototype.
4944 (struct locale_ctype_t): Use logical types instead of struct iovec
4945 pointers for members.
4946 (ctype_output): Use new locale_file interface.
4947 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4948 new locale_file interface.
4949 (allocate_arrays): Update for use of new locale_file interface.
4950 * locale/programs/ld-identification.c (identification_output): Use
4951 new locale_file interface.
4952 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4953 * locale/programs/ld-messages.c (messages_output): Likewise.
4954 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4955 * locale/programs/ld-name.c (name_output): Likewise.
4956 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4957 * locale/programs/ld-paper.c (paper_output): Likewise.
4958 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4959 * locale/programs/ld-time.c (time_output): Likewise.
4960
e029e2e5
AZ
49612013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4962
4963 * benchtests/Makefile: Add memrchr benchmark.
4964 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4965 benchmark as memrchr.
4966 * benchtests/bench-memrchr-ifunc.c: New file.
4967 * benchtests/bench-memrchr.c: New file.
4968
bbf6e8e4
WN
49692013-09-06 Will Newton <will.newton@linaro.org>
4970
4971 * benchtests/Makefile (string-bench): Add memcpy.
4972
6c82a2f8
CD
49732013-09-05 Carlos O'Donell <carlos@redhat.com>
4974 Cong Wang <amwang@redhat.com>
4975
4976 * sysdeps/unix/sysv/linux/bits/in.h
4977 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4978 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4979 before __USE_KERNEL_IPV6_DEFS uses.
4980 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4981 IPPROTO_BEETPH.
4982 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4983 sockaddr_in6, or ipv6_mreq.
4984
5430fc65
AZ
49852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4986
4987 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4988 memory access for final bytes in some large inputs.
4989 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4990
4660856c
AZ
49912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4992
4993 * string/test-memrchr.c: New file.
4994 * string/test-memrchr-ifunc.c: New file.
4995 * string/Makefile: Add new memrchr testcase.
4996
bb8ea713
MF
49972013-09-05 Mike Frysinger <vapier@gentoo.org>
4998
4999 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5000 fanotify_init returns EPERM.
5001
b92a20b5
JM
50022013-09-04 Joseph Myers <joseph@codesourcery.com>
5003
5004 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5005 errors.
5006 (top level): Treat second token from macro or constant entries for
5007 allowed headers as allowed.
5008 * include/complex.h: Condition internal declarations on
5009 [!_ISOMAC].
5010 * include/fenv.h: Condition include of <stdbool.h> and internal
5011 declarations on [!_ISOMAC].
7447ccd9
CL
5012
50132013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5014
3e181dda 5015 [BZ #15923]
7447ccd9
CL
5016 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5017
3f2e46a4
JM
50182013-09-04 Joseph Myers <joseph@codesourcery.com>
5019
5020 * configure.in (--enable-versioning): Remove configure option.
5021 (libc_cv_asm_symver_directive): Remove configure test.
5022 (libc_cv_ld_version_script_option): Likewise.
5023 (VERSIONING): Remove variable and AC_SUBST.
5024 (DO_VERSIONING): Remove AC_DEFINE.
5025 * configure: Regenerated.
5026 * config.h.in (DO_VERSIONING): Remove macro.
5027 * Makerules [$(versioning) = yes]: Change conditionals to
5028 [$(build-shared) = yes].
5029 * config.make.in (versioning): Remove variable.
5030 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5031 [$(build-shared) = yes].
5032 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5033 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5034 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5035 [$(build-shared) = yes].
5036 * extra-lib.mk [$(versioning) = yes]: Likewise.
5037 * hurd/Makefile [$(versioning) = yes]: Likewise.
5038 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5039 [SHARED].
5040 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5041 [SHARED].
5042 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5043 [SHARED && !NO_HIDDEN].
5044 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5045 [SHARED].
5046 [SHARED && DO_VERSIONING]: Likewise..
5047 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5048 [$(build-shared) = yes].
5049 * manual/install.texi (--disable-versioning): Remove
5050 documentation.
5051 * INSTALL: Regenerated.
5052 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5053 to [SHARED].
5054 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5055 [$(build-shared) = yes].
5056 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5057 * sysdeps/i386/i686/multiarch/strstr-c.c
5058 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5059 [SHARED && !NO_HIDDEN].
5060 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5061 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5062 * sysdeps/powerpc/powerpc32/dl-machine.c
5063 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5064 * sysdeps/powerpc/powerpc32/sysdep.h
5065 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5066 to [SHARED && PIC && !NO_HIDDEN].
5067 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5068 conditional to [SHARED].
5069
44558701
WN
50702013-09-04 Will Newton <will.newton@linaro.org>
5071
5072 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5073 * benchtests/bench-string.h: Include bench-timing.h instead
5074 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5075 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5076 call to HP_TIMING_DIFF_INIT.
5077 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5078 instead of hp-timing.h macros.
5079 * benchtests/bench-memchr.c: Likewise.
5080 * benchtests/bench-memcmp.c: Likewise.
5081 * benchtests/bench-memcpy.c: Likewise.
5082 * benchtests/bench-memmem.c: Likewise.
5083 * benchtests/bench-memmove.c: Likewise.
5084 * benchtests/bench-memset.c: Likewise.
5085 * benchtests/bench-rawmemchr.c: Likewise.
5086 * benchtests/bench-strcasecmp.c: Likewise.
5087 * benchtests/bench-strcasestr.c: Likewise.
5088 * benchtests/bench-strcat.c: Likewise.
5089 * benchtests/bench-strchr.c: Likewise.
5090 * benchtests/bench-strcmp.c: Likewise.
5091 * benchtests/bench-strcpy.c: Likewise.
5092 * benchtests/bench-strcpy_chk.c: Likewise.
5093 * benchtests/bench-strlen.c: Likewise.
5094 * benchtests/bench-strncasecmp.c: Likewise.
5095 * benchtests/bench-strncat.c: Likewise.
5096 * benchtests/bench-strncmp.c: Likewise.
5097 * benchtests/bench-strncpy.c: Likewise.
5098 * benchtests/bench-strnlen.c: Likewise.
5099 * benchtests/bench-strpbrk.c: Likewise.
5100 * benchtests/bench-strrchr.c: Likewise.
5101 * benchtests/bench-strspn.c: Likewise.
5102 * benchtests/bench-strstr.c: Likewise.
5103
cae16d66
WN
51042013-09-04 Will Newton <will.newton@linaro.org>
5105
5106 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5107
ffa3cd7f
JM
51082013-09-03 Joseph Myers <joseph@codesourcery.com>
5109
5110 [BZ #15427]
5111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5112 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5113 * math/libm-test.inc (lgamma_test_data): Add more tests.
5114 * sysdeps/i386/fpu/libm-test-ulps: Update.
5115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5116
8f02859f
OB
51172013-09-03 Ondřej Bílka <neleai@seznam.cz>
5118
5119 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5121 Add ifunc.
5122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5123 Add strcmp-sse2-unaligned
5124 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5125
18d43716
MF
51262013-09-02 Mike Frysinger <vapier@gentoo.org>
5127
5128 * Versions.def (libc): Add GLIBC_2.19.
5129
ac444012
MF
51302013-09-02 Mike Frysinger <vapier@gentoo.org>
5131
5132 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5133 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5134
b7835e32
JM
51352013-09-02 Joseph Myers <joseph@codesourcery.com>
5136
5137 [BZ #14155]
5138 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5139 intermediate calculations in recurrence.
5140 (__ieee754_ynf): Likewise.
5141 * math/libm-test.inc (jn_test_data): Do not allow spurious
5142 underflow exception. Add more tests.
5143 (yn_test_data): Add more tests.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5146
8220f4f0
OB
51472013-09-02 Ondřej Bílka <neleai@seznam.cz>
5148
5149 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5150
f24a6d08
OB
51512013-08-30 Ondřej Bílka <neleai@seznam.cz>
5152
5153 * csu/init-first.c: Fix then/than typos.
5154 * locale/programs/ld-collate.c: Likewise.
5155 * locale/programs/linereader.h: Likewise.
5156 * manual/charset.texi: Likewise.
5157 * manual/filesys.texi: Likewise.
5158 * manual/stdio.texi: Likewise.
5159 * manual/string.texi: Likewise.
5160 * stdlib/fmtmsg.c: Likewise.
5161 * sysdeps/i386/stpncpy.S: Likewise.
5162 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5163 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5164 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5165 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5166
382466e0
OB
51672013-08-30 Ondřej Bílka <neleai@seznam.cz>
5168
5169 * elf/dl-open.c: Fix typos.
5170 * iconvdata/gbbig5.c: Likewise.
5171 * iconvdata/iso-2022-jp.c: Likewise.
5172 * iconv/gconv_int.h: Likewise.
5173 * iconv/loop.c: Likewise.
5174 * nis/rpcsvc/nis.h: Likewise.
5175 * resolv/ns_name.c: Likewise.
5176 * stdio-common/vfscanf.c: Likewise.
5177 * streams/stropts.h: Likewise.
5178 * sunrpc/rpc_thread.c: Likewise.
5179 * sysdeps/i386/strpbrk.S: Likewise.
5180 * sysdeps/ieee754/k_standard.c: Likewise.
5181 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5183 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5184 * sysdeps/mach/hurd/profil.c: Likewise.
5185 * sysdeps/s390/dl-procinfo.h: Likewise.
5186 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5187 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5188 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5189 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5191
0186c6e9
OB
51922013-08-30 Ondřej Bílka <neleai@seznam.cz>
5193
5194 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5196
d4e16af1
OB
51972013-08-29 Ondřej Bílka <neleai@seznam.cz>
5198
5199 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5200 aix specific files.
5201 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5202 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5203 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5204 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5205 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5206 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5207 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5208 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5209
88335980
TS
52102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5211 Roland McGrath <roland@hack.frob.com>
5212
5213 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5214 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5215
ed479b02
ST
52162013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5217
5218 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5219 __executable_start symbol instead of _start.
5220
f1cc4c86
TS
52212013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5222
d821f07c
TS
5223 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5224 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5225 Move macros to...
5226 * sysdeps/gnu/ldsodefs.h: ... this new file.
5227
c54290cf
TS
5228 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5229 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5230 instead of ELFOSABI_LINUX.
5231
0007fc9b 5232 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5233 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5234 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5235 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5236 Likewise.
5237 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5238 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5240 Likewise.
5241 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5242 (ibm_extended_long_double): Add ieee_nan member.
5243 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5244 (do_test): New function.
5245
f1cc4c86
TS
5246 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5247 TEST_TRUNC.
5248 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5249 functions, renamed from truncdfsf_test, trunctfsf_test,
5250 trunctfdf_test.
5251 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5252 functions.
5253 (do_test): Run all these.
5254
6f65e668
OB
52552013-08-29 Ondřej Bílka <neleai@seznam.cz>
5256
5257 * argp/argp-help.c: Fix typos.
5258 * argp/argp-parse.c: Likewise.
5259 * debug/backtracesyms.c: Likewise.
5260 * elf/elf.h: Likewise.
5261 * malloc/malloc.c: Likewise.
5262 * nis/nis_print.c: Likewise.
5263 * resolv/res_comp.c: Likewise.
5264 * stdlib/stdlib.h: Likewise.
5265 * sunrpc/clnt_tcp.c: Likewise.
5266 * sunrpc/clnt_udp.c: Likewise.
5267 * sunrpc/clnt_unix.c: Likewise.
5268 * sysdeps/unix/bsd/ptsname.c: Likewise.
5269 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5270 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5272 Likewise.
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5274 Likewise.
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5276 Likewise.
6f65e668
OB
5277 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5278
3a309239
SP
52792013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5280
5281 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5283
3b813b29
MF
52842013-08-27 Mike Frysinger <vapier@gentoo.org>
5285
5286 [BZ #15897]
5287 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5288 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5289 ($(objpfx)bug-dl-leaf): New rule.
5290 ($(objpfx)bug-dl-leaf.so): Likewise.
5291 ($(objpfx)bug-dl-leaf.out): Likewise.
5292 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5293 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5294 * dlfcn/bug-dl-leaf.c: New test.
5295 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5296 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5297 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5298 (dlclose): Likewise.
5299 (dlmopen): Likewise.
5300
8cc3269f
RM
53012013-08-27 Roland McGrath <roland@hack.frob.com>
5302
7f9d0034
RM
5303 * include/netdb.h [!_ISOMAC]:
5304 Don't include <tls.h>.
5305 (h_errno, __libc_h_errno): Move declaration and macros out of
5306 [_LIBC_REENTRANT].
5307
fb431262
RM
5308 * include/resolv.h [_RESOLV_H_]:
5309 Don't include <tls.h>.
5310 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5311 * resolv/res_libc.c: Don't include <tls.h>.
5312 (_res): Use __attribute__ ((nocommon)) in place of
5313 __attribute__ ((section (".bss"))).
5314
bd81123a
RM
5315 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5316 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5317
c4e42566
RM
5318 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5319
f890a59b
RM
5320 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5321 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5322
5323 * resolv/res_mkquery.c: Include <sys/time.h>.
5324
5d1f0a09
RM
5325 * inet/ifreq.c: Moved to ...
5326 * sysdeps/unix/ifreq.c: ... here.
5327 * inet/ifreq.c: New file, true stub version.
5328
6fcf28b3
RM
5329 * socket/sa_len.c: New file.
5330 * socket/Makefile (aux): Add it.
5331 * sysdeps/unix/sysv/linux/Makefile
5332 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5333 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5334 and #include <socket/sa_len.c>.
5335 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5336 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5337
e041fb8b
RM
5338 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5339 * bits/socket.h: ... here.
5340
8cc3269f
RM
5341 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5342 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5343 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5344
5d228a43
AS
53452013-08-27 Andreas Schwab <schwab@suse.de>
5346
45b8accc
AS
5347 [BZ #15736]
5348 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5349 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5350 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5351 * string/test-strcasecmp.c (test_main): Run tests in several
5352 locales.
5353 * string/test-strncasecmp.c (test_main): Likewise.
5354
5d228a43
AS
5355 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5356 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5357 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5359 (__strncasecmp_ssse3) [PIC]: Likewise.
5360
59d112a4
RM
53612013-08-26 Roland McGrath <roland@hack.frob.com>
5362
53234cc3
RM
5363 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5364
59d112a4
RM
5365 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5366 instead of explicitly declaring xdecrypt.
5367 * nis/nss_nis/nis-publickey.c: Likewise.
5368
595aba70
SP
53692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5370
5371 [BZ #15890]
5372 * nscd/aicache.c: Include res_hconf.h.
5373 (addhstaiX): Initialize res_hconf.
5374
ffabd393
AS
53752013-08-26 Andreas Schwab <schwab@suse.de>
5376
5377 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5378 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5379
e0a69f5c
SP
53802013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5381
5382 * nscd/aicache.c (addhstaiX): Fix indentation.
5383
8c12f01d
MF
53842013-08-25 Mike Frysinger <vapier@gentoo.org>
5385
5386 * configure.ac: Quote $build_pt_chown test.
5387 * configure: Regenerated.
5388
8fe89494
JM
53892013-08-23 Joseph Myers <joseph@codesourcery.com>
5390
5391 [BZ #15532]
5392 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5393 * math/s_cexpf.c (__cexpf): Likewise.
5394 * math/s_cexpl.c (__cexpl): Likewise.
5395 * math/libm-test.inc (cexp_test_data): Correct expected return
5396 value for NaN + i0. Add another test.
5397
75b181d6
DM
53982013-08-22 David S. Miller <davem@davemloft.net>
5399
5400 * po/ca.po: Update Catalan translation from translation project.
936241e4 5401 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5402
acd06bb1
JM
54032013-08-21 Joseph Myers <joseph@codesourcery.com>
5404
5405 [BZ #15797]
5406 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5407 is infinite, not alongside NaN test.
5408 * math/s_fdimf.c (__fdimf): Likewise.
5409 * math/s_fdiml.c (__fdiml): Likewise.
5410 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5411 errno is unchanged.
5412
c0c3f78a
OB
54132013-08-21 Ondřej Bílka <neleai@seznam.cz>
5414
5415 * argp/argp-help.c: Fix typos.
5416 * crypt/speeds.c: Likewise.
5417 * csu/check_fds.c: Likewise.
5418 * elf/dl-load.c: Likewise.
5419 * elf/dl-open.c: Likewise.
5420 * elf/reldep3.c: Likewise.
5421 * elf/reldep.c: Likewise.
5422 * elf/sprof.c: Likewise.
5423 * iconv/iconv_charmap.c: Likewise.
5424 * iconv/skeleton.c: Likewise.
5425 * iconv/strtab.c: Likewise.
5426 * io/lockf64.c: Likewise.
5427 * libio/libioP.h: Likewise.
5428 * resolv/gai_notify.c: Likewise.
5429 * resolv/ns_name.c: Likewise.
5430 * resolv/ns_samedomain.c: Likewise.
5431 * resolv/res_send.c: Likewise.
5432 * stdlib/random.c: Likewise.
5433 * sunrpc/rpc/xdr.h: Likewise.
5434 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5435 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5436 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5437 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5438 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5440 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5442 * sysdeps/mach/hurd/check_fds.c: Likewise.
5443 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5444 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5445 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5446 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5447 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5448 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5449 * sysdeps/pthread/aio_notify.c: Likewise.
5450 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5451 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5452 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5454 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5455
46ed1038
LD
54562013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5457
5458 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5459 version if bit_Slow_SSE4_2 is set.
5460 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5461 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5462
d400dcac
AZ
54632013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464
5465 [BZ #15867]
5466 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5467 trampoline stack frame information.
5468 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5469 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5470 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5471 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5472 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5473 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5474 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5475 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5476 sa_flags value.
5477 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5478 interrupting a syscall and set with option SA_SIGINFO.
5479
42c8fdd8
JM
54802013-08-20 Joseph Myers <joseph@codesourcery.com>
5481
c980f2f4
JM
5482 [BZ #15531]
5483 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5484 argument is infinite.
5485 * math/s_cprojf.c (__cprojf): Likewise.
5486 * math/s_cprojl.c (__cprojl): Likewise.
5487 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5488 * math/libm-test.inc (cproj_test_data): Add more tests.
5489
0716c4fc
JM
5490 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5491
42c8fdd8
JM
5492 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5493 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5494 size. Use __ffs to determine corresponding shift.
5495
b31469d0
JM
54962013-08-20 Joseph Myers <joseph@codesourcery.com>
5497 Roland McGrath <roland@hack.frob.com>
5498
5499 * Makefile (INSTALL): Remove trailing blank lines from output of
5500 makeinfo.
5501
4e39af6e
AK
55022013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5503
5504 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5505 Align 32 bit compat elf_greg to 8 bytes.
5506
f315524e
AA
55072013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5508
5509 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5510
1326ba1a
SP
55112013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5512
5513 * string/strcoll_l.c (coll_seq): New structure.
5514 (get_next_seq_cached): New function.
5515 (get_next_seq): New function.
5516 (do_compare): New function.
5517 (STRCOLL): Use GNU style definition. Simplify implementation
5518 by using get_next_seq, get_next_seq_cached and do_compare.
5519
91ce4085
FW
55202013-08-16 Florian Weimer <fweimer@redhat.com>
5521
5522 [BZ #14699]
5523 CVE-2013-4237
5524 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5525 member.
5526 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5527 member.
5528 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5529 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5530 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5531 conditional.
5532 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5533 GETDENTS_64BIT_ALIGNED.
5534 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5535 * manual/filesys.texi (Reading/Closing Directory): Document
5536 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5537 strongly.
5538 * manual/conf.texi (Limits for Files): Add portability note to
5539 NAME_MAX, PATH_MAX.
5540 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5541
ca0a6bc4
AS
55422013-08-13 Andreas Schwab <schwab@suse.de>
5543
5544 [BZ #15749]
5545 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5546 of fabs.
5547 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5548 LDBL_MAX_EXP >= 16384]: Add tests for it.
5549
6c1fd795
DM
55502013-08-12 David S. Miller <davem@davemloft.net>
5551
5552 * version.h (RELEASE): Set to "development".
5553 (VERSION): Set to "2.18.90".
5554 * NEWS: Add 2.19 section.
5555
31ad488d
DM
55562013-08-03 David S. Miller <davem@davemloft.net>
5557
5558 * po/ko.po: Update Korean translation from translation project.
5559
db24e684
DM
55602013-08-01 David S. Miller <davem@davemloft.net>
5561
5562 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5563 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5564 Bilka.
5565
f723285b
DM
55662013-07-30 David S. Miller <davem@davemloft.net>
5567
5568 * po/fr.po: Update French translation from translation project.
5569
3cbc52db
DM
55702013-07-28 David S. Miller <davem@davemloft.net>
5571
30bbc0cc
DM
5572 * po/cs.po: Update Czech translation from translation project.
5573
3cbc52db
DM
5574 * po/sv.po: Update Swedish translation from translation project.
5575
d492e6d0
DM
55762013-07-27 David S. Miller <davem@davemloft.net>
5577
f1a7f492
DM
5578 * po/eo.po: Update Esperanto translation from translation project.
5579
90e62a4a
DM
5580 * po/vi.po: Update Vietnamese translation from translation project.
5581
d492e6d0
DM
5582 * po/de.po: Update German translation from translation project.
5583
d4baa62d
DM
55842013-07-26 David S. Miller <davem@davemloft.net>
5585
641aa7b4
DM
5586 * po/bg.po: Update Bulgarian translation from translation project.
5587
d4baa62d
DM
5588 * po/nl.po: Update Dutch translation from translation project.
5589 * po/pl.po: Update Polish translation from translation project.
5590 * po/ru.po: Update Russian translation from translation project.
5591
61a9dcb9
DM
55922013-07-24 David S. Miller <davem@davemloft.net>
5593
5594 * po/libc.pot: Update.
5595
7b1f8b58
AZ
55962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5597
5598 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5599 variable page size.
5600 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5601 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5602 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5603
a8fc7a03
AK
56042013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5605
5606 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5607
e4608715
CD
56082013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5609 Andreas Schwab <schwab@suse.de>
5610 Roland McGrath <roland@hack.frob.com>
5611 Joseph Myers <joseph@codesourcery.com>
5612 Carlos O'Donell <carlos@redhat.com>
5613
5614 [BZ #15755]
5615 * config.h.in: Define HAVE_PT_CHOWN.
5616 * config.make.in (build-pt-chown): New variable.
5617 * configure.in (--enable-pt_chown): New configure option.
5618 * configure: Regenerate.
5619 * login/Makefile: Include Makeconfig. Build pt_chown only if
5620 build-pt-chown is enabled.
5621 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5622 pt_chown to fix pty ownership.
5623 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5624 CLOSE_ALL_FDS.
5625 * manual/install.texi (Configuring and compiling): Mention
5626 --enable-pt_chown. Add @findex for grantpt.
5627 * INSTALL: Regenerate.
5628
da2d62df
DM
56292013-07-20 David S. Miller <davem@davemloft.net>
5630
5631 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5632 difference between 32-bit and 64-bit.
5633
d7e06450
CD
56342013-07-15 Carlos O'Donell <carlos@redhat.com>
5635
5636 [BZ #15711]
5637 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5638 Avoid system header dependency with -ffreestanding.
5639 ($(objpfx)bits/syscall%d): Likewise.
5640
f959cfd7
DM
56412013-07-13 David S. Miller <davem@davemloft.net>
5642
5643 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5644 underflows from atanl/atan2l due to bug 15319.
5645 (casinh_test_data): Likewise.
5646
c61f8513
DM
56472013-07-07 David S. Miller <davem@davemloft.net>
5648
5649 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5650
72c90ed0
JA
56512013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5652
5653 * sysdeps/i386/fpu/libm-test-ulps: Update.
5654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5655
52dfbe13
SP
56562013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5657
5658 * configure.in (--enable-lock-elision): Fix message text.
5659 * INSTALL: Regenerate.
5660 * configure: Regenerate.
5661
3f169543
AZ
56622013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5663
5664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5665
521c6785
AJ
56662013-07-03 Andreas Jaeger <aj@suse.de>
5667
5668 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5669 define.
5670 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5671 (ptrace_peeksiginfo_args): Add.
5672 (__ptrace_peeksiginfo_flags): Add.
5673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5675 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5676
d2cc15cb
AM
56772013-07-03 Allan McRae <allan@archlinux.org>
5678
5679 * sysdeps/i386/fpu/libm-test-ulps: Update.
5680
3aaeeca7
DM
56812013-07-02 David S. Miller <davem@davemloft.net>
5682
5683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5684
5314ed1a
MT
56852013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5686
5687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5688
67338156
JM
56892013-07-02 Joseph Myers <joseph@codesourcery.com>
5690
5691 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5693
1717da59
AK
56942013-07-02 Andi Kleen <ak@linux.intel.com>
5695
5696 * config.h.in (ENABLE_LOCK_ELISION): Add.
5697 * configure.in (--enable-lock-elision): Add option.
5698 * manual/install.texi: Document --enable lock elision.
5699 * configure: Regenerate
5700 * INSTALL: Regenerate.
5701
1c81621c
L
57022013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5703
5704 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5705 SSE4.2 strcasecmp for libc.a.
5706 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5707
77f01ab5
JM
57082013-07-02 Joseph Myers <joseph@codesourcery.com>
5709
5710 [BZ #13304]
5711 * soft-fp/op-common.h (_FP_FMA): New macro.
5712 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5713 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5714 (_FP_MUL_MEAT_1_imm): ... here.
5715 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5716 (_FP_MUL_MEAT_1_wide): ... here.
5717 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5718 (_FP_MUL_MEAT_1_hard): ... here.
5719 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5720 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5721 (_FP_MUL_MEAT_2_wide): ... here.
5722 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5723 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5724 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5725 (_FP_MUL_MEAT_2_gmp): ... here.
5726 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5727 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5728 (_FP_MUL_MEAT_4_wide): ... here.
5729 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5730 (_FP_MUL_MEAT_4_gmp): ... here.
5731 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5732 (_FP_WFRACBITS_DW_S): Likewise.
5733 (_FP_WFRACXBITS_DW_S): Likewise.
5734 (_FP_HIGHBIT_DW_S): Likewise.
5735 (FP_FMA_S): Likewise.
5736 (_FP_FRAC_HIGH_DW_S): Likewise.
5737 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5738 (_FP_WFRACBITS_DW_D): Likewise.
5739 (_FP_WFRACXBITS_DW_D): Likewise.
5740 (_FP_HIGHBIT_DW_D): Likewise.
5741 (FP_FMA_D): Likewise.
5742 (_FP_FRAC_HIGH_DW_D): Likewise.
5743 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5744 (_FP_WFRACBITS_DW_E): Likewise.
5745 (_FP_WFRACXBITS_DW_E): Likewise.
5746 (_FP_HIGHBIT_DW_E): Likewise.
5747 (FP_FMA_E): Likewise.
5748 (_FP_FRAC_HIGH_DW_E): Likewise.
5749 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5750 (_FP_WFRACBITS_DW_Q): Likewise.
5751 (_FP_WFRACXBITS_DW_Q): Likewise.
5752 (_FP_HIGHBIT_DW_Q): Likewise.
5753 (FP_FMA_Q): Likewise.
5754 (_FP_FRAC_HIGH_DW_Q): Likewise.
5755 * soft-fp/fmasf4.c: New file.
5756 * soft-fp/fmadf4.c: Likewise.
5757 * soft-fp/fmatf4.c: Likewise.
5758
6308fd9a
LD
57592013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5760
5761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5762 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5763 Silvermont.
5764 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5765 macro.
5766 (index_Slow_SSE4_2): Likewise.
5767 (index_Prefer_PMINUB_for_stringop): Likewise.
5768 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5769 bit_Slow_SSE4_2 is set.
5770 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5771 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5772
89cd9569
RA
57732013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5774
5775 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5776 rtld_global._dl_hwcap2.
5777 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5778 POWER8.
5779 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5780 POWER8 feature descriptions defined in _dl_hwcap2.
5781 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5782 string handling for POWER8 feature bits.
5783 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5784 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5785 _dl_powerpc_cap_flags.
5786 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5787 * sysdeps/powerpc/rtld-global-offsets.sym
5788 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5789 _dl_hwcap2 in the rtld_global_ro structure.
5790
1ae8bfe0
RA
57912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5792
5793 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5794 hardware capabilities in support of AT_HWCAP2.
5795 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5796 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5797 GLRO(dl_hwcap2).
5798 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5799 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5800 explicitly the unknown a_type display mechanism is used.
5801 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5802 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5803 struct member.
5804 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5805 to macro prototype for AT_HWCAP2 support.
5806 * sysdeps/i386/dl-procinfo.h: Likewise.
5807 * sysdeps/s390/dl-procinfo.h: Likewise.
5808 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5809 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5810 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5811 return -1 for unknown a_type display fallback.
5812 * sysdeps/sparc/dl-procinfo.h: Likewise.
5813 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5814 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5815
8fbec010
JM
58162013-06-28 Joseph Myers <joseph@codesourcery.com>
5817
5818 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5819 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5820
0432680e
PY
58212013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5822
5823 [BZ #12492]
5824 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5825 mprotect making __stack_prot writable.
5826
ce61a2ad
NF
58272013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5828 Joseph Myers <joseph@codesourcery.com>
5829
5830 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5831 as being properly aligned.
5832
f91f1c0f
MR
58332013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5834
3d0f5d0c
MR
5835 * dlfcn/modstatic5.c: New file.
5836 * dlfcn/tststatic5.c: New file.
5837 * dlfcn/Makefile (tests): Add tststatic5.
5838 (tests-static): Likewise.
5839 (modules-names): Add modstatic5.
5840 (tststatic5-ENV): New variable.
5841 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5842
f91f1c0f
MR
5843 [BZ #15022]
5844 * elf/dl-support.c (_dl_main_map): New variable.
5845 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5846 (_dl_nns, _dl_load_adds): Set to 1.
5847 (_dl_initial_searchlist): Refer to _dl_main_map.
5848 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5849 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5850 call to _dl_get_origin.
5851 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5852 around call_map.
5853 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5854 * dlfcn/modstatic3.c: New file.
5855 * dlfcn/tststatic3.c: New file.
5856 * dlfcn/tststatic4.c: New file.
5857 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5858 (tests-static): Likewise.
5859 (modules-names): Add modstatic3.
5860 (tststatic3-ENV, tststatic4-ENV): New variables.
5861 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5862 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5863
cbe7d24b
JM
58642013-06-26 Joseph Myers <joseph@codesourcery.com>
5865
5866 * configure.in (CC): Require GCC version 4.4 or later.
5867 * configure: Regenerated.
5868 * manual/install.texi (Tools for Compilation): Update GCC version
5869 requirement.
5870 * INSTALL: Regenerated.
5871
11b8a0e1
LD
58722013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5873
5874 [BZ #15674]
bb5bb87c
L
5875 * string/test-memcmp.c (check2): New.
5876 (main): Call check2.
5877
11b8a0e1
LD
5878 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5879
b0037103
MR
58802013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5881
5882 [BZ #15022]
5883 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5884 over to...
5885 (dl_open_worker) [!SHARED]: ... here.
5886
c18c701d
RA
58872013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5888
5889 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5890
1d17fa5f
RH
58912013-06-25 Richard Henderson <rth@redhat.com>
5892
5893 * locale/programs/locarchive.c: Include <libc-internal.h>
5894
8fcb833a
JM
58952013-06-25 Joseph Myers <joseph@codesourcery.com>
5896
5897 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5898 trailing whitespace removed.
5899
17db6e8d
MF
59002013-06-24 Mike Frysinger <vapier@gentoo.org>
5901
5902 [BZ #10283]
17db6e8d
MF
5903 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5904 * locale/programs/locarchive.c: Include libc-mmap.h.
5905 (prepare_address_space): Take two new outputs (the mmap base and len).
5906 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5907 values.
5908 (create_archive): Declare new mmap base and len values for
5909 prepare_address_space, and store the result in ah.
5910 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5911 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5912 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5913 Declare new mmap base and len values for
5914 prepare_address_space, and store the result in new_ah.
5915 (open_archive): Declare new mmap base and len values for
5916 prepare_address_space, and store the result in ah.
5917 (close_archive): If ah->mmap_base is not NULL, use that and
5918 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5919 * sysdeps/generic/libc-mmap.h: New file.
5920
d605071e
MF
59212013-06-24 Mike Frysinger <vapier@gentoo.org>
5922
5923 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5924 (ALIGN_UP): Likewise.
5925 (PTR_ALIGN_DOWN): Likewise.
5926 (PTR_ALIGN_UP): Likewise.
5927
2f063a6e
RA
59282013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5929
5930 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5931 entry mapped to PPC_PLATFORM_POWER8.
5932 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5933 POWER8.
5934 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5935 (_dl_string_platform): Add case for exporting platform position for
5936 POWER8.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5938 search path to sysdeps/powerpc/powerpc32/power8 directory.
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5940 search path to sysdeps/powerpc/powerpc64/power8 directory.
5941 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5942 power7 directories.
5943 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5944 power7 directories.
5945
a31ee4b3
SP
59462013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5947
a74ca98f
SP
5948 * INSTALL: Regenerate.
5949
a31ee4b3
SP
5950 * nscd/connections.c (nscd_init): Fix comment.
5951
695c378f
JM
59522013-06-22 Joseph Myers <joseph@codesourcery.com>
5953
d8412221
JM
5954 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5955
695c378f
JM
5956 [BZ #15667]
5957 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5958 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5959
d1d54715
MR
59602013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5961
5962 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5963 DL_DST_REQ_STATIC.
5964 (DL_DST_REQ_STATIC): Remove macro.
5965
8fdda7af
JM
59662013-06-21 Joseph Myers <joseph@codesourcery.com>
5967
5968 [BZ #7006]
5969 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5970 with a shift of 0 bits.
5971
f3bc5e5a
MR
59722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5973
5974 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5975 $(tststatic-ENV).
5976
be09e8c9
KK
59772013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5978
5979 [BZ #15655]
5980 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5981
85c2e611
AZ
59822013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5983
5984 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5985 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5986 accepts -fno-tree-loop-distribute-patterns.
5987 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5988 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5989 recursive call.
5990 * string/memset.c (memset): Likewise.
5991 * string/test-memmove.c (simple_memmove): Disable loop transformation
5992 to library calls.
5993 * string/test-memset.c (simple_memset): Likewise.
5994 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5995 * benchtests/bench-memset.c (simple_memset): Likewise.
5996 * configure: Regenerated.
5997
c91e0825
JM
59982013-06-20 Joseph Myers <joseph@codesourcery.com>
5999
b8c792af
JM
6000 * math/test-misc.c (main): Ignore fesetround failure when failures
6001 of subsequent rounding tests would be ignored.
6002
c91e0825
JM
6003 [BZ #15654]
6004 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6005 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6006 * math/fegetenv.c (__fegetenv): Return 0.
6007 * math/fegetexcept.c (fegetexcept): Return 0.
6008 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6009 FE_TONEAREST.
6010 * math/feholdexcpt.c (feholdexcept): Return 0.
6011 * math/fesetenv.c (__fesetenv): Return 0.
6012 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6013 argument FE_TONEAREST.
6014 * math/feupdateenv.c (__feupdateenv): Return 0.
6015 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6016
bfcacbde
RM
60172013-06-18 Roland McGrath <roland@hack.frob.com>
6018
6019 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6020 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6021 ($(objpfx)rtld-%.os rules): Use them.
6022
e55a9b25
AZ
60232013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024
6025 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6026 fields.
6027
346d65b3
RM
60282013-06-17 Roland McGrath <roland@hack.frob.com>
6029
12086fb4
RM
6030 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6031 length of target pattern, then descending length of dependency pattern.
6032 * configure.in (AWK): Require gawk 3.1.2 or newer.
6033 * manual/install.texi (Tools for Compilation): Say that we do.
6034 * configure: Regenerated.
6035
346d65b3
RM
6036 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6037 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6038 * scripts/sysd-rules.awk: ... this new script.
6039 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6040 than a glob-style pattern.
6041
1a846317
JM
60422013-06-17 Joseph Myers <joseph@codesourcery.com>
6043
6044 * math/test-misc.c (main): Do not treat incorrectly rounded
6045 conversions as failure unless ROUNDING_TESTS passes.
6046
8fc75e6f
JM
60472013-06-15 Joseph Myers <joseph@codesourcery.com>
6048
3711a167
JM
6049 [BZ #15631]
6050 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6051 restore exception state around main square root computation, then
6052 check for inexactness explicitly.
6053
8fc75e6f
JM
6054 * math/libm-test.inc (fma_test_data): Add another test.
6055
61dd6208
SP
60562013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6057
adf23d2c
SP
6058 * manual/threads.texi (Non-POSIX Extensions): New document
6059 node. Document pthread_getattr_default_np and
6060 pthread_setattr_default_np.
6061
61dd6208
SP
6062 * Versions.def (libpthread): Add GLIBC_2.18.
6063 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6065 Likewise.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6067 Likewise.
6068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6069 Likewise.
6070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6071 Likewise.
6072 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6073 Likewise.
6074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6075 Likewise.
6076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6077 Likewise.
6078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6079 Likewise.
6080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6081 Likewise.
6082
d086fc7b
LD
60832013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6084
6085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6086 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6087
747ef469
SP
60882013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 H.J. Lu <hjl.tools@gmail.com>
6090
6091 [BZ #15627]
6092 * sysdeps/x86_64/rtld-memset.c: Remove file.
6093 * sysdeps/x86_64/rtld-memset.S: New file.
6094
1b2feed2
JM
60952013-06-14 Joseph Myers <joseph@codesourcery.com>
6096
6097 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6098 (test_in_one_mode): Take arguments for whether the rounding mode
6099 is supported for each floating-point type.
6100 (do_test): Pass new arguments to test_in_one_mode using
6101 ROUNDING_TESTS.
6102
a58ad3f8
RM
61032013-06-13 Roland McGrath <roland@hack.frob.com>
6104
6105 * posix/tst-waitid.c (do_test): Distinguish different instances of
6106 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6107 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6108 before entering the kernel for waitpid.
6109
c204ab28
SP
61102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6111
6112 * NEWS: Fix note on clock function precision. Text by Roland
6113 McGrath.
6114
f4a29fba
RM
61152013-06-13 Roland McGrath <roland@hack.frob.com>
6116
6117 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6118 it into place only when and if the sanity check passes.
6119
1f24b9ad
JM
61202013-06-13 Joseph Myers <joseph@codesourcery.com>
6121
6122 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6123 output for whether conversion result is exact. Take argument
6124 indicating whether type is IBM long double.
6125 (round_for_all): Change need_exact field to ibm_ld.
6126 * stdlib/tst-strtod-round.c (struct exactness): New type.
6127 (struct test): Change bool ld_ok field to struct exactness exact.
6128 (TEST): Update all definitions for change to field.
6129 (tests): Regenerate array contents.
6130 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6131 field value. Check for IBM long double here.
6132 (do_test): Update calls to test_in_one_mode.
6133
58206c68
SP
61342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6135
6136 [BZ #12515]
6137 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6138 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6139
2d6f4c5b 61402013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6141
6142 [BZ #15605]
6143 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6144 generated by the compiler on loop optimizations.
6145 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6146 general definitions.
6147
94f2c076
JM
61482013-06-12 Joseph Myers <joseph@codesourcery.com>
6149
6150 * math/bug-nextafter.c: Include <math-tests.h>.
6151 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6152 the relevant type.
6153 * math/bug-nexttoward.c: Include <math-tests.h>.
6154 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6155 the relevant type.
6156 * math/test-misc.c: Include <math-tests.h>.
6157 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6158 the relevant type.
6159
e0e50a0a
AJ
61602013-06-12 Andreas Jaeger <aj@suse.de>
6161
6162 * po/ia.po: Update Interlingua translation from translation
6163 project.
6164
25061094
SP
61652013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6166
6167 * include/fenv.h: Include stdbool.h.
6168 (struct rm_ctx): New structure.
6169 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6170 Define macro.
6171 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6172 (SET_RESTORE_ROUNDF): Likewise.
6173 (SET_RESTORE_ROUNDL): Likewise.
6174 (SET_RESTORE_ROUND_NOEX): Likewise.
6175 (SET_RESTORE_ROUND_NOEXF): Likewise.
6176 (SET_RESTORE_ROUND_NOEXL): Likewise.
6177 (SET_RESTORE_ROUND_53BIT): Likewise.
6178 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6179 (libc_feresetround_noexf_ctx): Likewise.
6180 (libc_feresetround_noexl_ctx): Likewise.
6181 (libc_feholdsetround_53bit_ctx): Likewise.
6182 (libc_feresetround_53bit_ctx): Likewise.
6183 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6184 (libc_feholdexcept_setround_sse_ctx): New function.
6185 (libc_fesetenv_sse_ctx): Likewise.
6186 (libc_feupdateenv_sse_ctx): Likewise.
6187 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6188 (libc_feholdexcept_setround_387_ctx): Likewise.
6189 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6190 (libc_feholdsetround_387_prec_ctx): Likewise.
6191 (libc_feholdsetround_387_ctx): Likewise.
6192 (libc_feholdsetround_387_53bit_ctx): Likewise.
6193 (libc_feholdsetround_sse_ctx): Likewise.
6194 (libc_feresetround_sse_ctx): Likewise.
6195 (libc_feresetround_387_ctx): Likewise.
6196 (libc_feupdateenv_387_ctx): Likewise.
6197 (libc_feholdexcept_setroundf_ctx): Define macro.
6198 (libc_fesetenvf_ctx): Likewise.
6199 (libc_feupdateenvf_ctx): Likewise.
6200 (libc_feholdsetroundf_ctx): Likewise.
6201 (libc_feresetroundf_ctx): Likewise.
6202 (libc_feholdexcept_setround_ctx): Likewise.
6203 (libc_fesetenv_ctx): Likewise.
6204 (libc_feupdateenv_ctx): Likewise.
6205 (libc_feholdsetround_ctx): Likewise.
6206 (libc_feresetround_ctx): Likewise.
6207 (libc_feholdexcept_setroundl_ctx): Likewise.
6208 (libc_feupdateenvl_ctx): Likewise.
6209 (libc_feholdsetroundl_ctx): Likewise.
6210 (libc_feresetroundl_ctx): Likewise.
6211 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6212 (libc_feresetround_53bit_ctx): Likewise.
6213
59b30555
SP
62142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6215
6216 * locale/iso-639.def: Convert to UTF-8.
6217
f1d73d30
JM
62182013-06-11 Joseph Myers <joseph@codesourcery.com>
6219
6220 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6221 (EXCEPTION_TESTS_double): Likewise.
6222 (EXCEPTION_TESTS_long_double): Likewise.
6223 (EXCEPTION_TESTS): Likewise.
6224 * math/libm-test.inc (test_exceptions): Only test exceptions if
6225 EXCEPTION_TESTS (FLOAT).
6226
94aca5e7
SP
62272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6228
6229 * benchtests/Makefile (string-bench): Add strcpy_chk and
6230 stpcpy_chk.
6231 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6232 * benchtests/bench-stpcpy_chk.c: New file.
6233 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6234 * benchtests/bench-strcpy_chk.c: New file.
6235 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6236 code.
6237 (do_test): Likewise.
6238
fac0c5f2
RA
62392013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6240
6241 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6242 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6243 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6244 with tabs where appropriate.
6245 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6246 dl-procinfo.h.
6247 [PPC_PLATFORM_PPC440]: Likewise.
6248 [PPC_PLATFORM_PPC464]: Likewise.
6249 [PPC_PLATFORM_PPC476]: Likewise.
6250 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6251 ppc464, and ppc476 platform strings merging from ports/
6252 dl-procinfo.h.
6253
f22bc486
AS
62542013-06-11 Andreas Schwab <schwab@suse.de>
6255
6256 [BZ #14991]
6257 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6258 (from_ucs4_idx): Regenerate.
6259 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6260 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6261 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6262 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6263 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6264 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6265 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6266 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6267 from FROM_LOOP and TO_LOOP specific macros.
6268 (BODY): Handle combining characters.
6269 * iconvdata/BIG5HKSCS.irreversible: Update.
6270 * iconvdata/BIG5HKSCS.precomposed: New file.
6271 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6272 characters.
6273 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6274
c1f75dc3
SP
62752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6276
4eacded2
SP
6277 * include/sys/time.h: Fix indentation and add copyright header.
6278
fec799f8
SP
6279 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6280 (do_test): Likewise.
6281 * string/test-memchr.c (do_one_test): Likewise.
6282 (do_test): Likewise.
6283 * string/test-memcmp.c (do_one_test): Likewise.
6284 (do_test): Likewise.
6285 * string/test-memcpy.c (do_one_test): Likewise.
6286 (do_test): Likewise.
6287 * string/test-memmem.c (do_one_test): Likewise.
6288 (do_test): Likewise.
6289 (do_random_tests): Likewise.
6290 * string/test-memmove.c (do_one_test): Likewise.
6291 (do_test): Likewise.
6292 * string/test-memset.c (do_one_test): Likewise.
6293 (do_test): Likewise.
6294 * string/test-rawmemchr.c (do_one_test): Likewise.
6295 (do_test): Likewise.
6296 * string/test-strcasecmp.c (do_one_test): Likewise.
6297 (do_test): Likewise.
6298 * string/test-strcasestr.c (do_one_test): Likewise.
6299 (do_test): Likewise.
6300 * string/test-strcat.c (do_one_test): Likewise.
6301 (do_test): Likewise.
6302 * string/test-strchr.c (do_one_test): Likewise.
6303 (do_test): Likewise.
6304 * string/test-strcmp.c (do_one_test): Likewise.
6305 (do_test): Likewise.
6306 * string/test-strcpy.c (do_one_test): Likewise.
6307 (do_test): Likewise.
6308 * string/test-string.h: Likewise.
6309 (test_init): Likewise.
6310 * string/test-strlen.c (do_one_test): Likewise.
6311 (do_test): Likewise.
6312 * string/test-strncasecmp.c (do_one_test): Likewise.
6313 (do_test): Likewise.
6314 * string/test-strncat.c (do_one_test): Likewise.
6315 (do_test): Likewise.
6316 * string/test-strncmp.c (do_one_test): Likewise.
6317 (do_test_limit): Likewise.
6318 (do_test): Likewise.
6319 * string/test-strncpy.c (do_one_test): Likewise.
6320 (do_test): Likewise.
6321 * string/test-strnlen.c (do_one_test): Likewise.
6322 (do_test): Likewise.
6323 * string/test-strpbrk.c (do_one_test): Likewise.
6324 (do_test): Likewise.
6325 * string/test-strrchr.c (do_one_test): Likewise.
6326 (do_test): Likewise.
6327 * string/test-strspn.c (do_one_test): Likewise.
6328 (do_test): Likewise.
6329 * string/test-strstr.c (do_one_test): Likewise.
6330 (do_test): Likewise.
6331
97020474
SP
6332 * benchtests/Makefile (string-bench): Add string benchmarks.
6333 * benchtests/bench-bcopy-ifunc.c: New file.
6334 * benchtests/bench-bcopy.c: New file.
6335 * benchtests/bench-bzero-ifunc.c: New file.
6336 * benchtests/bench-bzero.c: New file.
6337 * benchtests/bench-memccpy-ifunc.c: New file.
6338 * benchtests/bench-memccpy.c: New file.
6339 * benchtests/bench-memchr-ifunc.c: New file.
6340 * benchtests/bench-memchr.c: New file.
6341 * benchtests/bench-memcmp-ifunc.c: New file.
6342 * benchtests/bench-memcmp.c: New file.
6343 * benchtests/bench-memmem-ifunc.c: New file.
6344 * benchtests/bench-memmem.c: New file.
6345 * benchtests/bench-memmove-ifunc.c: New file.
6346 * benchtests/bench-memmove.c: New file.
6347 * benchtests/bench-mempcpy-ifunc.c: New file.
6348 * benchtests/bench-mempcpy.c: New file.
6349 * benchtests/bench-memset-ifunc.c: New file.
6350 * benchtests/bench-memset.c: New file.
6351 * benchtests/bench-rawmemchr-ifunc.c: New file.
6352 * benchtests/bench-rawmemchr.c: New file.
6353 * benchtests/bench-stpcpy-ifunc.c: New file.
6354 * benchtests/bench-stpcpy.c: New file.
6355 * benchtests/bench-stpncpy-ifunc.c: New file.
6356 * benchtests/bench-stpncpy.c: New file.
6357 * benchtests/bench-strcasecmp-ifunc.c: New file.
6358 * benchtests/bench-strcasecmp.c: New file.
6359 * benchtests/bench-strcasestr-ifunc.c: New file.
6360 * benchtests/bench-strcasestr.c: New file.
6361 * benchtests/bench-strcat-ifunc.c: New file.
6362 * benchtests/bench-strcat.c: New file.
6363 * benchtests/bench-strchr-ifunc.c: New file.
6364 * benchtests/bench-strchr.c: New file.
6365 * benchtests/bench-strchrnul-ifunc.c: New file.
6366 * benchtests/bench-strchrnul.c: New file.
6367 * benchtests/bench-strcmp-ifunc.c: New file.
6368 * benchtests/bench-strcmp.c: New file.
6369 * benchtests/bench-strcpy-ifunc.c: New file.
6370 * benchtests/bench-strcpy.c: New file.
6371 * benchtests/bench-strcspn-ifunc.c: New file.
6372 * benchtests/bench-strcspn.c: New file.
6373 * benchtests/bench-strlen-ifunc.c: New file.
6374 * benchtests/bench-strlen.c: New file.
6375 * benchtests/bench-strncasecmp-ifunc.c: New file.
6376 * benchtests/bench-strncasecmp.c: New file.
6377 * benchtests/bench-strncat-ifunc.c: New file.
6378 * benchtests/bench-strncat.c: New file.
6379 * benchtests/bench-strncmp-ifunc.c: New file.
6380 * benchtests/bench-strncmp.c: New file.
6381 * benchtests/bench-strncpy-ifunc.c: New file.
6382 * benchtests/bench-strncpy.c: New file.
6383 * benchtests/bench-strnlen-ifunc.c: New file.
6384 * benchtests/bench-strnlen.c: New file.
6385 * benchtests/bench-strpbrk-ifunc.c: New file.
6386 * benchtests/bench-strpbrk.c: New file.
6387 * benchtests/bench-strrchr-ifunc.c: New file.
6388 * benchtests/bench-strrchr.c: New file.
6389 * benchtests/bench-strspn-ifunc.c: New file.
6390 * benchtests/bench-strspn.c: New file.
6391 * benchtests/bench-strstr-ifunc.c: New file.
6392 * benchtests/bench-strstr.c: New file.
6393
c1f75dc3
SP
6394 * benchtests/Makefile: Disable parallel execution of targets.
6395 (string-bench): Add memcpy.
6396 (benchset): New variable to store a list of benchmark sets.
6397 (bench-func): Renamed from bench.
6398 (bench-set): New target.
6399 (bench): Depend on bench-func and bench-set.
6400 * benchtests/README: Add section on benchmark sets.
6401 * benchtests/bench-memcpy-ifunc.c: New file.
6402 * benchtests/bench-memcpy.c: New file.
6403 * benchtests/bench-string.h: New file.
6404
50fd745b
AS
64052013-06-11 Andreas Schwab <schwab@suse.de>
6406
6407 [BZ #15577]
6408 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6409 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6410 values in the triple.
6411 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6412 terminator in the group key.
6413
3ee7e9fe
AJ
64142013-06-11 Andreas Jaeger <aj@suse.de>
6415
6416 * po/zh_TW.po: Update Chinese (traditional) translation from
6417 translation project.
6418
89fb6835
SP
64192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6420
6421 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6422 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6423 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6425 (clock_getcpuclockid): Likewise.
6426 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6427 Add weak_alias and libc_hidden_def.
6428 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6429 * rt/clock_gettime.c (clock_gettime): Rename to
6430 __clock_gettime. Add weak_alias and libc_hidden_def.
6431 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6432 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6433 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6434 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6435 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6436 Likewise.
6437 * rt/clock_settime.c (clock_settime): Rename to
6438 __clock_settime. Add weak_alias and libc_hidden_def.
6439 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6440
0efa6f8b
JM
64412013-06-10 Joseph Myers <joseph@codesourcery.com>
6442
b8c61b4b
JM
6443 * mach/err_boot.sub: Remove trailing whitespace.
6444 * mach/err_ipc.sub: Likewise.
6445 * mach/err_mach.sub: Likewise.
6446
0efa6f8b
JM
6447 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6448 (ROUNDING_TESTS_double): Likewise.
6449 (ROUNDING_TESTS_long_double): Likewise.
6450 (ROUNDING_TESTS): Likewise.
6451 * math/libm-test.inc: Include <math-tests.h>.
6452 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6453 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6454 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6455 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6456
50b818bf
SP
64572013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6458
6459 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6460 of assigning.
6461
60d2f8f3
JM
64622013-06-08 Joseph Myers <joseph@codesourcery.com>
6463
4902d2c3
JM
6464 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6465 otherwise empty TRANS lines.
6466 * sysdeps/gnu/errlist.c: Regenerated.
6467
60d2f8f3
JM
6468 * catgets/gencat.c (error_print): Use (void) in function
6469 definition.
6470 * crypt/crypt_util.c (__init_des): Likewise.
6471 * crypt/speeds.c (Stop): Likewise.
6472 (main): Likewise.
6473 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6474 * inet/ruserpass.c (token): Likewise.
6475 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6476 * intl/localealias.c (extend_alias_table): Likewise.
6477 * intl/plural-exp.c (init_germanic_plural): Likewise.
6478 * libio/fcloseall.c (__fcloseall): Likewise.
6479 * libio/genops.c (_IO_flush_all): Likewise.
6480 (_IO_flush_all_linebuffered): Likewise.
6481 (_IO_cleanup): Likewise.
6482 (_IO_iter_begin): Likewise.
6483 (_IO_iter_end): Likewise.
6484 (_IO_list_lock): Likewise.
6485 (_IO_list_unlock): Likewise.
6486 (_IO_list_resetlock): Likewise.
6487 * libio/getchar.c (getchar): Likewise.
6488 * libio/getchar_u.c (getchar_unlocked): Likewise.
6489 * libio/getwchar.c (getwchar): Likewise.
6490 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6491 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6492 * login/getpt.c (__getpt): Likewise.
6493 * login/tst-utmp.c (main): Likewise.
6494 * malloc/hooks.c (__malloc_check_init): Likewise.
6495 * malloc/malloc.c (__malloc_stats): Likewise.
6496 * malloc/mtrace.c (tr_break): Likewise.
6497 (mtrace): Likewise.
6498 (muntrace): Likewise.
6499 * misc/fstab.c (endfsent): Likewise.
6500 * misc/getclktck.c (__getclktck): Likewise.
6501 * misc/getdtsz.c (__getdtablesize): Likewise.
6502 * misc/gethostid.c (gethostid): Likewise.
6503 * misc/getpagesize.c (__getpagesize): Likewise.
6504 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6505 (__get_nprocs): Likewise.
6506 (__get_phys_pages): Likewise.
6507 (__get_avphys_pages): Likewise.
6508 * misc/getttyent.c (getttyent): Likewise.
6509 (setttyent): Likewise.
6510 (endttyent): Likewise.
6511 * misc/getusershell.c (getusershell): Likewise.
6512 (endusershell): Likewise.
6513 (setusershell): Likewise.
6514 (initshells): Likewise.
6515 * misc/hsearch.c (__hdestroy): Likewise.
6516 * misc/sync.c (sync): Likewise.
6517 * misc/syslog.c (closelog_internal): Likewise.
6518 (closelog): Likewise.
6519 * misc/ttyslot.c (ttyslot): Likewise.
6520 * misc/vhangup.c (vhangup): Likewise.
6521 * posix/fork.c (__fork): Likewise.
6522 * posix/getegid.c (__getegid): Likewise.
6523 * posix/geteuid.c (__geteuid): Likewise.
6524 * posix/getgid.c (__getgid): Likewise.
6525 * posix/getpid.c (__getpid): Likewise.
6526 * posix/getppid.c (__getppid): Likewise.
6527 * posix/getuid.c (__getuid): Likewise.
6528 * posix/pause.c (pause): Likewise.
6529 * posix/setpgrp.c (setpgrp): Likewise.
6530 * posix/setsid.c (__setsid): Likewise.
6531 * posix/test-vfork.c (noop): Likewise.
6532 * resolv/gethnamaddr.c (_endhtent): Likewise.
6533 (_gethtent): Likewise.
6534 (ht_endhostent): Likewise.
6535 (gethostent): Likewise.
6536 (dns_service): Likewise.
6537 * stdlib/drand48.c (drand48): Likewise.
6538 * stdlib/lrand48.c (lrand48): Likewise.
6539 * stdlib/mrand48.c (mrand48): Likewise.
6540 * stdlib/rand.c (rand): Likewise.
6541 * stdlib/random.c (__random): Likewise.
6542 * stdlib/setenv.c (clearenv): Likewise.
6543 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6544 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6545 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6546 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6547 (__get_nprocs): Likewise.
6548 (__get_phys_pages): Likewise.
6549 (__get_avphys_pages): Likewise.
6550 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6551 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6552 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6553 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6554 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6555 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6556 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6557 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6558 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6559 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6560 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6561 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6562 * sysdeps/posix/clock.c (clock): Likewise.
6563 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6564 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6565 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6566 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6567 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6568 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6569 (__get_nprocs_conf): Likewise.
6570 (__get_phys_pages): Likewise.
6571 (__get_avphys_pages): Likewise.
6572 * time/clock.c (clock): Likewise.
6573 * time/tzset.c (__tzname_max): Likewise.
6574
2e09a79a
JM
65752013-06-07 Joseph Myers <joseph@codesourcery.com>
6576
6577 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6578 (__bswap_32): Do not use "register".
6579 * crypt/crypt.c (_ufc_doit_r): Likewise.
6580 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6581 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6582 * gmon/gmon.c (__monstartup): Likewise.
6583 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6584 * hurd/hurdmalloc.c (more_memory): Likewise.
6585 (malloc): Likewise.
6586 (free): Likewise.
6587 (realloc): Likewise.
6588 (malloc_fork_prepare): Likewise.
6589 (malloc_fork_parent): Likewise.
6590 (malloc_fork_child): Likewise.
6591 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6592 (_svcauth_des): Likewise.
6593 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6594 * inet/inet_net.c (inet_network): Likewise.
6595 * inet/inet_netof.c (inet_netof): Likewise.
6596 * inet/rcmd.c (__validuser2_sa): Likewise.
6597 * io/fts.c (fts_open): Likewise.
6598 (fts_load): Likewise.
6599 (fts_close): Likewise.
6600 (fts_read): Likewise.
6601 (fts_children): Likewise.
6602 (fts_build): Likewise.
6603 (fts_stat): Likewise.
6604 (fts_sort): Likewise.
6605 (fts_alloc): Likewise.
6606 (fts_lfree): Likewise.
6607 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6608 (_IO_file_xsgetn): Likewise.
6609 (_IO_file_xsgetn_mmap): Likewise.
6610 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6611 (_IO_cookie_write): Likewise.
6612 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6613 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6614 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6615 * malloc/obstack.c (_obstack_begin): Likewise.
6616 (_obstack_begin_1): Likewise.
6617 (_obstack_newchunk): Likewise.
6618 (_obstack_allocated_p): Likewise.
6619 (obstack_free): Likewise.
6620 (_obstack_memory_used): Likewise.
6621 * misc/getttyent.c (getttynam): Likewise.
6622 (getttyent): Likewise.
6623 (skip): Likewise.
6624 (value): Likewise.
6625 * misc/getusershell.c (initshells): Likewise.
6626 * misc/syslog.c (__vsyslog_chk): Likewise.
6627 * misc/ttyslot.c (ttyslot): Likewise.
6628 * nis/nis_hash.c (__nis_hash): Likewise.
6629 * posix/fnmatch_loop.c (FCT): Likewise.
6630 * posix/getconf.c (print_all): Likewise.
6631 (main): Likewise.
6632 * posix/getopt.c (exchange): Likewise.
6633 * posix/glob.c (globfree): Likewise.
6634 (prefix_array): Likewise.
6635 (__glob_pattern_type): Likewise.
6636 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6637 (NS_GET32): Likewise.
6638 (NS_PUT16): Likewise.
6639 (NS_PUT32): Likewise.
6640 * resolv/gethnamaddr.c (getanswer): Likewise.
6641 (gethostbyname2): Likewise.
6642 (gethostbyaddr): Likewise.
6643 (_gethtent): Likewise.
6644 (_gethtbyname2): Likewise.
6645 (_gethtbyaddr): Likewise.
6646 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6647 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6648 * resolv/res_init.c (__res_vinit): Likewise.
6649 (net_mask): Likewise.
6650 * resolv/res_mkquery.c (outchar): Likewise.
6651 (PRINT): Likewise.
6652 * stdio-common/printf_fp.c (outchar): Likewise.
6653 (PRINT): Likewise.
6654 * stdio-common/printf_fphex.c (outchar): Likewise.
6655 (PRINT): Likewise.
6656 * stdio-common/printf_size.c (outchar): Likewise.
6657 (PRINT): Likewise.
6658 * stdio-common/test_rdwr.c (main): Likewise.
6659 * stdio-common/tfformat.c (matches): Likewise.
6660 * stdio-common/vfprintf.c (outchar): Likewise.
6661 (printf_unknown): Likewise.
6662 (buffered_vfprintf): Likewise.
6663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6664 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6665 (ReadFile): Likewise.
6666 * stdlib/qsort.c (SWAP): Likewise.
6667 (_quicksort): Likewise.
6668 * stdlib/setenv.c (__add_to_environ): Likewise.
6669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6670 * stdlib/strtol_l.c (__strtol_l): Likewise.
6671 * stdlib/tst-strtod.c (main): Likewise.
6672 * stdlib/tst-strtol.c (main): Likewise.
6673 * stdlib/tst-strtoll.c (main): Likewise.
6674 * string/bits/string2.h (__strcmp_cc): Likewise.
6675 (__strcmp_cg): Likewise.
6676 (__strcspn_c1): Likewise.
6677 (__strcspn_c2): Likewise.
6678 (__strcspn_c3): Likewise.
6679 (__strspn_c1): Likewise.
6680 (__strspn_c2): Likewise.
6681 (__strspn_c3): Likewise.
6682 (__strsep_1c): Likewise.
6683 (__strsep_2c): Likewise.
6684 (__strsep_3c): Likewise.
6685 * string/memccpy.c (__memccpy): Likewise.
6686 * string/stpcpy.c (__stpcpy): Likewise.
6687 * string/strcmp.c (strcmp): Likewise.
6688 * string/strrchr.c (strrchr): Likewise.
6689 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6690 Likewise.
6691 * sysdeps/mach/hurd/getcwd.c
6692 (_hurd_canonicalize_directory_name_internal): Likewise.
6693 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6694 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6695 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6696 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6697 Likewise, in both definitions.
6698 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6699 definitions.
6700 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6701 64] (__bswap_64): Likewise.
6702 * time/test_time.c (main): Likewise.
6703 * time/tzfile.c (__tzfile_read): Likewise.
6704 (__tzfile_compute): Likewise.
6705 * time/tzset.c (__tzset_parse_tz): Likewise.
6706 (tzset_internal): Likewise.
6707 (compute_change): Likewise.
6708 * wcsmbs/wcscat.c (__wcscat): Likewise.
6709 * wcsmbs/wcschr.c (wcschr): Likewise.
6710 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6711 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6712 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6713 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6714 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6715 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6716 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6717 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6718 * wcsmbs/wmemset.c (wmemset): Likewise.
6719
9e54314b
JM
67202013-06-06 Joseph Myers <joseph@codesourcery.com>
6721
6722 * scripts/config.guess: Update to version 2013-05-16.
6723 * scripts/config.sub: Update to version 2013-04-24.
6724 * scripts/install-sh: Update to version 2011-11-20.07.
6725 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6726 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6727
350635a5
OB
67282013-06-06 Ondřej Bílka <neleai@seznam.cz>
6729
6730 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6731 * elf/sln.c: Likewise.
6732 * hurd/hurd/ioctl.h: Likewise.
6733 * hurd/hurdmalloc.c: Likewise.
6734 * hurd/xattr.c: Likewise.
6735 * include/shlib-compat.h: Likewise.
6736 * inet/ruserpass.c: Likewise.
6737 * libio/iofgets_u.c: Likewise.
6738 * libio/iofgetws_u.c: Likewise.
6739 * locale/programs/ld-identification.c: Likewise.
6740 * locale/programs/ld-time.c: Likewise.
6741 * mach/msg-destroy.c: Likewise.
6742 * nss/nss_files/files-netgrp.c: Likewise.
6743 * resolv/res_data.c: Likewise.
6744 * soft-fp/op-1.h: Likewise.
6745 * soft-fp/op-2.h: Likewise.
6746 * soft-fp/op-4.h: Likewise.
6747 * soft-fp/op-common.h: Likewise.
6748 * stdio-common/printf_fphex.c: Likewise.
6749 * stdlib/strtod_l.c: Likewise.
6750 * sunrpc/rpc/clnt.h: Likewise.
6751 * sysdeps/generic/framestate.c: Likewise.
6752 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6753 * sysdeps/i386/bsd-setjmp.S: Likewise.
6754 * sysdeps/i386/__longjmp.S: Likewise.
6755 * sysdeps/i386/setjmp.S: Likewise.
6756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6757 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6774 * sysdeps/ieee754/support.c: Likewise.
6775 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6776 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6777 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6778 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6779 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6780 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6781 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6782 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6783 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6784 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6785 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6786 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6787 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6788 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6789 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6790 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6791 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6793
44a988af
OB
67942013-06-05 Ondřej Bílka <neleai@seznam.cz>
6795
25506f09 6796 * posix/transbug.c: Remove executable mode.
44a988af 6797
9c84384c
JM
67982013-06-05 Joseph Myers <joseph@codesourcery.com>
6799
6800 * crypt/speeds.c: Remove trailing whitespace.
6801 * dlfcn/default.c: Likewise.
6802 * elf/ifuncdep2.c: Likewise.
6803 * elf/ifuncmain1.c: Likewise.
6804 * elf/ifuncmain1vis.c: Likewise.
6805 * elf/testobj.h: Likewise.
6806 * elf/tst-stackguard1.c: Likewise.
6807 * gmon/sys/gmon.h: Likewise.
6808 * hurd/hurdmsg.c: Likewise.
6809 * hurd/new-fd.c: Likewise.
6810 * hurd/ports-get.c: Likewise.
6811 * iconvdata/ibm1008_420.c: Likewise.
6812 * inet/tst-getni1.c: Likewise.
6813 * inet/tst-getni2.c: Likewise.
6814 * libio/ioungetc.c: Likewise.
6815 * libio/wfiledoalloc.c: Likewise.
6816 * manual/libm-err-tab.pl: Likewise.
6817 * math/w_dremf.c: Likewise.
6818 * misc/ftruncate.c: Likewise.
6819 * posix/bug-glob2.c: Likewise.
6820 * posix/tst-pcre.c: Likewise.
6821 * posix/wait4.c: Likewise.
6822 * resolv/README: Likewise.
6823 * resolv/res_debug.h: Likewise.
6824 * resolv/tst-inet_ntop.c: Likewise.
6825 * setjmp/bug269-setjmp.c: Likewise.
6826 * soft-fp/extended.h: Likewise.
6827 * soft-fp/op-1.h: Likewise.
6828 * soft-fp/op-2.h: Likewise.
6829 * soft-fp/op-4.h: Likewise.
6830 * soft-fp/op-8.h: Likewise.
6831 * soft-fp/testit.c: Likewise.
6832 * stdio-common/bug16.c: Likewise.
6833 * stdlib/random.c: Likewise.
6834 * sunrpc/rpcsvc/rquota.x: Likewise.
6835 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6836 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6838 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6839 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6842 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6843 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6844 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6845 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6864 * sysdeps/ieee754/s_lib_version.c: Likewise.
6865 * sysdeps/mach/hurd/check_fds.c: Likewise.
6866 * sysdeps/mach/hurd/getsockname.c: Likewise.
6867 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6868 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6869 * sysdeps/powerpc/bits/link.h: Likewise.
6870 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6871 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6872 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6873 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6874 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6875 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6876 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6877 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6878 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6879 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6880 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6881 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6882 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6883 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6884 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6885 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6888 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6889 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6891 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6892 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6893 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6894 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6897 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6898 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6902 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6904 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6905 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6906 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6907 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6909 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6910 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6911 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6912 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6913 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6914 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6915 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6916 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6917 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6918 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6919 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6922 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6923 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6924 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6925 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6926 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6927 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6928 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6931 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6932 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6933 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6934 * sysdeps/powerpc/sysdep.h: Likewise.
6935 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6936 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6937 * sysdeps/sh/dl-trampoline.S: Likewise.
6938 * sysdeps/sh/memset.S: Likewise.
6939 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6940 * sysdeps/sh/strlen.S: Likewise.
6941 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6942 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6943 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6944 * sysdeps/sparc/sparc32/rem.S: Likewise.
6945 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6946 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6947 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6948 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6949 * sysdeps/sparc/sparc32/urem.S: Likewise.
6950 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6951 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6952 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6953 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6954 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6955 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6956 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6957 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6958 * sysdeps/unix/bsd/times.c: Likewise.
6959 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6960 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6964 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6965 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6966 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6968 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6969 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6971 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6972 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6973 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6974 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6975 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6976 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6977 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6978 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6979 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6980 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6981 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6982 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6983 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6984 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6985 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6986 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6987 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6988 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6989 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6990 * sysdeps/x86_64/strcspn.S: Likewise.
6991
869378a5
RA
69922013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6993
6994 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6995 generated file. Regenerate properly from gen-translit.pl.
6996 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6997 locale/C-translit.h.
6998
840e2943
AS
69992013-06-05 Andreas Schwab <schwab@suse.de>
7000
7001 [BZ #15100]
7002 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7003 week as 6 instead of -1.
7004 * time/tst-strptime.c (day_tests): Add test case.
7005
4c60cb0c
SP
70062013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7007
7008 * sysdeps/generic/math_private.h
7009 (libc_feholdexcept_setround_53bit): Replace with
7010 libc_feholdsetround_53bit.
7011 (libc_feupdateenv_53bit): Replace with
7012 libc_feresetround_53bit.
7013 (SET_RESTORE_ROUND_53BIT): Adjust.
7014
d180203e
SP
70152013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7016
96df079a
SP
7017 * string/test-strchrnul.c: Add copyright header.
7018
d180203e
SP
7019 * posix/tst-getaddrinfo4.c: Increase test timeout.
7020
8b0ccb2d
CD
70212013-06-03 Carlos O'Donell <carlos@redhat.com>
7022
7023 [BZ #15536]
7024 * math/libm-test.inc (MAX_EXP): Remove
7025 (MIN_EXP): Define.
7026 (ulp): Use MIN_EXP - MANT_DIG.
7027 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7028
3b3c4d40
CD
70292013-05-31 Carlos O'Donell <carlos@redhat.com>
7030
7031 * po/be.po: Revert last change.
7032 * po/zh_CN.po: Likewise.
7033 * po/header.pot: Likewise.
7034
fab7ce3f
JM
70352013-05-31 Joseph Myers <joseph@codesourcery.com>
7036
7037 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7038 link-libc-deps to empty as target-specific variable.
7039 * Makerules (link-libc-args): New variable.
7040 (libc-for-link): Likewise.
7041 (link-libc-deps): Likewise.
7042 (lib%.so): Depend on $(link-libc-deps). Link with
7043 $(link-libc-args).
7044 (build-module): Link with $(link-libc-args).
7045 (build-module-asneeded): Likewise.
7046 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7047 list of objects.
7048 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7049 target-specific variable.
7050 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7051 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7052 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7053 libc.
7054 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7055 libc and ld.so.
7056 ($(objpfx)libpcprofile.so): Likewise.
7057 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7058 libc_nonshared.a.
7059 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7060 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7061 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7062 $(link-libc-deps).
7063 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7064 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7065 * login/Makefile ($(objpfx)libutil.so): Likewise.
7066 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7067 * math/Makefile ($(objpfx)libm.so): Likewise.
7068 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7069 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7070 variable instead of depending directly on libc.
7071 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7072 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7073 $(link-libc-deps).
7074 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7075 libc.
7076 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7077 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7078 ($(objpfx)libanl.so): Likewise.
7079 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7080 ld.so.
7081 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7082 $(link-libc-deps).
7083 * sysdeps/i386/fpu/Makefile: Remove file.
7084 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7085 ($(objpfx)libm.so): Remove dependency on ld.so.
7086
eca5920c
PF
70872013-05-30 Patsy Franklin <pfrankli@redhat.com>
7088
7089 [BZ # 15553]
7090 * nis/yp_xdr.c (XDRMAXNAME): Define.
7091 (XDRMAXRECORD): Define.
7092 (xdr_domainname): Use XDRMAXNAME.
7093 (xdr_mapname): Likewise.
7094 (xdr_peername): Likewise.
7095 (xdr_keydat): Use XDRMAXRECORD.
7096 (xdr_valdat): Likewise.
7097
70982013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7099
7100 [BZ #14256]
7101 * manual/errno.texi (ESTALE): Update to account for more than
7102 just NFS file systems.
7103 * sysdeps/gnu/errlist.c: Regenerated.
7104
b9375348
SP
71052013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7106
7107 [BZ #15465]
7108 * elf/Makefile (tests): Add tst-null-argv.
7109 (modules-names): Add tst-null-argv-lib.
7110 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7111 (tst-null-argv-ENV): Set environment for tst-null-argv.
7112 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7113 (RTLD_PROGNAME): New macro.
7114 * elf/tst-null-argv.c: New test case.
7115 * elf/tst-null-argv-lib.c: Library for test case.
7116 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7117 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7118 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7119 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7120 * elf/dl-init.c (call_init): Likewise.
7121 (_dl_init): Likewise.
7122 * elf/dl-load.c (print_search_path): Likewise.
7123 (_dl_map_object): Likewise.
7124 * elf/dl-lookup.c (do_lookup_x): Likewise.
7125 (add_dependency): Likewise.
7126 (_dl_lookup_symbol_x): Likewise.
7127 (_dl_debug_bindings): Likewise.
7128 * elf/dl-open.c (_dl_show_scope): Likewise.
7129 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7130 * elf/dl-version.c (match_symbol): Likewise.
7131 (_dl_check_map_versions): Likewise.
7132 * elf/rtld.c (dl_main): Likewise.
7133 (print_unresolved): Use RTLD_PROGNAME.
7134 (print_missing_version): Likewise.
7135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7136 (elf_machine_rela): Likewise.
7137 * sysdeps/powerpc/powerpc32/dl-machine.c
7138 (__process_machine_rela): Likewise.
7139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7140 Likewise.
7141 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7142 Likewise.
7143 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7144 Likewise.
7145 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7146 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7147 Likewise.
7148 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7149 Likewise.
7150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7151
8a9f20c8
CD
71522013-05-28 Carlos O'Donell <carlos@redhat.com>
7153
7154 * po/be.po: Add descriptive title.
7155 * po/zh_CN.po: Likewise.
7156 * po/header.pot: Likewise.
7157
0e60d68e
MF
71582013-05-28 Mike Frysinger <vapier@gentoo.org>
7159
7160 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7161 error message.
7162 (enlarge_archive): Likewise.
7163
56b672e9
BN
71642013-05-28 Ben North <ben@redfrontdoor.org>
7165
7166 * manual/arith.texi (frexp): It is the magnitude of the return
7167 value which lies in [0.5, 1), not the return value itself.
7168
5e056687
AZ
71692013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7170
7171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7172
2b66ef5d
TS
71732013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7174
528c2405
TS
7175 * stdio-common/bug26.c (main): Correct fscanf template.
7176
07b4c13d
TS
7177 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7178 declare _dl_skip_args.
7179
ec9dd97c
TS
7180 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7181 Don't declare.
7182
2b66ef5d
TS
7183 * manual/platform.texi: Add missing @end deftypefun.
7184
4f8dfe27
JM
71852013-05-24 Joseph Myers <joseph@codesourcery.com>
7186
0323d086
JM
7187 [BZ #15529]
7188 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7189 bit of mantissa of 2^16382.
7190 * math/libm-test.inc (hypot_test_data): Add more tests.
7191
dd4259b9
JM
7192 * math/libm-test.inc: Add drem and pow10 to list of tested
7193 functions.
7194 (pow10_test): New function.
7195 (drem_test): Likewise.
7196 (drem_test_tonearest): Likewise.
7197 (drem_test_towardzero): Likewise.
7198 (drem_test_downward): Likewise.
7199 (drem_test_upward): Likewise.
7200 (main): Call the new functions.
7201
4f8dfe27
JM
7202 * math/libm-test.inc (finite_test_data): Remove.
7203 (finite_test): Run tests from isfinite_test_data.
7204 (gamma_test_data): Remove.
7205 (gamma_test): Run tests from lgamma_test_data.
7206 * sysdeps/i386/fpu/libm-test-ulps: Update.
7207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7208
d116b7c4
AZ
72092013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7210
7211 * manual/platform.texi: Add PowerPC PPR function set documentation.
7212 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7213 implementation.
7214
e96e3767
CD
72152013-05-24 Carlos O'Donell <carlos@redhat.com>
7216
7217 * math/libm-test.inc (MAX_EXP): Define.
7218 (ULPDIFF): Define.
7219 (ulp): New function.
7220 (check_float_internal): Use ULPDIFF.
7221 (cpow_test): Disable failing test.
7222 (check_ulp): Test ulp() implemetnation.
7223 (main): Call check_ulp before starting tests.
7224
b679a606
JM
72252013-05-24 Joseph Myers <joseph@codesourcery.com>
7226
e8bdba36
JM
7227 * math/gen-libm-test.pl (generate_testfile): Do not handle
7228 START_DATA and END_DATA.
7229 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7230 END_DATA.
7231 (acos_tonearest_test_data): Likewise.
7232 (acos_towardzero_test_data): Likewise.
7233 (acos_downward_test_data): Likewise.
7234 (acos_upward_test_data): Likewise.
7235 (acosh_test_data): Likewise.
7236 (asin_test_data): Likewise.
7237 (asin_tonearest_test_data): Likewise.
7238 (asin_towardzero_test_data): Likewise.
7239 (asin_downward_test_data): Likewise.
7240 (asin_upward_test_data): Likewise.
7241 (asinh_test_data): Likewise.
7242 (atan_test_data): Likewise.
7243 (atanh_test_data): Likewise.
7244 (atan2_test_data): Likewise.
7245 (cabs_test_data): Likewise.
7246 (cacos_test_data): Likewise.
7247 (cacosh_test_data): Likewise.
7248 (carg_test_data): Likewise.
7249 (casin_test_data): Likewise.
7250 (casinh_test_data): Likewise.
7251 (catan_test_data): Likewise.
7252 (catanh_test_data): Likewise.
7253 (cbrt_test_data): Likewise.
7254 (ccos_test_data): Likewise.
7255 (ccosh_test_data): Likewise.
7256 (ceil_test_data): Likewise.
7257 (cexp_test_data): Likewise.
7258 (cimag_test_data): Likewise.
7259 (clog_test_data): Likewise.
7260 (clog10_test_data): Likewise.
7261 (conj_test_data): Likewise.
7262 (copysign_test_data): Likewise.
7263 (cos_test_data): Likewise.
7264 (cos_tonearest_test_data): Likewise.
7265 (cos_towardzero_test_data): Likewise.
7266 (cos_downward_test_data): Likewise.
7267 (cos_upward_test_data): Likewise.
7268 (cosh_test_data): Likewise.
7269 (cosh_tonearest_test_data): Likewise.
7270 (cosh_towardzero_test_data): Likewise.
7271 (cosh_downward_test_data): Likewise.
7272 (cosh_upward_test_data): Likewise.
7273 (cpow_test_data): Likewise.
7274 (cproj_test_data): Likewise.
7275 (creal_test_data): Likewise.
7276 (csin_test_data): Likewise.
7277 (csinh_test_data): Likewise.
7278 (csqrt_test_data): Likewise.
7279 (ctan_test_data): Likewise.
7280 (ctan_tonearest_test_data): Likewise.
7281 (ctan_towardzero_test_data): Likewise.
7282 (ctan_downward_test_data): Likewise.
7283 (ctan_upward_test_data): Likewise.
7284 (ctanh_test_data): Likewise.
7285 (ctanh_tonearest_test_data): Likewise.
7286 (ctanh_towardzero_test_data): Likewise.
7287 (ctanh_downward_test_data): Likewise.
7288 (ctanh_upward_test_data): Likewise.
7289 (erf_test_data): Likewise.
7290 (erfc_test_data): Likewise.
7291 (exp_test_data): Likewise.
7292 (exp_tonearest_test_data): Likewise.
7293 (exp_towardzero_test_data): Likewise.
7294 (exp_downward_test_data): Likewise.
7295 (exp_upward_test_data): Likewise.
7296 (exp10_test_data): Likewise.
7297 (exp2_test_data): Likewise.
7298 (expm1_test_data): Likewise.
7299 (fabs_test_data): Likewise.
7300 (fdim_test_data): Likewise.
7301 (finite_test_data): Likewise.
7302 (floor_test_data): Likewise.
7303 (fma_test_data): Likewise.
7304 (fma_towardzero_test_data): Likewise.
7305 (fma_downward_test_data): Likewise.
7306 (fma_upward_test_data): Likewise.
7307 (fmax_test_data): Likewise.
7308 (fmin_test_data): Likewise.
7309 (fmod_test_data): Likewise.
7310 (fpclassify_test_data): Likewise.
7311 (frexp_test_data): Likewise.
7312 (gamma_test_data): Likewise.
7313 (hypot_test_data): Likewise.
7314 (ilogb_test_data): Likewise.
7315 (isfinite_test_data): Likewise.
7316 (isgreater_test_data): Likewise.
7317 (isgreaterequal_test_data): Likewise.
7318 (isinf_test_data): Likewise.
7319 (isless_test_data): Likewise.
7320 (islessequal_test_data): Likewise.
7321 (islessgreater_test_data): Likewise.
7322 (isnan_test_data): Likewise.
7323 (isnormal_test_data): Likewise.
7324 (issignaling_test_data): Likewise.
7325 (isunordered_test_data): Likewise.
7326 (j0_test_data): Likewise.
7327 (j1_test_data): Likewise.
7328 (jn_test_data): Likewise.
7329 (ldexp_test_data): Likewise.
7330 (lgamma_test_data): Likewise.
7331 (lrint_test_data): Likewise.
7332 (lrint_tonearest_test_data): Likewise.
7333 (lrint_towardzero_test_data): Likewise.
7334 (lrint_downward_test_data): Likewise.
7335 (lrint_upward_test_data): Likewise.
7336 (llrint_test_data): Likewise.
7337 (llrint_tonearest_test_data): Likewise.
7338 (llrint_towardzero_test_data): Likewise.
7339 (llrint_downward_test_data): Likewise.
7340 (llrint_upward_test_data): Likewise.
7341 (log_test_data): Likewise.
7342 (log10_test_data): Likewise.
7343 (log1p_test_data): Likewise.
7344 (log2_test_data): Likewise.
7345 (logb_test_data): Likewise.
7346 (logb_downward_test_data): Likewise.
7347 (lround_test_data): Likewise.
7348 (llround_test_data): Likewise.
7349 (modf_test_data): Likewise.
7350 (nearbyint_test_data): Likewise.
7351 (nextafter_test_data): Likewise.
7352 (nexttoward_test_data): Likewise.
7353 (pow_test_data): Likewise.
7354 (pow_tonearest_test_data): Likewise.
7355 (pow_towardzero_test_data): Likewise.
7356 (pow_downward_test_data): Likewise.
7357 (pow_upward_test_data): Likewise.
7358 (remainder_test_data): Likewise.
7359 (remainder_tonearest_test_data): Likewise.
7360 (remainder_towardzero_test_data): Likewise.
7361 (remainder_downward_test_data): Likewise.
7362 (remainder_upward_test_data): Likewise.
7363 (remquo_test_data): Likewise.
7364 (rint_test_data): Likewise.
7365 (rint_tonearest_test_data): Likewise.
7366 (rint_towardzero_test_data): Likewise.
7367 (rint_downward_test_data): Likewise.
7368 (rint_upward_test_data): Likewise.
7369 (round_test_data): Likewise.
7370 (scalb_test_data): Likewise.
7371 (scalbn_test_data): Likewise.
7372 (scalbln_test_data): Likewise.
7373 (signbit_test_data): Likewise.
7374 (sin_test_data): Likewise.
7375 (sin_tonearest_test_data): Likewise.
7376 (sin_towardzero_test_data): Likewise.
7377 (sin_downward_test_data): Likewise.
7378 (sin_upward_test_data): Likewise.
7379 (sincos_test_data): Likewise.
7380 (sinh_test_data): Likewise.
7381 (sinh_tonearest_test_data): Likewise.
7382 (sinh_towardzero_test_data): Likewise.
7383 (sinh_downward_test_data): Likewise.
7384 (sinh_upward_test_data): Likewise.
7385 (sqrt_test_data): Likewise.
7386 (tan_test_data): Likewise.
7387 (tan_tonearest_test_data): Likewise.
7388 (tan_towardzero_test_data): Likewise.
7389 (tan_downward_test_data): Likewise.
7390 (tan_upward_test_data): Likewise.
7391 (tanh_test_data): Likewise.
7392 (tgamma_test_data): Likewise.
7393 (trunc_test_data): Likewise.
7394 (y0_test_data): Likewise.
7395 (y1_test_data): Likewise.
7396 (yn_test_data): Likewise.
7397 (significand_test_data): Likewise.
7398
b679a606
JM
7399 * math/gen-libm-test.pl (@functions): Remove variable.
7400 (generate_testfile): Don't handle START and END lines.
7401 * math/libm-test.inc (START): New macro.
7402 (END): Likewise.
7403 (END_COMPLEX): Likewise.
7404 (acos_test): Use END macro without arguments.
7405 (acos_test_tonearest): Likewise.
7406 (acos_test_towardzero): Likewise.
7407 (acos_test_downward): Likewise.
7408 (acos_test_upward): Likewise.
7409 (acosh_test): Likewise.
7410 (asin_test): Likewise.
7411 (asin_test_tonearest): Likewise.
7412 (asin_test_towardzero): Likewise.
7413 (asin_test_downward): Likewise.
7414 (asin_test_upward): Likewise.
7415 (asinh_test): Likewise.
7416 (atan_test): Likewise.
7417 (atanh_test): Likewise.
7418 (atan2_test): Likewise.
7419 (cabs_test): Likewise.
7420 (cacos_test): Use END_COMPLEX macro without arguments.
7421 (cacosh_test): Likewise.
7422 (carg_test): Use END macro without arguments.
7423 (casin_test): Use END_COMPLEX macro without arguments.
7424 (casinh_test): Likewise.
7425 (catan_test): Likewise.
7426 (catanh_test): Likewise.
7427 (cbrt_test): Use END macro without arguments.
7428 (ccos_test): Use END_COMPLEX macro without arguments.
7429 (ccosh_test): Likewise.
7430 (ceil_test): Use END macro without arguments.
7431 (cexp_test): Use END_COMPLEX macro without arguments.
7432 (cimag_test): Use END macro without arguments.
7433 (clog_test): Use END_COMPLEX macro without arguments.
7434 (clog10_test): Likewise.
7435 (conj_test): Likewise.
7436 (copysign_test): Use END macro without arguments.
7437 (cos_test): Likewise.
7438 (cos_test_tonearest): Likewise.
7439 (cos_test_towardzero): Likewise.
7440 (cos_test_downward): Likewise.
7441 (cos_test_upward): Likewise.
7442 (cosh_test): Likewise.
7443 (cosh_test_tonearest): Likewise.
7444 (cosh_test_towardzero): Likewise.
7445 (cosh_test_downward): Likewise.
7446 (cosh_test_upward): Likewise.
7447 (cpow_test): Use END_COMPLEX macro without arguments.
7448 (cproj_test): Likewise.
7449 (creal_test): Use END macro without arguments.
7450 (csin_test): Use END_COMPLEX macro without arguments.
7451 (csinh_test): Likewise.
7452 (csqrt_test): Likewise.
7453 (ctan_test): Likewise.
7454 (ctan_test_tonearest): Likewise.
7455 (ctan_test_towardzero): Likewise.
7456 (ctan_test_downward): Likewise.
7457 (ctan_test_upward): Likewise.
7458 (ctanh_test): Likewise.
7459 (ctanh_test_tonearest): Likewise.
7460 (ctanh_test_towardzero): Likewise.
7461 (ctanh_test_downward): Likewise.
7462 (ctanh_test_upward): Likewise.
7463 (erf_test): Use END macro without arguments.
7464 (erfc_test): Likewise.
7465 (exp_test): Likewise.
7466 (exp_test_tonearest): Likewise.
7467 (exp_test_towardzero): Likewise.
7468 (exp_test_downward): Likewise.
7469 (exp_test_upward): Likewise.
7470 (exp10_test): Likewise.
7471 (exp2_test): Likewise.
7472 (expm1_test): Likewise.
7473 (fabs_test): Likewise.
7474 (fdim_test): Likewise.
7475 (finite_test): Likewise.
7476 (floor_test): Likewise.
7477 (fma_test): Likewise.
7478 (fma_test_towardzero): Likewise.
7479 (fma_test_downward): Likewise.
7480 (fma_test_upward): Likewise.
7481 (fmax_test): Likewise.
7482 (fmin_test): Likewise.
7483 (fmod_test): Likewise.
7484 (fpclassify_test): Likewise.
7485 (frexp_test): Likewise.
7486 (gamma_test): Likewise.
7487 (hypot_test): Likewise.
7488 (ilogb_test): Likewise.
7489 (isfinite_test): Likewise.
7490 (isgreater_test): Likewise.
7491 (isgreaterequal_test): Likewise.
7492 (isinf_test): Likewise.
7493 (isless_test): Likewise.
7494 (islessequal_test): Likewise.
7495 (islessgreater_test): Likewise.
7496 (isnan_test): Likewise.
7497 (isnormal_test): Likewise.
7498 (issignaling_test): Likewise.
7499 (isunordered_test): Likewise.
7500 (j0_test): Likewise.
7501 (j1_test): Likewise.
7502 (jn_test): Likewise.
7503 (ldexp_test): Likewise.
7504 (lgamma_test): Likewise.
7505 (lrint_test): Likewise.
7506 (lrint_test_tonearest): Likewise.
7507 (lrint_test_towardzero): Likewise.
7508 (lrint_test_downward): Likewise.
7509 (lrint_test_upward): Likewise.
7510 (llrint_test): Likewise.
7511 (llrint_test_tonearest): Likewise.
7512 (llrint_test_towardzero): Likewise.
7513 (llrint_test_downward): Likewise.
7514 (llrint_test_upward): Likewise.
7515 (log_test): Likewise.
7516 (log10_test): Likewise.
7517 (log1p_test): Likewise.
7518 (log2_test): Likewise.
7519 (logb_test): Likewise.
7520 (logb_test_downward): Likewise.
7521 (lround_test): Likewise.
7522 (llround_test): Likewise.
7523 (modf_test): Likewise.
7524 (nearbyint_test): Likewise.
7525 (nextafter_test): Likewise.
7526 (nexttoward_test): Likewise.
7527 (pow_test): Likewise.
7528 (pow_test_tonearest): Likewise.
7529 (pow_test_towardzero): Likewise.
7530 (pow_test_downward): Likewise.
7531 (pow_test_upward): Likewise.
7532 (remainder_test): Likewise.
7533 (remainder_test_tonearest): Likewise.
7534 (remainder_test_towardzero): Likewise.
7535 (remainder_test_downward): Likewise.
7536 (remainder_test_upward): Likewise.
7537 (remquo_test): Likewise.
7538 (rint_test): Likewise.
7539 (rint_test_tonearest): Likewise.
7540 (rint_test_towardzero): Likewise.
7541 (rint_test_downward): Likewise.
7542 (rint_test_upward): Likewise.
7543 (round_test): Likewise.
7544 (scalb_test): Likewise.
7545 (scalbn_test): Likewise.
7546 (scalbln_test): Likewise.
7547 (signbit_test): Likewise.
7548 (sin_test): Likewise.
7549 (sin_test_tonearest): Likewise.
7550 (sin_test_towardzero): Likewise.
7551 (sin_test_downward): Likewise.
7552 (sin_test_upward): Likewise.
7553 (sincos_test): Likewise.
7554 (sinh_test): Likewise.
7555 (sinh_test_tonearest): Likewise.
7556 (sinh_test_towardzero): Likewise.
7557 (sinh_test_downward): Likewise.
7558 (sinh_test_upward): Likewise.
7559 (sqrt_test): Likewise.
7560 (tan_test): Likewise.
7561 (tan_test_tonearest): Likewise.
7562 (tan_test_towardzero): Likewise.
7563 (tan_test_downward): Likewise.
7564 (tan_test_upward): Likewise.
7565 (tanh_test): Likewise.
7566 (tgamma_test): Likewise.
7567 (trunc_test): Likewise.
7568 (y0_test): Likewise.
7569 (y1_test): Likewise.
7570 (yn_test): Likewise.
7571 (significand_test): Likewise.
7572
bae143d2
OB
75732013-05-24 Ondřej Bílka <neleai@seznam.cz>
7574
7575 [BZ #15381]
7576 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7577
9323d39b
EM
75782013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7579
d4ea44a0 7580 [BZ #14894]
9323d39b
EM
7581 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7582 __ppc_mdoio and __ppc_mdoom.
7583 * manual/platform.texi: Document new functions __ppc_yield,
7584 __ppc_mdoio and __ppc_mdoom.
7585
13e23af7
CD
75862013-05-22 Carlos O'Donell <carlos@redhat.com>
7587
7588 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7589 (main): Mention "tls" pseudo-hwcap is legacy.
7590 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7591
351fe550
JM
75922013-05-22 Joseph Myers <joseph@codesourcery.com>
7593
7594 * math/gen-libm-test.pl (parse_args): Output only string of
7595 arguments as text for test name, not full call or descriptions of
7596 tests for extra outputs.
7597 (generate_testfile): Do not pass function name to parse_args.
7598 Generate this_func variable from START.
7599 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7600 field to arg_str.
7601 (struct test_ff_f_data): Likewise.
7602 (test_ff_f_data_nexttoward): Likewise.
7603 (struct test_fi_f_data): Likewise.
7604 (struct test_fl_f_data): Likewise.
7605 (struct test_if_f_data): Likewise.
7606 (struct test_fff_f_data): Likewise.
7607 (struct test_c_f_data): Likewise.
7608 (struct test_f_f1_data): Likewise. Remove field extra_name.
7609 (struct test_fF_f1_data): Likewise.
7610 (struct test_ffI_f1_data): Likewise.
7611 (struct test_c_c_data): Rename test_name field to arg_str.
7612 (struct test_cc_c_data): Likewise.
7613 (struct test_f_i_data): Likewise.
7614 (struct test_ff_i_data): Likewise.
7615 (struct test_f_l_data): Likewise.
7616 (struct test_f_L_data): Likewise.
7617 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7618 and extra2_name.
7619 (COMMON_TEST_SETUP): New macro.
7620 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7621 (COMMON_TEST_CLEANUP): Likewise.
7622 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7623 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7624 macros.
7625 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7626 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7627 macros.
7628 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7629 (RUN_TEST_fff_f): Take argument string. Call new setup and
7630 cleanup macros.
7631 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7632 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7633 macros.
7634 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7635 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7636 macros.
7637 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7638 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7639 cleanup macros.
7640 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7641 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7642 cleanup macros.
7643 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7644 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7645 cleanup macros.
7646 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7647 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7648 macros.
7649 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7650 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7651 macros.
7652 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7653 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7654 macros.
7655 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7656 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7657 cleanup macros.
7658 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7659 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7660 cleanup macros.
7661 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7662 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7663 macros.
7664 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7665 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7666 cleanup macros.
7667 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7668 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7669 macros.
7670 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7671 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7672 macros.
7673 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7674 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7675 cleanup macros.
7676 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7677
85118d4d
EBM
76782013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7679
7680 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7681 to _sifields.sigfault.
7682 (si_addr_lsb): Define new macro.
7683 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7684 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7685 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7686
7a44c18f
CD
76872013-05-03 Carlos O'Donell <carlos at redhat.com>
7688
7689 [BZ #15441]
7690 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7691 returns -1.
7692 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7693 null return -1.
7694 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7695 loading the domain.
7696
b50a7181
JM
76972013-05-22 Joseph Myers <joseph@codesourcery.com>
7698
7699 * math/gen-libm-test.pl (parse_args): Do not include expected
7700 result in test name.
7701 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7702 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7703 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7704 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7705 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7707
051063c8
SP
77082013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7709
3ce9e010
SP
7710 * benchtests/Makefile: Sort function entries.
7711
051063c8
SP
7712 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7713 tanh, asinh, acosh, atanh.
7714 * benchtests/acos-inputs: New file.
7715 * benchtests/acosh-inputs: New file.
7716 * benchtests/asin-inputs: New file.
7717 * benchtests/asinh-inputs: New file.
7718 * benchtests/atanh-inputs: New file.
7719 * benchtests/cosh-inputs: New file.
7720 * benchtests/log-inputs: New file.
7721 * benchtests/sinh-inputs: New file.
7722 * benchtests/tanh-inputs: New file.
7723
47c22455
DL
77242013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7725
7726 [BZ #15339]
7727 * posix/tst-getaddrinfo4.c: New test.
7728 * posix/Makefile (tests): Add it.
7729
3d04f5db
SP
77302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7731
7732 [BZ #15339]
7733 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7734 when no services were used.
7735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7736 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7737
d5dd6189
AS
77382013-05-21 Andreas Schwab <schwab@suse.de>
7739
7740 [BZ #15014]
7741 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7742 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7743 successful.
7744 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7745 redundant variable declarations and reallocation of buffer when
7746 parsing as IPv6 address. Always set NSS status when called from
7747 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7748 buffer too small. Correct computation of needed size.
7749 * nss/Makefile (tests): Add test-digits-dots.
7750 * nss/test-digits-dots.c: New test.
7751
fef94eab
SP
77522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7753
7754 * benchtests/Makefile: Remove instructions for adding
7755 benchmark tests.
7756 * benchtests/README: New file to explain how to execute and
7757 enhance the benchmark tests.
7758
e39adf43
AS
77592013-05-21 Andreas Schwab <schwab@suse.de>
7760
7761 [BZ #15493]
7762 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7763 * setjmp/tst-sigsetjmp.c: New test.
7764
b2b671b6
OB
77652013-05-20 Ondřej Bílka <neleai@seznam.cz>
7766
7767 * sysdeps/x86_64/memset.S (memset): New implementation.
7768 (__bzero): Likewise.
7769 (__memset_tail): New function.
7770
2d48b41c
OB
77712013-05-20 Ondřej Bílka <neleai@seznam.cz>
7772
7773 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7774 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7775 __memcpy_sse2_unaligned ifunc selection.
7776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7777 Add memcpy-sse2-unaligned.S.
7778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7779 Add: __memcpy_sse2_unaligned.
7780
f16cc3eb
JM
77812013-05-19 Joseph Myers <joseph@codesourcery.com>
7782
3e694268
JM
7783 [BZ #15490]
7784 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7785 math_force_eval before restoring floating-point envrionment.
7786 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7788 Likewise.
7789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7790 <math_private.h>.
7791 (__nearbyintl): Use math_force_eval before restoring
7792 floating-point environment.
7793 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7794
db62a907
JM
7795 * math/gen-libm-test.pl (special_functions): Remove.
7796 (parse_args): Don't handle TEST_extra. Handle functions with no
7797 return value.
7798 * math/libm-test.inc (struct test_sincos_data): Replace with
7799 struct test_fFF_11_data.
7800 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7801 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7802 (sincos_test_data): Change element type to struct
7803 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7804 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7805 RUN_TEST_LOOP_sincos.
7806 * math/README.libm-test: Don't mention special handling of
7807 individual functions.
7808 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7810 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7811 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7812 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7814
f16cc3eb
JM
7815 * math/gen-libm-test.pl (get_variable): Remove function.
7816 (parse_args): Don't show pointer parameters to call in test
7817 names. Use "extra output N" in test names for extra outputs
7818 rather than naming variables.
7819
3779b5b6
JM
78202013-05-18 Joseph Myers <joseph@codesourcery.com>
7821
2ee094ff
JM
7822 [BZ #15488]
7823 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7824 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7825 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7826 double tests.
7827 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7828 disable.
7829 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7830 check_long_double.
7831
3779b5b6
JM
7832 * math/gen-libm-test.pl (@tests): Remove variable.
7833 ($count): Likewise.
7834 (new_test): Remove function.
7835 (show_exceptions): New function.
7836 (special_functions): Use show_exceptions instead of new_test.
7837 (parse_args): Likewise.
7838 (generate_testfile): Pass only function name in generated call to
7839 print_max_error or print_complex_max_error.
7840 (get_ulps): Do not handle complex tests specially.
7841 (output_test): Rename to ...
7842 (get_all_ulps_for_test): ... this. Return a string rather than
7843 printing to a file. Require ulps to be present.
7844 (output_ulps): Generate arrays rather than #defines.
7845 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7846 (struct ulp_data): New type.
7847 (BUILD_COMPLEX_ULP): Remove macro.
7848 (compare_ulp_data): New function.
7849 (find_ulps): Likewise.
7850 (find_test_ulps): Likewise.
7851 (find_function_ulps): Likewise.
7852 (find_complex_function_ulps): Likewise.
7853 (print_max_error): Determine allowed ulps using
7854 find_function_ulps.
7855 (print_complex_max_error): Determine allowed ulps using
7856 find_complex_function_ulps.
7857 (check_float_internal): Determine max ulps using find_test_ulps.
7858 (check_float): Do not take max_ulp parameter. Update call to
7859 check_float_internal.
7860 (check_complex): Likewise.
7861 (check_int): Do not take max_ulp parameter.
7862 (check_long): Likewise.
7863 (check_bool): Likewise.
7864 (check_longlong): Likewise.
7865 (struct test_f_f_data): Remove max_ulp field.
7866 (struct test_ff_f_data): Likewise.
7867 (struct test_ff_f_data_nexttoward): Likewise.
7868 (struct test_fi_f_data): Likewise.
7869 (struct test_fl_f_data): Likewise.
7870 (struct test_if_f_data): Likewise.
7871 (struct test_fff_f_data): Likewise.
7872 (struct test_c_f_data): Likewise.
7873 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7874 (struct test_fF_f1_data): Likewise.
7875 (struct test_ffI_f1_data): Likewise.
7876 (struct test_c_c_data): Remove max_ulp field.
7877 (struct test_cc_c_data): Likewise.
7878 (struct test_f_i_data): Likewise.
7879 (struct test_ff_i_data): Likewise.
7880 (struct test_f_l_data): Likewise.
7881 (struct test_f_L_data): Likewise.
7882 (struct test_sincos_data): Likewise.
7883 (RUN_TEST_f_f): Do not handle ulps.
7884 (RUN_TEST_LOOP_f_f): Likewise.
7885 (RUN_TEST_2_f): Likewise.
7886 (RUN_TEST_LOOP_2_f): Likewise.
7887 (RUN_TEST_fff_f): Likewise.
7888 (RUN_TEST_LOOP_fff_f): Likewise.
7889 (RUN_TEST_c_f): Likewise.
7890 (RUN_TEST_LOOP_c_f): Likewise.
7891 (RUN_TEST_f_f1): Likewise.
7892 (RUN_TEST_LOOP_f_f1): Likewise.
7893 (RUN_TEST_fF_f1): Likewise.
7894 (RUN_TEST_LOOP_fF_f1): Likewise.
7895 (RUN_TEST_fI_f1): Likewise.
7896 (RUN_TEST_LOOP_fI_f1): Likewise.
7897 (RUN_TEST_ffI_f1): Likewise.
7898 (RUN_TEST_LOOP_ffI_f1): Likewise.
7899 (RUN_TEST_c_c): Likewise.
7900 (RUN_TEST_LOOP_c_c): Likewise.
7901 (RUN_TEST_cc_c): Likewise.
7902 (RUN_TEST_LOOP_cc_c): Likewise.
7903 (RUN_TEST_f_i): Likewise.
7904 (RUN_TEST_LOOP_f_i): Likewise.
7905 (RUN_TEST_f_i_tg): Likewise.
7906 (RUN_TEST_LOOP_f_i_tg): Likewise.
7907 (RUN_TEST_ff_i_tg): Likewise.
7908 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7909 (RUN_TEST_f_b): Likewise.
7910 (RUN_TEST_LOOP_f_b): Likewise.
7911 (RUN_TEST_f_b_tg): Likewise.
7912 (RUN_TEST_LOOP_f_b_tg): Likewise.
7913 (RUN_TEST_f_l): Likewise.
7914 (RUN_TEST_LOOP_f_l): Likewise.
7915 (RUN_TEST_f_L): Likewise.
7916 (RUN_TEST_LOOP_f_L): Likewise.
7917 (RUN_TEST_sincos): Likewise.
7918 (RUN_TEST_LOOP_sincos): Likewise.
7919
8269107f
JM
79202013-05-17 Joseph Myers <joseph@codesourcery.com>
7921
bb38759d
JM
7922 [BZ #15480]
7923 [BZ #15485]
7924 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7925 main case of finite arguments, set rounding mode to FE_TONEAREST
7926 and discard exceptions.
7927 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7928 exceptions.
7929 (remainder_tonearest_test_data): New variable.
7930 (remainder_test_tonearest): New function.
7931 (remainder_towardzero_test_data): New variable.
7932 (remainder_test_towardzero): New function.
7933 (remainder_downward_test_data): New variable.
7934 (remainder_test_downward): New function.
7935 (remainder_upward_test_data): New variable.
7936 (remainder_test_upward): New function.
7937 (main): Call the new test functions.
7938
a00bdcf0
JM
7939 * math/libm-test.inc (struct test_f_f1_data): Remove field
7940 extra_init.
7941 (struct test_fF_f1_data): Likewise.
7942 (struct test_ffI_f1_data): Likewise.
7943 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7944 based on value of EXTRA_EXPECTED.
7945 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7946 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7947 EXTRA_VAR based on value of EXTRA_EXPECTED.
7948 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7949 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7950 EXTRA_VAR based on value of EXTRA_EXPECTED.
7951 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7952 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7953 EXTRA_VAR based on value of EXTRA_EXPECTED.
7954 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7955 * math/gen-libm-test.pl (parse_args): Don't output initializers
7956 for extra output values.
7957
de407f79
JM
7958 * math/libm-test.inc (check_int): Expect result to be exactly
7959 equal to expected value and do not handle ulps.
7960 (check_long): Likewise.
7961 (check_longlong): Likewise.
7962
8269107f
JM
7963 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7964 exceptions.
7965 (cimag_test_data): Likewise.
7966 (conj_test_data): Likewise.
7967 (copysign_test_data): Likewise.
7968 (cproj_test_data): Likewise.
7969 (creal_test_data): Likewise.
7970 (fabs_test_data): Likewise.
7971 (fdim_test_data): Likewise.
7972 (finite_test_data): Likewise.
7973 (floor_test_data): Likewise.
7974 (fmax_test_data): Likewise.
7975 (fmin_test_data): Likewise.
7976 (fmod_test_data): Likewise.
7977 (fpclassify_test_data): Likewise.
7978 (frexp_test_data): Likewise.
7979 (ilogb_test_data): Likewise.
7980 (isfinite_test_data): Likewise.
7981 (isgreater_test_data): Likewise.
7982 (isgreaterequal_test_data): Likewise.
7983 (isinf_test_data): Likewise.
7984 (isless_test_data): Likewise.
7985 (islessequal_test_data): Likewise.
7986 (islessgreater_test_data): Likewise.
7987 (isnan_test_data): Likewise.
7988 (isnormal_test_data): Likewise.
7989 (issignaling_test_data): Likewise.
7990 (isunordered_test_data): Likewise.
7991 (ldexp_test_data): Likewise.
7992 (lrint_test_data): Likewise.
7993 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7994 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7995 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7996 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7997 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7998 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7999 test input.
8000 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8001 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8002 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8003 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8004 that test input.
8005 (lrint_downward_test_data): Test for "inexact" exceptions.
8006 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8007 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8008 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8009 test input.
8010 (lrint_upward_test_data): Test for "inexact" exceptions.
8011 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8012 test input.
8013 (llrint_test_data): Test for "inexact" exceptions.
8014 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8015 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8016 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8017 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8018 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8019 (llrint_downward_test_data): Test for "inexact" exceptions.
8020 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8021 (llrint_upward_test_data): Test for "inexact" exceptions.
8022 (logb_test_data): Likewise.
8023 (logb_downward_test_data): Likewise.
8024 (nextafter_test_data): Likewise.
8025 (nexttoward_test_data): Likewise.
8026 (remainder_test_data): Likewise.
8027 (remquo_test_data): Likewise.
8028 (scalbn_test_data): Likewise.
8029 (scalbln_test_data): Likewise.
8030 (signbit_test_data): Likewise.
8031 (sqrt_test_data): Likewise.
8032 (significand_test_data): Likewise.
8033
48a18de1
SP
80342013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8035
8036 [BZ #15424]
8037 * benchtests/bench-modf.c (struct args): Mark arg0 as
8038 volatile.
8039 * scripts/bench.pl: Mark members of struct args as volatile.
8040
13d3b41a
AZ
80412013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8042
68191c1d 8043 [BZ # 15497]
13d3b41a
AZ
8044 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8045 negative infinity on POWER6 or lower.
8046 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8047
2848b105
MR
80482013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8049
8050 [BZ #15442]
8051 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8052 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8053 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8054 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8055 (_FP_SETQNAN): New macro.
8056 (_FP_SETQNAN_SEMIRAW): Likewise.
8057 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8058 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8059 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8060 (FP_EXTEND): Use _FP_FRAC_SNANP.
8061 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8062 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8063 into account.
8064 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8065 New macro.
8066 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8067 Likewise.
8068
323e5cb7
JM
80692013-05-16 Joseph Myers <joseph@codesourcery.com>
8070
c58b274f
JM
8071 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8072 with DIVIDE_BY_ZERO_EXCEPTION.
8073 (gamma_test_data): Likewise.
8074 (lgamma_test_data): Likewise.
8075 (log_test_data): Likewise.
8076 (log10_test_data): Likewise.
8077 (log2_test_data): Likewise.
8078 (tgamma_test_data): Likewise.
8079
0ab34904
JM
8080 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8081 (acos_test_tonearest): Likewise.
8082 (acos_test_towardzero): Likewise.
8083 (acos_test_downward): Likewise.
8084 (acos_test_upward): Likewise.
8085 (acosh_test): Likewise.
8086 (asin_test): Likewise.
8087 (asin_test_tonearest): Likewise.
8088 (asin_test_towardzero): Likewise.
8089 (asin_test_downward): Likewise.
8090 (asin_test_upward): Likewise.
8091 (asinh_test): Likewise.
8092 (atan_test): Likewise.
8093 (atanh_test): Likewise.
8094 (atan2_test): Likewise.
8095 (cabs_test): Likewise.
8096 (cacos_test): Likewise.
8097 (cacosh_test): Likewise.
8098 (casin_test): Likewise.
8099 (casinh_test): Likewise.
8100 (catan_test): Likewise.
8101 (catanh_test): Likewise.
8102 (cbrt_test): Likewise.
8103 (ccos_test): Likewise.
8104 (ccosh_test): Likewise.
8105 (cexp_test): Likewise.
8106 (clog_test): Likewise.
8107 (clog10_test): Likewise.
8108 (cos_test): Likewise.
8109 (cos_test_tonearest): Likewise.
8110 (cos_test_towardzero): Likewise.
8111 (cos_test_downward): Likewise.
8112 (cos_test_upward): Likewise.
8113 (cosh_test): Likewise.
8114 (cosh_test_tonearest): Likewise.
8115 (cosh_test_towardzero): Likewise.
8116 (cosh_test_downward): Likewise.
8117 (cosh_test_upward): Likewise.
8118 (cpow_test): Likewise.
8119 (csin_test): Likewise.
8120 (csinh_test): Likewise.
8121 (csqrt_test): Likewise.
8122 (ctan_test): Likewise.
8123 (ctan_test_tonearest): Likewise.
8124 (ctan_test_towardzero): Likewise.
8125 (ctan_test_downward): Likewise.
8126 (ctan_test_upward): Likewise.
8127 (ctanh_test): Likewise.
8128 (ctanh_test_tonearest): Likewise.
8129 (ctanh_test_towardzero): Likewise.
8130 (ctanh_test_downward): Likewise.
8131 (ctanh_test_upward): Likewise.
8132 (erf_test): Likewise.
8133 (erfc_test): Likewise.
8134 (exp_test): Likewise.
8135 (exp_test_tonearest): Likewise.
8136 (exp_test_towardzero): Likewise.
8137 (exp_test_downward): Likewise.
8138 (exp_test_upward): Likewise.
8139 (exp10_test): Likewise.
8140 (exp2_test): Likewise.
8141 (expm1_test): Likewise.
8142 (fmod_test): Likewise.
8143 (gamma_test): Likewise.
8144 (hypot_test): Likewise.
8145 (j0_test): Likewise.
8146 (j1_test): Likewise.
8147 (jn_test): Likewise.
8148 (lgamma_test): Likewise.
8149 (log_test): Likewise.
8150 (log10_test): Likewise.
8151 (log1p_test): Likewise.
8152 (log2_test): Likewise.
8153 (logb_test_downward): Likewise.
8154 (pow_test): Likewise.
8155 (pow_test_tonearest): Likewise.
8156 (pow_test_towardzero): Likewise.
8157 (pow_test_downward): Likewise.
8158 (pow_test_upward): Likewise.
8159 (remainder_test): Likewise.
8160 (remquo_test): Likewise.
8161 (sin_test): Likewise.
8162 (sin_test_tonearest): Likewise.
8163 (sin_test_towardzero): Likewise.
8164 (sin_test_downward): Likewise.
8165 (sin_test_upward): Likewise.
8166 (sincos_test): Likewise.
8167 (sinh_test): Likewise.
8168 (sinh_test_tonearest): Likewise.
8169 (sinh_test_towardzero): Likewise.
8170 (sinh_test_downward): Likewise.
8171 (sinh_test_upward): Likewise.
8172 (sqrt_test): Likewise.
8173 (tan_test): Likewise.
8174 (tan_test_tonearest): Likewise.
8175 (tan_test_towardzero): Likewise.
8176 (tan_test_downward): Likewise.
8177 (tan_test_upward): Likewise.
8178 (tanh_test): Likewise.
8179 (tgamma_test): Likewise.
8180 (y0_test): Likewise.
8181 (y1_test): Likewise.
8182 (yn_test): Likewise.
8183
323e5cb7
JM
8184 * math/gen-libm-test.pl (adjust_arg): Remove function.
8185 (special_function): Remove argument $in_func. Only handle
8186 generating output for tables of tests, not inside functions.
8187 (parse_args): Likewise.
8188 (generate_testfile): Remove variable $in_func. Update call to
8189 parse_args.
8190 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8191 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8192 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8193 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8194 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8195 (MAX_VALUE_INIT): Rename macro to max_value.
8196 (MIN_VALUE_INIT): Rename macro to min_value.
8197 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8198 (plus_zero): Remove variable.
8199 (minus_zero): Likewise.
8200 (plus_infty): Likewise.
8201 (minus_infty): Likewise.
8202 (qnan_value): Likewise.
8203 (max_value): Likewise.
8204 (min_value): Likewise.
8205 (min_subnorm_value): Likewise.
8206
e054f494
RA
82072013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8208
8209 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8210 uint64_t or uint32_t usage.
8211 * crypt/sha256-block.c: Likewise.
8212 * crypt/sha256-crypt.c: Likewise.
8213 * crypt/sha256.c: Likewise.
8214 * crypt/sha512-block.c: Likewise.
8215 * crypt/sha512-crypt.c: Likewise.
8216 * crypt/sha512.c: Likewise.
8217 * debug/backtrace-tst.c: Likewise.
8218 * debug/pcprofiledump.c: Likewise.
8219 * elf/cache.c: Likewise.
8220 * elf/dl-cache.c: Likewise.
8221 * elf/dl-misc.c: Likewise.
8222 * elf/dl-profile.c: Likewise.
8223 * elf/dl-support.c: Likewise.
8224 * elf/ldconfig.c: Likewise.
8225 * elf/sprof.c: Likewise.
8226 * iconv/dummy-repertoire.c: Likewise.
8227 * iconv/iconv_charmap.c: Likewise.
8228 * iconv/skeleton.c: Likewise.
8229 * iconvdata/8bit-generic.c: Likewise.
8230 * iconvdata/cp737.h: Likewise.
8231 * iconvdata/cp775.h: Likewise.
8232 * iconvdata/ibm1008.h: Likewise.
8233 * iconvdata/ibm1025.h: Likewise.
8234 * iconvdata/ibm1046.h: Likewise.
8235 * iconvdata/ibm1097.h: Likewise.
8236 * iconvdata/ibm1112.h: Likewise.
8237 * iconvdata/ibm1122.h: Likewise.
8238 * iconvdata/ibm1123.h: Likewise.
8239 * iconvdata/ibm1124.h: Likewise.
8240 * iconvdata/ibm1129.h: Likewise.
8241 * iconvdata/ibm1130.h: Likewise.
8242 * iconvdata/ibm1132.h: Likewise.
8243 * iconvdata/ibm1133.h: Likewise.
8244 * iconvdata/ibm1137.h: Likewise.
8245 * iconvdata/ibm1140.h: Likewise.
8246 * iconvdata/ibm1141.h: Likewise.
8247 * iconvdata/ibm1142.h: Likewise.
8248 * iconvdata/ibm1143.h: Likewise.
8249 * iconvdata/ibm1144.h: Likewise.
8250 * iconvdata/ibm1145.h: Likewise.
8251 * iconvdata/ibm1146.h: Likewise.
8252 * iconvdata/ibm1147.h: Likewise.
8253 * iconvdata/ibm1148.h: Likewise.
8254 * iconvdata/ibm1149.h: Likewise.
8255 * iconvdata/ibm1153.h: Likewise.
8256 * iconvdata/ibm1154.h: Likewise.
8257 * iconvdata/ibm1155.h: Likewise.
8258 * iconvdata/ibm1156.h: Likewise.
8259 * iconvdata/ibm1157.h: Likewise.
8260 * iconvdata/ibm1158.h: Likewise.
8261 * iconvdata/ibm1160.h: Likewise.
8262 * iconvdata/ibm1161.h: Likewise.
8263 * iconvdata/ibm1162.h: Likewise.
8264 * iconvdata/ibm1163.h: Likewise.
8265 * iconvdata/ibm1164.h: Likewise.
8266 * iconvdata/ibm1166.h: Likewise.
8267 * iconvdata/ibm1167.h: Likewise.
8268 * iconvdata/ibm12712.h: Likewise.
8269 * iconvdata/ibm1390.h: Likewise.
8270 * iconvdata/ibm1399.h: Likewise.
8271 * iconvdata/ibm16804.h: Likewise.
8272 * iconvdata/ibm4517.h: Likewise.
8273 * iconvdata/ibm4899.h: Likewise.
8274 * iconvdata/ibm4909.h: Likewise.
8275 * iconvdata/ibm4971.h: Likewise.
8276 * iconvdata/ibm5347.h: Likewise.
8277 * iconvdata/ibm803.h: Likewise.
8278 * iconvdata/ibm856.h: Likewise.
8279 * iconvdata/ibm901.h: Likewise.
8280 * iconvdata/ibm902.h: Likewise.
8281 * iconvdata/ibm9030.h: Likewise.
8282 * iconvdata/ibm9066.h: Likewise.
8283 * iconvdata/ibm921.h: Likewise.
8284 * iconvdata/ibm922.h: Likewise.
8285 * iconvdata/ibm9448.h: Likewise.
8286 * iconvdata/isiri-3342.h: Likewise.
8287 * iconvdata/jis0201.h: Likewise.
8288 * include/link.h: Likewise.
8289 * include/netdb.h: Likewise.
8290 * inet/check_native.c: Likewise.
8291 * inet/check_pf.c: Likewise.
8292 * inet/getipv4sourcefilter.c: Likewise.
8293 * inet/getnameinfo.c: Likewise.
8294 * inet/getsourcefilter.c: Likewise.
8295 * inet/htonl.c: Likewise.
8296 * inet/setipv4sourcefilter.c: Likewise.
8297 * inet/setsourcefilter.c: Likewise.
8298 * inet/test-inet6_opt.c: Likewise.
8299 * inet/tst-network.c: Likewise.
8300 * locale/C-collate.c: Likewise.
8301 * locale/C-ctype.c: Likewise.
8302 * locale/C-time.c: Likewise.
8303 * locale/C-translit.h: Likewise.
8304 * locale/loadarchive.c: Likewise.
8305 * locale/programs/3level.h: Likewise.
8306 * locale/programs/charmap.c: Likewise.
8307 * locale/programs/charmap.h: Likewise.
8308 * locale/programs/ld-address.c: Likewise.
8309 * locale/programs/ld-collate.c: Likewise.
8310 * locale/programs/ld-ctype.c: Likewise.
8311 * locale/programs/ld-identification.c: Likewise.
8312 * locale/programs/ld-measurement.c: Likewise.
8313 * locale/programs/ld-messages.c: Likewise.
8314 * locale/programs/ld-monetary.c: Likewise.
8315 * locale/programs/ld-name.c: Likewise.
8316 * locale/programs/ld-numeric.c: Likewise.
8317 * locale/programs/ld-paper.c: Likewise.
8318 * locale/programs/ld-telephone.c: Likewise.
8319 * locale/programs/ld-time.c: Likewise.
8320 * locale/programs/linereader.c: Likewise.
8321 * locale/programs/locale.c: Likewise.
8322 * locale/programs/locarchive.c: Likewise.
8323 * locale/programs/locfile.h: Likewise.
8324 * locale/programs/repertoire.c: Likewise.
8325 * locale/programs/simple-hash.c: Likewise.
8326 * locale/programs/simple-hash.h: Likewise.
8327 * malloc/memusage.c: Likewise.
8328 * malloc/memusagestat.c: Likewise.
8329 * nis/nis_defaults.c: Likewise.
8330 * nis/nis_hash.c: Likewise.
8331 * nis/nis_print.c: Likewise.
8332 * nis/nis_xdr.c: Likewise.
8333 * nscd/connections.c: Likewise.
8334 * nscd/hstcache.c: Likewise.
8335 * nscd/nscd_gethst_r.c: Likewise.
8336 * nscd/nscd_getserv_r.c: Likewise.
8337 * nscd/nscd_helper.c: Likewise.
8338 * nscd/servicescache.c: Likewise.
8339 * nss/makedb.c: Likewise.
8340 * nss/nss_db/db-XXX.c: Likewise.
8341 * nss/nss_db/db-initgroups.c: Likewise.
8342 * nss/nss_db/db-netgrp.c: Likewise.
8343 * nss/nss_files/files-network.c: Likewise.
8344 * nss/nss_files/files-parse.c: Likewise.
8345 * posix/bug-regex5.c: Likewise.
8346 * posix/fnmatch_loop.c: Likewise.
8347 * posix/regcomp.c: Likewise.
8348 * posix/regexec.c: Likewise.
8349 * posix/tst-rfc3484-2.c: Likewise.
8350 * posix/tst-rfc3484-3.c: Likewise.
8351 * posix/tst-rfc3484.c: Likewise.
8352 * resolv/nss_dns/dns-canon.c: Likewise.
8353 * resolv/nss_dns/dns-network.c: Likewise.
8354 * resolv/res_init.c: Likewise.
8355 * resolv/res_mkquery.c: Likewise.
8356 * resolv/tst-aton.c: Likewise.
8357 * stdlib/cxa_atexit.c: Likewise.
8358 * stdlib/cxa_finalize.c: Likewise.
8359 * stdlib/gen-fpioconst.c: Likewise.
8360 * stdlib/strtol_l.c: Likewise.
8361 * string/tst-endian.c: Likewise.
8362 * sunrpc/auth_des.c: Likewise.
8363 * sunrpc/clnt_udp.c: Likewise.
8364 * sunrpc/rtime.c: Likewise.
8365 * sunrpc/svcauth_des.c: Likewise.
8366 * sunrpc/xdr.c: Likewise.
8367 * sunrpc/xdr_intXX_t.c: Likewise.
8368 * sunrpc/xdr_rec.c: Likewise.
8369 * sysdeps/generic/ldconfig.h: Likewise.
8370 * sysdeps/generic/ldsodefs.h: Likewise.
8371 * sysdeps/generic/memusage.h: Likewise.
8372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8382 * sysdeps/posix/getaddrinfo.c: Likewise.
8383 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8385 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8387 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8388 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8389 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8390 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8391 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8392 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8393 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8394 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8395 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8396 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8397 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8398 * sysdeps/x86_64/dl-tls.h: Likewise.
8399 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8400 * time/alt_digit.c: Likewise.
8401 * time/era.c: Likewise.
8402 * wcsmbs/tst-c16c32-1.c: Likewise.
8403
8c75f674
JM
84042013-05-16 Joseph Myers <joseph@codesourcery.com>
8405
8406 * math/libm-test.inc (struct test_sincos_data): New type.
8407 (RUN_TEST_LOOP_sincos): New macro.
8408 (sincos_test_data): New variable.
8409 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8410
e6e49e59
RH
84112013-05-16 Richard Henderson <rth@redhat.com>
8412
8413 * math/atest-exp2.c (LIMB64): New macro.
8414 (CONSTSZ): New macro.
8415 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8416 (hexdig): Move ...
8417 (print_mpn_fp): ... to function scope.
8418 (read_mpn_hex): Remove.
8419 (get_log2): Remove.
8420 (exp2_mpn): Use mp_log2.
8421 (main): Use mp_exp1.
8422
15c7c18d
JM
84232013-05-16 Joseph Myers <joseph@codesourcery.com>
8424
105a07df
JM
8425 * math/libm-test.inc: Remove comment about not testing "inexact"
8426 exceptions.
8427 (INEXACT_EXCEPTION): New macro.
8428 (NO_INEXACT_EXCEPTION): Likewise.
8429 (INVALID_EXCEPTION_OK): Update value.
8430 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8431 (OVERFLOW_EXCEPTION_OK): Likewise.
8432 (UNDERFLOW_EXCEPTION_OK): Likewise.
8433 (IGNORE_ZERO_INF_SIGN): Likewise.
8434 (ERRNO_UNCHANGED): Likewise.
8435 (ERRNO_EDOM): Likewise.
8436 (ERRNO_ERANGE): Likewise.
8437 (test_exceptions): Handle testing "inexact" exceptions.
8438 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8439 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8440 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8441 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8442 INEXACT_EXCEPTION.
8443 (rint_towardzero_test_data): Likewise.
8444 (rint_downward_test_data): Likewise.
8445 (rint_upward_test_data): Likewise.
8446
e9eee333
JM
8447 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8448 with OVERFLOW_EXCEPTION.
8449 (exp10_test_data): Likewise.
8450 (exp2_test_data): Likewise.
8451 (expm1_test_data): Likewise.
8452 (lgamma_test_data): Likewise.
8453 (pow_test_data): Likewise.
8454 (tgamma_test_data): Likewise.
8455 (yn_test_data): Remove duplicate test of overflow.
8456
1c38ff73
JM
8457 * math/libm-test.inc (struct test_cc_c_data): New type.
8458 (RUN_TEST_LOOP_cc_c): New macro.
8459 (cpow_test_data): New variable.
8460 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8461
15c7c18d
JM
8462 * math/libm-test.inc (struct test_f_L_data): New type.
8463 (RUN_TEST_LOOP_f_L): New macro.
8464 (llrint_test_data): New variable.
8465 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8466 (llrint_tonearest_test_data): New variable.
8467 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8468 (llrint_towardzero_test_data): New variable.
8469 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8470 (llrint_downward_test_data): New variable.
8471 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8472 (llrint_upward_test_data): New variable.
8473 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8474 (llround_test_data): New variable.
8475 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8476
f137ff13
PC
84772013-05-13 Peter Collingbourne <pcc@google.com>
8478
8479 * math/atest-exp2.c (get_log2): Remove const attribute.
8480
3608cb24
JM
84812013-05-15 Joseph Myers <joseph@codesourcery.com>
8482
8483 * math/libm-test.inc (struct test_f_l_data): New type.
8484 (RUN_TEST_LOOP_f_l): New macro.
8485 (lrint_test_data): New variable.
8486 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8487 (lrint_tonearest_test_data): New variable.
8488 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8489 (lrint_towardzero_test_data): New variable.
8490 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8491 (lrint_downward_test_data): New variable.
8492 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8493 (lrint_upward_test_data): New variable.
8494 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8495 (lround_test_data): New variable.
8496 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8497
39b1f617
PC
84982013-05-15 Peter Collingbourne <pcc@google.com>
8499
1deff3dc
PC
8500 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8501 (EXTRACT_WORDS64) Use where appropriate.
8502 (INSERT_WORDS64) Likewise.
8503
791f3ba0
PC
8504 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8505 constraints with x constraints.
8506 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8507
39b1f617
PC
8508 * malloc/obstack.c (_obstack_compat): Add initializer.
8509
12fba011
EM
85102013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8511
8512 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8513 si_trapno and add si_addr_lsb to _sifields.sigfault.
8514 (si_trapno): Remove macro.
8515 (si_addr_lsb): Define new macro.
8516 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8517
d369f531
JM
85182013-05-15 Joseph Myers <joseph@codesourcery.com>
8519
b861c6c4
JM
8520 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8521 instead of TEST_f_l.
8522 (llrint_test_tonearest): Likewise.
8523 (llrint_test_towardzero): Likewise.
8524 (llrint_test_downward): Likewise.
8525 (llrint_test_upward): Likewise.
8526 (llround_test): Likewise.
8527
7abeee12
JM
8528 * math/libm-test.inc (struct test_f_i_data): Add comment.
8529 (RUN_TEST_LOOP_f_b): New macro.
8530 (RUN_TEST_LOOP_f_b_tg): Likewise.
8531 (finite_test_data): New variable.
8532 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8533 (isfinite_test_data): New variable.
8534 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8535 (isinf_test_data): New variable.
8536 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8537 (isnan_test_data): New variable.
8538 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8539 (isnormal_test_data): New variable.
8540 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8541 (issignaling_test_data): New variable.
8542 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8543 (signbit_test_data): New variable.
8544 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8545
cbe8c4d3
JM
8546 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8547 with INVALID_EXCEPTION.
8548 (acosh_test_data): Likewise.
8549 (asin_test_data): Likewise.
8550 (atanh_test_data): Likewise.
8551 (fmod_test_data): Likewise.
8552 (log_test_data): Likewise.
8553 (log10_test_data): Likewise.
8554 (log2_test_data): Likewise.
8555 (pow_test_data): Likewise.
8556 (sqrt_test_data): Likewise.
8557 (y0_test_data): Likewise.
8558 (y1_test_data): Likewise.
8559 (yn_test_data): Likewise.
8560
5575c0e5
JM
8561 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8562 function contents.
8563
d369f531
JM
8564 * math/libm-test.inc (struct test_ff_i_data): New type.
8565 (RUN_TEST_LOOP_ff_i_tg): New macro.
8566 (isgreater_test_data): New variable.
8567 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8568 (isgreaterequal_test_data): New variable.
8569 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8570 (isless_test_data): New variable.
8571 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8572 (islessequal_test_data): New variable.
8573 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8574 (islessgreater_test_data): New variable.
8575 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8576 (isunordered_test_data): New variable.
8577 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8578
781fd748
DM
85792013-05-14 David S. Miller <davem@davemloft.net>
8580
8581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8582
87aa21df
JM
85832013-05-14 Joseph Myers <joseph@codesourcery.com>
8584
5e908270
JM
8585 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8586
f71172e5
JM
8587 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8588 extra_test to int.
8589 (struct test_f_i_data): Change type of max_ulp to int.
8590
8cfa635a
JM
8591 * math/libm-test.inc (test_ffI_f1_data): New type.
8592 (RUN_TEST_LOOP_ffI_f1): New macro.
8593 (remquo_test_data): New variable.
8594 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8595
2bcb36b2
JM
8596 * setjmp/tst-setjmp-fp.c: New file.
8597 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8598 (link-libm): New variable.
8599 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8600
acbd839a
JM
8601 * math/libm-test.inc (struct test_f_i_data): New type.
8602 (RUN_TEST_LOOP_f_i): New macro.
8603 (RUN_TEST_LOOP_f_i_tg): Likewise.
8604 (fpclassify_test_data): New variable.
8605 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8606 (ilogb_test_data): New variable.
8607 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8608
e414d745
JM
8609 * math/libm-test.inc (scalbln_test): Correct function name in END
8610 call.
8611
d9c2a0fd
JM
8612 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8613 (RUN_TEST_LOOP_fI_f1): New macro.
8614 (frexp_test_data): New variable.
8615 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8616
9dc9095d
JM
8617 * math/libm-test.inc (struct test_fF_f1_data): New type.
8618 (RUN_TEST_LOOP_fF_f1): New macro.
8619 (modf_test_data): New variable.
8620 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8621
87aa21df
JM
8622 * math/libm-test.inc (struct test_f_f1_data): New type.
8623 (RUN_TEST_LOOP_f_f1): New macro.
8624 (gamma_test_data): New variable.
8625 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8626 (lgamma_test_data): New variable.
8627 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8628
141af660
CD
86292013-05-13 Carlos O'Donell <carlos@redhat.com>
8630
8631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8632 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8633 (main): Comment "tls" pseudo-hwcap.
8634
6d33265c
JM
86352013-05-13 Joseph Myers <joseph@codesourcery.com>
8636
68fc074c
JM
8637 * math/libm-test.inc (struct test_fl_f_data): New type.
8638 (RUN_TEST_LOOP_fl_f): New variable.
8639 (scalbln_test_data): New variable.
8640 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8641
243216e1
JM
8642 * math/libm-test.inc (struct test_fi_f_data): New type.
8643 (RUN_TEST_LOOP_fi_f): New macro.
8644 (ldexp_test_data): New variable.
8645 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8646 (scalbn_test_data): New variable.
8647 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8648
6a1992e2
JM
8649 * math/libm-test.inc (struct test_c_f_data): New type.
8650 (RUN_TEST_LOOP_c_f): New macro.
8651 (cabs_test_data): New variable.
8652 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8653 (carg_test_data): New variable.
8654 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8655 (cimag_test_data): New variable.
8656 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8657 (creal_test_data): New variable.
8658 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8659
0e400df5
JM
8660 * math/libm-test.inc (struct test_if_f_data): New type.
8661 (RUN_TEST_LOOP_if_f): New macro.
8662 (jn_test_data): New variable.
8663 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8664 (yn_test_data): New variable.
8665 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8666
6d33265c
JM
8667 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8668
f98ece5f
AZ
86692013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8670
8671 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8672 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8673
0f7d347b
SP
86742013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8675
43fe811b
SP
8676 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8677 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8678 (bench-deps): Add bench-timing.h.
8679 * benchtests-bench-skeleton.c: Include bench-timing.h.
8680 (main): Use TIMING_* macros instead of clock_gettime.
8681 * benchtests/bench-timing.h: New file.
8682
0f7d347b
SP
8683 [BZ #14582]
8684 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8685 Renamed from _LIB_VERSION.
8686 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8687
601a3a5f
JM
86882013-05-12 Joseph Myers <joseph@codesourcery.com>
8689
4f184d30
JM
8690 * math/libm-test.inc (struct test_fff_f_data): New type.
8691 (RUN_TEST_LOOP_fff_f): New macro.
8692 (fma_test_data): New variable.
8693 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8694 (fma_towardzero_test_data): New variable.
8695 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8696 (fma_downward_test_data): New variable.
8697 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8698 (fma_upward_test_data): New variable.
8699 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8700
08198877
JM
8701 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8702 (struct test_c_c_data): New type.
8703 (RUN_TEST_LOOP_c_c): New macro.
8704 (cacos_test_data): New variable.
8705 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8706 (cacosh_test_data): New variable.
8707 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8708 (casin_test_data): New variable.
8709 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8710 (casinh_test_data): New variable.
8711 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8712 (catan_test_data): New variable.
8713 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8714 (catanh_test_data): New variable.
8715 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8716 (ccos_test_data): New variable.
8717 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8718 (ccosh_test_data): New variable.
8719 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8720 (cexp_test_data): New variable.
8721 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8722 (clog_test_data): New variable.
8723 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8724 (clog10_test_data): New variable.
8725 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8726 (conj_test_data): New variable.
8727 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8728 (cproj_test_data): New variable.
8729 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8730 (csin_test_data): New variable.
8731 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8732 (csinh_test_data): New variable.
8733 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8734 (csqrt_test_data): New variable.
8735 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8736 (ctan_test_data): New variable.
8737 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8738 (ctan_tonearest_test_data): New variable.
8739 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8740 (ctan_towardzero_test_data): New variable.
8741 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8742 (ctan_downward_test_data): New variable.
8743 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8744 (ctan_upward_test_data): New variable.
8745 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8746 (ctanh_test_data): New variable.
8747 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8748 (ctanh_tonearest_test_data): New variable.
8749 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8750 (ctanh_towardzero_test_data): New variable.
8751 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8752 (ctanh_downward_test_data): New variable.
8753 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8754 (ctanh_upward_test_data): New variable.
8755 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8756 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8757 of BUILD_COMPLEX.
8758
601a3a5f
JM
8759 * math/libm-test.inc (struct test_ff_f_data): New type.
8760 (struct test_ff_f_data_nexttoward): Likewise.
8761 (RUN_TEST_LOOP_2_f): New macro.
8762 (RUN_TEST_LOOP_ff_f): Likewise.
8763 (atan2_test_data): New variable.
8764 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8765 (copysign_test_data): New variable.
8766 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8767 (fdim_test_data): New variable.
8768 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8769 (fmax_test_data): New variable.
8770 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8771 (fmin_test_data): New variable.
8772 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8773 (fmod_test_data): New variable.
8774 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8775 (hypot_test_data): New variable.
8776 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8777 (nextafter_test_data): New variable.
8778 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8779 (nexttoward_test_data): New variable.
8780 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8781 (pow_test_data): New variable.
8782 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8783 (pow_tonearest_test_data): New variable.
8784 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8785 (pow_towardzero_test_data): New variable.
8786 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8787 (pow_downward_test_data): New variable.
8788 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8789 (pow_upward_test_data): New variable.
8790 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8791 (remainder_test_data): New variable.
8792 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8793 (scalb_test_data): New variable.
8794 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8795 * sysdeps/i386/fpu/libm-test-ulps: Update.
8796
74c57478
JM
87972013-05-11 Joseph Myers <joseph@codesourcery.com>
8798
8329e4da
JM
8799 * math/libm-test.inc (fma_test): Use max_value instead of local
8800 variable fltmax.
8801 (nextafter_test): Likewise.
8802
74c57478
JM
8803 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8804 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8805 (acos_downward_test_data): New variable.
8806 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8807 (acos_upward_test_data): New variable.
8808 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8809 (acosh_test_data): New variable.
8810 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8811 (asin_test_data): New variable.
8812 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8813 (asin_tonearest_test_data): New variable.
8814 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8815 (asin_towardzero_test_data): New variable.
8816 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8817 (asin_downward_test_data): New variable.
8818 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8819 (asin_upward_test_data): New variable.
8820 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8821 (asinh_test_data): New variable.
8822 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8823 (atan_test_data): New variable.
8824 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8825 (atanh_test_data): New variable.
8826 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8827 (cbrt_test_data): New variable.
8828 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8829 (ceil_test_data): New variable.
8830 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8831 (cos_test_data): New variable.
8832 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8833 (cos_tonearest_test_data): New variable.
8834 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8835 (cos_towardzero_test_data): New variable.
8836 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8837 (cos_downward_test_data): New variable.
8838 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8839 (cos_upward_test_data): New variable.
8840 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8841 (cosh_test_data): New variable.
8842 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8843 (cosh_tonearest_test_data): New variable.
8844 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8845 (cosh_towardzero_test_data): New variable.
8846 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8847 (cosh_downward_test_data): New variable.
8848 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8849 (cosh_upward_test_data): New variable.
8850 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8851 (erf_test_data): New variable.
8852 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8853 (erfc_test_data): New variable.
8854 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8855 (exp_test_data): New variable.
8856 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8857 (exp_tonearest_test_data): New variable.
8858 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8859 (exp_towardzero_test_data): New variable.
8860 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8861 (exp_downward_test_data): New variable.
8862 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8863 (exp_upward_test_data): New variable.
8864 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8865 (exp10_test_data): New variable.
8866 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8867 (exp2_test_data): New variable.
8868 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8869 (expm1_test_data): New variable.
8870 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8871 (fabs_test_data): New variable.
8872 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8873 (floor_test_data): New variable.
8874 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8875 (j0_test_data): New variable.
8876 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8877 (j1_test_data): New variable.
8878 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8879 (log_test_data): New variable.
8880 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8881 (log10_test_data): New variable.
8882 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8883 (log1p_test_data): New variable.
8884 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8885 (log2_test_data): New variable.
8886 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8887 (logb_test_data): New variable.
8888 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8889 (logb_downward_test_data): New variable.
8890 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8891 (nearbyint_test_data): New variable.
8892 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8893 (rint_test_data): New variable.
8894 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8895 (rint_tonearest_test_data): New variable.
8896 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8897 (rint_towardzero_test_data): New variable.
8898 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8899 (rint_downward_test_data): New variable.
8900 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8901 (rint_upward_test_data): New variable.
8902 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8903 (round_test_data): New variable.
8904 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8905 (sin_test_data): New variable.
8906 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8907 (sin_tonearest_test_data): New variable.
8908 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8909 (sin_towardzero_test_data): New variable.
8910 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8911 (sin_downward_test_data): New variable.
8912 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8913 (sin_upward_test_data): New variable.
8914 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8915 (sinh_test_data): New variable.
8916 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8917 (sinh_tonearest_test_data): New variable.
8918 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8919 (sinh_towardzero_test_data): New variable.
8920 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8921 (sinh_downward_test_data): New variable.
8922 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8923 (sinh_upward_test_data): New variable.
8924 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8925 (sqrt_test_data): New variable.
8926 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8927 (tan_test_data): New variable.
8928 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8929 (tan_tonearest_test_data): New variable.
8930 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8931 (tan_towardzero_test_data): New variable.
8932 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8933 (tan_downward_test_data): New variable.
8934 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8935 (tan_upward_test_data): New variable.
8936 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8937 (tanh_test_data): New variable.
8938 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8939 (tgamma_test_data): New variable.
8940 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8941 (trunc_test_data): New variable.
8942 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8943 (y0_test_data): New variable.
8944 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8945 (y1_test_data): New variable.
8946 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8947 (significand_test_data): New variable.
8948 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8949
7187d844
CG
89502013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8951
8952 [BZ #12387]
8953 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8954
f63fae73
PT
89552013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8956
8957 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8958
8a67a4b3
AJ
89592013-05-10 Andreas Jaeger <aj@suse.de>
8960
8961 [BZ #15448]
8962 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8963 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8964
51df539d
JM
89652013-05-10 Joseph Myers <joseph@codesourcery.com>
8966
8967 * math/gen-libm-test.pl (adjust_arg): New function.
8968 (special_functions): Handle generating output in both functions
8969 and arrays.
8970 (parse_args): Likewise.
8971 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8972 $in_func argument to parse_args.
8973 * math/libm-test.inc (struct test_f_f_data): New type.
8974 (IF_ROUND_INIT_): New macro.
8975 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8976 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8977 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8978 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8979 (ROUND_RESTORE_): Likewise.
8980 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8981 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8982 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8983 (ROUND_RESTORE_FE_UPWARD): Likewise.
8984 (RUN_TEST_LOOP_f_f): New macro.
8985 (acos_test_data): New variable.
8986 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8987 (acos_tonearest_test_data): New variable.
8988 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8989
5c637fe5
SP
89902013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8991
8992 * benchtests/bench-skeleton.c (startup): Fix coding style.
8993
ab2b9461
JM
89942013-05-10 Joseph Myers <joseph@codesourcery.com>
8995
8996 [BZ #6809]
8997 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8998 negative infinity argument.
8999 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9000 negative infinity argument.
9001 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9002 negative infinity argument.
9003 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9004 domain errors.
9005
4c0fe6fe
FW
90062013-05-10 Florian Weimer <fweimer@redhat.com>
9007
9008 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9009 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9010 * iconv/iconv_prog.c (main): Likewise.
9011 * locale/programs/charmap-dir.c (charmap_readdir)
9012 (fopen_uncompressed): Likewise.
9013 * locale/programs/locfile.c (siblings_uncached)
9014 (write_locale_data): Use lstat64 instead of lstat.
9015 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9016 stat.
9017
a3375d29
AJ
90182013-05-10 Andreas Jaeger <aj@suse.de>
9019
9020 [BZ #15395]
9021 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9022 localization.
9023 Include <locale.h>.
9024
36129722
CD
90252013-05-09 Carlos O'Donell <carlos@redhat.com>
9026
9027 * elf/dl-close.c (_dl_close_worker): Add comments.
9028
faa7f811
JM
90292013-05-09 Joseph Myers <joseph@codesourcery.com>
9030
ed41ffef
JM
9031 [BZ #15359]
9032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9033 high part of pi/2.
9034 (__ieee754_rem_pio2l): Update comments.
9035
d0213cd0
JM
9036 [BZ #15429]
9037 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9038 high part of pi/2.
9039 (__ieee754_rem_pio2l): Update comments.
9040
0d3e777a
JM
9041 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9042 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9043
24f56066
JM
9044 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9045 M_PI_4l.
9046
faa7f811
JM
9047 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9048 (M_PI_34_LOG10El): Likewise.
9049 (M_PI2_LOG10El): Likewise.
9050 (M_PI4_LOG10El): Likewise.
9051 (M_PI_LOG10El): Likewise.
9052
e9a5e0fd
AZ
90532013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9054
9055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9056
d8cd06db
JM
90572013-05-08 Joseph Myers <joseph@codesourcery.com>
9058
a0d9f9d7
JM
9059 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9060 (MINUS_ZERO_INIT): Likewise.
9061 (PLUS_INFTY_INIT): Likewise.
9062 (MINUS_INFTY_INIT): Likewise.
9063 (QNAN_VALUE_INIT): Likewise.
9064 (MAX_VALUE_INIT): Likewise.
9065 (MIN_VALUE_INIT): Likewise.
9066 (MIN_SUBNORM_VALUE_INIT): Likewise.
9067 (plus_zero): Initialize with PLUS_ZERO_INIT.
9068 (minus_zero): Initialize with MINUS_ZERO_INIT.
9069 (plus_infty): Initialize with PLUS_INFTY_INIT.
9070 (minus_infty): Initialize with MINUS_INFTY_INIT.
9071 (qnan_value): Initialize with QNAN_VALUE_INIT.
9072 (max_value): Initialize with MAX_VALUE_INIT.
9073 (min_value): Initialize with MIN_VALUE_INIT.
9074 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9075
ae08db3b
JM
9076 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9077 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9078 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9079 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9080
f44bf14a
JM
9081 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9082 (RUN_TEST_2_f): Likewise.
9083 (RUN_TEST_ff_f): Likewise.
9084 (RUN_TEST_fi_f): Likewise.
9085 (RUN_TEST_fl_f): Likewise.
9086 (RUN_TEST_fff_f): Likewise.
9087 (RUN_TEST_c_f): Likewise.
9088 (RUN_TEST_f_f1): Likewise.
9089 (RUN_TEST_fF_f1): Likewise.
9090 (RUN_TEST_fI_f1): Likewise.
9091 (RUN_TEST_ffI_f1): Likewise.
9092 (RUN_TEST_c_c): Likewise.
9093 (RUN_TEST_cc_c): Likewise.
9094 (RUN_TEST_f_i): Likewise.
9095 (RUN_TEST_f_i_tg): Likewise.
9096 (RUN_TEST_ff_i_tg): Likewise.
9097 (RUN_TEST_f_b): Likewise.
9098 (RUN_TEST_f_b_tg): Likewise.
9099 (RUN_TEST_f_l): Likewise.
9100 (RUN_TEST_f_L): Likewise.
9101 (RUN_TEST_sincos): Likewise.
9102 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9103 whether to show exceptions. Do not include ");\n" in return
9104 value.
9105 (special_functions): Output call to RUN_TEST_sincos instead of
9106 check_float calls. Update calls to new_test.
9107 (parse_args): Output call to single RUN_TEST_* macro instead of
9108 check_* calls and other assignments. Update calls to new_test.
9109
d8cd06db
JM
9110 [BZ #2546]
9111 [BZ #2560]
9112 [BZ #5159]
9113 [BZ #15426]
9114 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9115 input to result for tgamma overflow.
9116 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9117 (gamma_coeff): New variable.
9118 (NCOEFF): New macro.
9119 (gamma_positive): New function.
9120 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9121 underflow here. Use gamma_positive instead of exp (lgamma) for
9122 other arguments.
9123 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9124 (gamma_coeff): New variable.
9125 (NCOEFF): New macro.
9126 (gammaf_positive): New function.
9127 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9128 underflow here. Use gamma_positive instead of exp (lgamma) for
9129 other arguments.
9130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9131 (gamma_coeff): New variable.
9132 (NCOEFF): New macro.
9133 (gammal_positive): New function.
9134 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9135 underflow here. Use gamma_positive instead of exp (lgamma) for
9136 other arguments.
9137 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9138 (gamma_coeff): New variable.
9139 (NCOEFF): New macro.
9140 (gammal_positive): New function.
9141 (__ieee754_gammal_r): Handle positive infinity, overflow and
9142 underflow here. Handle NaN the same as positive infinity. Remove
9143 check x < 0xffffffff for negative integers. Use gamma_positive
9144 instead of exp (lgamma) for other arguments.
9145 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9146 (gamma_coeff): New variable.
9147 (NCOEFF): New macro.
9148 (gammal_positive): New function.
9149 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9150 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9154 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9155 * sysdeps/generic/math_private.h (__gamma_productf): New
9156 prototype.
9157 (__gamma_product): Likewise.
9158 (__gamma_productl): Likewise.
9159 * math/Makefile (libm-calls): Add gamma_product.
9160 * math/libm-test.inc (tgamma_test): Add more tests.
9161 * sysdeps/i386/fpu/libm-test-ulps: Update.
9162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9163
bb7cf681
OB
91642013-05-08 Ondřej Bílka <neleai@seznam.cz>
9165
9166 * benchtests/bench-skeleton.c (main): Preheat CPU.
9167
ba853947
AJ
91682013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9169
9170 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9171
8347c74c
RM
91722013-05-07 Roland McGrath <roland@hack.frob.com>
9173
9174 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9175 and _dl_skip_args_internal.
9176
e8dd4791
CD
91772013-05-07 Carlos O'Donell <carlos@redhat.com>
9178
9179 * manual/message.texi (Message Translation): Talk about users.
9180 Message to key mapping impacts design.
9181
c7405830
RM
91822013-05-06 Roland McGrath <roland@hack.frob.com>
9183
a9173057
RM
9184 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9185
976e2f03
RM
9186 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9187
9723ffc5
RM
9188 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9189 * sysdeps/wordsize-64/glob64.c: ... here.
9190
962e6658
RM
9191 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9192 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9193 New macros.
9194
ee586a6d
RM
9195 * debug/getlogin_r_chk.c: Moved to ...
9196 * login/getlogin_r_chk.c: ... here.
9197 * debug/Makefile (routines): Move getlogin_r_chk to ...
9198 * login/Makefile (routines): ... here.
9199 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9200 * login/Versions (libc: GLIBC_2.4): ... here.
9201
355f9165
RM
9202 * io/poll.c (__poll): Renamed from poll.
9203 Add libc_hidden_def.
9204 (poll): Define as weak alias.
9205
bd9ffde6
RM
9206 * debug/ptsname_r_chk.c: Moved to ...
9207 * login/ptsname_r_chk.c: ... here.
9208 * debug/Makefile (routines): Move ptsname_r_chk to ...
9209 * login/Makefile (routines): ... here.
9210 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9211 * login/Versions (libc: GLIBC_2.4): ... here.
9212
8fb16a04
RM
9213 * posix/getlogin.c: Moved to ...
9214 * login/getlogin.c: ... here.
9215 * posix/getlogin_r.c: Moved to ...
9216 * login/getlogin_r.c: ... here.
9217 * posix/getlogin_r.c: Moved to ...
9218 * login/getlogin_r.c: ... here.
9219 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9220 * login/Makefile (routines): ... here.
9221 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9222 * login/Versions (libc: GLIBC_2.0): ... here.
9223
b99b892f
RM
9224 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9225 (setrlimit): Define as weak alias.
9226
c7405830
RM
9227 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9228 Call __ names for open, ftruncate, and close.
9229 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9230 (truncate): Define as weak alias.
9231
5bf96de5
JM
92322013-05-06 Joseph Myers <joseph@codesourcery.com>
9233
9ea3513c
JM
9234 * math/gen-libm-test.pl (parse_args): Initialize x before each
9235 test of frexp, modf and remquo.
9236
5bf96de5
JM
9237 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9238 test signgam value.
9239
16e616a7
AZ
92402013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9241
9242 [BZ #15418]
9243 [BZ #15419]
9244 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9245 internal tests.
9246 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9247
d5e82754
RM
92482013-05-06 Roland McGrath <roland@hack.frob.com>
9249
9250 * elf/dl-writev.h: New file.
9251 * elf/dl-misc.c: Include it.
9252 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9253 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9254
a7548d41
JM
92552013-05-04 Joseph Myers <joseph@codesourcery.com>
9256
b7dab1e4
JM
9257 * math/libm-test.inc (noXFails): Remove variable.
9258 (noXPasses): Likewise.
9259 (BUILD_COMPLEX_INT): Remove macro.
9260 (print_screen): Remove xfail argument.
9261 (print_screen_max_error): Likewise.
9262 (update_stats): Likewise.
9263 (print_max_error): Likewise. Update calls to other affected
9264 functions.
9265 (print_complex_max_error): Likewise.
9266 (test_single_exception): Update calls to print_screen.
9267 (test_single_errno): Likewise.
9268 (check_float_internal): Remove xfail argument. Update calls to
9269 other affected functions.
9270 (check_float): Likewise.
9271 (check_complex): Likewise.
9272 (check_int): Likewise.
9273 (check_long): Likewise.
9274 (check_bool): Likewise.
9275 (check_longlong): Likewise.
9276 (main): Don't print noXFails and noXPasses.
9277 * math/gen-libm-test.pl (top level): Don't mention expected
9278 failure handling in comment.
9279 (new_test): Don't handle expected failures.
9280 (parse_args): Don't mention expected failure handling in comment.
9281 (generate_testfile): Don't handle expected failures.
9282 (parse_ulps): Likewise.
9283 (print_ulps_file): Likewise.
9284 (get_failure): Remove function.
9285 (output_test): Don't handle expected failures.
9286 * make/README.libm-test: Don't mention expected failure handling.
9287
a7548d41
JM
9288 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9289 (minus_zero): Likewise.
9290 (plus_infty): Likewise.
9291 (minus_infty): Likewise.
9292 (qnan_value): Likewise.
9293 (max_value): Likewise.
9294 (min_value): Likewise.
9295 (min_subnorm_value): Likewise.
9296 (initialize): Do not initialize those variables dynamically.
9297
60bfd54c
RM
92982013-05-03 Roland McGrath <roland@hack.frob.com>
9299
cc0e6ed8
RM
9300 * io/open.c (__open_2): Moved to ...
9301 * io/open_2.c: ... this new file.
9302 * io/open64.c (__open64_2): Moved to ...
9303 * io/open64_2.c: ... this new file.
9304 * io/openat.c (__openat_2): Moved to ...
9305 * io/openat_2.c: ... this new file.
9306 * io/openat64.c (__openat64_2): Moved to ...
9307 * io/openat64_2.c: ... this new file.
9308 * io/Makefile (routines): Add them.
9309 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9310 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9311 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9312 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9313 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9314 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9315 (__openat64): Add hidden_ver.
9316 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9317 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9318
60bfd54c
RM
9319 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9320 Separately conditionalize setting of GLRO(dl_sysinfo) so
9321 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9322 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9323
83e7640f
AZ
93242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9325
9326 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9328 definition.
9329 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9330 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9331 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9332 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9333 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9334
d5dc2af3
JM
93352013-05-03 Joseph Myers <joseph@codesourcery.com>
9336
c31a5b1e
JM
9337 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9338 test signgam value.
9339
d5dc2af3
JM
9340 * math/libm-test.inc (hypot_test): Do not use
9341 IGNORE_ZERO_INF_SIGN.
9342
164fd39d
AJ
93432013-05-03 Andreas Jaeger <aj@suse.de>
9344
9345 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9346 Linux 3.9.
9347 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9348 (PF_MAX): Adjust for VSOCK change.
9349
8237f48c
AZ
93502013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9351
9352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9353
9df02941
CD
93542013-05-02 Carlos O'Donell <carlos@redhat.com>
9355
9356 [BZ #15264]
9357 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9358 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9359 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9360
d422395e
DM
93612013-05-02 David S. Miller <davem@davemloft.net>
9362
9363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9364
a07c5731
OB
93652013-05-01 Ondřej Bílka <neleai@seznam.cz>
9366
9367 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9368
1324e37f
RM
93692013-05-01 Roland McGrath <roland@hack.frob.com>
9370
9371 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9372
0695940b
RS
93732013-05-01 Richard Smith <richard@metafoo.co.uk>
9374
bb5f27ad 9375 [BZ #14952]
0695940b
RS
9376 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9377 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9378 Use __attribute__ ((__gnu_inline__)).
9379 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9380 Don't use __attribute__ ((__gnu_inline__)).
9381
10de07f5
JM
93822013-05-01 Joseph Myers <joseph@codesourcery.com>
9383
9384 [BZ #15423]
9385 * math/s_catan.c (__catan): Handle small real or imaginary part of
9386 input specially to avoid spurious underflow.
9387 * math/s_catanf.c (__catanf): Likewise.
9388 * math/s_catanh.c (__catanh): Likewise.
9389 * math/s_catanhf.c (__catanhf): Likewise.
9390 * math/s_catanhl.c (__catanhl): Likewise.
9391 * math/s_catanl.c (__catanl): Likewise.
9392 * math/libm-test.inc (catan_test): Add more tests.
9393 (catanh_test): Likewise.
9394 * sysdeps/i386/fpu/libm-test-ulps: Update.
9395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9396
cb4d5414
AZ
93972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9398
9399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9400
caf84319
JM
94012013-04-30 Joseph Myers <joseph@codesourcery.com>
9402
9403 [BZ #15416]
9404 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9405 accurately for denominator in atan2.
9406 * math/s_catanf.c (__catanf): Likewise.
9407 * math/s_catanh.c (__catanh): Likewise.
9408 * math/s_catanhf.c (__catanhf): Likewise.
9409 * math/s_catanhl.c (__catanhl): Likewise.
9410 * math/s_catanl.c (__catanl): Likewise.
9411 * math/libm-test.inc (catan_test): Add more tests.
9412 (catanh_test): Likewise.
9413 * sysdeps/i386/fpu/libm-test-ulps: Update.
9414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9415
d569c6ee
SP
94162013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9417
6dbe713d
SP
9418 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9419
f0ee064b
SP
9420 * benchtests/Makefile (bench): Remove slow benchmarks.
9421 * benchtests/atan-inputs: Add slow benchmark inputs.
9422 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9423 (BENCH_FUNC): Accept variant offset.
9424 (VARIANT): Define.
9425 * benchtests/bench-skeleton.c (main): Run benchmark for each
9426 variant.
9427 * benchtests/cos-inputs: Add slow benchmark inputs.
9428 * benchtests/exp-inputs: Likewise.
9429 * benchtests/pow-inputs: Likewise.
9430 * benchtests/sin-inputs: Likewise.
9431 * benchtests/slowatan-inputs: Remove.
9432 * benchtests/slowatan.c: Remove.
9433 * benchtests/slowcos-inputs: Remove.
9434 * benchtests/slowcos.c: Remove.
9435 * benchtests/slowexp-inputs: Remove.
9436 * benchtests/slowexp.c: Remove.
9437 * benchtests/slowpow-inputs: Remove.
9438 * benchtests/slowpow.c: Remove.
9439 * benchtests/slowsin-inputs: Remove.
9440 * benchtests/slowsin.c: Remove.
9441 * benchtests/slowtan-inputs: Remove.
9442 * benchtests/slowtan.c: Remove.
9443 * benchtests/tan-inputs: Add slow benchmark inputs.
9444 * scripts/bench.pl: Parse comments and directives.
9445
d569c6ee
SP
9446 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9447 in CPPFLAGS.
9448 ($(objpfx)bench-%.c): Remove *-ITER.
9449 * benchtests/bench-modf.c: Remove definition of ITER.
9450 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9451 (main): Loop for DURATION seconds instead of fixed number of
9452 iterations.
9453 * scripts/bench.pl: Don't expect iterations in parameters.
9454
a6a242fe
RM
94552013-04-29 Roland McGrath <roland@hack.frob.com>
9456
9457 * io/fchdir.c (__fchdir): Renamed from fchdir.
9458 (fchdir): Define as weak alias.
9459
f2da7793
JM
94602013-04-29 Joseph Myers <joseph@codesourcery.com>
9461
9462 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9463 (ERRNO_EDOM): Likewise.
9464 (ERRNO_ERANGE): Likewise.
9465 (noErrnoTests): New variable.
9466 (init_max_error): Set errno to 0.
9467 (test_single_errno): New function.
9468 (test_errno): Likewise.
9469 (check_float_internal): Call test_errno. Set errno to 0.
9470 (check_complex): Refer to errno tests in comment.
9471 (check_int): Call test_errno. Set errno to 0.
9472 (check_long): Likewise.
9473 (check_bool): Likewise.
9474 (check_longlong): Likewise.
9475 (cos_test): Use ERRNO_* flags for errno tests instead of
9476 check_int.
9477 (expm1_test): Likewise.
9478 (fmod_test): Likewise.
9479 (ilogb_test): Likewise.
9480 (lgamma_test): Likewise.
9481 (pow_test): Likewise.
9482 (remainder_test): Likewise.
9483 (sin_test): Likewise.
9484 (tan_test): Likewise.
9485 (yn_test): Likewise.
9486 (initialize): Set errno to 0.
9487 (main): Print number of errno tests.
9488 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9489
b1a36ceb
AJ
94902013-04-29 Andreas Jaeger <aj@suse.de>
9491
c3ed8088
AJ
9492 [BZ #15084]
9493 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9494 and RES_USEVC.
9495
f1a24198
AJ
9496 [BZ #15085]
9497 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9498 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9499 unimplemented.
9500
9ce3b2cb
AJ
9501 [BZ #15380]
9502 * stdlib/random.c (__initstate): Return NULL if
9503 __initstate fails.
9504
f1a24198 9505 [BZ #15086]
b1a36ceb
AJ
9506 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9507 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9508 RES_SNGLKUPREOP.
9509
7e7b6f36
AZ
95102013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9511
9512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9513
4d14f449
JM
95142013-04-29 Joseph Myers <joseph@codesourcery.com>
9515
9516 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9517 of individual tests.
9518 (casin_test): Likewise.
9519 (casinh_test): Likewise.
9520
5b4217d7
JM
95212013-04-27 Joseph Myers <joseph@codesourcery.com>
9522
9523 [BZ #15409]
9524 * math/s_catan.c (__catan): Handle arguments with large real or
9525 imaginary part separately without squaring.
9526 * math/s_catanf.c (__catanf): Likewise.
9527 * math/s_catanh.c (__catanh): Likewise.
9528 * math/s_catanhf.c (__catanhf): Likewise.
9529 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9530 and redefine.
9531 (__catanhl): Handle arguments with large real or imaginary part
9532 separately without squaring.
9533 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9534 and redefine.
9535 (__catanl): Handle arguments with large real or imaginary part
9536 separately without squaring.
9537 * math/libm-test.inc (catan_test): Add more tests.
9538 (catanh_test): Likewise.
9539 * sysdeps/i386/fpu/libm-test-ulps: Update.
9540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9541
4220c3ef
AJ
95422013-04-27 Andreas Jaeger <aj@suse.de>
9543
9544 [BZ #15007]
9545 * stdlib/stdlib.h: Update guards for qecvt.
9546 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9547 <stdlib.h>.
9548
4721b2d1
AM
95492013-04-27 Allan McRae <allan@archlinux.org>
9550
9551 * sysdeps/i386/fpu/libm-test-ulps: Update.
9552
f0302940
JM
95532013-04-26 Joseph Myers <joseph@codesourcery.com>
9554
9457fd95
JM
9555 [BZ #15406]
9556 * math/s_catan.c: Include <float.h>.
9557 (__catan): Ensure underflow exception occurs for underflowed
9558 result.
9559 * math/s_catanf.c: Include <float.h>.
9560 (__catanf): Ensure underflow exception occurs for underflowed
9561 result.
9562 * math/s_catanh.c: Include <float.h>.
9563 (__catanh): Ensure underflow exception occurs for underflowed
9564 result.
9565 * math/s_catanhf.c: Include <float.h>.
9566 (__catanhf): Ensure underflow exception occurs for underflowed
9567 result.
9568 * math/s_catanhl.c: Include <float.h>.
9569 (__catanhl): Ensure underflow exception occurs for underflowed
9570 result.
9571 * math/s_catanl.c: Include <float.h>.
9572 (__catanl): Ensure underflow exception occurs for underflowed
9573 result.
9574 * math/libm-test.inc (catan_test): Add more tests.
9575 (catanh_test): Likewise.
9576
f0302940
JM
9577 [BZ #15405]
9578 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9579 underflowed result.
9580 * math/s_ccoshf.c (__ccoshf): Likewise.
9581 * math/s_ccoshl.c (__ccoshl): Likewise.
9582 * math/s_csin.c (__csin): Likewise.
9583 * math/s_csinf.c (__csinf): Likewise.
9584 * math/s_csinh.c (__csinh): Likewise.
9585 * math/s_csinhf.c (__csinhf): Likewise.
9586 * math/s_csinhl.c (__csinhl): Likewise.
9587 * math/s_csinl.c (__csinl): Likewise.
9588 * math/libm-test.inc (ccos_test): Add more tests.
9589 (ccosh_test): Likewise.
9590 (csin_test): Likewise.
9591 (csinh_test): Likewise.
9592
aa630f59
AZ
95932013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9594
9595 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9596 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9597 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9598 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9599 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9600 powerpc/power5+/fpu folders.
9601 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9602
9603
1b835983
MT
96042013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9605
9606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9607
73709b26
JM
96082013-04-25 Joseph Myers <joseph@codesourcery.com>
9609
9610 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9611 additions to variable.
9612 [$(config-machine) = x86_64] (modules-names): Likewise.
9613 ($(objpfx)tst-audit3): Remove dependency.
9614 ($(objpfx)tst-audit3.out): Likewise.
9615 ($(objpfx)tst-audit4): Likewise.
9616 ($(objpfx)tst-audit4.out): Likewise.
9617 ($(objpfx)tst-audit5): Likewise.
9618 ($(objpfx)tst-audit5.out): Likewise.
9619 ($(objpfx)tst-audit6): Likewise.
9620 ($(objpfx)tst-audit6.out): Likewise.
9621 ($(objpfx)tst-audit7): Likewise.
9622 ($(objpfx)tst-audit7.out): Likewise.
9623 (tst-audit3-ENV): Remove variable.
9624 (tst-audit4-ENV): Likewise.
9625 (tst-audit5-ENV): Likewise.
9626 (tst-audit6-ENV): Likewise.
9627 (tst-audit7-ENV): Likewise.
9628 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9629 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9630 addition to variable.
9631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9634 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9636 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9637 tst-audit3, tst-audit4 and tst-audit5.
9638 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9639 tst-audit6 and tst-audit7.
9640 [$(subdir) = elf] (modules-names): Add audit modules for those
9641 tests.
9642 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9643 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9644 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9645 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9646 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9647 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9648 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9649 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9650 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9651 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9652 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9653 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9654 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9655 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9656 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9657 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9658 Likewise.
9659 [$(subdir) = elf && $(config-cflags-avx) = yes]
9660 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9661 [$(subdir) = elf && $(config-cflags-avx) = yes]
9662 (CFLAGS-tst-auditmod4a.c): Likewise.
9663 [$(subdir) = elf && $(config-cflags-avx) = yes]
9664 (CFLAGS-tst-auditmod4b.c): Likewise.
9665 [$(subdir) = elf && $(config-cflags-avx) = yes]
9666 (CFLAGS-tst-auditmod6b.c): Likewise.
9667 [$(subdir) = elf && $(config-cflags-avx) = yes]
9668 (CFLAGS-tst-auditmod6c.c): Likewise.
9669 [$(subdir) = elf && $(config-cflags-avx) = yes]
9670 (CFLAGS-tst-auditmod7b.c): Likewise.
9671 * elf/tst-audit3.c: Move to ...
9672 * sysdeps/x86_64/tst-audit3.c: ... here.
9673 * elf/tst-audit4.c: Move to ...
9674 * sysdeps/x86_64/tst-audit4.c: ... here.
9675 * elf/tst-audit5.c: Move to ...
9676 * sysdeps/x86_64/tst-audit5.c: ... here.
9677 * elf/tst-audit6.c: Move to ...
9678 * sysdeps/x86_64/tst-audit6.c: ... here.
9679 * elf/tst-audit7.c: Move to ...
9680 * sysdeps/x86_64/tst-audit7.c: ... here.
9681 * elf/tst-auditmod3a.c: Move to ...
9682 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9683 * elf/tst-auditmod3b.c: Move to ...
9684 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9685 * elf/tst-auditmod4a.c: Move to ...
9686 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9687 * elf/tst-auditmod4b.c: Move to ...
9688 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9689 * elf/tst-auditmod5a.c: Move to ...
9690 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9691 * elf/tst-auditmod5b.c: Move to ...
9692 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9693 * elf/tst-auditmod6a.c: Move to ...
9694 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9695 * elf/tst-auditmod6b.c: Move to ...
9696 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9697 * elf/tst-auditmod6c.c: Move to ...
9698 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9699 * elf/tst-auditmod7a.c: Move to ...
9700 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9701 * elf/tst-auditmod7b.c: Move to ...
9702 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9703
1ef74943
PP
97042013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9705
9706 [BZ #15366]
9707 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9708 define unconditionally.
9709 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9710 define unconditionally.
9711 (INT8_C, INT16_C, etc.): Likewise.
9712
93fd48c5
MR
97132013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9714
ae9552cf
MR
9715 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9716 __ehdr_start with hidden visibility.
9717
93fd48c5
MR
9718 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9719
418601aa
CD
97202013-04-24 Carlos O'Donell <carlos@redhat.com>
9721
9722 * math/libm-test.inc (cos_test): Use accurate hex constants.
9723 (sincost_test): Likewise.
9724
2f38fbfe
JM
97252013-04-24 Joseph Myers <joseph@codesourcery.com>
9726
5e221800
JM
9727 * math/libm-test.inc (catan_test): Add more tests.
9728 (catanh_test): Likewise.
9729
77f143fd
JM
9730 * math/s_catanf.c (__catanf): Use suffixed floating-point
9731 constants.
9732 * math/s_catanhf.c (__catanhf): Likewise.
9733 * math/s_catanhl.c (__catanhl): Likewise.
9734 * math/s_catanl.c (__catanl): Likewise.
9735
2f38fbfe
JM
9736 [BZ #15394]
9737 * math/s_catan.c (__catan): Calculate imaginary part of result
9738 with log1p not log unless computing log of number close to 0.
9739 * math/s_catanf.c (__catanf): Likewise.
9740 * math/s_catanl.c (__catanl): Likewise.
9741 * math/s_catanh.c (__catanh): Calculate real part of result with
9742 log1p not log unless computing log of number close to 0.
9743 * math/s_catanhf.c (__catanhf): Likewise.
9744 * math/s_catanhl.c (__catanhl): Likewise.
9745 * math/libm-test.inc (catan_test): Add more tests.
9746 (catanh_test): Likewise.
9747 * sysdeps/i386/fpu/libm-test-ulps: Update.
9748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9749
45d69176
SP
97502013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9751
9752 * benchtests/Makefile: Mention files in which fast and slow
9753 paths of math functions are implemented.
9754
87f51853
RM
97552013-04-23 Roland McGrath <roland@hack.frob.com>
9756
9757 * sysdeps/posix/timespec_get.c: New file.
9758
3c026539
AZ
97592013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760
9761 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9762 POWER.
9763 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9764 for POWER.
9765 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9766 powerpc/power5/fpu folders.
9767 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9768 * benchtests/Makefile: Add modf testcase.
9769 * benchtests/bench-modf.c: New file: Benchmark test for mo
9770
ff491d14
SP
97712013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9772
9773 [BZ #14888]
9774 * time/Makefile (tests): Add tst-strptime-whitespace.
9775 * time/strptime_l.c (get_number): Use ISSPACE.
9776 (__strptime_internal): Likewise.
9777 * time/tst-strptime-whitespace.c: New test case.
9778
7ed3f4e8
AS
97792013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9780
9781 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9782 member.
9783 (_nss_files_init): Set it here.
9784
5c95f7b6
HC
97852013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9786
9787 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9788 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9789 unsigned.
9790
d34c9158
JBG
97912013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9792
9793 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9794
2169712d
SP
97952013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9796
9797 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9798 size just once.
9799
29c5de99
DM
98002013-04-21 David S. Miller <davem@davemloft.net>
9801
9802 * po/ru.po: Update Russion translation from translation project.
9803
ccdad15d
AC
98042013-04-17 Adam Conrad <adconrad@0c3.net>
9805
9806 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9807 and setfsgid.
9808
0f122b8d
CD
98092013-04-17 Carlos O'Donell <carlos@redhat.com>
9810
5c5b07da 9811 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9812 * configure: Regenerate.
5c5b07da 9813 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9814 Add example to error message.
9815 * sysdeps/i386/configure: Regenerate.
9816
037714dd
SP
98172013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9818
9819 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9820 slowtan.
9821 * benchtests/cos-inputs: New file.
9822 * benchtests/slowcos-inputs: New file.
9823 * benchtests/slowcos.c: New file.
9824 * benchtests/slowtan-inputs: New file.
9825 * benchtests/slowtan.c: New file.
9826 * benchtests/tan-inputs: New file.
9827
e913141d
RM
98282013-04-16 Roland McGrath <roland@hack.frob.com>
9829
9830 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9831 considered kosher.
9832
a2964074
SP
98332013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9834
4856bcd2
SP
9835 * benchtests/Makefile: Include cppflags-iterator.mk to add
9836 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9837
a2964074
SP
9838 * Makefile.in (bench-clean): New target.
9839 * benchtests/Makefile (bench-clean): Likewise.
9840
9fbf9aca
DH
98412013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9842
9843 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9844
207d1e2a
TS
98452013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9846
9847 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9848
306dfba9
AS
98492013-04-15 Andreas Schwab <schwab@suse.de>
9850
9851 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9852 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9853 * nscd/pwdcache.c (cache_addpw): Likewise.
9854 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9855 more than recsize.
9856
206a6699
SP
98572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9858
9859 * benchtests/Makefile (bench): Write all output to
9860 bench-out.tmp together.
9861
0582f6b3
AS
98622013-04-15 Andreas Schwab <schwab@suse.de>
9863
9864 * nscd/nscd.c (main): Don't fork again after closing files.
9865
acb4325f
SP
98662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9867
5cb26d0a
SP
9868 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9869
acb4325f
SP
9870 * benchtests/Rules (bench-deps): Collect dependencies into a
9871 single variable. Add Makefile to dependencies.
9872 ($(objpfx)bench-%.c): Depend on bench-deps.
9873
47792506
RM
98742013-04-12 Roland McGrath <roland@hack.frob.com>
9875 Xavier Roche <roche+kml2@exalead.com>
9876
9877 [BZ #15361]
9878 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9879 just that it's a file descriptor.
9880 * manual/llio.texi (Synchronizing AIO Operations): Update description
9881 for EBADF error from aio_fsync.
9882
8fc1bee5
SP
98832013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9884
9885 * Rules (bench): Move target definition...
9886 * benchtests/Makefile: ... here.
9887
aba5e333
CD
98882013-04-11 Carlos O'Donell <carlos@redhat.com>
9889
9890 * math/libm-test.inc (cos_test): Fix PI/2 test.
9891 (sincos_test): Likewise.
9892 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9893 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9894
273cdee8
AS
98952013-04-11 Andreas Schwab <schwab@suse.de>
9896
6ecec3b6
AS
9897 [BZ #13988]
9898 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9899 accept exponent character only when digits were seen.
9900 * stdio-common/Makefile (tests): Add bug26.
9901 * stdio-common/bug26.c: New file.
9902
273cdee8
AS
9903 [BZ #14293]
9904 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9905 non-freeable.
9906
8da491f5
SP
99072013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9908
01dc6df9
SP
9909 * Makeconfig (rtld-prefix): Define built linker prefix.
9910 * Rules (run-bench): Use it.
9911 * math/Makefile (run-regen-ulps): Likewise.
9912
8da491f5
SP
9913 * Rules (bench): Remove eval.
9914
abe7f530
SP
99152013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9916 Roland McGrath <roland@hack.frob.com>
9917 Ondrej Bilka <neleai@seznam.cz>
9918
9919 [BZ #15346]
9920 * time/getdate.c: Include ctype.h and alloca.h.
9921 (__getdate_r): Trim leading and trailing spaces of input.
9922 * time/tst-getdate.c (tests): Add tests with leading and
9923 trailing spaces.
9924
61c23e62
RM
99252013-04-08 Roland McGrath <roland@hack.frob.com>
9926
9927 [BZ #14280]
9928 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9929 when computing value.
9930
7208a313
CD
99312013-04-06 Carlos O'Donell <carlos@redhat.com>
9932
085b2d41
CD
9933 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9934 Use testrun.sh to run libm tests.
9935
7208a313
CD
9936 [BZ #15309]
9937 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9938
872c0acd
MM
99392013-04-06 Marko Myllynen <myllynen@redhat.com>
9940
9941 [BZ #15264]
9942 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9943
26510bdd
CD
99442013-04-06 Carlos O'Donell <carlos@redhat.com>
9945
9946 * Makefile.in (regen-ulps): New target.
9947 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9948 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9949 [ifneq (no,$(PERL)] (regen-ulps): New target.
9950 [ifeq (no,$(PERL)] (regen-ulps): New target.
9951 * math/libm-test.inc (ulps_file_name): Define.
9952 (output_dir): New variable.
9953 (options): Add "output-dir" option.
9954 (parse_opt): Handle 'o' case.
9955 (main): If output_dir is non-NULL use it as a prefix
9956 otherwise use "".
9957 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9958
a01f19c8
CD
99592013-04-06 Carlos O'Donell <carlos@redhat.com>
9960
9961 [BZ #10060, #10062]
9962 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9963 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9964 fail configure if __sync_val_compare_and_swap is not inlined.
9965 * sysdeps/i386/configure: Regenerate.
9966 * configure.in: Build for i686 when configured for i386.
9967 * configure: Regenerate.
9968 * README: Remove i386 reference.
9969
b7a329a5
CD
99702013-04-06 Carlos O'Donell <carlos@redhat.com>
9971
9972 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9973 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9974
bf0f50df
TS
99752013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9976
ee091edf
TS
9977 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9978 (lmsnanval): New variables.
9979 (F): Add conversion tests.
9980 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9981 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9982
a8b792d6
TS
9983 * stdio-common/tstdiomisc.c (F): Properly collect individual
9984 tests' results.
9985
a1cbf437
TS
9986 [BZ #14686, #15336]
9987 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9988 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9989 Instead, use input NaN values or generate a qNaN by arithmetic
9990 operation. Also fix bugs to comply with the standard.
9991 * math/libm-test.inc (remainder_test): Add more tests.
9992
8b43a0c9
TS
9993 [BZ #15335, #15342]
9994 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9996 input NaN values or generate a qNaN by arithmetic operation.
9997
d91da4ce
TS
9998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9999 unreachable code.
10000
bf0f50df
TS
10001 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10002 definitions.
10003
05e166c8
JM
100042013-04-03 Joseph Myers <joseph@codesourcery.com>
10005
10006 [BZ #14478]
10007 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10008 underflowed result.
10009 * math/s_cexpf.c (__cexpf): Likewise.
10010 * math/s_cexpl.c (__cexpl): Likewise.
10011 * math/libm-test.inc (cexp_test): Add more tests.
10012
1cef1b19
AS
100132013-04-03 Andreas Schwab <schwab@suse.de>
10014
10015 [BZ #15330]
10016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10017 order arrays from heap if bigger than alloca cutoff.
10018
74d87055
TS
100192013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10020
10021 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10022 (SNAN_TESTS_double): Refer to GCC PR56831.
10023 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10024 GCC PR56828.
10025
d755bba4
SP
100262013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10027
90d5d5bb
SP
10028 * Rules (bench): Move bench.out after the run is complete.
10029
73e0cd5d
SP
10030 * Rules (bench): Echo currently running benchmark.
10031
64aabd4b
SP
10032 * benchtests/Makefile (bench): Add atan and slowatan.
10033 * benchtests/atan-inputs: New file.
10034 * benchtests/slowatan-inputs: New file.
10035 * benchtests/slowatan.c: New file.
10036
c871eccd
SP
10037 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10038 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10039 its value.
10040
d755bba4
SP
10041 [BZ #15305]
10042 * sysdeps/unix/sysv/linux/kernel-features.h
10043 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10044 __ASSUME_XFS_RESTRICTED_CHOWN.
10045 * sysdeps/unix/sysv/linux/pathconf.c
10046 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10047 Save and restore errno.
10048
52ce4860
JM
100492013-04-02 Joseph Myers <joseph@codesourcery.com>
10050
10051 [BZ #15327]
10052 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10053 arguments using __kernel_casinh.
10054 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10055 arguments using __kernel_casinhf.
10056 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10057 arguments using __kernel_casinhl.
10058 * math/libm-test.inc (cacosh_test): Add more tests.
10059 * sysdeps/i386/fpu/libm-test-ulps: Update.
10060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10061
81f311c2
SP
100622013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10063
e7906a47
SP
10064 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10066
92e3664b
SP
10067 * bench/Makefile (bench): Add sin and slowsin.
10068 * benchtests/sin-inputs: New file.
10069 * benchtests/slowsin-inputs: New file.
10070 * benchtests/slowsin.c: New file.
10071
81f311c2
SP
10072 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10073 (bench): Add slowexp and slowpow.
10074 (exp-ITER): Increase iterations.
10075 (pow-ITER): Likewise.
10076 * benchtests/exp-inputs: Change input.
10077 * benchtests/pow-inputs: Likewise.
10078 * benchtests/slowexp-inputs: New file.
10079 * benchtests/slowexp.c: New file.
10080 * benchtests/slowpow-inputs: New file.
10081 * benchtests/slowpow.c: New file.
10082
ab0f1aa9
AZ
100832013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10084
10085 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10086 instructions.
10087 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10088 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10089 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10090 * benchtests/Makefile: Add rint benchtest.
10091 * benchtests/rint-inputs: Input for rint benchtest.
10092
57267616
TS
100932013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10094
10095 * Versions.def (libm): Add GLIBC_2.18.
10096 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10097 hidden libm prototypes.
10098 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10099 * math/Makefile (libm-calls): Add s_issignaling.
10100 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10101 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10102 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10103 declaration.
10104 * math/math.h [__USE_GNU] (issignaling): New macro.
10105 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10106 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10108 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10109 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10110 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10111 * manual/arith.texi (issignaling): New section.
10112 * manual/libm-err-tab.pl (@all_functions): Update comment.
10113 * math/gen-libm-test.pl (parse_args): Apply special handling for
10114 issignaling.
10115 * math/libm-test.inc (print_float, issignaling_test): New
10116 functions.
10117 (check_float_internal): Add issignaling checks.
10118 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10119 default definition.
10120 * sysdeps/powerpc/math-tests.h: New file.
10121 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10122 tests.
10123 * math/test-snan.c (TEST_FUNC): Likewise.
10124
6142896d
DM
101252013-03-30 David S. Miller <davem@davemloft.net>
10126
10127 * po/de.po: Update from translation team.
10128
ccc8cadf
JM
101292013-03-30 Joseph Myers <joseph@codesourcery.com>
10130
10131 [BZ #10357]
10132 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10133 imaginary part less than 1.0 and real part less than 0.5
10134 specially.
10135 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10136 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10137 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10138 (cacos_test): Add more tests.
10139 (casin_test): Likewise.
10140 (casinh_test): Likewise.
10141 * sysdeps/i386/fpu/libm-test-ulps: Update.
10142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10143
0f6a8d4b
SP
101442013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10145
0d1029de
SP
10146 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10147 ONE with its value.
10148
c2d94018
SP
10149 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10150 (__pow_mp): Replace ONE and MONE with their values.
10151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10152 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10153 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10154 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10155 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10157
27ec37f1
SP
10158 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10159
a64d7e0e
SP
10160 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10161 (__pow_mp): Replace ZERO and MZERO with their values.
10162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10163 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10165 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10167 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10168 (__sqr): Likewise.
10169
d26dd3eb
SP
10170 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10171
0f6a8d4b
SP
10172 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10173
e57b0c61
RM
101742013-03-28 Roland McGrath <roland@hack.frob.com>
10175
10176 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10177 Declare with __attribute__ ((weak)).
10178 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10179 Call __call_tls_dtors only if it's not NULL.
10180
356b3480
RM
101812013-03-28 Roland McGrath <roland@hack.frob.com>
10182
288f7d79
RM
10183 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10184 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10185 magic __ehdr_start linker symbol if it's defined.
10186 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10187 them up here if it was already done.
10188
dc0a0263
RM
10189 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10190 (_dl_aux_init): Use const in cast when setting it.
10191 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10192 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10193 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10194
3d3436ae
RM
10195 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10196 Declare them here.
10197 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10198 * csu/libc-tls.c: Nor here.
10199 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10200
356b3480
RM
10201 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10202 (__libc_message): Never call vsyslog.
10203
b0f1246a
AM
102042013-03-28 Alan Modra <amodra@gmail.com>
10205
10206 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10207 Define as empty.
10208 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10209 Likewise.
10210
fbbe2b9a
AZ
102112013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10212
10213 [BZ #15214]
10214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10215 underflow.
10216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10217
1728ab37
SP
102182013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10219
7a86be6e
SP
10220 [BZ #15304]
10221 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10222 Don't add gid passed as argument.
10223
1728ab37
SP
10224 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10225
3a7182a1
JM
102262013-03-27 Joseph Myers <joseph@codesourcery.com>
10227
10228 [BZ #15307]
10229 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10230 imaginary part between 1.0 and 1.5 and real part less than 0.5
10231 specially.
10232 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10233 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10234 * math/libm-test.inc (cacos_test): Add more tests.
10235 (casin_test): Likewise.
10236 (casinh_test): Likewise.
10237 * sysdeps/i386/fpu/libm-test-ulps: Update.
10238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10239
6f2e90e7
SP
102402013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10241
5739f705
SP
10242 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10243 constants.
10244 (norm): Likewise.
10245 (denorm): Likewise.
10246 (__dbl_mp): Likewise.
10247 (add_magnitudes): Likewise.
10248 (sub_magnitudes): Likewise.
10249 (__add): Likewise.
10250 (__sub): Likewise.
10251 (__mul): Likewise.
10252 (__sqr): Likewise.
10253 (__inv): Likewise.
10254 (__dvd): Likewise.
10255
e375e83d
SP
10256 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10257 commented code.
10258 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10259 (__dubcos): Likewise.
10260 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10261 (__ieee754_acos): Likewise.
10262 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10263 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10264 (__exp1): Likewise.
10265 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10267 (log1): Likewise.
10268 (my_log2): Likewise.
10269 (checkint): Likewise.
10270 * sysdeps/ieee754/dbl-64/e_remainder.c
10271 (__ieee754_remainder): Likewise.
10272 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10274 (bsloww): Likewise.
10275 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10276
6f2e90e7
SP
10277 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10278 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10279 MANTISSA_STORE_T to store computations on mantissa. Use
10280 macros for rounding and division.
10281 (denorm): Likewise.
10282 (__dbl_mp): Likewise.
10283 (add_magnitudes): Likewise.
10284 (sub_magnitudes): Likewise.
10285 (__mul): Likewise.
10286 (__sqr): Likewise.
10287 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10288 powers of two in terms of TWOPOW macro.
10289 (mp_no): Make type of mantissa as MANTISSA_T.
10290 [!RADIXI]: Define RADIXI.
10291 [!TWO52]: Define TWO52.
10292 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10293
fce14d4e
AZ
102942013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10295
10296 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10297 llroundl symbol when building for PPC32.
10298
9ad027fb
MW
102992013-03-24 Mark H Weaver <mhw@netris.org>
10300
10301 * manual/arith.texi (Normalization Functions): Fix prototypes for
10302 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10303
e42a38dd
AZ
103042013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10305
10306 [BZ #13889]
10307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10308 high value to check if expl overflow.
10309 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10310 to check for underflow and overflow.
10311 * math/libm-test.inc: Add exp test.
10312
2e0fb521
DL
103132013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10314
10315 [BZ #11120]
10316 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10317 with NOT_IN_libc.
10318
b5784d95
AZ
103192013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10320
10321 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10322 symbol.
10323
5aa4a1a1
TS
103242013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10325
bdef0be7
TS
10326 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10327 wrap blocks consisting of several statements.
10328
5aa4a1a1
TS
10329 * sysdeps/generic/math-tests.h: New file.
10330 * sysdeps/i386/fpu/math-tests.h: Likewise.
10331 * math/test-snan.c: Include it.
10332 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10333
98c48fe5
JM
103342013-03-21 Joseph Myers <joseph@codesourcery.com>
10335
10336 [BZ #15285]
10337 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10338 (__ieee754_j0l): Do not improve calculations using cos of twice
10339 input for inputs above LDBL_MAX / 2.0L.
10340 (__ieee754_y0l): Likewise.
10341 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10342 (__ieee754_j1l): Do not improve calculations using cos of twice
10343 input for inputs above LDBL_MAX / 2.0L.
10344 (__ieee754_y1l): Likewise.
10345 * math/libm-test.inc (j0_test): Add another test.
10346 (j1_test): Likewise.
10347 (y0_test): Likewise.
10348 (y1_test): Likewise.
10349 * sysdeps/i386/fpu/libm-test-ulps: Update.
10350
3775a8bc
SP
103512013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10352
10353 * Rules ($(objpfx)bench-%.c): Include code from a C source
10354 file.
10355
0a1b2ae6
JM
103562013-03-21 Joseph Myers <joseph@codesourcery.com>
10357
10358 [BZ #15287]
10359 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10360 imaginary part 1.0 and real part less than 0.5 specially.
10361 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10362 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10363 * math/libm-test.inc (cacos_test): Add more tests.
10364 (casin_test): Likewise.
10365 (casinh_test): Likewise.
10366 * sysdeps/i386/fpu/libm-test-ulps: Update.
10367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10368
b33d4ce4
SP
103692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10370
10371 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10372 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10373
bef0b507
JM
103742013-03-20 Joseph Myers <joseph@codesourcery.com>
10375
10376 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10377 * config.make.in (config-cflags-sse4): Remove variable.
10378 (config-cflags-avx): Likewise.
10379 (config-cflags-sse2avx): Likewise.
10380 (config-cflags-novzeroupper): Likewise.
10381 (config-asflags-i686): Likewise.
10382 (have-mfma4): Likewise.
10383 (have-as-vis3): Likewise.
10384 (MIG): Likewise.
10385 * configure.in (MIG): Do not AC_SUBST.
10386 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10387 (libc_cv_cc_sse4): Do not AC_SUBST.
10388 (libc_cv_cc_avx): Likewise.
10389 (libc_cv_cc_sse2avx): Likewise.
10390 (libc_cv_cc_novzeroupper): Likewise.
10391 (libc_cv_cc_fma4): Likewise.
10392 (libc_cv_as_i686): Likewise.
10393 (libc_cv_sparc_as_vis3): Likewise.
10394 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10395 LIBC_CONFIG_VAR.
10396 (config-asflags-i686): Likewise.
10397 (config-cflags-avx): Likewise.
10398 (config-cflags-sse2avx): Likewise.
10399 (have-mfma4): Likewise.
10400 (config-cflags-novzeroupper): Likewise.
10401 * sysdeps/mach/configure.in (MIG): Likewise.
10402 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10403 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10404 LIBC_CONFIG_VAR.
10405 (config-cflags-avx): Likewise.
10406 (config-cflags-sse2avx): Likewise.
10407 (have-mfma4): Likewise.
10408 (config-cflags-novzeroupper): Likewise.
10409 * configure: Regenerated.
10410 * sysdeps/i386/configure: Likewise.
10411 * sysdeps/mach/configure: Likewise.
10412 * sysdeps/sparc/configure: Likewise.
10413 * sysdeps/x86_64/configure: Likewise.
10414
912cc4b3
RM
104152013-03-20 Roland McGrath <roland@hack.frob.com>
10416
10417 [BZ #14812]
10418 * locale/programs/localedef.c (options): Put N_ translation marker
10419 on argument names, not just descriptions.
10420
04eed2b0
MS
104212013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10422
10423 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10424
a065ceff
OB
104252013-03-20 Ondřej Bílka <neleai@seznam.cz>
10426
9bb2a810 10427 [BZ #14176]
a065ceff
OB
10428 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10429
a600e5ce
RM
104302013-03-19 Roland McGrath <roland@hack.frob.com>
10431
10432 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10433 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10434 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10435 [!BEFORE_ABORT] (before_abort): New function.
10436 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10437 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10438 (writev_for_fatal): New function.
10439 (WRITEV_FOR_FATAL): New macro; call that.
10440 (backtrace_and_maps): New function.
10441 (BEFORE_ABORT): New macro; call that.
10442 (struct str_list): Type removed.
10443 (__libc_message, __libc_fatal): Functions removed.
10444 Include <sysdeps/posix/libc_fatal.c> instead.
10445
6b18bea6
JM
104462013-03-19 Joseph Myers <joseph@codesourcery.com>
10447
10448 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10449 constants.
10450 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10451 double constants.
10452
aaa8cb4b
AS
104532013-03-19 Andreas Schwab <schwab@suse.de>
10454
44673770
AS
10455 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10456 * sysdeps/gnu/configure: Regenerate.
10457
aaa8cb4b
AS
10458 * configure.in: Substitute libc_cv_rtlddir.
10459 * configure: Regenerate.
10460 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10461 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10462 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10463 * elf/Makefile (install-others, CFLAGS-interp.c)
10464 (ldso_install, common-ldd-rewrite): Likewise.
10465 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10466 $(inst_slibdir)/$(rtld-installed-name).
10467 * scripts/rellns-sh: Add -p option.
10468 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10469 for source.
10470
d3cfc668
SP
104712013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10472
10473 * manual/nptl.texi: Renamed to ...
10474 * manual/threads.texi: ... this.
10475 * manual/Makefile (chapters): Update.
10476
0e2b9cdd
RM
104772013-03-18 Roland McGrath <roland@hack.frob.com>
10478
10479 [BZ #14812]
10480 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10481 on argument names, not just descriptions.
0e2b9cdd
RM
10482 * malloc/memusagestat.c (options): Likewise.
10483 * nss/getent.c (options): Likewise.
63270c24
RM
10484
104852013-03-18 Benno Schulenberg <bensberg@justemail.net>
10486
10487 [BZ #14812]
10488 * iconv/iconv_prog.c (options): Put N_ translation marker
10489 on argument names, not just descriptions.
10490 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10491
b2e1393c
OB
104922013-03-18 Ondrej Bilka <neleai@seznam.cz>
10493
10494 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10495 implementation which is faster on all x86_64 architectures.
10496 Tested on AMD, Intel Nehalem, SNB, IVB.
10497 * sysdeps/x86_64/strnlen.S: Likewise.
10498
10499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10500 Remove all multiarch strlen and strnlen versions.
10501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10502 Remove strlen and strnlen related parts.
10503
10504 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10505 Inline strlen part.
10506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10507
10508 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10509 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10510 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10511 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10512 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10513 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10514
ec4ff04d
CD
105152013-03-17 Carlos O'Donell <carlos@redhat.com>
10516
10517 * manual/memory.texi (Malloc Tunable Parameters):
10518 Sort parameters alphabetically. Add comments for missing entries.
10519
cd18e90a
DM
105202013-03-17 David S. Miller <davem@davemloft.net>
10521
10522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10523
2a185d32
JM
105242013-03-16 Joseph Myers <joseph@codesourcery.com>
10525
d2f9799e
JM
10526 [BZ #15283]
10527 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10528 for arguments at most half maximum finite value.
10529 * math/libm-test.inc (j0_test): Add more tests.
10530 (j1_test): Likewise.
10531 (y0_test): Likewise.
10532 (y1_test): Likewise.
10533 * sysdeps/i386/fpu/libm-test-ulps: Update.
10534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10535
2a185d32
JM
10536 [BZ #14155]
10537 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10538 1 / x and functions P and Q for arguments above 0x1p256L.
10539 (__ieee754_y0l): Likewise.
10540 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10541 (__ieee754_y1l): Likewise.
10542 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10543 (j1_test): Likewise.
10544 (y0_test): Likewise.
10545 (y1_test): Likewise.
10546
6cbec759
TS
105472013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10548
10549 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10550 variable.
10551
bc16e260
RM
105522013-03-15 Roland McGrath <roland@hack.frob.com>
10553
aefc9b8c
RM
10554 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10555 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10556 zero since it's initialized to EXEC_PAGESIZE.
10557
bc16e260
RM
10558 * sysdeps/unix/sysv/linux/ldsodefs.h
10559 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10560 * sysdeps/generic/ldsodefs.h: ... here.
10561
a57da955
TS
105622013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10563
af00a34d
TS
10564 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10565
495ded2c
TS
10566 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10567 math/test-snan.c.
10568 * math/test-snan.c: Renamed from
10569 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10570 * math/Makefile (tests): Add test-snan.
10571 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10572 test-powerpc-snan.
10573
777b0332
TS
10574 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10575 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10576 functions.
10577 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10578 __builtin_nan family of functions.
10579 * math/libm-test.inc (initialize): Initialize qnan_value with
10580 __builtin_nan family of functions.
10581 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10582 Remove variables.
10583 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10584 Remove functions.
10585 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10586 storage class. Initialize qNaN_var and sNaN_var with
10587 __builtin_nan and __builtin_nans families of functions,
10588 respectively.
10589
64d063b8
TS
10590 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10591 (sqrt_test): Remove duplicate test with qNaN input.
10592 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10593 (round_test, signbit_test, significand_test): Note missing +/-Inf
10594 as well as qNaN tests.
10595
67e971f1
TS
10596 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10597 qNaN_var. Fix a few strings, too.
10598 * math/libm-test.inc (nan_value): Rename to qnan_value.
10599 * math/gen-libm-test.pl (%beautify): Adjust to that.
10600 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10601 * math/test-misc.c (main): Likewise.
10602 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10603 to __qnan_bytes, and __qnan_union, respectively.
10604 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10605 Likewise.
10606 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10607 and lqnanval, respectively.
10608 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10609 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10610 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10611 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10612
64487e12
TS
10613 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10614 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10615 doubles.
10616
e015e27b
TS
10617 * math/test-misc.c (main): Fix copy'n'pastos.
10618 * misc/tst-efgcvt.c (special): Likewise.
10619
a57da955
TS
10620 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10621 Remove declarations.
10622
1e380345
SP
106232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10624
10625 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10626 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10627 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10628 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10629
ef26eece
AZ
106302013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10631
10632 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10633 macro to return vdso values correctly in IFUNC implementations.
10634 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10635 Optimization by using IFUNC.
10636
8cfdb7e0
SP
106372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10638 Richard Henderson <rth@redhat.com>
10639 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10640
10641 * Makefile.in (bench): New target.
10642 * NEWS: Mention the benchmark framework.
10643 * Rules (bench): Likewise.
10644 (binaries-bench): Generate binaries for functions to
10645 benchmark.
10646 * benchtests/Makefile: New makefile for benchmark tests.
10647 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10648 programs.
10649 * benchtests/exp-inputs: New input file for EXP function.
10650 * benchtests/pow-inputs: New input file for POW function.
10651 * scripts/bench.pl: New script to generate source files for
10652 benchmark programs.
10653
bcda9880
SP
106542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10655
d22ca8cd
SP
10656 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10657 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10658 computations on mantissa. Use macros for rounding and
10659 division.
10660 (denorm): Likewise.
10661 (__dbl_mp): Likewise.
10662 (add_magnitudes): Likewise.
10663 (sub_magnitudes): Likewise.
10664 (__mul): Likewise.
10665 (__sqr): Likewise.
10666 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10667 powers of two in terms of TWOPOW macro.
10668 (mp_no): Make type of mantissa as MANTISSA_T.
10669 [!RADIXI]: Define RADIXI.
10670 [!TWO52]: Define TWO52.
10671 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10672
bcda9880
SP
10673 * manual/nptl.texi (cindex): Modify threads to pthreads.
10674
06d5adfb
JM
106752013-03-15 Joseph Myers <joseph@codesourcery.com>
10676
10677 * sysdeps/x86_64/preconfigure: Regenerated.
10678
41c7328e
JM
106792013-03-14 Joseph Myers <joseph@codesourcery.com>
10680
10681 [BZ #14155]
10682 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10683 0x1p28 and above.
10684 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10685 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10686 0x1p28 and above.
10687 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10688 * math/libm-test.inc (j0_test): Do not allow one spurious
10689 underflow exception.
10690 (y1_test): Likewise.
10691
e25cfa60
SP
106922013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10693
0409959c
SP
10694 * manual/Makefile (chapters): Add nptl.
10695 * manual/debug.texi (Debugging Support): Add link to Threads
10696 chapter.
10697 * manual/nptl.texi: New file.
10698
e25cfa60
SP
10699 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10700
58a1335e
PB
107012013-03-14 Petr Baudis <pasky@ucw.cz>
10702
10703 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10704 for non-NULL pointer before the memory validity test. Pointed
10705 out by Holger Brunck <holger.brunck@keymile.com>.
10706
9dc7c64f
AS
107072013-03-13 Andreas Schwab <schwab@suse.de>
10708
10709 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10710 instead of .os.
10711
54206aa6
JM
107122013-03-13 Joseph Myers <joseph@codesourcery.com>
10713
10714 * timezone/zic.c: Update from tzcode 2013b.
10715
e98cdb38
CD
107162013-03-12 Carlos O'Donell <carlos@redhat.com>
10717
10718 * manual/install.texi (Configuring and compiling):
10719 Mention i686 and i586.
10720 * INSTALL: Regenerate.
10721
9967e003
RM
107222013-03-12 Roland McGrath <roland@hack.frob.com>
10723
10724 * sysdeps/init_array/elf-init.c: New file.
10725 * csu/elf-init.c
10726 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10727 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10728
10729 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10730 __gmon_start__ as global, but as static with a .preinit_array pointer.
10731 * sysdeps/init_array/gmon-start.c: New file. Use that.
10732 * sysdeps/init_array/crti.S: New file, empty except for comments.
10733 * sysdeps/init_array/crtn.S: Likewise.
10734
e6b5a293 107352013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10736
10737 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10738 definining bcopy.
80f844c9
OB
10739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10740 Remove Prefer_SSE_for_memop.
10741 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10742 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10743 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10745 memset-x86-64.
80f844c9 10746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10747 Remove bzero, memset ifunc support.
80f844c9
OB
10748 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10749 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10750 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10751 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10752
fb6b0fcb
AS
107532013-03-11 Andreas Schwab <schwab@suse.de>
10754
10755 [BZ #15234]
10756 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10757 by SHLIB_COMPAT.
10758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10759 (GLIBC_2.16): Remove pthread_atfork.
10760
3e6bd4b1
PP
107612013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10762
10763 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10764 (ptestcases.h): Likewise.
10765
222d7f00
RM
107662013-03-08 Roland McGrath <roland@hack.frob.com>
10767
10768 * Makeconfig ($(common-objpfx)config.status): Depend on
10769 sysdeps/*/preconfigure{,.in} too.
10770
1ba4f030
JM
107712013-03-08 Joseph Myers <joseph@codesourcery.com>
10772
a222d91a
JM
10773 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10774 (__free_hook): Use void * instead of __malloc_ptr_t.
10775 (__malloc_hook): Likewise.
10776 (__realloc_hook): Likewise.
10777 (__memalign_hook): Likewise.
10778 (__after_morecore_hook): Likewise.
10779 * malloc/arena.c (save_malloc_hook): Likewise.
10780 (save_free_hook): Likewise.
10781 * malloc/hooks.c (malloc_hook_ini): Likewise.
10782 (realloc_hook_ini): Likewise.
10783 (memalign_hook_ini): Likewise.
10784 * malloc/malloc.c (malloc_hook_ini): Likewise.
10785 (realloc_hook_ini): Likewise.
10786 (memalign_hook_ini): Likewise.
10787 (__free_hook): Likewise.
10788 (__malloc_hook): Likewise.
10789 (__realloc_hook): Likewise.
10790 (__memalign_hook): Likewise.
10791 (__libc_malloc): Likewise.
10792 (__libc_free): Likewise.
10793 (__libc_realloc): Likewise.
10794 (__libc_memalign): Likewise.
10795 (__libc_valloc): Likewise.
10796 (__libc_pvalloc): Likewise.
10797 (__libc_calloc): Likewise.
10798 (__posix_memalign): Likewise.
10799 * malloc/morecore.c (__sbrk): Likewise.
10800 (__default_morecore): Likewise.
10801
5cc45e10
JM
10802 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10803
dd54b864
JM
10804 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10805 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10806 __malloc_ptrdiff_t.
10807
1ba4f030
JM
10808 * malloc/malloc.h (__malloc_size_t): Remove macro.
10809 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10810 __malloc_size_t.
10811 (old_memalign_hook): Likewise.
10812 (old_realloc_hook): Likewise.
10813 (struct hdr): Likewise.
10814 (flood): Likewise.
10815 (mallochook): Likewise.
10816 (memalignhook): Likewise.
10817 (reallochook): Likewise.
10818 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10819 (tr_old_realloc_hook): Likewise.
10820 (tr_old_memalign_hook): Likewise.
10821 (tr_mallochook): Likewise.
10822 (tr_reallochook): Likewise.
10823 (tr_memalignhook): Likewise.
10824
edf66e57
AZ
108252013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10826
10827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10828 default_ldbl_pack and using as default implementation.
10829 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10830 implementation.
10831 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10832 redundant definition.
10833 (ldbl_insert_mantissa): Likewise.
10834 (ldbl_canonicalize): Likewise.
10835 (ldbl_nearbyint): Likewise.
10836 (ldbl_pack): Rename to ldbl_pack_ppc.
10837 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10838 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10839 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10840
6d9145d8
SP
108412013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10842
10843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10844 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10845 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10846 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10848 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10849 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10850 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10851
4dd4e157
AJ
108522013-03-07 Andreas Jaeger <aj@suse.de>
10853
10854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10855 bits/mman-linux.h.
10856
adbb8027
SP
108572013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10858
ce544b5b
SP
10859 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10860 Include mpa.h and declare __MPEXP.
10861 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10862 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10863 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10864 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10865 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10866 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10867 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10868
4cc149fd
SP
10869 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10870 (__slowpow): Use long double EXPL and LOGL functions to
10871 compute POW.
10872 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10873 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10874 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10875 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10876 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10878
e6ebd4a7
SP
10879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10880 intermediate variable to calculate exponent.
10881 (__sqr): Likewise.
10882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10883 Likewise.
10884 (__sqr): Likewise.
10885
82a9811d
SP
10886 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10887 [!NO__SQR]: Define __sqr.
10888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10889 and NO__SQR. Remove all code except __mul and __sqr. Include
10890 sysdeps/ieee754/dbl-64/mpa.c.
10891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10892
adbb8027
SP
10893 [BZ #12723]
10894 * posix/Makefile (tests): Add tst-pathconf.
10895 * posix/tst-pathconf.c: New test case.
10896 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10897 _PC_PIPE_BUF.
10898 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10899
39120df9
PF
109002013-03-06 Patsy Franklin <pfrankli@redhat.com>
10901
10902 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10903
67525cb8
AJ
109042013-03-06 Andreas Jaeger <aj@suse.de>
10905
664a9ce4
AJ
10906 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10907 definition via __MAP_ANONYMOUS.
10908
8e39047d
AJ
10909 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10910 it's not part of Linux headers.
10911
67525cb8
AJ
10912 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10913 (MAP_HUGE_MASK): Define.
10914
10915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10916 Define.
10917 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10918 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10919 Define.
10920 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10921 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10922 Define.
10923 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10924 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10925 Define.
10926 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10927
10928 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10929 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10930 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10931 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10932 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10933 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10934
10935 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10936 Handle f2fs.
10937
10938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10939 Handle f2fs and efivarfs.
10940
10941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10942 f2fs.
10943
10944 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10945 (EFIVARFS_MAGIC): Add.
10946 (F2FS_LINK_MAX): Add.
10947
e1b42695
PP
109482013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10949
10950 * stdio-common/vfprintf.c: Replace __builtin_expect with
10951 __glibc_unlikely.
10952
2d67d91a
JM
109532013-03-06 Joseph Myers <joseph@codesourcery.com>
10954
10955 [BZ #13550]
10956 * sysdeps/generic/bp-sym.h: Remove file.
10957 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10958 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10959 <bp-sym.h> and <bp-asm.h>.
10960 (__longjmp): Don't use BP_SYM.
10961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10962 and <bp-asm.h>.
10963 (memcpy): Don't use BP_SYM.
10964 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10965 <bp-sym.h> and <bp-asm.h>.
10966 (memcpy): Don't use BP_SYM.
10967 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10968 <bp-asm.h>.
10969 (memcpy): Don't use BP_SYM.
10970 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10971 <bp-asm.h>.
10972 (memset): Don't use BP_SYM.
10973 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10974 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10975 (__bzero): Don't use BP_SYM.
10976 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10977 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10978 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10979 <bp-sym.h> and <bp-asm.h>.
10980 (memcmp): Don't use BP_SYM. Remove comment about bounded
10981 pointers.
10982 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10983 <bp-sym.h> and <bp-asm.h>.
10984 (memcpy): Don't use BP_SYM.
10985 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10986 <bp-sym.h> and <bp-asm.h>.
10987 (memset): Don't use BP_SYM.
10988 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10989 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10990 (__bzero): Don't use BP_SYM.
10991 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10992 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10993 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10994 <bp-sym.h> and <bp-asm.h>.
10995 (strncmp): Don't use BP_SYM. Remove comment about bounded
10996 pointers.
10997 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10998 <bp-sym.h> and <bp-asm.h>.
10999 (memcpy): Don't use BP_SYM.
11000 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11001 <bp-sym.h> and <bp-asm.h>.
11002 (memset): Don't use BP_SYM.
11003 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11004 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11005 (__bzero): Don't use BP_SYM.
11006 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11007 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11008 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11009 <bp-sym.h> and <bp-asm.h>.
11010 (__memchr): Don't use BP_SYM.
11011 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11012 <bp-sym.h> and <bp-asm.h>.
11013 (memcmp): Don't use BP_SYM. Remove comment about bounded
11014 pointers.
11015 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11016 <bp-sym.h> and <bp-asm.h>.
11017 (memcpy): Don't use BP_SYM.
11018 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11019 <bp-sym.h> and <bp-asm.h>.
11020 (__mempcpy): Don't use BP_SYM.
11021 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11022 <bp-sym.h> and <bp-asm.h>.
11023 (__memrchr): Don't use BP_SYM.
11024 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11025 <bp-sym.h> and <bp-asm.h>.
11026 (memset): Don't use BP_SYM.
11027 (__bzero): Likewise.
11028 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11029 <bp-sym.h> and <bp-asm.h>.
11030 (__rawmemchr): Don't use BP_SYM.
11031 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11032 <bp-sym.h> and <bp-asm.h>.
11033 (__STRCMP): Don't use BP_SYM.
11034 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11035 <bp-sym.h> and <bp-asm.h>.
11036 (strchr): Don't use BP_SYM.
11037 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11038 <bp-sym.h> and <bp-asm.h>.
11039 (__strchrnul): Don't use BP_SYM.
11040 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11041 <bp-sym.h> and <bp-asm.h>.
11042 (strlen): Don't use BP_SYM.
11043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11044 <bp-sym.h> and <bp-asm.h>.
11045 (strncmp): Don't use BP_SYM. Remove comment about bounded
11046 pointers.
11047 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11048 <bp-sym.h> and <bp-asm.h>.
11049 (__strnlen): Don't use BP_SYM.
11050 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11051 <bp-sym.h> and <bp-asm.h>.
11052 (__GI__setjmp): Don't use BP_SYM.
11053 (_setjmp): Likewise.
11054 (__sigsetjmp): Likewise.
11055 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11056 (L(start_addresses)): Don't use BP_SYM.
11057 (_start): Likewise.
11058 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11059 <bp-asm.h>.
11060 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11061 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11062 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11063 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11064 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11065 <bp-asm.h>.
11066 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11067 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11068 about bounded pointers.
11069 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11070 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11071 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11072 <bp-asm.h>.
11073 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11074 about bounded pointers. Remove GKM FIXME comments.
11075 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11076 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11077 <bp-asm.h>.
11078 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11079 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11080 Remove GKM FIXME comments.
11081 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11082 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11083 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11084 <bp-asm.h>.
11085 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11086 about bounded pointers. Remove GKM FIXME comment.
11087 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11088 and <bp-asm.h>.
11089 (strncmp): Don't use BP_SYM. Remove comment about bounded
11090 pointers.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11092 <bp-sym.h> and <bp-asm.h>.
11093 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11095 <bp-sym.h> and <bp-asm.h>.
11096 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11097 comment.
11098
cdcf361f
PP
110992013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11100
11101 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11102 call free(NULL).
11103
3c4a2b15
DM
111042013-03-05 David S. Miller <davem@davemloft.net>
11105
11106 * po/es.po: Update from translation team.
11107
cdcf361f 111082013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11109
11110 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11111 <bits/mman-linux.h>.
11112 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11113 is fine.
11114 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11115 <bits/mman-linux.h> to end of file.
11116 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11117 is fine.
11118 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11119 <bits/mman-linux.h> to end of file.
11120 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11121 is fine.
11122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11123 <bits/mman-linux.h> to end of file.
11124
11125 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11126 (MCL_CURRENT, MCL_FUTURE): Define here.
11127
5f67c04f
AK
111282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11129
8a4473cc 11130 [BZ #15232]
5f67c04f
AK
11131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11132 attribute_hidden.
11133 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11134
c3e94a95
AK
111352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11136
11137 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11138 fourth parameter needed for rt_sigprocmask syscall.
11139 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11140 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11141 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11142 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11143 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11144 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11145
cfb6382a
JM
111462013-03-04 Joseph Myers <joseph@codesourcery.com>
11147
11148 [BZ #13550]
11149 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11150 comment about bounded pointers.
11151 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11152 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11153
539d8e01
AJ
111542013-03-04 Andreas Jaeger <aj@suse.de>
11155
11156 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11157 common definitions.
11158
11159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11160 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11161 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11163 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11165
2e167a70 111662013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11167
11168 [BZ #15055]
11169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11170 __ieee754_sqrl instead of __sqrl.
11171
68508633
JM
111722013-03-01 Joseph Myers <joseph@codesourcery.com>
11173
11174 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11175 * sysdeps/powerpc/fpu_control.h: ... here.
11176 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11177 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11178 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11179 * sysdeps/powerpc/bits/mathinline.h: ... here.
11180
7775448e
RM
111812013-03-01 Roland McGrath <roland@hack.frob.com>
11182
11183 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11184 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11185 to just [NEED_DL_SYSINFO_DSO].
11186 * elf/dl-support.c: Likewise.
11187 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11188 * elf/rtld.c (dl_main): Likewise.
11189 * elf/setup-vdso.h (setup_vdso): Likewise.
11190 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11191 * sysdeps/unix/sysv/linux/dl-sysdep.c
11192 (_dl_discover_osversion): Likewise.
11193
4e9b5995
CD
111942013-03-01 Carlos O'Donell <carlos@redhat.com>
11195
11196 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11197 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11198
e23872c8
SP
111992013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11200
e5c74c63
SP
11201 * NEWS: Mention libm performance improvements and non-x86 PI
11202 futex support.
11203
e23872c8
SP
11204 * csu/libc-start.c (__pthread_initialize_minimal): Change
11205 function arguments.
11206 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11207
b5510883
JM
112082013-02-28 Joseph Myers <joseph@codesourcery.com>
11209
11210 [BZ #13550]
11211 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11212 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11213 <bp-sym.h> and <bp-asm.h>.
11214 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11215 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11216 and <bp-asm.h>.
11217 (memcpy): Don't use BP_SYM.
11218 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11219 <bp-asm.h>.
11220 (__mpn_add_n): Don't use BP_SYM.
11221 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11222 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11223 and <bp-asm.h>.
11224 (__mpn_addmul_1): Don't use BP_SYM.
11225 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11226 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11227 <bp-sym.h>.
11228 (_setjmp): Don't use BP_SYM.
11229 (__novmx_setjmp): Likewise.
11230 (__GI__setjmp): Likewise.
11231 (__vmx_setjmp): Likewise.
11232 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11233 <bp-sym.h>.
11234 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11235 (__bzero): Don't use BP_SYM.
11236 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11237 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11238 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11239 <bp-sym.h> and <bp-asm.h>.
11240 (memcpy): Don't use BP_SYM.
11241 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11242 <bp-sym.h> and <bp-asm.h>.
11243 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11244 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11245 <bp-sym.h> and <bp-asm.h>.
11246 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11247 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11248 <bp-asm.h>.
11249 (__mpn_lshift): Don't use BP_SYM.
11250 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11251 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11252 <bp-asm.h>.
11253 (memset): Don't use BP_SYM.
11254 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11255 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11256 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11257 <bp-asm.h>.
11258 (__mpn_mul_1): Don't use BP_SYM.
11259 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11260 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11261 <bp-sym.h> and <bp-asm.h>.
11262 (memcmp): Don't use BP_SYM.
11263 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11264 <bp-sym.h> and <bp-asm.h>.
11265 (memcpy): Don't use BP_SYM.
11266 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11267 <bp-sym.h> and <bp-asm.h>.
11268 (memset): Don't use BP_SYM.
11269 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11270 <bp-sym.h> and <bp-asm.h>.
11271 (strncmp): Don't use BP_SYM.
11272 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11273 <bp-sym.h> and <bp-asm.h>.
11274 (memcpy): Don't use BP_SYM.
11275 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11276 <bp-sym.h> and <bp-asm.h>.
11277 (memset): Don't use BP_SYM.
11278 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11279 <bp-sym.h> and <bp-asm.h>.
11280 (__memchr): Don't use BP_SYM.
11281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11282 <bp-sym.h> and <bp-asm.h>.
11283 (memcmp): Don't use BP_SYM.
11284 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11285 <bp-sym.h> and <bp-asm.h>.
11286 (memcpy): Don't use BP_SYM.
11287 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11288 <bp-sym.h> and <bp-asm.h>.
11289 (__mempcpy): Don't use BP_SYM.
11290 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11291 <bp-sym.h> and <bp-asm.h>.
11292 (__memrchr): Don't use BP_SYM.
11293 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11294 <bp-sym.h> and <bp-asm.h>.
11295 (memset): Don't use BP_SYM.
11296 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11297 <bp-sym.h> and <bp-asm.h>.
11298 (__rawmemchr): Don't use BP_SYM.
11299 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11300 <bp-sym.h> and <bp-asm.h>.
11301 (__STRCMP): Don't use BP_SYM.
11302 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11303 <bp-sym.h> and <bp-asm.h>.
11304 (strchr): Don't use BP_SYM.
11305 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11306 <bp-sym.h> and <bp-asm.h>.
11307 (__strchrnul): Don't use BP_SYM.
11308 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11309 <bp-sym.h> and <bp-asm.h>.
11310 (strlen): Don't use BP_SYM.
11311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11312 <bp-sym.h> and <bp-asm.h>.
11313 (strncmp): Don't use BP_SYM.
11314 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11315 <bp-sym.h> and <bp-asm.h>.
11316 (__strnlen): Don't use BP_SYM.
11317 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11318 <bp-asm.h>.
11319 (__mpn_rshift): Don't use BP_SYM.
11320 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11321 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11322 <bp-sym.h> and <bp-asm.h>.
11323 (__sigsetjmp): Don't use BP_SYM.
11324 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11325 (L(start_addresses)): Don't use BP_SYM.
11326 (_start): Likewise.
11327 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11328 <bp-asm.h>.
11329 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11330 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11331 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11332 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11333 <bp-asm.h>.
11334 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11335 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11336 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11337 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11338 <bp-asm.h>.
11339 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11340 comments.
11341 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11342 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11343 <bp-asm.h>.
11344 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11345 FIXME comments.
11346 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11347 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11348 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11349 <bp-asm.h>.
11350 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11351 comment.
11352 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11353 and <bp-asm.h>.
11354 (strncmp): Don't use BP_SYM,
11355 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11356 <bp-asm.h>.
11357 (__mpn_sub_n): Don't use BP_SYM.
11358 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11359 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11360 and <bp-asm.h>.
11361 (__mpn_submul_1): Don't use BP_SYM.
11362 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11364 <bp-sym.h> and <bp-asm.h>.
11365 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11367 <bp-sym.h> and <bp-asm.h>.
11368 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11369 comment.
11370
8d19fe64
SP
113712013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11372
11373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11374 Use ZK to minimize writes to Z.
11375 (sub_magnitudes): Simplify code a bit.
11376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11377 Use ZK to minimize writes to Z.
11378 (sub_magnitudes): Simplify code a bit.
11379
85bd816a
RM
113802013-02-27 Roland McGrath <roland@hack.frob.com>
11381
11382 * csu/gmon-start.c: Add special exception to license text.
11383
b5977bf2
RH
113842013-02-27 Richard Henderson <rth@redhat.com>
11385
11386 * scripts/config.guess: Update from config.git.
11387 * scripts/config.sub: Likewise.
11388
11d6e2f2
SP
113892013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11390
09c14ed2
SP
11391 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11392
a688864e
SP
11393 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11394
6295157a
SP
11395 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11396
b8de2202
SP
11397 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11398
11d6e2f2
SP
11399 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11400
7e80ddb8
RM
114012013-02-26 Roland McGrath <roland@hack.frob.com>
11402
11403 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11404 [$(build-shared = yes].
7e80ddb8 11405
7da6d9ed
SP
114062013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11407
45f05884
SP
11408 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11409 (__mul): Reduce iterations for calculating mantissa.
11410
2236d359
SP
11411 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11412 MPTWO.
11413 (__mpranred): Likewise.
11414
7da6d9ed
SP
11415 [BZ #15160]
11416 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11417 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11418
b7688c42
PE
114192013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11420
11421 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11422 Define __attribute__.
11423
53a5c423
SP
114242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11425
11426 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11427 unused.
11428 * posix/regex_internal.h (__attribute): Remove.
11429 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11430 (re_string_context_at): Likewise.
11431 (bitset_not): Use __attribute__ and mark function as possibly
11432 unused.
11433 (bitset_merge): Likewise.
11434 (bitset_mask): Likewise.
11435 (re_string_char_size_at): Likewise.
11436 (re_string_wchar_at): Likewise.
11437 (re_string_elem_size_at): Likewise.
11438
60f5a8b5
SP
114392013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11440
2a983a2e
SP
11441 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11442 code.
11443 (cc32): Likewise.
11444
e69804d1
SP
11445 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11446 (__acr): Likewise.
11447 (__cpy): Likewise.
11448 (norm): Likewise.
11449 (denorm): Likewise.
11450 (__dbl_mp): Likewise.
11451 (add_magnitudes): Likewise.
11452 (sub_magnitudes): Likewise.
11453 (__mul): Likewise.
11454 (__inv): Likewise.
11455
2f22a1e8
SP
11456 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11457 style.
11458
8930ddc7
SP
11459 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11460 style.
11461
dc60cb11
SP
11462 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11463 code.
11464
60f5a8b5
SP
11465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11466 up changes with default code.
11467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11468 Likewise.
11469
b4d1fd33
AM
114702013-02-24 Allan McRae <allan@archlinux.org>
11471
faf6f8bc
AM
11472 * manual/socket.texi (The Internet Namespace): Order menu items
11473 to match that in the file.
11474
b4d1fd33
AM
11475 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11476 node listing of the info page menu.
11477
2366713d
JM
114782013-02-21 Joseph Myers <joseph@codesourcery.com>
11479
11480 [BZ #13550]
11481 * sysdeps/i386/bp-asm.h: Remove file.
11482 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11483 (PARMS): Do not use macros from bp-asm.h.
11484 (S1): Likewise.
11485 (S2): Likewise.
11486 (SIZE): Likewise.
11487 (__mpn_add_n): Do not use BP_SYM
11488 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11489 "bp-asm.h".
11490 (PARMS): Do not use macros from bp-asm.h.
11491 (S1): Likewise.
11492 (SIZE): Likewise.
11493 (__mpn_addmul_1): Do not use BP_SYM
11494 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11495 "bp-asm.h".
11496 (PARMS): Do not use macros from bp-asm.h.
11497 (SIGMSK): Likewise.
11498 (_setjmp): Likewise. Do not use BP_SYM.
11499 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11500 "bp-asm.h".
11501 (PARMS): Do not use macros from bp-asm.h.
11502 (SIGMSK): Likewise.
11503 (setjmp): Likewise. Do not use BP_SYM.
11504 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11505 "bp-asm.h".
11506 (PARMS): Do not use macros from bp-asm.h.
11507 (__frexp): Do not use BP_SYM.
11508 (frexp): Likewise.
11509 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11510 "bp-asm.h".
11511 (PARMS): Do not use macros from bp-asm.h.
11512 (__frexpf): Do not use BP_SYM.
11513 (frexpf): Likewise.
11514 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11515 "bp-asm.h".
11516 (PARMS): Do not use macros from bp-asm.h.
11517 (__frexpl): Do not use BP_SYM.
11518 (frexpl): Likewise.
11519 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11520 "bp-asm.h".
11521 (PARMS): Do not use macros from bp-asm.h.
11522 (__remquo): Do not use BP_SYM.
11523 (remquo): Likewise.
11524 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11525 "bp-asm.h".
11526 (PARMS): Do not use macros from bp-asm.h.
11527 (__remquof): Do not use BP_SYM.
11528 (remquof): Likewise.
11529 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11530 "bp-asm.h".
11531 (PARMS): Do not use macros from bp-asm.h.
11532 (__remquol): Do not use BP_SYM.
11533 (remquol): Likewise.
11534 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11535 "bp-asm.h".
11536 (PARMS): Do not use macros from bp-asm.h.
11537 (DEST): Likewise.
11538 (SRC): Likewise.
11539 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11540 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11541 "bp-asm.h".
11542 (PARMS): Do not use macros from bp-asm.h.
11543 (strlen): Do not use BP_SYM.
11544 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11545 "bp-asm.h".
11546 (PARMS): Do not use macros from bp-asm.h.
11547 (S1): Likewise.
11548 (S2): Likewise.
11549 (SIZE): Likewise.
11550 (__mpn_add_n): Do not use BP_SYM.
11551 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11552 "bp-asm.h".
11553 (PARMS): Do not use macros from bp-asm.h.
11554 (S1): Likewise.
11555 (SIZE): Likewise.
11556 (__mpn_addmul_1): Do not use BP_SYM.
11557 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11558 weak_alias.
11559 (bzero): Likewise.
11560 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11561 "bp-asm.h".
11562 (PARMS): Do not use macros from bp-asm.h.
11563 (S): Likewise.
11564 (SIZE): Likewise.
11565 (__mpn_lshift): Do not use BP_SYM.
11566 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11567 "bp-asm.h".
11568 (PARMS): Do not use macros from bp-asm.h.
11569 (DEST): Likewise.
11570 (SRC): Likewise.
11571 (LEN): Likewise.
11572 (memcpy): Likewise. Do not use BP_SYM.
11573 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11574 libc_hidden_def and weak_alias.
11575 (mempcpy): Do not use BP_SYM in weak_alias.
11576 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11577 "bp-asm.h".
11578 (PARMS): Do not use macros from bp-asm.h.
11579 (DEST): Likewise.
11580 (LEN): Likewise.
11581 [!BZERO_P] (CHR): Likewise.
11582 (memset): Likewise. Do not use BP_SYM.
11583 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11584 "bp-asm.h".
11585 (PARMS): Do not use macros from bp-asm.h.
11586 (S1): Likewise.
11587 (SIZE): Likewise.
11588 (__mpn_mul_1): Do not use BP_SYM.
11589 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11590 "bp-asm.h".
11591 (PARMS): Do not use macros from bp-asm.h.
11592 (S): Likewise.
11593 (SIZE): Likewise.
11594 (__mpn_rshift): Do not use BP_SYM.
11595 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11596 "bp-asm.h".
11597 (PARMS): Do not use macros from bp-asm.h.
11598 (STR): Likewise.
11599 (CHR): Likewise.
11600 (strchr): Likewise. Do not use BP_SYM.
11601 (index): Do not use BP_SYM in weak_alias.
11602 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11603 "bp-asm.h".
11604 (PARMS): Do not use macros from bp-asm.h.
11605 (DEST): Likewise.
11606 (SRC): Likewise.
11607 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11608 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11609 "bp-asm.h".
11610 (PARMS): Do not use macros from bp-asm.h.
11611 (strlen): Do not use BP_SYM.
11612 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11613 "bp-asm.h".
11614 (PARMS): Do not use macros from bp-asm.h.
11615 (S1): Likewise.
11616 (S2): Likewise.
11617 (SIZE): Likewise.
11618 (__mpn_sub_n): Do not use BP_SYM.
11619 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11620 "bp-asm.h".
11621 (PARMS): Do not use macros from bp-asm.h.
11622 (S1): Likewise.
11623 (SIZE): Likewise.
11624 (__mpn_submul_1): Do not use BP_SYM.
11625 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11626 "bp-asm.h".
11627 (PARMS): Do not use macros from bp-asm.h.
11628 (S1): Likewise.
11629 (S2): Likewise.
11630 (SIZE): Likewise.
11631 (__mpn_add_n): Do not use BP_SYM.
11632 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11633 weak_alias.
11634 (bzero): Likewise.
11635 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11636 "bp-asm.h".
11637 (PARMS): Do not use macros from bp-asm.h.
11638 (BLK2): Likewise.
11639 (LEN): Likewise.
11640 (memcmp): Do not use BP_SYM.
11641 (bcmp): Do not use BP_SYM in weak_alias.
11642 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11643 "bp-asm.h".
11644 (PARMS): Do not use macros from bp-asm.h.
11645 (DEST): Likewise.
11646 (SRC): Likewise.
11647 (LEN): Likewise.
11648 (memcpy): Likewise. Do not use BP_SYM.
11649 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11650 "bp-asm.h".
11651 (PARMS): Do not use macros from bp-asm.h.
11652 (DEST): Likewise.
11653 (SRC): Likewise.
11654 (LEN): Likewise.
11655 (memmove): Likewise. Do not use BP_SYM.
11656 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11657 "bp-asm.h".
11658 (PARMS): Do not use macros from bp-asm.h.
11659 (DEST): Likewise.
11660 (SRC): Likewise.
11661 (LEN): Likewise.
11662 (__mempcpy): Likewise. Do not use BP_SYM.
11663 (mempcpy): Do not use BP_SYM in weak_alias.
11664 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11665 "bp-asm.h".
11666 (PARMS): Do not use macros from bp-asm.h.
11667 (DEST): Likewise.
11668 (LEN): Likewise.
11669 [!BZERO_P] (CHR): Likewise.
11670 (memset): Likewise. Do not use BP_SYM.
11671 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11672 "bp-asm.h".
11673 (PARMS): Do not use macros from bp-asm.h.
11674 (STR2): Likewise.
11675 (strcmp): Do not use BP_SYM.
11676 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11677 "bp-asm.h".
11678 (PARMS): Do not use macros from bp-asm.h.
11679 (STR): Likewise.
11680 (DELIM): Likewise.
11681 [USE_AS_STRTOK_R] (SAVE): Likewise.
11682 (FUNCTION): Likewise. Do not use BP_SYM.
11683 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11684 aliases.
11685 (strtok_r): Likewise.
11686 (__GI___strtok_r): Likewise.
11687 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11688 (PARMS): Do not use macros from bp-asm.h.
11689 (S): Likewise.
11690 (SIZE): Likewise.
11691 (__mpn_lshift): Do not use BP_SYM.
11692 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11693 (PARMS): Do not use macros from bp-asm.h.
11694 (STR): Likewise.
11695 (CHR): Likewise.
11696 (__memchr): Do not use BP_SYM.
11697 (memchr): Do not use BP_SYM in weak_alias.
11698 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11699 (PARMS): Do not use macros from bp-asm.h.
11700 (BLK2): Likewise.
11701 (LEN): Likewise.
11702 (memcmp): Do not use BP_SYM.
11703 (bcmp): Do not use BP_SYM in weak_alias.
11704 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11705 (PARMS): Do not use macros from bp-asm.h.
11706 (S1): Likewise.
11707 (SIZE): Likewise.
11708 (__mpn_mul_1): Do not use BP_SYM.
11709 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11710 "bp-asm.h".
11711 (PARMS): Do not use macros from bp-asm.h.
11712 (STR): Likewise.
11713 (CHR): Likewise.
11714 (__rawmemchr): Do not use BP_SYM.
11715 (rawmemchr): Do not use BP_SYM in weak_alias.
11716 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11717 (PARMS): Do not use macros from bp-asm.h.
11718 (S): Likewise.
11719 (SIZE): Likewise.
11720 (__mpn_rshift): Do not use BP_SYM.
11721 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11722 (PARMS): Do not use macros from bp-asm.h.
11723 (SIGMSK): Likewise.
11724 (__sigsetjmp): Likewise. Do not use BP_SYM.
11725 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11726 (_start): Do not use BP_SYM.
11727 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11728 (PARMS): Do not use macros from bp-asm.h.
11729 (DEST): Likewise.
11730 (SRC): Likewise.
11731 (__stpcpy): Likewise. Do not use BP_SYM.
11732 (stpcpy): Do not use BP_SYM in weak_alias.
11733 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11734 "bp-asm.h".
11735 (PARMS): Do not use macros from bp-asm.h.
11736 (DEST): Likewise.
11737 (SRC): Likewise.
11738 (LEN): Likewise.
11739 (__stpncpy): Likewise. Do not use BP_SYM.
11740 (stpncpy): Do not use BP_SYM in weak_alias.
11741 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11742 (PARMS): Do not use macros from bp-asm.h.
11743 (STR): Likewise.
11744 (CHR): Likewise.
11745 (strchr): Likewise. Do not use BP_SYM.
11746 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11747 "bp-asm.h".
11748 (PARMS): Do not use macros from bp-asm.h.
11749 (STR): Likewise.
11750 (CHR): Likewise.
11751 (__strchrnul): Likewise. Do not use BP_SYM.
11752 (strchrnul): Do not use BP_SYM in weak_alias.
11753 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11754 "bp-asm.h".
11755 (PARMS): Do not use macros from bp-asm.h.
11756 (STOP): Likewise.
11757 (strcspn): Do not use BP_SYM.
11758 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11759 "bp-asm.h".
11760 (PARMS): Do not use macros from bp-asm.h.
11761 (STR): Likewise.
11762 (STOP): Likewise.
11763 (strpbrk): Likewise. Do not use BP_SYM.
11764 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11765 "bp-asm.h".
11766 (PARMS): Do not use macros from bp-asm.h.
11767 (STR): Likewise.
11768 (CHR): Likewise.
11769 (strrchr): Likewise. Do not use BP_SYM.
11770 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11771 (PARMS): Do not use macros from bp-asm.h.
11772 (SKIP): Likewise.
11773 (strspn): Do not use BP_SYM.
11774 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11775 (PARMS): Do not use macros from bp-asm.h.
11776 (STR): Likewise.
11777 (DELIM): Likewise.
11778 (SAVE): Likewise.
11779 (FUNCTION): Likewise. Do not use BP_SYM.
11780 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11781 aliases.
11782 (strtok_r): Likewise.
11783 (__GI___strtok_r): Likewise.
11784 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11785 (PARMS): Do not use macros from bp-asm.h.
11786 (S1): Likewise.
11787 (S2): Likewise.
11788 (SIZE): Likewise.
11789 (__mpn_sub_n): Do not use BP_SYM.
11790 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11791 "bp-asm.h".
11792 (PARMS): Do not use macros from bp-asm.h.
11793 (S1): Likewise.
11794 (SIZE): Likewise.
11795 (__mpn_submul_1): Do not use BP_SYM.
11796 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11797 <bp-sym.h>.
11798 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11799 and <bp-asm.h>.
11800 (PARMS): Do not use macros from bp-asm.h.
11801 (FLAGS): Likewise.
11802 (PTID): Likewise.
11803 (TLS): Likewise.
11804 (CTID): Likewise.
11805 (__clone): Do not use BP_SYM.
11806 (clone): Do not use BP_SYM in weak_alias.
11807 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11808 and <bp-asm.h>.
11809 (PARMS): Do not use macros from bp-asm.h.
11810 (LEN): Likewise.
11811 (__mmap64): Do not use BP_SYM.
11812 (mmap64): Do not use BP_SYM in weak_alias.
11813 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11814 <bp-sym.h> and <bp-asm.h>.
11815 (PARMS): Do not use macros from bp-asm.h.
11816 (__posix_fadvise64_l64): Do not use BP_SYM.
11817 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11818 (PARMS): Do not use macros from bp-asm.h.
11819 (NSOPS): Likewise.
11820 (semtimedop): Do not use BP_SYM.
11821 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11822 and <bp-asm.h>.
11823
582a3cff
AM
118242013-02-21 Allan McRae <allan@archlinux.org>
11825
11826 * manual/message.texi (Charset conversion in gettext):
11827 Move @end statement to beginning of line.
11828
bab8a695
SP
118292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11830
80945231
SP
11831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11832 static.
11833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11834 Likewise.
11835
bab8a695
SP
11836 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11837 (denorm): Likewise.
11838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11840
e21d7aa7
AK
118412013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11842
11843 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11844 tail-call to the resolved function if pltexit isn't needed.
11845
4c7a4263
SP
118462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11847
11848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11849 or Y being zero as being unlikely.
11850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11851 Likewise.
11852
41f49342
CD
118532013-02-20 Carlos O'Donell <carlos@redhat.com>
11854
11855 * manual/nss.texi (System Databases and Name Service Switch):
11856 Remove frobnicate @pxref.
11857
50022a93
TS
118582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11859
11860 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11861 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11862
08cbd996
PM
118632013-02-20 Petr Machata <pmachata@redhat.com>
11864
11865 * elf/elf.h (R_ARM_TARGET1): New macro.
11866 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11867 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11868 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11869 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11870 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11871 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11872 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11873 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11874 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11875 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11876 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11877 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11878 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11879 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11880 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11881 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11882 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11883 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11884 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11885 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11886 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11887 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11888 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11889 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11890 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11891 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11892 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11893 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11894 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11895 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11896 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11897 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11898 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11899 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11900 (R_ARM_THM_GOT_BREL12): Likewise.
11901 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11902 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11903 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11904 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11905 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11906 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11907 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11908 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11909 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11910
c7b275d6
TS
119112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11912
11913 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11914 __attribute_used__ to __attribute__ ((unused)).
11915
20cd7fb3
SP
119162013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11917
11918 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11919 powerpc mpa.c.
11920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11921 comment formatting.
11922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11923
92945b52
JM
119242013-02-19 Joseph Myers <joseph@codesourcery.com>
11925
11926 [BZ #13550]
11927 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11928 Remove macro.
11929 (ENTER): Remove both macro definitions.
11930 (LEAVE): Likewise.
11931 (CHECK_BOUNDS_LOW): Likewise.
11932 (CHECK_BOUNDS_HIGH): Likewise.
11933 (CHECK_BOUNDS_BOTH): Likewise.
11934 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11935 (RETURN_BOUNDED_POINTER): Likewise.
11936 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11937 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11938 (POP_ERRNO_LOCATION_RETURN): Likewise.
11939 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11940 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11941 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11942 macros.
11943 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11944 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11945 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11946 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11947 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11948 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11949 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11950 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11951 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11952 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11953 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11954 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11955 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11956 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11957 removed macros.
11958 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11959 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11960 macros.
11961 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11962 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11963 * sysdeps/i386/i586/memset.S (memset): Likewise.
11964 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11965 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11966 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11967 macros.
11968 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11969 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11970 Change uses of L(2) to L(out).
11971 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11972 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11973 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11974 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11975 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11976 removed macros.
11977 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11978 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11979 macros.
11980 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11981 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11982 (RETURN): Do not use macro LEAVE.
11983 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11984 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11985 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11986 * sysdeps/i386/i686/memset.S (memset): Likewise.
11987 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11988 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11989 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11990 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11991 Likewise.
11992 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11993 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11994 L(1_2) and L(1_3) into L(1).
11995 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11996 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11997 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11998 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11999 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12000 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12001 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12002 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12003 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12004 macros.
12005 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12006 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12007 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12008 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12009 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12010 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12011 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12012 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12013 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12014 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12015 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12016 * sysdeps/i386/strspn.S (strspn): Likewise.
12017 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12018 conditional code.
12019 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12020 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12021 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12022 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12023 L(1_3) into L(1_1).
12024 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12025 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12026 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12027 macros.
12028 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12029
2389741a
JJ
120302013-02-19 Jakub Jelinek <jakub@redhat.com>
12031
12032 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12033 macro.
12034
2016b3cd
SP
120352013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12036
e4f22324
SP
12037 * math/atest-exp.c (exp_mpn): Remove ROUND.
12038 * math/atest-exp2.c (exp_mpn): Likewise.
12039 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12040
2016b3cd
SP
12041 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12042 * stdlib/tst-tls-atexit-lib.c: Likewise.
12043 * stdlib/tst-tls-atexit.c: Likewise.
12044
4be9b544
MF
120452013-02-18 Mike Frysinger <vapier@gentoo.org>
12046
12047 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12048 and __attribute_alloc_size__.
12049
2f62b9ee
MF
120502013-02-18 Mike Frysinger <vapier@gentoo.org>
12051
12052 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12053 __attribute_alloc_size__.
12054 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12055 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12056
6ff444c4
MF
120572013-02-18 Mike Frysinger <vapier@gentoo.org>
12058
12059 * include/programs/xmalloc.h: New file.
12060 * catgets/gencat.c: Include it.
12061 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12062 * elf/pldd.c: Likewise.
12063 * iconv/iconv_charmap.c: Likewise.
12064 * iconv/iconvconfig.c: Likewise.
12065 * iconv/strtab.c: Likewise.
12066 * locale/programs/locale.c: Likewise.
12067 * locale/programs/localedef.h: Likewise.
12068 * locale/programs/simple-hash.c: Likewise.
12069 * nscd/nscd.h: Likewise.
12070 * nss/makedb.c: Likewise.
12071 * sysdeps/generic/ldconfig.h: Likewise.
12072
be179c8a
SP
120732013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12074
ba384f6e
SP
12075 * Versions.def: Add GLIBC_2.18.
12076 * include/link.h (struct link_map): New member l_tls_dtor_count.
12077 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12078 (__call_tls_dtors): Likewise.
12079 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12080 __cxa_thread_atexit_impl.
12081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12082 Likewise.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12084 Likewise.
12085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12086 Likewise.
12087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12088 Likewise.
12089 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12091 Likewise.
12092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12093 Likewise.
12094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12096 Likewise.
12097 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12098 (tests): Add test case tst-tls-atexit.
12099 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12100 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12101 (GLIBC_PRIVATE): Add __call_tls_dtors.
12102 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12103 for libstdc++.
12104 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12105 * stdlib/tst-tls-atexit.c: New test case.
12106 * stdlib/tst-tls-atexit-lib.c: New test case.
12107
ffaa74cf 12108 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12109
be179c8a
SP
12110 * elf/Versions (ld): Add _dl_find_dso_for_object.
12111 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12112 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12113 (dl_open_worker): Use _dl_find_dso_for_object.
12114 * elf/dl-sym.c (do_sym): Likewise.
12115 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12116
f78b5caa
AK
121172013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12118
12119 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12120 Syntactic changes only.
12121 (_dl_runtime_profile): Do a tail-call to the resolved function.
12122
29691210
JM
121232013-02-17 Joseph Myers <joseph@codesourcery.com>
12124
12125 [BZ #13550]
12126 * sysdeps/x86_64/bp-asm.h: Remove file.
12127 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12128 <bp-sym.h> and <bp-asm.h>.
12129 (__clone): Do not use BP_SYM.
12130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12131 <bp-sym.h> and <bp-asm.h>.
12132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12133 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12134 "bp-asm.h".
12135 (_setjmp): Do not use BP_SYM.
12136 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12137 "bp-asm.h".
12138 (setjmp): Do not use BP_SYM.
12139 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12140 libc_hidden_def.
12141 (mempcpy): Do not use BP_SYM in weak_alias.
12142 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12143 "bp-asm.h".
12144 (strchr): Do not use BP_SYM.
12145 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12146 "bp-asm.h".
12147 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12148 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12149 (_start): Do not use BP_SYM.
12150 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12151 "bp-asm.h".
12152 (strcat): Do not use BP_SYM.
12153 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12154 "bp-asm.h".
12155 (STRCMP): Do not use BP_SYM.
12156 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12157 "bp-asm.h".
12158 (STRCPY): Do not use BP_SYM.
12159 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12160 "bp-asm.h".
12161 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12162 "bp-asm.h".
12163 (FUNCTION): Do not use BP_SYM.
12164 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12165 weak_alias.
12166 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12167
f238fd19
AJ
121682013-02-17 Andreas Jaeger <aj@suse.de>
12169
12170 * time/Versions: Sort entries.
12171 * string/Versions: Likewise.
12172 * resolv/Versions: Likewise.
12173 * posix/Versions: Likewise.
12174 * iconv/Versions: Likewise.
12175 * elf/Versions: Likewise.
12176 * wcsmbs/Versions: Likewise.
12177
bd07f23c 121782013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12179
22af19f9
SP
12180 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12181 loop termination condition.
12182
4709fe76
SP
12183 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12184 variable to calculate EZ.
12185 (__sqr): Likewise.
2d0e0f29
SP
12186
12187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12188 the lower precision input.
12189
daaa7713
JM
121902013-02-15 Joseph Myers <joseph@codesourcery.com>
12191
12192 [BZ #13550]
12193 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12194 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12195 (run-via-rtld-prefix): Do not handle %-bp tests.
12196 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12197 (all-object-suffixes): Remove .ob.
12198 (bppfx): Remove variable.
12199 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12200 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12201 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12202 [$(build-bounded) = yes] (libtype.ob): Likewise.
12203 * Makerules (elide-routines.ob): Remove variable.
12204 (do-tests-clean): Do not handle *-bp.out.
12205 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12206 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12207 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12208 (tests): Do not include $(tests-bp.out).
12209 (xtests): Do not include $(xtests-bp.out).
12210 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12211 [$(build-bounded) = yes] ($(addprefix
12212 $(objpfx),$(binaries-bounded))): Remove rule.
12213 ($(objpfx)%-bp.out): Remove rule.
12214 * config.make.in (build-bounded): Remove variable.
12215 * crypt/Makefile [$(build-bounded) = yes]
12216 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12217 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12218 append to variable.
12219 [$(build-bounded) = yes] (install-lib): Likewise.
12220 [$(build-bounded) = yes] (generated): Likewise.
12221 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12222 Remove rule.
12223 * intl/Makefile [$(build-bounded) = yes]
12224 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12225 * math/Makefile [$(build-bounded) = yes]
12226 ($(tests:%=$(objpfx)%-bp): Likewise.
12227 * misc/Makefile [$(build-bounded) = yes]
12228 ($(objpfx)tst-tsearch-bp): Likewise.
12229 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12230 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12231 Remove dependency.
12232 * string/Makefile (o-objects.ob): Remove variable.
12233 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12234 (CFLAGS-.ob): Remove variable.
12235 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12236 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12237 both definitions of variable.
12238 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12239 (ASFLAGS-.ob): Remove variable.
12240
e97ed6dd
JM
122412013-02-14 Joseph Myers <joseph@codesourcery.com>
12242
2bdd4ca6
JM
12243 [BZ #13550]
12244 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12245 Remove __BOUNDED_POINTERS__ from condition.
12246 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12247 * string/bits/string2.h [!__NO_STRING_INLINES &&
12248 !__BOUNDED_POINTERS__]: Likewise.
12249 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12250 Likewise.
12251 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12252 Remove conditional code.
12253 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12254 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12255 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12256 condition.
12257
e97ed6dd
JM
12258 [BZ #13550]
12259 * csu/libc-start.c: Do not include <bp-sym.h>.
12260 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12261 * elf/dl-open.c: Do not include <bp-sym.h>.
12262 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12263 * math/fegetenv.c: Do not include <bp-sym.h>.
12264 (fegetenv): Do not use BP_SYM in versioned symbols.
12265 * nptl/sysdeps/pthread/bits/libc-lockP.h
12266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12267 <bp-sym.h>.
12268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12269 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12271 (__pthread_mutex_destroy): Likewise.
12272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12273 (__pthread_mutex_lock): Likewise.
12274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12275 (__pthread_mutex_trylock): Likewise.
12276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12277 (__pthread_mutex_unlock): Likewise.
12278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12279 (__pthread_mutexattr_init): Likewise.
12280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12281 (__pthread_mutexattr_destroy): Likewise.
12282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12283 (__pthread_mutexattr_settype): Likewise.
12284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12285 (__pthread_rwlock_init): Likewise.
12286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12287 (__pthread_rwlock_destroy): Likewise.
12288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12289 (__pthread_rwlock_rdlock): Likewise.
12290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12291 (__pthread_rwlock_tryrdlock): Likewise.
12292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12293 (__pthread_rwlock_wrlock): Likewise.
12294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12295 (__pthread_rwlock_trywrlock): Likewise.
12296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12297 (__pthread_rwlock_unlock): Likewise.
12298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12299 (__pthread_key_create): Likewise.
12300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12301 (__pthread_setspecific): Likewise.
12302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12303 (__pthread_getspecific): Likewise.
12304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12305 Likewise.
12306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12307 (_pthread_cleanup_push_defer): Likewise.
12308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12309 (_pthread_cleanup_pop_restore): Likewise.
12310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12311 (pthread_setcancelstate): Likewise.
12312 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12313 <bp-sym.h>.
12314 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12315 (memchr): Do not use BP_SYM in weak_alias.
12316 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12317 (fegetenv): Do not use BP_SYM in versioned symbols.
12318 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12319 (fesetenv): Do not use BP_SYM in versioned symbols.
12320 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12321 (feupdateenv): Do not use BP_SYM in versioned symbols.
12322 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12323 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12324 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12325 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12326 (open64): Do not use BP_SYM in weak_alias.
12327 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12328 (fegetenv): Do not use BP_SYM in versioned symbols.
12329 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12330 (fesetenv): Do not use BP_SYM in versioned symbols.
12331 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12332 (feupdateenv): Do not use BP_SYM in versioned symbols.
12333 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12334 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12335 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12336 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12337 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12338 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12340 <bp-sym.h>.
12341 (__libc_start_main): Do not use BP_SYM.
12342
d6752ccd
SP
123432013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12344
cb57ce60
SP
12345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12346 redundant return line.
12347 (norm): Likewise.
12348 (denorm): Likewise.
12349 (dbl_mp): Likewise.
12350 (sub_magnitudes): Likewise.
12351 (__add): Likewise.
12352 (__sub): Likewise.
12353 (__mul): Likewise.
12354 (__inv): Likewise.
12355 (__dvd): Likewise.
12356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12357 (norm): Likewise.
12358 (denorm): Likewise.
12359 (dbl_mp): Likewise.
12360 (sub_magnitudes): Likewise.
12361 (__add): Likewise.
12362 (__sub): Likewise.
12363 (__mul): Likewise.
12364 (__inv): Likewise.
12365 (__dvd): Likewise.
12366
f414520d
SP
12367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12368 instead of __mul.
12369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12370 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12371 (cc32): Likewise.
12372
d6752ccd
SP
12373 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12374 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12376 of __mul for squares.
12377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12378 function
12379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12380 Likewise.
12381 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12382 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12383
70d9946a
JM
123842013-02-13 Joseph Myers <joseph@codesourcery.com>
12385
12386 [BZ #13550]
12387 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12388 code.
12389 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12390 prototype or function definition. Rename ubp_* variables and
12391 parameters. Remove argv definitions conditional on
12392 [__BOUNDED_POINTERS__].
12393 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12394 * elf/dl-runtime.c (_dl_fixup): Likewise.
12395 * include/set-hooks.h (RUN_HOOK): Likewise.
12396 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12397 definition.
12398 * string/strcpy.c (strcpy): Do not use __unbounded.
12399 * sysdeps/generic/frame.h (struct layout): Likewise.
12400 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12401 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12402 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12403 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12404 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12405 (__backtrace): Likewise.
12406 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12407 use __ptrvalue.
12408 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12409 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12410 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12411 Likewise.
12412 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12413 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12414 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12415 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12416 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12417 Do not use __unbounded.
12418 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12419 Rename __unboundedrlimits parameter to rlimits in prototype.
12420 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12421 Do not use __unbounded.
12422 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12423 not use __ptrvalue.
12424 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12425 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12426 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12427 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12428 __ptrvalue or __unbounded.
12429 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12430 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12431 use __unbounded.
12432 (__new_msgctl): Do not use __ptrvalue.
12433 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12434 __unbounded.
12435 (__libc_msgrcv): Do not use __ptrvalue.
12436 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12437 startup_info): Do not use __unbounded.
12438 (__libc_start_main): Likewise. Rename ubp_* variables and
12439 parameters. Remove argv definitions conditional on
12440 [__BOUNDED_POINTERS__].
12441 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12442 __ptrvalue.
12443 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12444 use __unbounded.
12445 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12446 or __ptrvalue.
12447 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12448 use __unbounded.
12449 (__new_shmctl): Do not use __ptrvalue.
12450 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12451 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12452 Likewise.
12453 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12454 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12455 (__libc_sigaction): Likewise.
12456 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12457 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12460
cc7834d6
OB
124612013-02-13 Ondřej Bílka <neleai@seznam.cz>
12462
ffb1ec7b 12463 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12464
12465 * string/mempcpy.c: Implement by calling memcpy.
12466
bdf02814
SP
124672013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12468
c2af38aa
SP
12469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12470
4e92d59e
SP
12471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12472 evaluation.
12473
909279a5
SP
12474 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12475 values in the mantissa.
12476
bdf02814
SP
12477 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12478 minimize writes to Z.
12479 (sub_magnitudes): Simplify code a bit.
12480
cd525923
RM
124812013-02-12 Roland McGrath <roland@hack.frob.com>
12482
12483 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12484 from the message. The linker prefixes all warnings with that already.
12485
7e2f0d2d
AS
124862013-02-12 Andreas Schwab <schwab@suse.de>
12487
a445af0b
AS
12488 [BZ #15078]
12489 * posix/regexec.c (extend_buffers): Add parameter min_len.
12490 (check_matching): Pass minimum needed length.
12491 (clean_state_log_if_needed): Likewise.
12492 (get_subexp): Likewise.
12493 * posix/Makefile (tests): Add bug-regex34.
12494 (bug-regex34-ENV): Define.
12495 * posix/bug-regex34.c: New file.
12496
7e2f0d2d
AS
12497 [BZ #11561]
12498 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12499 elements compare against the byte sequence of it, not its name.
12500 * posix/Makefile (tests): Add bug-regex35.
12501 (bug-regex35-ENV): Define.
12502 * posix/bug-regex35.c: New file.
12503
a175b684
TV
125042013-02-11 Tom de Vries <tom@codesourcery.com>
12505
12506 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12507 comment.
12508 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12509 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12510 (CHECK_EOL): Add undef.
12511
310998fe 125122013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12513
12514 * bits/stdlib-bsearch.h: New file.
12515 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12516 * stdlib/stdlib.h: Likewise.
41eda41d 12517
8ded91fb
RM
125182013-02-11 Roland McGrath <roland@hack.frob.com>
12519
12520 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12521 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12522 declaration.
12523 * manual/search.texi (Array Search Function): Add missing const in
12524 lfind prototype.
12525 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12526 declaration to use rlim_t.
12527 (Basic Scheduling Functions): Remove erroneous const from
12528 sched_getparam prototype. Remove erroneous * from
12529 sched_get_priority_max and sched_get_priority_min prototypes.
12530 (Resource Usage): Fix summary @comment on vtimes to refer to
12531 sys/vtimes.h rather than vtimes.h.
12532 Add missing *s in vtimes prototype.
12533 (Limits on Resources): Fix ulimit prototype to return long int.
12534 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12535 prototypes to use long int rather than double.
12536 (BSD Random): Fix initstate and setstate to use char *, not void *.
12537 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12538 prototype to make second argument 'struct aiocb64 *const[]'.
12539 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12540 (Status of AIO Operations): Remove erroneous const in aio_return and
12541 aio_return64 prototypes.
12542 (Synchronizing I/O): Fix sync prototype to return void.
12543 * manual/startup.texi (Suboptions): Remove an erroneous const in
12544 getsubopt prototype.
12545 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12546 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12547 use size_t rather than int.
12548 (Scanning All Users): Likewise for getpwent_r.
12549 (Setting Groups): Add missing const to setgroups prototype.
12550 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12551 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12552 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12553 'const void *' rather than 'const char *'.
12554 (Host Address Functions): Likewise for inet_ntop.
12555 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12556 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12557 ssize_t for return value.
12558 (Sending Data): Likewise for send, sendto, sendmsg.
12559 (Socket Option Functions): Add a missing const in setsockopt prototype.
12560 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12561 use wchar_t for the argument.
12562 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12563 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12564 take no arguments.
12565 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12566 double/float/long double for second argument.
12567 Fix return types of significand, significandf, significandl.
12568 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12569 argument in fchmod prototype.
12570 (File Owner): Use uid_t and gid_t in fchown prototype.
12571 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12572 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12573 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12574 use 'const struct dirent **' as argument types to CMP function pointer
12575 argument.
12576 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12577 (File Times): Fix summary magic @comment for struct utimbuf and utime
12578 to refer to utime.h, not time.h.
12579 * manual/string.texi (Argz Functions): Add missing const in
12580 argz_extract and argz_next prototypes.
12581 (Finding Tokens in a String): Likewise for basename.
12582 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12583 (Copying and Concatenation): Fix typo in wmemmove prototype.
12584 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12585 (Signal Stack): Remove erroneous const in sigstack prototype.
12586 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12587 prototype.
12588 (Simple Calendar Time): Likewise for stime.
12589 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12590 prototype.
12591 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12592 say sys/sysctl.h instead.
12593 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12594 and vsyslog prototypes.
12595
fe77fe6d
TV
125962013-02-11 Tom de Vries <tom@codesourcery.com>
12597
12598 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12599 Remove.
12600
3a09b620
RM
126012013-02-11 Roland McGrath <roland@hack.frob.com>
12602
12603 * misc/sys/mman.h: Fix typo in mremap comment.
12604
550a0b89
RM
126052013-02-08 Roland McGrath <roland@hack.frob.com>
12606
12607 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12608 the '\0' terminator.
12609
a2da1673
JM
126102013-02-08 Joseph Myers <joseph@codesourcery.com>
12611
12612 [BZ #13550]
12613 * debug/segfault.c: Don't include <bp-checks.h>.
12614 * sysdeps/generic/bp-checks.h: Remove file.
12615 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12616 (__GETDENTS): Don't use CHECK_N.
12617 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12618 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12619 (__getgroups): Don't use CHECK_N.
12620 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12621 (setgroups): Don't use CHECK_N.
12622 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12623 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12624 (__libc_msgrcv): Don't use CHECK_N.
12625 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12626 (__libc_msgsnd): Don't use CHECK_N.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12628 <bp-checks.h>.
12629 (__libc_pread): Don't use CHECK_N.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12631 include <bp-checks.h>.
12632 (__libc_pread64): Don't use CHECK_N.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12634 include <bp-checks.h>.
12635 (__libc_pwrite): Don't use CHECK_N.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12637 include <bp-checks.h>.
12638 (__libc_pwrite64): Don't use CHECK_N.
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12640 <bp-checks.h>.
12641 (__libc_pread): Don't use CHECK_N.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12643 include <bp-checks.h>.
12644 (__libc_pread64): Don't use CHECK_N.
12645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12646 include <bp-checks.h>.
12647 (__libc_pwrite): Don't use CHECK_N.
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12649 include <bp-checks.h>.
12650 (__libc_pwrite64): Don't use CHECK_N.
12651 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12652 (do_pread): Don't use CHECK_N.
12653 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12654 (do_pread64): Don't use CHECK_N.
12655 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12656 (do_pwrite): Don't use CHECK_N.
12657 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12658 (do_pwrite64): Don't use CHECK_N.
12659 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12660 (__libc_readv): Don't use CHECK_N.
12661 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12662 (semop): Don't use CHECK_N.
12663 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12664 <bp-checks.h>.
12665 (semtimedop): Don't use CHECK_N.
12666 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12667 (__libc_pread): Don't use CHECK_N.
12668 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12669 <bp-checks.h>.
12670 (__libc_pread64): Don't use CHECK_N.
12671 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12672 <bp-checks.h>.
12673 (__libc_pwrite): Don't use CHECK_N.
12674 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12675 <bp-checks.h>.
12676 (__libc_pwrite64): Don't use CHECK_N.
12677 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12678 <bp-checks.h>.
12679 (__libc_msgrcv): Don't use CHECK_N.
12680 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12681 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12682 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12683 (__libc_writev): Don't use CHECK_N.
12684
b84660a8
RM
126852013-02-08 Roland McGrath <roland@hack.frob.com>
12686
7f3e75f8
RM
12687 * string/strcpy.c: Removed unused variable.
12688
b84660a8
RM
12689 * Makeconfig (+sysdep-includes): Define with := rather than =.
12690 Use an existing include/ subdir of each sysdeps dir before it.
12691
471514d3
CD
126922013-02-08 Carlos O'Donell <carlos@redhat.com>
12693
12694 * nscd/connection.c (register_traced_file): Comment function.
12695 [HAVE_INOTIFY] (union __inev): Define.
12696 [HAVE_INOTIFY] (inotify_check_files): New function.
12697 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12698 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12699 clear_db_cache.
12700 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12701
b2d3c3be
CD
127022013-02-08 Carlos O'Donell <carlos@redhat.com>
12703
12704 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12705 loaded if not already and that a failure is permanent.
12706
b39949d2
CD
127072013-02-08 Carlos O'Donell <carlos@redhat.com>
12708
ddacd1db 12709 [BZ #15006]
b39949d2
CD
12710 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12711 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12712
b2c9eff4
JM
127132013-02-08 Joseph Myers <joseph@codesourcery.com>
12714
f3aae3f3
JM
12715 [BZ #13550]
12716 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12717 (CHECK_1_NULL_OK): Likewise.
12718 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12719 (__fxstat): Do not use CHECK_1.
12720 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12721 <bp-checks.h>.
12722 (___fxstat64): Do not use CHECK_1.
12723 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12724 <bp-checks.h>.
12725 (__fxstatat): Do not use CHECK_1.
12726 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12727 <bp-checks.h>.
12728 (__fxstatat64): Do not use CHECK_1.
12729 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12730 <bp-checks.h>.
12731 (__fxstat): Do not use CHECK_1.
12732 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12733 <bp-checks.h>.
12734 (__fxstatat): Do not use CHECK_1.
12735 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12736 <bp-checks.h>.
12737 (__getresgid): Do not use CHECK_1.
12738 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12739 <bp-checks.h>.
12740 (__getresuid): Do not use CHECK_1.
12741 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12742 <bp-checks.h>.
12743 (__lxstat): Do not use CHECK_1.
12744 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12745 <bp-checks.h>.
12746 (__old_msgctl): Do not use CHECK_1.
12747 (__new_msgctl): Likewise.
12748 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12749 <bp-checks.h>.
12750 (__new_setrlimit): Do not use CHECK_1.
12751 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12752 <bp-checks.h>.
12753 (__old_shmctl): Do not use CHECK_1.
12754 (__new_shmctl): Likewise.
12755 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12756 <bp-checks.h>.
12757 (__xstat): Do not use CHECK_1.
12758 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12759 (__lxstat): Do not use CHECK_1.
12760 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12761 <bp-checks.h>.
12762 (___lxstat64): Do not use CHECK_1.
12763 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12764 (__old_msgctl): Do not use CHECK_1.
12765 (__new_msgctl): Likewise.
12766 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12767 <bp-checks.h>.
12768 (__gettimeofday): Do not use CHECK_1.
12769 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12770 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12771 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12772 <bp-checks.h>.
12773 (__gettimeofday): Do not use CHECK_1.
12774 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12775 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12776 (__new_shmctl): Do not use CHECK_1.
12777 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12778 <bp-checks.h>.
12779 (do_sigtimedwait): Do not use CHECK_1.
12780 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12781 <bp-checks.h>.
12782 (do_sigwaitinfo): Do not use CHECK_1.
12783 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12784 <bp-checks.h>.
12785 (msgctl): Do not use CHECK_1.
12786 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12787 <bp-checks.h>.
12788 (shmctl): Do not use CHECK_1.
12789 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12790 (ustat): Do not use CHECK_1.
12791 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12792 <bp-checks.h>.
12793 (__fxstat): Do not use CHECK_1.
12794 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12795 <bp-checks.h>.
12796 (__fxstatat): Do not use CHECK_1.
12797 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12798 <bp-checks.h>.
12799 (__lxstat): Do not use CHECK_1.
12800 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12801 <bp-checks.h>.
12802 (__xstat): Do not use CHECK_1.
12803 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12804 (__xstat): Do not use CHECK_1.
12805 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12806 (___xstat64): Do not use CHECK_1.
12807
b2c9eff4
JM
12808 [BZ #13550]
12809 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12810 definitions.
12811 (CHECK_BOUNDS_HIGH): Likewise.
12812 * string/strcpy.c: Do not include <bp-checks.h>.
12813 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12814
f1d70dad
RM
128152013-02-07 Roland McGrath <roland@hack.frob.com>
12816
12817 * nscd/nscd-client.h (__nscd_drop_map_ref):
12818 Add __attribute__ ((unused)).
12819 * nis/nss-nisplus.h (niserr2nss): Likewise.
12820
12821 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12822 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12823
12824 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12825 Remove inline keyword.
12826 * include/rounding-mode.h (round_away): Likewise.
12827 * libio/wfileops.c (adjust_wide_data): Likewise.
12828 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12829 (__m128i_strloadu_tolower): Likewise.
12830 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12831 (__m128i_strloadu_tolower): Likewise.
12832 * time/mktime.c (ydhms_diff): Likewise.
12833 * locale/elem-hash.h (elem_hash): Likewise.
12834 * locale/setlocale.c (setdata): Likewise.
12835 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12836 (re_string_wchar_at): Likewise.
12837 (bitset_not, bitset_merge, bitset_mask): Likewise.
12838 [!(__GNUC__ > 3)] (inline): Remove macro.
12839 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12840 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12841 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12842 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12843 * string/memcmp.c (memcmp_bytes): Likewise.
12844 * locale/programs/locarchive.c (compute_hashval): Likewise.
12845 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12846 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12847 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12848 * nss/getent.c (print_rpc, print_protocols): Likewise.
12849 (print_passwd, print_group, print_aliases): Likewise.
12850 * nis/nss-nisplus.h (niserr2nss): Likewise.
12851 * nscd/connections.c (restart_p): Likewise.
12852 Change return type to bool.
12853
eab55bfb
RM
128542013-02-05 Roland McGrath <roland@hack.frob.com>
12855
7bd642f5
RM
12856 * Makeconfig (all-Depend-files): Add existing
12857 $(sorted-subdirs:=/Depend) files.
12858 (all-subdirs): Remove nss.
12859 * sysdeps/unix/inet/Subdirs: Add it here instead.
12860 * hesiod/Depend: New file.
12861
573c29b2
RM
12862 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12863 instead of calling alloca.
12864
b2e25af0
RM
12865 * io/lseek.c (__lseek): Rename to __libc_lseek.
12866 Define __lseek as an alias.
12867
eab55bfb
RM
12868 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12869
9a0d1941
CD
128702013-02-04 Carlos O'Donell <carlos@redhat.com>
12871
12872 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12873 else clause and remove check for non-standard endianness.
12874
b83bbec4
DM
128752013-02-04 David S. Miller <davem@davemloft.net>
12876
12877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12878
6277fdab
JM
128792013-02-04 Joseph Myers <joseph@codesourcery.com>
12880
12881 [BZ #13550]
12882 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12883 (__ubp_memchr): Remove prototype.
12884 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12885 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12886 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12887 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12888 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12889 Remove alias.
12890 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12891 (__ubp_memchr): Likewise.
12892 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12893 (__ubp_memchr): Likewise.
12894 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12895 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12896 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12897 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12898 CHECK_STRING.
12899 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12900 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12901 (__getcwd): Do not use CHECK_STRING.
12902 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12903 <bp-checks.h>.
12904 (__real_chown): Do not use CHECK_STRING.
12905 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12906 <bp-checks.h>.
12907 (fchownat): Do not use CHECK_STRING.
12908 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12909 CHECK_STRING.
12910 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12911 <bp-checks.h>.
12912 (__lchown): Do not use CHECK_STRING.
12913 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12914 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12915 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12916 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12918 include <bp-checks.h>.
12919 (truncate64): Do not use CHECK_STRING.
12920 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12921 <bp-checks.h>.
12922 (__real_chown): Do not use CHECK_STRING.
12923 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12924 <bp-checks.h>.
12925 (__lchown): Do not use CHECK_STRING.
12926 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12927 <bp-checks.h>.
12928 (__chown): Do not use CHECK_STRING.
12929 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12930 <bp-checks.h>.
12931 (truncate64): Do not use CHECK_STRING.
12932 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12933 Likewise.
12934 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12935 (__xmknod): Do not use CHECK_STRING.
12936 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12937 <bp-checks.h>.
12938 (__xmknodat): Do not use CHECK_STRING.
12939 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12940 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12941
903ae060
AS
129422013-02-04 Andreas Schwab <schwab@suse.de>
12943
12944 [BZ #14142]
12945 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12946 * include/netdb.h: Likewise for h_errno.
12947 * elf/tst-stackguard1.c: Include <tls.h>.
12948
542f9466
JK
129492013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12950
12951 * elf/link.h (struct link_map): Extend the l_addr comment.
12952 * include/link.h (struct link_map): Likewise.
12953
e782a927
JM
129542013-02-01 Joseph Myers <joseph@codesourcery.com>
12955
12956 [BZ #13550]
12957 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12958 (BOUNDED_1): Remove macro.
12959 * debug/backtrace.c: Don't include <bp-checks.h>.
12960 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12961 (__backtrace): Likewise.
12962 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12963 <bp-checks.h>.
12964 (__backtrace): Don't use BOUNDED_1.
12965 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12966 <bp-checks.h>.
12967 (__backtrace): Don't use BOUNDED_1.
12968 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12969 (__backtrace): Don't use BOUNDED_1.
12970 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12971 (shmat): Don't use BOUNDED_N.
12972
8cf28c5e
JM
129732013-01-31 Joseph Myers <joseph@codesourcery.com>
12974
3a7ac8a0
JM
12975 [BZ #13550]
12976 * sysdeps/generic/bp-start.h: Remove file.
12977 * csu/libc-start.c: Don't include <bp-start.h>.
12978 (LIBC_START_MAIN): Set up __environ directly instead of using
12979 INIT_ARGV_and_ENVIRON.
12980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12981 <bp-start.h>.
12982
f3499f95
JM
12983 [BZ #13550]
12984 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12985 definitions.
12986 (CHECK_FCNTL): Likewise.
12987 (CHECK_N_PAGES): Likewise.
12988
32a45bea
JM
12989 [BZ #13550]
12990 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12991 definitions.
12992 (CHECK_SIGSET_NULL_OK): Likewise.
12993 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12994 <bp-checks.h>.
12995 (sigpending): Don't use CHECK_SIGSET.
12996 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12997 <bp-checks.h>.
12998 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12999 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13000 <bp-checks.h>.
13001 (do_sigsuspend): Don't use CHECK_SIGSET.
13002 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13003 use CHECK_SIGSET.
13004 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13005 (do_sigwait): Don't use CHECK_SIGSET.
13006 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13007 use CHECK_SIGSET.
13008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13009 include <bp-checks.h>.
13010 (sigpending): Don't use CHECK_SIGSET.
13011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13012 include <bp-checks.h>.
13013 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13014 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13015 <bp-checks.h>.
13016 (sigpending): Don't use CHECK_SIGSET.
13017 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13018 <bp-checks.h>.
13019 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13020
2e8a5c8c
JM
13021 [BZ #13550]
13022 * sysdeps/generic/bp-semctl.h: Remove file.
13023 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13024 <bp-checks.h> and <bp-semctl.h>.
13025 (__old_semctl): Don't use CHECK_SEMCTL.
13026 (__new_semctl): Likewise.
13027 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13028 and <bp-semctl.h>.
13029 (__old_semctl): Don't use CHECK_SEMCTL.
13030 (__new_semctl): Likewise.
13031 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13032 <bp-checks.h> and <bp-semctl.h>.
13033 (__old_semctl): Don't use CHECK_SEMCTL.
13034 (__new_semctl): Likewise.
13035 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13036 <bp-checks.h> and <bp-semctl.h>.
13037 (semctl): Don't use CHECK_SEMCTL.
13038
c2d54929
JM
13039 [BZ #13550]
13040 * Makerules (elide-bp-thunks): Remove variable.
13041 (elide-routines.oS): Don't use $(elide-bp-thunks).
13042 (elide-routines.os): Likewise.
13043 (elide-routines.o): Likewise.
13044 (elide-routines.op): Likewise.
13045 (elide-routines.og): Likewise.
13046 (objects): Don't use $(bp-thunks).
13047 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13048 include.
13049 (common-generated): Do not add s-proto-bp.d.
13050 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13051 (int): Likewise.
13052 (typ): Likewise.
13053 Do not generate makefile rules for bounded-pointer thunks.
13054 * sysdeps/generic/bp-thunks.h: Remove file.
13055 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13056 * sysdeps/unix/s-proto-bp.S: Likewise.
13057
8cf28c5e
JM
13058 [BZ #15062]
13059 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13060 parts of result separately when argument is not close to line from
13061 -i to i and one part of argument is small.
13062 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13063 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13064 * math/libm-test.inc (cacos_test): Add more tests.
13065 (casin_test): Likewise.
13066 (casinh_test): Likewise.
13067 * sysdeps/i386/fpu/libm-test-ulps: Update.
13068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13069
c4e33b8d
DM
130702013-01-31 David S. Miller <davem@davemloft.net>
13071
13072 * po/de.po: Update from translation team.
13073
3b60b421
MK
130742013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13075
13076 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13077
bb931195
TS
130782013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13079
b5a5da23
TS
13080 * configure.in (_AC_PROG_CC_C89): New definition.
13081 * configure: Regenerate.
13082
bb931195
TS
13083 * configure.in (AC_PROG_CPP): New definition.
13084 * configure: Regenerate.
13085
8c53a12c
JM
130862013-01-23 Joseph Myers <joseph@codesourcery.com>
13087
13088 * debug/tst-backtrace.h: New file.
13089 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13090 (ret): Remove variable.
13091 (x): Likewise.
13092 (FAIL): Remove macro.
13093 (NO_INLINE): Likewise.
13094 (fn1): Use match function instead of strstr.
13095 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13096 (ret): Remove variable.
13097 (x): Likewise.
13098 (FAIL): Remove macro.
13099 (NO_INLINE): Likewise.
13100 (fn): Use match function instead of strstr.
13101 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13102 (ret): Remove variable.
13103 (x): Likewise.
13104 (FAIL): Remove macro.
13105 (NO_INLINE): Likewise.
13106 (handle_signal): Use match function instead of strstr.
13107 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13108 (ret): Remove variable.
13109 (x): Likewise.
13110 (FAIL): Remove macro.
13111 (NO_INLINE): Likewise.
13112 (handle_signal): Use match function instead of strstr.
13113
4858fa2a
RM
131142013-01-23 Roland McGrath <roland@hack.frob.com>
13115
13116 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13117
bae8e7f5
DM
131182013-01-23 David S. Miller <davem@davemloft.net>
13119
13120 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13121 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13122 argument of CAS if possible.
13123 * sysdeps/sparc/sparc64/bits/atomic.h
13124 (__arch_compare_and_exchange_val_32_acq): Likewise.
13125 (__arch_compare_and_exchange_val_64_acq): Likewise.
13126
9cbbc4ae
PT
131272013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13128
13129 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13130 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13131 Include <limits.h>.
67b3f58c 13132 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13133
5655a0b5
AC
131342013-01-23 Adam Conrad <adconrad@0c3.net>
13135
13136 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13137 (LDFLAGS-tst-array5): Likewise.
13138
052aff95
JM
131392013-01-23 Joseph Myers <joseph@codesourcery.com>
13140
13141 [BZ #15036]
13142 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13143 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13144 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13145 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13146
7c1e01aa
DM
131472013-01-21 David S. Miller <davem@davemloft.net>
13148
13149 * sysdeps/sparc/backtrace.c: New file.
13150 * sysdeps/sparc/sparc32/backtrace.h: New file.
13151 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13152 * sysdeps/sparc/sparc64/backtrace.h: New file.
13153 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13154 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13155 -funwind-tables.
13156
ab087e0a
AS
131572013-01-21 Andreas Schwab <schwab@suse.de>
13158
13159 [BZ #15020]
13160 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13161 closed its stdout.
13162
ed689c2f
AS
131632013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13164
13165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13166 "mpa2.h".
13167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13168
31d470ac
JM
131692013-01-18 Joseph Myers <joseph@codesourcery.com>
13170 Mark Mitchell <mark@codesourcery.com>
13171 Tom de Vries <tom@codesourcery.com>
13172 Paul Pluzhnikov <ppluzhnikov@google.com>
13173
13174 * debug/tst-backtrace2.c: New file.
13175 * debug/tst-backtrace3.c: Likewise.
13176 * debug/tst-backtrace4.c: Likewise.
13177 * debug/tst-backtrace5.c: Likewise.
13178 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13179 (CFLAGS-tst-backtrace3.c): Likewise.
13180 (CFLAGS-tst-backtrace4.c): Likewise.
13181 (CFLAGS-tst-backtrace5.c): Likewise.
13182 (LDFLAGS-tst-backtrace2): Likewise.
13183 (LDFLAGS-tst-backtrace3): Likewise.
13184 (LDFLAGS-tst-backtrace4): Likewise.
13185 (LDFLAGS-tst-backtrace5): Likewise.
13186 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13187 tst-backtrace4 and tst-backtrace5.
13188
90567f30 131892013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13190 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13191
13192 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13193 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13194 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13195 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13197 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13198 "+r" and remove output regs list as redundant. Add explicit inline
13199 asm to specify register of return val to work around compiler codegen
13200 bug. Remove (int) cast on return value. Add return type parameter to
13201 use in macro so that this macro does not truncate return value for
13202 64-bit values.
13203 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13204 pass to INTERNAL_VSYSCALL_NCS.
13205 (INLINE_VSYSCALL): Add 'long int' as return type to
13206 INTERNAL_VSYSCALL_NCS macro invocation.
13207 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13208 INTERNAL_VSYSCALL_NCS macro invocation.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13210
d3b9ea61
SP
132112013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13212
0b57daeb
SP
13213 [BZ #14496]
13214 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13215 Fix application of SIMD FP exception mask.
13216
caa99d06
SP
13217 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13218 mp_no from a power of two.
13219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13220 __mpexp_twomm1. Use __pow_mp.
13221
d3b9ea61
SP
13222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13223 multiplication.
13224
1dbaee3c
DM
132252013-01-17 David S. Miller <davem@davemloft.net>
13226
13227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13228
728d7b43
JM
132292013-01-17 Joseph Myers <joseph@codesourcery.com>
13230
13231 [BZ #15023]
13232 * include/complex.h: Condition contents on [!_COMPLEX_H].
13233 (__kernel_casinhf): New prototype.
13234 (__kernel_casinh): Likewise.
13235 (__kernel_casinhl): Likewise.
13236 * math/Makefile (libm_calls): Add k_casinh.
13237 * math/k_casinh.c: New file.
13238 * math/k_casinhf.c: Likewise.
13239 * math/k_casinhl.c: Likewise.
13240 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13241 finite nonzero arguments.
13242 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13243 finite nonzero arguments.
13244 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13245 finite nonzero arguments.
13246 * math/s_casinh.c: Do not include <float.h>.
13247 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13248 * math/s_casinhf.c: Do not include <float.h>.
13249 (__casinhf): Move code for finite nonzero arguments to
13250 k_casinhf.c.
13251 * math/s_casinhl.c: Do not include <float.h>.
13252 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13253 redefine.
13254 (__casinhl): Move code for finite nonzero arguments to
13255 k_casinhl.c.
13256 * math/libm-test.inc (cacos_test): Add more tests.
13257 * sysdeps/i386/fpu/libm-test-ulps: Update.
13258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13259
2a26ef3a
PT
132602013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13261
13262 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13263 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13264 [!HAVE_MREMAP]: Remove [defined linux] case.
13265 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13266
a897655d
SP
132672013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13268
13269 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13270
881ebe89 132712013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13272
13273 * elf/elf.h (R_386_SIZE32): New relocation.
13274 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13275 R_386_SIZE32.
13276 (elf_machine_rela): Likewise.
13277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13278 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13279
59981e9b
JM
132802013-01-17 Joseph Myers <joseph@codesourcery.com>
13281
13282 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13283 (FP_FAST_FMA): Do not define.
13284 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13285 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13286 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13287 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13288 !_SOFT_FLOAT]: Likewise.
13289 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13291 value.
13292 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13293 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13295 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13296 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13297 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13298 file.
13299
cfa8054f
AS
133002013-01-16 Andreas Schwab <schwab@suse.de>
13301
13302 [BZ #14327]
13303 * include/stdlib.h (__mktemp): Add declaration.
13304 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13305 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13306
dd930cc5
SP
133072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13308
881ebe89
SP
13309 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13310 definitions.
13311 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13312 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13313 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13314 definitions here.
13315 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13316 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13317 definitions.
13318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13319 and ONE.
13320 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13321 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13322 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13323 definitions.
13324 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13325 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13326 definitions.
13327 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13328
dd930cc5
SP
13329 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13330
c19a9f89
DM
133312013-01-15 David S. Miller <davem@davemloft.net>
13332
1aa61767
DM
13333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13334 trunc{,f} to libm-sysdep_routes.
13335 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13337 file.
13338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13340 file.
13341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13342 file.
13343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13345 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13346 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13347 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13348 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13349 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13350 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13351
c42d5e98
DM
13352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13353 nearbyint{,f} to libm-sysdep_routes.
13354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13356 New file.
13357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13358 file.
13359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13360 New file.
13361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13362 file.
13363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13366 file.
13367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13369 file.
13370 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13371 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13372 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13373
c19a9f89
DM
13374 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13375 libc_feholdexcept and libc_fesetenv.
13376
357679d2
MF
133772013-01-15 Mike Frysinger <vapier@gentoo.org>
13378
13379 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13380
65a82e3d
DM
133812013-01-14 David S. Miller <davem@davemloft.net>
13382
8b954ab9
DM
13383 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13384 (SPARC_ASM_VIS2_IFUNC): Likewise.
13385 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13387 use of 'siam' instruction.
13388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13389 Likewise.
13390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13391 Likewise.
13392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13393 Likewise.
13394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13399 file.
13400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13401 file.
13402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13403 file.
13404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13405 file.
13406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13411 new VIS2 routines.
13412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13415 Likewise.
13416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13421 routines to libm-sysdep_routines.
13422 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13423
65a82e3d
DM
13424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13425 fdim/fdimf to libm-sysdep_routines.
13426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13427 file.
13428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13430 file.
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13434 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13435 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13436 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13437 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13438
e34ab705
SP
134392013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13440
2a91b573
SP
13441 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13442 to optimize copies.
13443
1066a534
SP
13444 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13447
e34ab705
SP
13448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13449 local variable MPTWO.
13450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13451 Likewise.
13452
aba5e596
MF
134532013-01-13 Mike Frysinger <vapier@gentoo.org>
13454
13455 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13456 GLOB_NOESCAPE.
13457
e557e9e5
MF
134582013-01-13 Mike Frysinger <vapier@gentoo.org>
13459
13460 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13461
0428cec9
MF
134622013-01-13 Mike Frysinger <vapier@gentoo.org>
13463
13464 * manual/pattern.texi (glob_t): Document gl_flags.
13465 (glob64_t): Likewise.
13466
8794a964
DM
134672013-01-11 David S. Miller <davem@davemloft.net>
13468
66438c3f
RM
13469 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13470 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13471 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13472 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13473 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13474 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13475 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13476 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13477 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13478 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13479 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13480 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13481 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13482
4ae4244d
DM
13483 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13484 sparc V9 rather than using V8 code.
13485 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13486 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13487
8794a964
DM
13488 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13489 Move to...
13490 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13491 Here.
13492
6270516e
RM
134932013-01-11 Roland McGrath <roland@hack.frob.com>
13494
13495 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13496 not in the main loop.
13497 * configure: Regenerated.
13498
6a57d931
JM
134992013-01-11 Joseph Myers <joseph@codesourcery.com>
13500
13501 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13502 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13503 to just #else.
13504 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13505 [!__GLIBC_HAVE_LONG_LONG] case.
13506 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13507 condition to just #else.
13508 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13509 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13510 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13511 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13512 unconditional.
13513 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13514 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13515 #elif condition to just #else.
13516 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13517 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13518 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13519 #elif condition to just #else.
13520
0e8529e9
SE
135212013-01-11 Steve Ellcey <sellcey@mips.com>
13522
13523 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13524 (EF_MIPS_ARCH_64): Fix value.
13525 (EF_MIPS_ARCH_32R2): New.
13526 (EF_MIPS_ARCH_64R2): New.
13527
740b3dbe
L
135282013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13529
13530 * Makeconfig (+link-pie-before-libc): New.
13531 (+link-pie-after-libc): Likewise.
13532 (+link-pie-tests): Likewise.
13533 (+link-pie): Rewritten.
13534 (link-before-libc): Remove $(config-LDFLAGS).
13535 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13536 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13537 (config-LDFLAGS): Renamed to ...
13538 (rtld-LDFLAGS): This.
13539 (rtld-tests-LDFLAGS): New macro.
13540 (link-libc-rpath-link): Likewise.
13541 (link-libc-tests-rpath-link): Likewise.
13542 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13543 (link-libc): Prepand $(link-libc-rpath-link).
13544 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13545 (test-program-prefix): New macro.
13546 (test-via-rtld-prefix): Likewise.
13547 (test-program-cmd): Likewise.
13548 (host-test-program-cmd): Likewise.
13549 * Makefile ($(common-objpfx)testrun.sh): Replace
13550 $(run-program-prefix) with $(test-program-prefix).
13551 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13552 $(rtld-LDFLAGS).
13553 ($(common-objpfx)shlib.lds): Likewise.
13554 (build-module-helper): Likewise.
13555 ($(common-objpfx)format.lds): Likewise.
13556 * Rules (binaries-pie-tests): New.
13557 (binaries-pie-notests): Likewise.
13558 (binaries-pie): Rewritten.
13559 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13560 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13561 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13562 (make-test-out): Replace $(host-built-program-cmd) with
13563 $(host-test-program-cmd).
13564 * config.make.in (build-hardcoded-path-in-tests): New variable.
13565 * configure.in (--enable-hardcoded-path-in-tests): New configure
13566 option.
13567 (hardcoded_path_in_tests): New AC_SUBST.
13568 * configure: Regenerated.
13569 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13570 $(built-program-cmd) with $(test-program-cmd).
13571 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13572 (test_program_cmd): This.
13573 * elf/Makefile ($(objpfx)order.out): Run test with
13574 $(test-program-prefix).
13575 ($(objpfx)order2.out): Likewise.
13576 ($(objpfx)tst-initorder.out): Likewise.
13577 ($(objpfx)tst-initorder2.out): Likewise.
13578 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13579 $(test-program-cmd).
13580 ($(objpfx)tst-array1-static.out): Likewise.
13581 ($(objpfx)tst-array2.out): Likewise.
13582 ($(objpfx)tst-array3.out): Likewise.
13583 ($(objpfx)tst-array4.out): Likewise.
13584 ($(objpfx)tst-array5.out): Likewise.
13585 ($(objpfx)tst-array5-static.out): Likewise.
13586 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13587 $(test-program-cmd).
13588 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13589 $(run-program-prefix) with $(test-program-prefix).
13590 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13591 (test_program_prefix): This.
13592 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13593 $(run-program-prefix) with $(test-program-prefix).
13594 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13595 (test_program_prefix): This.
13596 * iconvdata/tst-tables.sh: Likewise.
13597 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13598 $(run-program-prefix) with $(test-program-prefix).
13599 ($(objpfx)tst-translit.out): Likewise.
13600 ($(objpfx)tst-gettext2.out): Likewise.
13601 ($(objpfx)tst-gettext4.out): Likewise.
13602 ($(objpfx)tst-gettext6.out): Likewise.
13603 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13604 (test_program_prefix): This.
13605 * intl/tst-gettext2.sh: Likewise.
13606 * intl/tst-gettext4.sh Likewise.
13607 * intl/tst-gettext6.sh: Likewise.
13608 * intl/tst-translit.sh: Likewise.
13609 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13610 with $(test-program-cmd).
13611 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13612 $(run-program-prefix) with $(test-program-prefix).
13613 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13614 (test_program_prefix): This.
13615 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13616 $(run-program-prefix) with $(test-program-prefix).
13617 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13618 (test_program_prefix): This.
13619 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13620 * posix/Makefile ($(objpfx)globtest.out): Replace
13621 $(run-via-rtld-prefix) and $(test-wrapper) with
13622 $(test-program-prefix) and $(test-via-rtld-prefix).
13623 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13624 $(test-program-prefix).
13625 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13626 $(host-test-program-cmd).
13627 (tst-spawn-ARGS): Likewise.
13628 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13629 $(test-program-prefix).
13630 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13631 (test_via_rtld_prefix): This.
13632 (test_wrapper): Renamed to ...
13633 (test_program_prefix): This.
13634 (run_program_prefix): Replaced by test_program_prefix.
13635 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13636 (test_program_prefix): This.
13637 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13638 with $(host-test-program-cmd).
13639 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13640 $(run-program-prefix) with $(test-program-prefix).
13641 ($(objpfx)tst-printf.out): Likewise.
13642 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13643 $(test-program-cmd).
13644 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13645 (test_program_prefix): This.
13646 * stdio-common/tst-unbputc.sh: Likewise.
13647 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13648 $(run-program-prefix) with $(test-program-prefix).
13649 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13650 (test_program_prefix): This.
13651 * string/Makefile ($(objpfx)tst-svc.out): Replace
13652 $(built-program-cmd) with $(test-program-cmd).
13653
c6fe55cf
AJ
136542013-01-11 Andreas Jaeger <aj@suse.de>
13655
13656 [BZ #15003]
13657 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13658 value. Sync with Linux 3.7.
13659
9e6919c8
DM
136602013-01-10 David S. Miller <davem@davemloft.net>
13661
13662 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13663 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13664 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13665
1c9f1a02
RM
136662013-01-10 Roland McGrath <roland@hack.frob.com>
13667
13668 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13669 never set.
13670 * configure: Regenerated.
13671
b9de2dde
DM
136722013-01-10 David S. Miller <davem@davemloft.net>
13673
13674 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13675 sparc V9 rather than using V8 code.
13676 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13677 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13678
e7f68ef4
RM
136792013-01-10 Roland McGrath <roland@hack.frob.com>
13680
13681 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13682 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13683 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13684 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13685 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13686 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13687 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13688 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13689 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13690 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13691 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13692 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13693 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13694 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13695 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13696 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13697 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13698 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13699 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13700 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13701 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13702 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13703 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13704 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13705 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13706 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13707 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13708
5a47cc9c
DM
137092013-01-10 David S. Miller <davem@davemloft.net>
13710
13711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13712
4cf8f209
L
137132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13714
13715 * posix/Makefile (tests-static): New variable.
13716 (tests): Add $(tests-static).
13717 (tst-exec-static-ARGS): New variable.
13718 (tst-spawn-static-ARGS): Likewise.
13719 * posix/tst-exec-static.c: New file.
13720 * posix/tst-spawn-static.c: Likewise.
13721 * posix/tst-exec.c: Support run directly.
13722 * posix/tst-spawn.c: Likewise.
13723
fed0faa1
JM
137242013-01-10 Joseph Myers <joseph@codesourcery.com>
13725
828beb13
JM
13726 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13727 long.
13728 * math/bits/mathcalls.h (llrint): Likewise.
13729 (llround): Likewise.
13730 * stdlib/stdlib.h (struct drand48_data): Likewise.
13731 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13732 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13733 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13734 Likewise.
13735 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13736 Likewise.
13737 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13738 (elf_greg_t): Likewise.
13739 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13740 (__jmp_buf): Likewise.
13741 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13742 definitions.
13743 (llrint): Likewise, for all definitions.
13744 (llrintl): Likewise.
13745
fed0faa1
JM
13746 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13747 Remove [__GNUC__] condition.
13748 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13749 condition to just [__USE_ISOC99].
13750 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13751
1a20cb20
L
137522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13753
13754 [BZ #14200]
13755 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13756 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13757 defined.
13758 (_POSIX_V6_ILP32_OFF32): Likewise.
13759 (_XBS5_ILP32_OFF32): Likewise.
13760 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13761 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13762
751b85f7
SP
137632013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13764
7490eb81
SP
13765 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13766
751b85f7
SP
13767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13768 doubles __mpexp_twomm1. Adjust usage.
13769 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13770 Remove.
13771
988197f0
AS
137722013-01-10 Andreas Schwab <schwab@suse.de>
13773
13774 [BZ #14964]
13775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13776 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13777
e83d7298
DM
137782013-01-09 David S. Miller <davem@davemloft.net>
13779
034ed64b 13780 [BZ #15003]
e83d7298
DM
13781 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13782 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13783 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13784 TCP_FASTOPEN): Define.
13785 (tcp_repair_opt): New structure.
13786 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13787 enum values.
13788 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13789 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13790 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13791 (tcp_cookie_transactions): New structure.
13792
d5e0b9bd
AB
137932013-01-09 Anton Blanchard <anton@samba.org>
13794
13795 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13796 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13797 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13798 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13799
0c07e3ea
JM
138002013-01-09 Joseph Myers <joseph@codesourcery.com>
13801
13802 * include/features.h (__USE_ANSI): Remove.
13803
232f7002
RM
138042013-01-09 Roland McGrath <roland@hack.frob.com>
13805
ad98e30c
RM
13806 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13807
232f7002
RM
13808 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13809
950c99ca
SP
138102013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13811
b5792741
SP
13812 * sysdeps/s390/fpu/libm-test-ulps: Update.
13813
47cf2278
SP
13814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13815
950c99ca
SP
13816 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13817 (__acr): Likewise.
13818 (__cpy): Likewise.
13819 (norm): Likewise.
13820 (denorm): Likewise.
13821 (__mp_dbl): Likewise.
13822 (__dbl_mp): Likewise.
13823 (add_magnitudes): Likewise.
13824 (sub_magnitudes): Likewise.
13825 (__add): Likewise.
13826 (__sub): Likewise.
13827 (__mul): Likewise.
13828 (__inv): Likewise.
13829 (__dvd): Likewise.
13830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13831 (__acr): Likewise.
13832 (__cpy): Likewise.
13833 (norm): Likewise.
13834 (denorm): Likewise.
13835 (__mp_dbl): Likewise.
13836 (__dbl_mp): Likewise.
13837 (add_magnitudes): Likewise.
13838 (sub_magnitudes): Likewise.
13839 (__add): Likewise.
13840 (__sub): Likewise.
13841 (__mul): Likewise.
13842 (__inv): Likewise.
13843 (__dvd): Likewise.
13844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13845 (__acr): Likewise.
13846 (__cpy): Likewise.
13847 (norm): Likewise.
13848 (denorm): Likewise.
13849 (__mp_dbl): Likewise.
13850 (__dbl_mp): Likewise.
13851 (add_magnitudes): Likewise.
13852 (sub_magnitudes): Likewise.
13853 (__add): Likewise.
13854 (__sub): Likewise.
13855 (__mul): Likewise.
13856 (__inv): Likewise.
13857 (__dvd): Likewise.
13858
eede9df9
JM
138592013-01-08 Joseph Myers <joseph@codesourcery.com>
13860
13861 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13862 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13863 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13864 2 && __USE_EXTERN_INLINES]: Likewise.
13865
c40ea3d9
AJ
138662013-01-08 Andreas Jaeger <aj@suse.de>
13867
13868 [BZ# 14985]
13869 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13870 Remove.
13871 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13872 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13873
2ccdea26
AB
138742013-01-07 Anton Blanchard <anton@samba.org>
13875
13876 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13877 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13878 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13879 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13880 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13881 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13882 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13883 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13886 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13887 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13888 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13890 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13891 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13892 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13893 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13894 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13895 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13896 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13897 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13899 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13900 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13901 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13902 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13903 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13905 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13906 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13908 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13909 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13910 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13911 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13912 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13913 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13914 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13916 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13917 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13918 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13919
a9708fed
JM
139202013-01-07 Joseph Myers <joseph@codesourcery.com>
13921
375607b9
JM
13922 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13923 (__MALLOC_PMT): Likewise.
13924 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13925 [__GNUC__], only on [_LIBC].
13926 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13927 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13928 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13929 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13930 forward declaration.
13931 (realloc_hook_ini): Likewise.
13932 (memalign_hook_ini): Likewise.
13933 (__libc_memalign): Do not use __MALLOC_PMT in variable
13934 declaration.
13935 (__libc_valloc): Likewise.
13936 (__libc_pvalloc): Likewise.
13937 (__libc_calloc): Likewise.
13938 (__posix_memalign): Likewise.
13939
a9708fed
JM
13940 [BZ #14996]
13941 * math/s_casinh.c: Include <float.h>.
13942 (__casinh): Do not do computation with squaring and square root
13943 for large arguments.
13944 * math/s_casinhf.c: Include <float.h>.
13945 (__casinhf): Do not do computation with squaring and square root
13946 for large arguments.
13947 * math/s_casinhl.c: Include <float.h>.
13948 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13949 (__casinhl): Do not do computation with squaring and square root
13950 for large arguments.
13951 * math/libm-test.inc (casin_test): Add more tests.
13952 (casinh_test): Likewise.
13953 * sysdeps/i386/fpu/libm-test-ulps: Update.
13954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13955
afec409a
L
139562013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13957
13958 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13959 (__x86_64_raw_data_cache_size): Likewise.
13960 (__x86_64_data_cache_size_half): Likewise.
13961 (__x86_64_raw_data_cache_size_half): Likewise.
13962 (__x86_64_shared_cache_size): Likewise.
13963 (__x86_64_raw_shared_cache_size): Likewise.
13964 (__x86_64_shared_cache_size_half): Likewise.
13965 (__x86_64_raw_shared_cache_size_half): Likewise.
13966 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13967 to ...
13968 (__x86_data_cache_size): This.
13969 (__x86_64_raw_data_cache_size): Renamed to ...
13970 (__x86_raw_data_cache_size): This.
13971 (__x86_64_data_cache_size_half): Renamed to ...
13972 (__x86_data_cache_size_half): This.
13973 (__x86_64_raw_data_cache_size_half): Renamed to ...
13974 (__x86_raw_data_cache_size_half): This.
13975 (__x86_64_shared_cache_size): Renamed to ...
13976 (__x86_shared_cache_size): This.
13977 (__x86_64_raw_shared_cache_size): Renamed to ...
13978 (__x86_raw_shared_cache_size): This.
13979 (__x86_64_shared_cache_size_half): Renamed to ...
13980 (__x86_shared_cache_size_half): This.
13981 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13982 (__x86_raw_shared_cache_size_half): This.
13983 * sysdeps/x86_64/memcpy.S: Updated.
13984 * sysdeps/x86_64/memset.S: Likewise.
13985 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13986 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13988
0b3986d0
DM
139892013-01-04 David S. Miller <davem@davemloft.net>
13990
13991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13992
e47686e9
AS
139932013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13994
d643bac1
AS
13995 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13996 1 to avoid redefinition warning.
13997 (__USE_GNU): Don't define.
13998 (init_signaling_nan): Protoize.
13999
e47686e9
AS
14000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14001
b18decba
SP
140022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14003
fffb407f
SP
14004 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14006 (__cpymn): Likewise.
14007 (norm): Remove commented code.
14008 (denorm): Likewise.
14009 (__mp_dbl): Likewise.
14010 (__inv): Likewise.
14011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14012 (__cpymn): Likewise.
14013 (norm): Remove commented code.
14014 (denorm): Likewise.
14015 (__mp_dbl): Likewise.
14016 (__inv): Likewise.
14017
b18decba
SP
14018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14019 mp_no value for 1.0 and 2.0.
14020 (norm): Use RADIXI instead of radixi.d.
14021 (denorm): Likewise.
14022 (__mul): Use 0.0 instead of zero.d.
14023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14024 mp_no value for 1.0 and 2.0.
14025 (norm): Use RADIXI instead of radixi.d.
14026 (denorm): Likewise.
14027 (__mul): Use 0.0 instead of zero.d.
14028
cdc1c96f
JM
140292013-01-04 Joseph Myers <joseph@codesourcery.com>
14030
14031 [BZ #14994]
14032 * math/s_casinh.c (__casinh): Reduce finite argument to first
14033 quadrant then set signs of results at the end.
14034 * math/s_casinhf.c (__casinhf): Likewise.
14035 * math/s_casinhl.c (__casinhl): Likewise.
14036 * math/libm-test.inc (casin_test): Add more tests.
14037 (casinh_test): Likewise.
14038 * sysdeps/i386/fpu/libm-test-ulps: Update.
14039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14040
302913e1
SP
140412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14042
6420d207
SP
14043 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14044
a9e48ab4
SP
14045 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14046
b7837264
SP
14047 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14048 declarations.
14049 (denorm): Likewise.
14050 (__mp_dbl): Likewise.
14051 (__inv): Likewise.
14052
f8af25d2
SP
14053 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14054 and adjust the header comment.
14055
302913e1
SP
14056 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14057 variable name from declaration.
14058
5d7dd1ca
L
140592013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14062 Initialize COMMON_CPUID_INDEX_7 element.
14063 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14064 (CPUID_RTM): Likewise.
14065 (HAS_RTM): Likewise.
14066 (COMMON_CPUID_INDEX_7): New enum.
14067
2f5f40f4
AS
140682013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14069
14070 [BZ #14981]
14071 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14072 size is zero, record memory as freed.
14073
4056f4a0
AJ
140742013-01-03 Andreas Jaeger <aj@suse.de>
14075
14076 * po/ia.po: Add new Interlingua translation.
14077
ab15736f 140782012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14079
14080 * locale/programs/localedef.c: Fix description of '--posix' flag.
14081
568035b7
JM
140822013-01-02 Joseph Myers <joseph@codesourcery.com>
14083
e6898b8d
JM
14084 * NEWS: Update dates in second copyright notice.
14085 * README: Update copyright dates in example.
14086 * manual/libc.texinfo: Update copyright dates.
14087 * scripts/test-installation.pl: Update copyright date in --version
14088 output.
14089
0e2f9562
JM
14090 * hurd/ctty-input.c: Fix copyright notice formatting.
14091 * hurd/ctty-output.c: Likewise.
14092 * hurd/dtable.c: Likewise.
14093 * hurd/hurd-raise.c: Likewise.
14094 * hurd/hurdprio.c: Likewise.
14095 * hurd/msgportdemux.c: Likewise.
14096 * misc/sys/file.h: Likewise.
14097 * misc/sys/ioctl.h: Likewise.
14098 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14099 * sysdeps/mach/hurd/chdir.c: Likewise.
14100 * sysdeps/mach/hurd/fchdir.c: Likewise.
14101 * sysdeps/mach/hurd/rename.c: Likewise.
14102 * sysdeps/mach/hurd/rmdir.c: Likewise.
14103 * sysdeps/mach/hurd/seekdir.c: Likewise.
14104 * sysdeps/mach/hurd/setsid.c: Likewise.
14105 * sysdeps/posix/wait3.c: Likewise.
14106
568035b7
JM
14107 * All files with FSF copyright notices: Update copyright dates
14108 using scripts/update-copyrights.
14109 * intl/plural.c: Regenerated.
14110 * locale/programs/charmap-kw.h: Likewise.
14111 * locale/programs/locfile-kw.h: Likewise.
14112
da08f647
SP
141132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14114
0f5477af
SP
14115 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14116 four values.
14117
44e0d4c2
SP
14118 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14119 calculation loop and add branch prediction.
14120
4d55b4e5
SP
14121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14122 check access beyond bounds of m1np.
14123
da08f647
SP
14124 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14125 MPTWO.
14126 (__inv): Remove local variable MPTWO to use the global
14127 constant.
14128 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14129 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14130 variable MPTWO.
14131 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14132 MP3HALFS static const.
14133
8e051029
DM
141342013-01-01 David S. Miller <davem@davemloft.net>
14135
14136 * po/ca.po: Update from translation team.
14137
f4cf5f2d
JM
141382013-01-01 Joseph Myers <joseph@codesourcery.com>
14139
14140 * scripts/update-copyrights: New file.
14141 * Makeconfig: Reformat copyright notice.
14142 * ctype/ctype.h: Likewise.
14143 * debug/swprintf_chk.c: Likewise.
14144 * elf/dl-cache.c: Likewise.
14145 * elf/dl-debug.c: Likewise.
14146 * elf/dl-object.c: Likewise.
14147 * grp/initgroups.c: Likewise.
14148 * hurd/Makefile: Likewise.
14149 * hurd/hurd/signal.h: Likewise.
14150 * hurd/hurdfault.c: Likewise.
14151 * hurd/hurdioctl.c: Likewise.
14152 * hurd/hurdlookup.c: Likewise.
14153 * hurd/intr-msg.c: Likewise.
14154 * iconv/gconv_open.c: Likewise.
14155 * libio/swprintf.c: Likewise.
14156 * locale/lc-ctype.c: Likewise.
14157 * locale/nl_langinfo.c: Likewise.
14158 * mach/Machrules: Likewise.
14159 * mach/Makefile: Likewise.
14160 * malloc/obstack.h: Likewise.
14161 * manual/Makefile: Likewise.
14162 * manual/tsort.awk: Likewise.
14163 * misc/bits/stab.def: Likewise.
14164 * nis/nis_print_group_entry.c: Likewise.
14165 * nis/nis_table.c: Likewise.
14166 * nis/nss_compat/compat-pwd.c: Likewise.
14167 * nis/nss_compat/compat-spwd.c: Likewise.
14168 * po/Makefile: Likewise.
14169 * posix/fnmatch.c: Likewise.
14170 * posix/regex.h: Likewise.
14171 * resolv/Makefile: Likewise.
14172 * resolv/nss_dns/dns-network.c: Likewise.
14173 * resolv/res_hconf.c: Likewise.
14174 * scripts/gen-sorted.awk: Likewise.
14175 * soft-fp/soft-fp.h: Likewise.
14176 * stdio-common/printf.h: Likewise.
14177 * stdlib/monetary.h: Likewise.
14178 * stdlib/random.c: Likewise.
14179 * stdlib/random_r.c: Likewise.
14180 * sysdeps/generic/Makefile: Likewise.
14181 * sysdeps/gnu/Makefile: Likewise.
14182 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14210 * sysdeps/mach/hurd/errnos.awk: Likewise.
14211 * sysdeps/mach/hurd/fork.c: Likewise.
14212 * sysdeps/mach/hurd/getcwd.c: Likewise.
14213 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14214 * sysdeps/mach/hurd/mmap.c: Likewise.
14215 * sysdeps/mach/hurd/utimes.c: Likewise.
14216 * sysdeps/mach/hurd/xmknod.c: Likewise.
14217 * sysdeps/posix/profil.c: Likewise.
14218 * sysdeps/posix/readdir_r.c: Likewise.
14219 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14220 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14221 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14222 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14224 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14225 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14226 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14228 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14229 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14230 * sysdeps/pthread/lio_listio.c: Likewise.
14231 * sysdeps/sparc/dl-procinfo.h: Likewise.
14232 * sysdeps/unix/i386/sysdep.S: Likewise.
14233 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14234 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14235 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14236 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14238 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14239 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14240 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14241 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14242 * sysdeps/wordsize-32/divdi3.c: Likewise.
14243 * time/sys/time.h: Likewise.
14244 * wcsmbs/Makefile: Likewise.
14245
0549fbba
DM
142462013-01-01 David S. Miller <davem@davemloft.net>
14247
a141f1a7
DM
14248 * po/fr.po: Update from translation team.
14249
0549fbba
DM
14250 * catgets/gencat.c: Update copyright year.
14251 * csu/version.c: Likewise.
14252 * debug/catchsegv.sh: Likewise.
14253 * debug/pcprofiledump.c: Likewise.
14254 * debug/xtrace.sh: Likewise.
14255 * elf/ldconfig.c: Likewise.
14256 * elf/ldd.bash.in: Likewise.
14257 * elf/pldd.c: Likewise.
14258 * elf/sotruss.ksh: Likewise.
14259 * elf/sprof.c: Likewise.
14260 * iconv/iconv_prog.c: Likewise.
14261 * iconv/iconvconfig.c: Likewise.
14262 * locale/programs/locale.c: Likewise.
14263 * locale/programs/localedef.c: Likewise.
14264 * login/programs/pt_chown.c: Likewise.
14265 * malloc/memusage.sh: Likewise.
14266 * malloc/memusagestat.c: Likewise.
14267 * malloc/mtrace.pl: Likewise.
14268 * nscd/nscd.c: Likewise.
14269 * nss/getent.c: Likewise.
14270 * nss/makedb.c: Likewise.
14271 * posix/getconf.c: Likewise.
14272
18ea052c
SP
142732012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14274
14275 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14276 numbers.
14277
9c89fca6
MF
142782012-12-30 Mike Frysinger <vapier@gentoo.org>
14279
14280 * math/bits/mathcalls.h (modf): Use __nonnull.
14281
085ec079
SP
142822012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14283
14284 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14285 (split): Use macro CN instead of the bare value.
14286 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14287 could be used.
14288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14289 instead of the bare value.
14290 (power1): Likewise.
14291
6d9f97e1
SP
142922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14293
d63f73be
SP
14294 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14295 __ATAN_TWOM.
14296 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14297
6d9f97e1
SP
14298 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14299 their values.
14300 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14302 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14303 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14304
4c4febf5
AJ
143052012-12-28 Andreas Jaeger <aj@suse.de>
14306
af5843ef
AJ
14307 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14308 values are from Linux 3.7.
14309
4c4febf5
AJ
14310 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14311 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14312
99136f82
SP
143132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14314
2f216c3c 14315 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14316 TRUE case.
14317
99136f82
SP
14318 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14319 (norm): Likewise.
14320 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14321 variables with preprocessor constants.
14322 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14324 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14325
7fffbdff
BH
143262012-12-27 Bruno Haible <bruno@clisp.org>
14327
14328 [BZ #14317]
14329 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14330 only if needed.
14331
b76eb5f0
SP
143322012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14333
31a7fe5c
SP
14334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14335 and use variable directly.
14336 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14337
b76eb5f0
SP
14338 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14339 MPONE.
14340 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14342 variable MPONE.
14343 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14345 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14346 include directive. Remove local variable MPONE.
14347 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14348 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14350
2c8bfe7d
DM
143512012-12-25 David S. Miller <davem@davemloft.net>
14352
14353 * version.h (RELEASE): Set to "development".
14354 (VERSION): Set to "2.17.90".
14355 * NEWS: Add 2.18 section.
14356
147d03b0
DM
143572012-12-21 David S. Miller <davem@davemloft.net>
14358
14359 * po/hr.po: Update from translation team.
14360
a8ebb2b9
AK
143612012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14362
14363 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14364
95b4f1b6
SE
143652012-12-19 Steve Ellcey <sellcey@mips.com>
14366
b2d94007 14367 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14368
cedb2a90
MS
143692012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14370
14371 * manual/contrib.texi (Contributors): Spelling correction.
14372
bbf527d6
DM
143732012-12-15 David S. Miller <davem@davemloft.net>
14374
14375 * po/ru.po: Update from translation team.
14376
bc38c906
DM
143772012-12-13 David S. Miller <davem@davemloft.net>
14378
85429b1a
DM
14379 * NEWS: Mention IFUNC testsuite enhancements.
14380
d283e353
DM
14381 * po/pl.po: Update from translation team.
14382 * po/bg.po: Likewise.
14383
bc38c906
DM
14384 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14385 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14386
a181b0d7
DM
143872012-12-11 David S. Miller <davem@davemloft.net>
14388
4641d57e
DM
14389 * po/sv.po: Update from translation team.
14390
f7bc6495
DM
14391 * po/vi.po: Update from translation team.
14392
6fc9048f
DM
14393 * po/cs.po: Update from translation team.
14394
a181b0d7
DM
14395 * po/de.po: Update from translation team.
14396 * po/eo.po: Likewise.
14397 * po/nl.po: Likewise.
14398
f70bfe80
SP
143992012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14400
3c8b4190
SP
14401 [BZ #14246]
14402 * manual/argp.texi (Argp Helper Functions): Move node to follow
14403 Argp Parsing State.
14404
f70bfe80
SP
14405 [BZ #14872]
14406 * manual/conf.texi (Limits on File System Capacity): Mention if
14407 terminating null is included in the max size.
14408
188f0adf
AJ
144092012-12-10 Andreas Jaeger <aj@suse.de>
14410
14411 * po/cs.po: Update from translation team.
14412
56e7d3ad
SP
144132012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14414
14415 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14416 void pointer and cast to uintptr_t.
14417 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14418 path.
14419 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14420 * sysdeps/s390/s390-64/memset.S: Likewise.
14421
76f2d2ea 144222012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14423
14424 [BZ #14833]
14425 * menual/message.texi (Message Translation): Fix typos.
14426 (Helper programs for gettext): Likewise.
14427
67cbf9a2
AS
144282012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14429
14430 [BZ #14898]
14431 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14432 Change to -1.
14433
682d0e9a
DM
144342012-12-07 David S. Miller <davem@davemloft.net>
14435
14436 * po/libc.pot: Update.
14437
573cd484
RH
144382012-12-07 Richard Henderson <rth@redhat.com>
14439
7e9da188 14440 [BZ #10114]
573cd484
RH
14441 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14442 normal/normal case to before the switch.
14443 (_FP_DIV): Likewise.
14444
e933a943
MF
144452012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14446 Mike Frysinger <vapier@gentoo.org>
14447
14448 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14449 check for __NR_fadvise64_64.
14450
82123268
CM
144512012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14452
14453 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14454 0, not just to plain "0" as a statement.
14455 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14456 with cw.
14457
d9814526
JM
144582012-12-06 Joseph Myers <joseph@codesourcery.com>
14459
14460 * NEWS: Use sourceware.org in Bugzilla URL.
14461
7728c574
SP
144622012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14463
f16946dd
SP
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14465 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14466
5704bbcb
SP
14467 * stdio-common/tst-put-error.c (do_test): Add newline to the
14468 padded test to ensure flush.
14469
17aa0516
JL
144702012-12-05 Jeff Law <law@redhat.com>
14471
14472 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14473
363313b5
JM
144742012-12-05 Joseph Myers <joseph@codesourcery.com>
14475
effbd42a
JM
14476 * README: Don't refer to ports add-on as distributed separately.
14477 Mention AArch64 in list of systems supported in the ports add-on.
14478
87600365
JM
14479 * LICENSES: Add more non-FSF copyright and license notices.
14480
a0d7066a
JM
14481 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14482 ((unused)).
14483
66ca5a5b
JM
14484 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14485
363313b5
JM
14486 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14487 10000 as width of padded output.
14488
b37984ad
JM
144892012-12-04 Joseph Myers <joseph@codesourcery.com>
14490
9003570a
JM
14491 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14492
b37984ad
JM
14493 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14494 variable LX with __attribute__ ((unused)).
14495 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14496 Likewise.
14497 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14498 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14500 with __attribute__ ((unused)).
14501
c8df52ec
DM
145022012-12-04 David S. Miller <davem@abraco.davemloft.net>
14503
14504 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14505
b3b099af
JM
145062012-12-04 Joseph Myers <joseph@codesourcery.com>
14507
c33aa6e3
JM
14508 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14509 (CFLAGS-nldbl-acos.c): New variable.
14510 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14511 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14512 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14513 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14514 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14515 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14516 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14517 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14518 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14519 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14520 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14521 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14522 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14523 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14524 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14525 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14526 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14527 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14528 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14529 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14530 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14531 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14532 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14533 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14534 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14535 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14536 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14537 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14538 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14539 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14540 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14541 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14542 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14543 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14544 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14545 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14546 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14547 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14548 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14549 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14550 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14551 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14552 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14553 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14554 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14555 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14556 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14557 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14558 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14559 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14560 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14561 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14562 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14563 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14564 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14565 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14566 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14567 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14568 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14569 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14570 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14571 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14572 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14573 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14574 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14575 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14576 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14577 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14578 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14579 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14580 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14581 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14582 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14583 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14584 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14585 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14586 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14587 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14588 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14589 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14590 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14591 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14592 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14593 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14594 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14595 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14596 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14597 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14598 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14599 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14600 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14601 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14602 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14603 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14604 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14605 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14606 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14607
20f0018d
JM
14608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14609 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14610
b3b099af
JM
14611 [BZ #14914]
14612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14613 whole low double instead of just low 47 bits when splitting values
14614 into two parts.
14615
029264d1
AM
146162012-12-03 Allan McRae <allan@archlinux.org>
14617
14618 * manual/stdio.texi (Predefined Printf Handlers): Remove
14619 @hsep and @vsep usage.
14620
c9d6789e
MF
146212012-12-03 Mike Frysinger <vapier@gentoo.org>
14622
14623 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14624 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14625
4b7634a5
JL
146262012-12-03 Jeff Law <law@redhat.com>
14627
14628 * time/sys/time.h (settimeofday): Do not mark TV argument
14629 as __nonnull.
14630
eb6cbd24
MF
146312012-12-01 Mike Frysinger <vapier@gentoo.org>
14632
14633 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14634 when currently writing and seek to current position when not.
14635 * libio/Makefile (tests): Remove bug-fclose1.
14636 * libio/bug-fclose1.c: Delete.
14637
f638872a
JM
146382012-12-01 Joseph Myers <joseph@codesourcery.com>
14639
14640 * manual/arith.texi (feenableexcept): Fix typo.
14641 (fedisableexcept): Likewise.
14642
48085d14
RM
146432012-11-30 Roland McGrath <roland@hack.frob.com>
14644
14645 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14646 second, differently-typed declaration, rather than a cast.
14647
1a538b9f
SP
146482012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14649
14650 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14651 * include/rpc/svc.h: ... here.
14652
d07f2ff1 146532012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14654
14655 [BZ #13013]
14656 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14657 depending n and resplen2 to catch cases where answer
14658 equals answerp2.
14659
c93ec1f0
CD
146602012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14661
14662 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14663 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14664
37db69de
MF
146652012-11-29 Mike Frysinger <vapier@gentoo.org>
14666
14667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14668
e10c4e4f
RM
146692012-11-29 Roland McGrath <roland@hack.frob.com>
14670
14671 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14672
2af1b328
JL
146732012-11-28 Jeff Law <law@redhat.com>
14674
14675 [BZ #13761]
14676 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14677 dataset_temporary. Track alloca usage into alloca_used.
14678 If dataset is large allocate and release it via malloc/free.
14679
111db5b1
FW
146802012-06-04 Florian Weimer <fweimer@redhat.com>
14681
f06cc227 14682 [BZ #14197]
111db5b1
FW
14683 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14684
dd694abd
DM
146852012-11-28 David S. Miller <davem@davemloft.net>
14686
14687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14688
9984dd01
JM
146892012-11-28 Joseph Myers <joseph@codesourcery.com>
14690
14691 [BZ #14803]
14692 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14693 of pi/2 rounded to nearest to 64 bits.
14694 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14695 nearest to 64 bits.
14696 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14697 bits.
14698
14bc93a9
JL
146992012-11-28 Jeff Law <law@redhat.com>
14700 Martin Osvald <mosvald@redhat.com>
14701
14702 [BZ #14889]
14703 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14704 * sunrpc/svc.c: Include time.h.
14705 (__svc_accept_failed): New function.
14706 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14707 any reason other than EINTR, call __svc_accept_failed.
14708 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14709 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14710
e3c6aa3a
AS
147112012-11-28 Andreas Schwab <schwab@suse.de>
14712
14713 * scripts/abilist.awk: Also handle indirect functions in .opd
14714 section.
14715
1bead169
JM
147162012-11-28 Joseph Myers <joseph@codesourcery.com>
14717
14718 [BZ #13881]
14719 * sysdeps/x86/fpu/powl_helper.c: New file.
14720 * sysdeps/x86/fpu/Makefile: Likewise.
14721 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14722 (p3): New object.
14723 (__ieee754_powl): Use __powl_helper for finite arguments except
14724 integer exponents below 8.
14725 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14726 (p3): New object.
14727 (__ieee754_powl): Use __powl_helper for finite arguments except
14728 integer exponents below 8.
14729 * math/libm-test.inc (pow_test): Add more tests and enable some
14730 previously disabled tests.
14731 * sysdeps/i386/fpu/libm-test-ulps: Update.
14732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14733
0817d63d
SP
147342012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14735 Carlos O'Donell <carlos_odonell@mentor.com>
14736
14737 * nss/makedb.c (is_prime): Assert that input is odd and greater
14738 than 4. Note that fact in a comment too.
14739 (next_prime): Add 4 to input.
14740
de2fd463
SP
147412012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14742
14743 [BZ #11741]
14744 * libio/Makefile (tests): Add test case tst-fwrite-error.
14745 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14746 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14747 * libio/tst-fwrite-error.c: New test case.
14748
c515fb51
L
147492012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14750
14751 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14752 before casting to void *.
14753 * include/libc-internal.h (__pointer_type): New macro.
14754 (__integer_if_pointer_type_sub): Likewise.
14755 (__integer_if_pointer_type): Likewise.
14756 (cast_to_integer): Likewise.
14757 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14758 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14759 before casting to atomic64_t.
14760 (atomic_exchange_acq): Likewise.
14761 (__arch_exchange_and_add_body): Likewise.
14762 (__arch_add_body): Likewise.
14763 (atomic_add_negative): Likewise.
14764 (atomic_add_zero): Likewise.
14765
4cf77aa9
JM
147662012-11-26 Joseph Myers <joseph@codesourcery.com>
14767
14768 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14769 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14770 (add_fdes): Likewise.
14771 (linear_search_fdes): Likewise.
14772 (binary_search_unencoded_fdes): Likewise.
14773
d260b3b4
AS
147742012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14775
14776 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14777
67060746
AC
147782012-11-24 Adam Conrad <adconrad@0c3.net>
14779
14780 * configure.in: Autodetect C++ header directories.
14781 * configure: Regenerated.
14782
800938a1
MF
147832012-11-23 Mike Frysinger <vapier@gentoo.org>
14784
14785 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14786
4e6e34e6
AS
147872012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14788
14789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14790
7c7feb47
JM
147912012-11-22 Joseph Myers <joseph@codesourcery.com>
14792
7184dcdf
JM
14793 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14794 LDBL_MANT_DIG == 106]: Disable some tests.
14795 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14796 Likewise.
14797 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14798 Likewise.
14799
0a42601f
JM
14800 [BZ #14871]
14801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14802 input for small inputs. Return +/- pi/2 for large inputs.
14803 * math/libm-test.inc (atan_test): Add more tests.
14804
79c9b9fe
JM
14805 * sysdeps/generic/unwind-dw2-fde-glibc.c
14806 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14807 __attribute__ ((unused)).
14808
c60d3bf2
JM
14809 [BZ #14645]
14810 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14811 x * y if x and y are nonzero and z is zero.
14812
ef1e0867
JM
14813 [BZ #14811]
14814 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14815 nonzero exponents with absolute value below 0x1p-117 to +/-
14816 0x1p-117.
14817
1468ded3
JM
14818 [BZ #14869]
14819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14820 up arguments below 2**-450, not just those below 2**-500.
14821 * math/libm-test.inc (hypot_test): Add another test.
14822
8e27e3cc
JM
14823 [BZ #14868]
14824 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14825 Return a+b for ratio over 2**120, not 2**60.
14826 * math/libm-test.inc (hypot_test): Add another test.
14827
c9c0279b
JM
14828 * math/libm-test.inc (clog_test): Use
14829 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14830 (clog10_test): Likewise.
14831
7c7feb47
JM
14832 [BZ #6778]
14833 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14834
fff1530e
AS
148352012-11-22 Andreas Schwab <schwab@suse.de>
14836
14837 * sysdeps/i386/fpu/libm-test-ulps: Update.
14838
94558d30
PT
148392012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14840
14841 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14842 printf output with newline.
14843
7e1be741
L
148442012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14845
6bfea974
L
14846 [BZ #14865]
14847 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14848 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14849 -z nodlopen, -z initfirst and -z execstack support.
14850 * configure: Regenerated.
14851
7e1be741
L
14852 * elf/elf.h (DF_1_NODIRECT): New macro.
14853 (DF_1_IGNMULDEF): Likewise.
14854 (DF_1_NOKSYMS): Likewise.
14855 (DF_1_NOHDR): Likewise.
14856 (DF_1_EDITED): Likewise.
14857 (DF_1_NORELOC): Likewise.
14858 (DF_1_SYMINTPOSE): Likewise.
14859 (DF_1_GLOBAUDIT): Likewise.
14860 (DF_1_SINGLETON): Likewise.
14861 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14862 DT_1_SUPPORTED_MASK bits.
14863 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14864
105ce2ce
CD
148652012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14866
14867 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14868
123be9de
TS
148692012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14870
d072f3f7
TS
14871 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14872 macro.
14873
123be9de
TS
14874 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14875 (sendmmsg): Move declarations...
14876 * socket/sys/socket.h: ... here.
14877 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14878 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14879 include it from...
14880 * socket/recvmmsg.c: ... this new file.
14881 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14882 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14883 definition of __sendmmsg hidden.
14884 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14885 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14886 Move ENOSYS stub into and include it from...
14887 * socket/sendmmsg.c: ... this new file.
14888 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14889 (sysdep_routines): Move recvmmsg and sendmmsg...
14890 * socket/Makefile (routines): ... here.
14891 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14892 (GLIBC_PRIVATE): Add __sendmmsg.
14893 * include/sys/socket.h (__sendmmsg): Add declarations.
14894 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14895 sendmmsg.
14896
cf9a5d18
JM
148972012-11-20 Joseph Myers <joseph@codesourcery.com>
14898
14899 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14900 variable I1 with __attribute__ ((unused)).
14901 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14902
ecd4caf9
JM
149032012-11-19 Joseph Myers <joseph@codesourcery.com>
14904
be14d48f
JM
14905 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14906 DUMMY variables with __attribute__ ((unused)).
14907
ecd4caf9
JM
14908 * bits/byteswap.h: Include <bits/types.h>.
14909 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14910
986cab95
PT
149112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14912
14913 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14914 string_t. Do not manually set errno.
14915 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14916 length with __strnlen. Make sure to both set errno and return it on
14917 failure.
14918
6d33cc9d
DM
149192012-11-19 David S. Miller <davem@davemloft.net>
14920
14921 With help from Joseph Myers.
14922 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14923 very large arguments properly.
14924 * math/libm-test.inc (atan_test): New tests.
14925 (atan2_test): New tests.
14926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14928
ee663277
JM
149292012-11-19 Joseph Myers <joseph@codesourcery.com>
14930
877f2d8e
JM
14931 [BZ #14856]
14932 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14933 Define to 3.
14934
116fc08a
JM
14935 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14936 [POSIX] (EADDRNOTAVAIL): Likewise.
14937 [POSIX] (EAFNOSUPPORT): Likewise.
14938 [POSIX] (EALREADY): Likewise.
14939 [POSIX] (ECONNABORTED): Likewise.
14940 [POSIX] (ECONNREFUSED): Likewise.
14941 [POSIX] (ECONNRESET): Likewise.
14942 [POSIX] (EDESTADDRREQ): Likewise.
14943 [POSIX] (EDQUOT): Likewise.
14944 [POSIX] (EHOSTUNREACH): Likewise.
14945 [POSIX] (EIDRM): Likewise.
14946 [POSIX] (EISCONN): Likewise.
14947 [POSIX] (ELOOP): Likewise.
14948 [POSIX] (EMULTIHOP): Likewise.
14949 [POSIX] (ENETDOWN): Likewise.
14950 [POSIX] (ENETUNREACH): Likewise.
14951 [POSIX] (ENOBUFS): Likewise.
14952 [POSIX] (ENODATA): Likewise.
14953 [POSIX] (ENOLINK): Likewise.
14954 [POSIX] (ENOMSG): Likewise.
14955 [POSIX] (ENOPROTOOPT): Likewise.
14956 [POSIX] (ENOSR): Likewise.
14957 [POSIX] (ENOSTR): Likewise.
14958 [POSIX] (ENOTCONN): Likewise.
14959 [POSIX] (ENOTSOCK): Likewise.
14960 [POSIX] (EOPNOTSUPP): Likewise.
14961 [POSIX] (EOVERFLOW): Likewise.
14962 [POSIX] (EPROTO): Likewise.
14963 [POSIX] (EPROTONOSUPPORT): Likewise.
14964 [POSIX] (EPROTOTYPE): Likewise.
14965 [POSIX] (ESTALE): Likewise.
14966 [POSIX] (ETIME): Likewise.
14967 [POSIX] (ETXTBSY): Likewise.
14968 [POSIX] (EWOULDBLOCK): Likewise.
14969 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14970 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14971 [POSIX] (SEEK_CUR): Likewise.
14972 [POSIX] (SEEK_END): Likewise.
14973 [POSIX || UNIX98] (mode_t): Do not require.
14974 [POSIX] (off_t): Likewise.
14975 [POSIX] (pid_t): Likewise.
14976 [POSIX] (sys/stat.h): Do not allow header.
14977 [POSIX] (unistd.h): Likewise.
14978 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14979 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14980 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14981 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14982 require.
14983 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14984 sigevent): Specify elements.
14985 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14986 entry.
14987 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14988 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14989
a483863f
JM
14990 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14991 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14992 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14993 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14994 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14995 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14996 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14997 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14998 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14999 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15000 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15001 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15002 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15003 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15004 Likewise.
15005 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15006 Likewise.
15007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15008 Likewise.
15009 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15010 Likewise.
15011 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15012 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15013 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15014 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15015 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15016 Specify lower bound on value.
15017 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15018 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15019 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15020 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15021 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15022 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15023 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15024 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15025 value.
15026 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15027 as optional.
15028 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15029 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15030 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15031 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15032 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15033 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15034 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15035 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15036 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15037 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15038 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15039 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15042 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15043 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15044 entry.
15045 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15046 optional.
15047 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15053 Likewise.
15054 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15055 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15056 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15057 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15058 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15059 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15060 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15061 as optional.
15062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15063 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15065 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15066 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15067 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15068 specify as optional.
15069 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15070 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15071 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15072 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15073 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15074 [XPG3] (NL_LANGMAX): Likewise.
15075 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15076 [POSIX || XPG3] (NL_NMAX): Likewise.
15077 [POSIX || XPG3] (NL_SETMAX): Likewise.
15078 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15079 [XPG3] (NZERO): Likewise.
15080 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15081 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15082 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15083 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15084 (REG_ERANGE): Expect.
15085 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15086 optional-constant.
15087 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15088 Use (void) in prototype.
15089 [POSIX] (*_t): Allow.
15090 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15091 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15092 (WRDE_BADVAL): Expect.
15093
5ba924e3
JM
15094 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15095 expect.
15096 [XPG3 || XPG4] (O_RSYNC): Likewise.
15097 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15098 Likewise.
15099 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15100 [XPG3 || XPG4] (sigqueue): Likewise.
15101 [XPG3 || XPG4] (sigtimedwait): Likewise.
15102 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15103 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15104 [XPG3 || XPG4] (vsnprintf): Likewise.
15105 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15106 Likewise.
15107 [XPG3 || XPG4] (blksize_t): Likewise.
15108 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15109 Likewise.
15110 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15111 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15112 [XPG3 || XPG4] (struct itimerspec): Likewise.
15113 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15114 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15115 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15116 [XPG3 || XPG4] (clockid_t): Likewise.
15117 [XPG3 || XPG4] (timer_t): Likewise.
15118 [XPG3 || XPG4] (clock_getres): Likewise.
15119 [XPG3 || XPG4] (clock_gettime): Likewise.
15120 [XPG3 || XPG4] (clock_settime): Likewise.
15121 [XPG3 || XPG4] (nanosleep): Likewise.
15122 [XPG3 || XPG4] (timer_create): Likewise.
15123 [XPG3 || XPG4] (timer_delete): Likewise.
15124 [XPG3 || XPG4] (timer_gettime): Likewise.
15125 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15126 [XPG3 || XPG4] (timer_settime): Likewise.
15127 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15128 [XPG3 || XPG4] (getlogin_r): Likewise.
15129 [XPG3 || XPG4] (pread): Likewise.
15130 [XPG3 || XPG4] (pthread_atfork): Likewise.
15131 [XPG3 || XPG4] (pwrite): Likewise.
15132
ee663277
JM
15133 [BZ #14835]
15134 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15135 <bits/siginfo.h>.
15136
942caa16
PT
151372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15138
e19af380
PT
15139 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15140 finalizing MALLSTREAM.
15141
942caa16
PT
15142 * sysdeps/mach/hurd/syncfs.c: New file.
15143
cfde9b46
SP
151442012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15145
15146 [BZ #14719]
15147 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15148 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15149 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15150 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15151 (_nss_dns_gethostbyname4_r): Likewise.
15152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15153 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15154
f6da27e5
PH
151552012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15156
15157 [BZ #13763]
15158 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15159
6665d4a2
SM
151602012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15161
1f51ee92
SM
15162 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15163 * elf/cache.c (print_entry): Print ",AArch64" for
15164 FLAG_AARCH64_LIB64
15165
6665d4a2
SM
15166 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15167 * elf/cache.c (print_entry): Print ",hard-float" for
15168 FLAG_ARM_LIBHF.
15169
05b227bd
DM
151702012-11-18 David S. Miller <davem@davemloft.net>
15171
15172 With help from Joseph Myers.
15173 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15174 cutoff to 2**-13.
15175 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15176 cutoff to 2**-25.
15177 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15178 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15179 small.
15180 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15181 * math/libm-test.inc (y0_test): New tests.
15182 (y1_test): New tests.
15183 * sysdeps/i386/fpu/libm-test-ulps: Update.
15184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15186
786b0b67
AS
151872012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15188
15189 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15190 64-bit targets.
15191 * configure: Regenerated.
15192
8e18b86d
DM
151932012-11-17 David S. Miller <davem@davemloft.net>
15194
15195 [BZ #14811]
15196 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15197 nonzero exponents with absolute value below 0x1p-128 to +/-
15198 0x1p-128.
15199
531f1ae0
JM
152002012-11-17 Joseph Myers <joseph@codesourcery.com>
15201
12df29e2
JM
15202 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15203
150dc1a0
JM
15204 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15205
531f1ae0
JM
15206 * posix/getconf-speclist.c: New file.
15207 * posix/posix-envs.def: Likewise.
15208 * posix/confstr.c (START_ENV_GROUP): New macro.
15209 (END_ENV_GROUP): Likewise.
15210 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15211 (KNOWN_PRESENT_ENV_STRING): Likewise.
15212 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15213 (UNKNOWN_ENVIRONMENT): Likewise.
15214 (confstr): Include posix-envs.def instead of handling
15215 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15216 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15217 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15218 (END_ENV_GROUP): Likewise.
15219 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15220 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15221 (UNKNOWN_ENVIRONMENT): Likewise.
15222 (__sysconf): Include posix-envs.def instead of handling associated
15223 cases directly here.
15224 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15225 preprocessing getconf-speclist.c rather than running getconf or
15226 generating empty file.
15227
a93f9cbc
PT
152282012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15229
15230 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15231
d64d9f87
AL
152322012-11-16 Andrej Lajovic <natrij@gmail.com>
15233
15234 [BZ #14672]
15235 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15236
447885eb
DM
152372012-11-16 David S. Miller <davem@davemloft.net>
15238
15239 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15240 smaller than LDBL_EPSILON/2.0L, just return xm1.
15241
bcbf9830
L
152422012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15243
15244 * elf/tst-array1.c (init): Set constructor priority to 1000.
15245 (fini): Set destructor priority to 1000.
15246 * elf/tst-array2dep.c: Likewise.
15247
2b766585
SP
152482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15249
15250 [BZ #11741]
15251 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15252 (_IO_new_file_xsputn): Also return EOF if none of the input
15253 data was written when overflow failed.
15254 * libio/iopadn.c (_IO_padn): Likewise.
15255 * libio/iowpadn.c (_IO_wpadn): Likewise.
15256 * stdio-common/tst-put-error.c: Add copyright notice.
15257 (do_test): Add case for printing padded string.
15258 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15259 _IO_padn returned error.
15260 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15261 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15262 return EOF.
15263
b1848fde
SP
152642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15265
15266 * libio/libioP.h: Add comment note that the references to C++
15267 bits are now obsolete.
15268
2fd89785
MS
152692012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15270
15271 * math/libm-test.inc (check_complex): Use asprintf.
15272
e3ea5409
JM
152732012-11-14 Joseph Myers <joseph@codesourcery.com>
15274
15275 * debug/pcprofiledump.c (print_version): Update copyright year.
15276 * malloc/memusagestat.c (print_version): Likewise.
15277
2e64d265
L
152782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15279
15280 [BZ #14831]
15281 * elf/Makefile (tests): Add tst-audit8.
15282 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15283 ($(objpfx)tst-audit8.out): New target.
15284 (tst-audit8-ENV): New variable.
15285 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15286 audit if l_reloc_result is NULL.
15287 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15288 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15289 * elf/tst-audit8.c: New file.
15290
c485e4d2
MS
152912012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15292
15293 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15294 * misc/Makefile (CFLAGS-select.c): Define.
15295 * posix/Makefile (CFLAGS-pause.c): Define.
15296
3a0d900a
DM
152972012-11-13 David S. Miller <davem@davemloft.net>
15298
15299 * crypt/Makefile: Move test targets after toplevel Rules
15300 inclusion. Grab any necessary sysdep routines when linking.
15301 * crypt/md5.c (md5_process_block): Remove define, we will always
15302 name it __md5_process_block.
15303 (md5_finish_ctx): Update md5_process_block call.
15304 (md5_stream): Likewise.
15305 (md5_process_bytes): Likewise.
15306 (md5_process_block): Rename to __md5_process_block and move to ...
15307 * crypt/md5-block.c: ... here.
15308 * crypt/sha256.c (sha256_process_block): Move to ...
15309 * crypt/sha256-block.c: ... here.
15310 * crypt/sha512.c (sha512_process_block): Move to ...
15311 * crypt/sha512-block.c: ... here.
15312 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15313 path.
15314 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15315 * sysdeps/sparc/sparc64/multiarch/Makefile
15316 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15317 crypt subdir.
15318 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15320 multiarch changes.
15321 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15322 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15323 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15324 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15325 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15326 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15327 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15328 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15330 file.
15331 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15333 file.
15334 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15335
8ca89318
JM
153362012-11-13 Joseph Myers <joseph@codesourcery.com>
15337
e27d476a
JM
15338 * timezone/tzselect.ksh: Update from tzcode git revision
15339 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15340 * timezone/zdump.c: Likewise.
15341 * timezone/zic.c: Likewise.
15342 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15343 in TZVERSION setting, not $(PKGVERSION).
15344 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15345 REPORT_BUGS_TO settings.
15346
8ca89318
JM
15347 [BZ #14838]
15348 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15349 macro.
15350
47594329
MS
153512012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15352
15353 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15354 detection to immediately after _FP_ROUND().
15355 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15356 bits are 0.
15357
640ac3f1
DM
153582012-11-11 David S. Miller <davem@davemloft.net>
15359
15360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15361 inttypes.h
15362 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15363 __close rather than their public counterparts.
15364
3d2577bb
JM
153652012-11-10 Joseph Myers <joseph@codesourcery.com>
15366
15367 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15368 file.
15369 [UNIX98] (sem_timedwait): Do not expect.
15370 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15371 [XPG4 || UNIX98] (sockatmark): Do not expect.
15372 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15373 (clock_getcpuclockid): Do not expect.
15374 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15375 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15376 Do not expect.
15377 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15378 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15379 [UNIX98] (vwscanf): Likewise.
15380 [UNIX98] (vswscanf): Likewise.
15381
fb1ae1ee
JM
153822012-11-09 Joseph Myers <joseph@codesourcery.com>
15383
9ec6f8bd
JM
15384 * timezone/version.h: Remove file.
15385 * timezone/README: Do not refer to version.h.
15386 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15387 $(objpfx)version.h.
15388 ($(objpfx)zdump.o): Likewise.
c3f81911 15389 ($(objpfx)version.h): New target.
9ec6f8bd 15390
0aa8f8a1
JM
15391 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15392 2012i.
15393 * timezone/README: Don't mention modification to tzselect.ksh.
15394 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15395 work on unmodified tzselect.ksh. Substitute version numbers in
15396 tzselect.ksh.
15397
4e87147f
JM
15398 * Makefile (format-me): Remove.
15399 (INSTALL): Adjust indentation. Use commands directly instead of
15400 using $(format-me).
15401
8b748aed
JM
15402 * aclocal.m4 (ACX_PKGVERSION): New macro.
15403 (ACX_BUGURL): Likewise.
15404 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15405 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15406 (REPORT_BUGS_TO): Likewise.
15407 * configure: Regenerated.
15408 * config.h.in (PKGVERSION): New macro.
15409 (REPORT_BUGS_TO): Likewise.
15410 * config.make.in (PKGVERSION): New variable.
15411 (PKGVERSION_TEXI): Likewise.
15412 (REPORT_BUGS_TO): Likewise.
15413 (REPORT_BUGS_TEXI): Likewise.
15414 * Makefile (format-me): Use -I$(common-objpfx)manual.
15415 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15416 ($(common-objpfx)manual/%): New target.
15417 (manual/%): Remove target.
15418 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15419 (print_version): Use PKGVERSION.
15420 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15421 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15422 and REPORT_BUGS_TO.
15423 ($(objpfx)xtrace): Likewise.
15424 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15425 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15426 (print_version): Use PKGVERSION.
15427 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15428 (do_version): Use PKGVERSION.
15429 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15430 REPORT_BUGS_TO.
15431 (common-ldd-rewrite): Likewise.
15432 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15433 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15434 (print_version): Use PKGVERSION.
15435 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15436 * elf/pldd.c (argp_program_bug_address): Remove variable.
15437 (more_help): New function.
15438 (argp): Use more_help.
15439 (print_version): Use PKGVERSION.
15440 * elf/sln.c (main): Use PKGVERSION.
15441 (usage): Use REPORT_BUGS_TO.
15442 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15443 (top level): Use PKGVERSION.
15444 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15445 (print_version): Use PKGVERSION.
15446 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15447 (print_version): Use PKGVERSION.
15448 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15449 (print_version): Use PKGVERSION.
15450 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15451 (print_version): Use PKGVERSION.
15452 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15453 (print_version): Use PKGVERSION.
15454 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15455 (print_version): Use PKGVERSION.
15456 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15457 and BUGURL.
15458 ($(objpfx)memusage): Likewise.
15459 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15460 (do_version): Use PKGVERSION.
15461 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15462 (print_version): Use PKGVERSION.
15463 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15464 ($PKGVERSION): New variable.
15465 ($REPORT_BUGS_TO): Likewise.
15466 (usage): Use $REPORT_BUGS_TO.
15467 (top level): Use $PKGVERSION.
15468 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15469 ($(objpfx)pkgvers.texi): New rule.
15470 ($(objpfx)stamp-pkgvers): Likewise.
15471 * manual/install.texi: Include pkgvers.texi.
15472 (--with-pkgversion): Document new configure option.
15473 (--with-bugurl): Likewise.
15474 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15475 than necessarily for this particular distribution. Use
15476 REPORT_BUGS_TO for where to report bugs.
15477 * INSTALL: Regenerated.
15478 * manual/libc.texinfo: Include pkgvers.texi.
15479 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15480 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15481 (print_version): Use PKGVERSION.
15482 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15483 (print_version): Use PKGVERSION.
15484 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15485 (print_version): Use PKGVERSION.
15486 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15487 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15488 macro.
15489 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15490 (print_version): Use PKGVERSION.
15491 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15492 (print_version): Use PKGVERSION.
15493 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15494 and PKGVERSION.
15495
92e4b6a9
JM
15496 * timezone/checktab.awk: Update from tzcode 2012i.
15497 * timezone/ialloc.c: Likewise.
15498 * timezone/private.h: Likewise.
15499 * timezone/scheck.c: Likewise.
15500 * timezone/tzfile.h: Likewise.
15501 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15502 (TZVERSION): Hardcode tzcode version number.
15503 * timezone/zdump.c: Update from tzcode 2012i.
15504 * timezone/zic.c: Likewise.
15505 * timezone/version.h: New file.
15506 * timezone/README: Describe version.h. Update upstream location.
15507
9bde902c
JM
15508 [BZ #14824]
15509 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15510 (mktemp): Enable declaration.
15511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15515 Likewise.
15516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15517 Likewise.
15518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15519 Likewise.
15520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15521 Likewise.
15522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15523 Likewise.
15524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15525 Likewise.
15526
fb1ae1ee
JM
15527 [BZ #14821]
15528 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15529 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15530 for copies of such integer values.
15531 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15532 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15533
2c1adbcb
AJ
155342012-11-09 Andreas Jaeger <aj@suse.de>
15535
15536 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15537 definitions and declarations that are provided by
15538 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15539
d0f8457e
AK
155402012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15541
3a235abb 15542 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15543 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15544 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15545 definition.
15546
57241e26
MS
155472012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15548
15549 * elf/elf.h: Update comment before AArch64 relocations.
15550
60e8270d
DM
155512012-11-07 David S. Miller <davem@davemloft.net>
15552
15553 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15554 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15555 (__start_context): Declare.
15556 (__makecontext_ret): Delete.
15557 (__makecontext): Hook up __start_context instead of
15558 __makecontext_ret.
15559 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15560 (sysdep_routines): Add __start_context when in stdlib.
15561
0fbb0fbc
JM
155622012-11-07 Joseph Myers <joseph@codesourcery.com>
15563
15564 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15565 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15566 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15567 hardcoded "nm".
15568 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15569 (READELF): New variable. Use it instead of hardcoded "readelf".
15570
eb48db7e
L
155712012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15572
15573 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15574 * sysdeps/x86/Makefile: Here.
15575 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15576 * sysdeps/x86/tst-xmmymm.sh: This.
15577
05bcf62a
JM
155782012-11-07 Joseph Myers <joseph@codesourcery.com>
15579
c4b6cf53
JM
15580 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15581 expectations.
15582 [UNIX98] (pthread_barrier_t): Do not expect.
15583 [UNIX98] (pthread_barrierattr_t): Likewise.
15584 [UNIX98] (pthread_spinlock_t): Likewise.
15585 [UNIX98] (pthread_barrier_destroy): Likewise.
15586 [UNIX98] (pthread_barrier_init): Likewise.
15587 [UNIX98] (pthread_barrier_wait): Likewise.
15588 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15589 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15590 [UNIX98] (pthread_barrierattr_init): Likewise.
15591 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15592 [UNIX98] (pthread_getcpuclockid): Likewise.
15593 [UNIX98] (pthread_mutex_timedlock): Likewise.
15594 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15595 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15596 [UNIX98] (pthread_sigmask): Likewise.
15597 [UNIX98] (pthread_spin_destroy): Likewise.
15598 [UNIX98] (pthread_spin_init): Likewise.
15599 [UNIX98] (pthread_spin_lock): Likewise.
15600 [UNIX98] (pthread_spin_trylock): Likewise.
15601 [UNIX98] (pthread_spin_unlock): Likewise.
15602 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15603 Do not expect.
15604 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15605 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15606 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15607 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15608 [XPG3 || XPG4] (pthread_key_t): Likewise.
15609 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15610 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15611 [XPG3 || XPG4] (pthread_once_t): Likewise.
15612 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15613 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15614 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15615 [XPG3 || XPG4] (pthread_t): Likewise.
15616
cbe6e120
JM
15617 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15618 not expect.
15619 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15620
1b126443
JM
15621 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15622 Change function return type to int.
15623
b961a573
JM
15624 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15625 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15626 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15627 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15628 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15629 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15630 [!POSIX] (posix_madvise): Likewise.
15631 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15632 && !UNIX98].
15633 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15634 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15635 (mode_t): Likewise.
15636 (posix_mem_offset): Likewise.
15637 (posix_typed_mem_get_info): Likewise.
15638 (posix_typed_mem_open): Likewise.
15639
9e188909
JM
15640 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15641 Change condition to [XOPEN2K8].
15642
05bcf62a
JM
15643 * conform/conformtest.pl: Preprocess allow-header data with -x c
15644 instead of from stdin.
15645 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15646 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15647 [C99-based standards] (cerfc): Likewise.
15648 [C99-based standards] (cexp2): Likewise.
15649 [C99-based standards] (cexpm1): Likewise.
15650 [C99-based standards] (clog10): Likewise.
15651 [C99-based standards] (clog1p): Likewise.
15652 [C99-based standards] (clog2): Likewise.
15653 [C99-based standards] (clgamma): Likewise.
15654 [C99-based standards] (ctgamma): Likewise.
15655 [C99-based standards] (cerff): Likewise.
15656 [C99-based standards] (cerfcf): Likewise.
15657 [C99-based standards] (cexp2f): Likewise.
15658 [C99-based standards] (cexpm1f): Likewise.
15659 [C99-based standards] (clog10f): Likewise.
15660 [C99-based standards] (clog1pf): Likewise.
15661 [C99-based standards] (clog2f): Likewise.
15662 [C99-based standards] (clgammaf): Likewise.
15663 [C99-based standards] (ctgammaf): Likewise.
15664 [C99-based standards] (cerfl): Likewise.
15665 [C99-based standards] (cerfcl): Likewise.
15666 [C99-based standards] (cexp2l): Likewise.
15667 [C99-based standards] (cexpm1l): Likewise.
15668 [C99-based standards] (clog10l): Likewise.
15669 [C99-based standards] (clog1pl): Likewise.
15670 [C99-based standards] (clog2l): Likewise.
15671 [C99-based standards] (clgammal): Likewise.
15672 [C99-based standards] (ctgammal): Likewise.
15673 * conform/data/inttypes.h-data [C99-based standards]: Include
15674 stdint.h-data. Remove all expectations for stdint.h contents.
15675 [C99-based standards] (PRI*): Do not allow.
15676 [C99-based standards] (SCN*): Likewise.
15677 [C99-based standards] (*_t): Likewise.
15678 [C99-based-standards] (PRId8): Expect macro.
15679 [C99-based-standards] (PRIi8): Likewise.
15680 [C99-based-standards] (PRIo8): Likewise.
15681 [C99-based-standards] (PRIu8): Likewise.
15682 [C99-based-standards] (PRIx8): Likewise.
15683 [C99-based-standards] (PRIX8): Likewise.
15684 [C99-based-standards] (SCNd8): Likewise.
15685 [C99-based-standards] (SCNi8): Likewise.
15686 [C99-based-standards] (SCNo8): Likewise.
15687 [C99-based-standards] (SCNu8): Likewise.
15688 [C99-based-standards] (SCNx8): Likewise.
15689 [C99-based-standards] (PRIdLEAST8): Likewise.
15690 [C99-based-standards] (PRIiLEAST8): Likewise.
15691 [C99-based-standards] (PRIoLEAST8): Likewise.
15692 [C99-based-standards] (PRIuLEAST8): Likewise.
15693 [C99-based-standards] (PRIxLEAST8): Likewise.
15694 [C99-based-standards] (PRIXLEAST8): Likewise.
15695 [C99-based-standards] (SCNdLEAST8): Likewise.
15696 [C99-based-standards] (SCNiLEAST8): Likewise.
15697 [C99-based-standards] (SCNoLEAST8): Likewise.
15698 [C99-based-standards] (SCNuLEAST8): Likewise.
15699 [C99-based-standards] (SCNxLEAST8): Likewise.
15700 [C99-based-standards] (PRIdFAST8): Likewise.
15701 [C99-based-standards] (PRIiFAST8): Likewise.
15702 [C99-based-standards] (PRIoFAST8): Likewise.
15703 [C99-based-standards] (PRIuFAST8): Likewise.
15704 [C99-based-standards] (PRIxFAST8): Likewise.
15705 [C99-based-standards] (PRIXFAST8): Likewise.
15706 [C99-based-standards] (SCNdFAST8): Likewise.
15707 [C99-based-standards] (SCNiFAST8): Likewise.
15708 [C99-based-standards] (SCNoFAST8): Likewise.
15709 [C99-based-standards] (SCNuFAST8): Likewise.
15710 [C99-based-standards] (SCNxFAST8): Likewise.
15711 [C99-based-standards] (PRId16): Likewise.
15712 [C99-based-standards] (PRIi16): Likewise.
15713 [C99-based-standards] (PRIo16): Likewise.
15714 [C99-based-standards] (PRIu16): Likewise.
15715 [C99-based-standards] (PRIx16): Likewise.
15716 [C99-based-standards] (PRIX16): Likewise.
15717 [C99-based-standards] (SCNd16): Likewise.
15718 [C99-based-standards] (SCNi16): Likewise.
15719 [C99-based-standards] (SCNo16): Likewise.
15720 [C99-based-standards] (SCNu16): Likewise.
15721 [C99-based-standards] (SCNx16): Likewise.
15722 [C99-based-standards] (PRIdLEAST16): Likewise.
15723 [C99-based-standards] (PRIiLEAST16): Likewise.
15724 [C99-based-standards] (PRIoLEAST16): Likewise.
15725 [C99-based-standards] (PRIuLEAST16): Likewise.
15726 [C99-based-standards] (PRIxLEAST16): Likewise.
15727 [C99-based-standards] (PRIXLEAST16): Likewise.
15728 [C99-based-standards] (SCNdLEAST16): Likewise.
15729 [C99-based-standards] (SCNiLEAST16): Likewise.
15730 [C99-based-standards] (SCNoLEAST16): Likewise.
15731 [C99-based-standards] (SCNuLEAST16): Likewise.
15732 [C99-based-standards] (SCNxLEAST16): Likewise.
15733 [C99-based-standards] (PRIdFAST16): Likewise.
15734 [C99-based-standards] (PRIiFAST16): Likewise.
15735 [C99-based-standards] (PRIoFAST16): Likewise.
15736 [C99-based-standards] (PRIuFAST16): Likewise.
15737 [C99-based-standards] (PRIxFAST16): Likewise.
15738 [C99-based-standards] (PRIXFAST16): Likewise.
15739 [C99-based-standards] (SCNdFAST16): Likewise.
15740 [C99-based-standards] (SCNiFAST16): Likewise.
15741 [C99-based-standards] (SCNoFAST16): Likewise.
15742 [C99-based-standards] (SCNuFAST16): Likewise.
15743 [C99-based-standards] (SCNxFAST16): Likewise.
15744 [C99-based-standards] (PRId32): Likewise.
15745 [C99-based-standards] (PRIi32): Likewise.
15746 [C99-based-standards] (PRIo32): Likewise.
15747 [C99-based-standards] (PRIu32): Likewise.
15748 [C99-based-standards] (PRIx32): Likewise.
15749 [C99-based-standards] (PRIX32): Likewise.
15750 [C99-based-standards] (SCNd32): Likewise.
15751 [C99-based-standards] (SCNi32): Likewise.
15752 [C99-based-standards] (SCNo32): Likewise.
15753 [C99-based-standards] (SCNu32): Likewise.
15754 [C99-based-standards] (SCNx32): Likewise.
15755 [C99-based-standards] (PRIdLEAST32): Likewise.
15756 [C99-based-standards] (PRIiLEAST32): Likewise.
15757 [C99-based-standards] (PRIoLEAST32): Likewise.
15758 [C99-based-standards] (PRIuLEAST32): Likewise.
15759 [C99-based-standards] (PRIxLEAST32): Likewise.
15760 [C99-based-standards] (PRIXLEAST32): Likewise.
15761 [C99-based-standards] (SCNdLEAST32): Likewise.
15762 [C99-based-standards] (SCNiLEAST32): Likewise.
15763 [C99-based-standards] (SCNoLEAST32): Likewise.
15764 [C99-based-standards] (SCNuLEAST32): Likewise.
15765 [C99-based-standards] (SCNxLEAST32): Likewise.
15766 [C99-based-standards] (PRIdFAST32): Likewise.
15767 [C99-based-standards] (PRIiFAST32): Likewise.
15768 [C99-based-standards] (PRIoFAST32): Likewise.
15769 [C99-based-standards] (PRIuFAST32): Likewise.
15770 [C99-based-standards] (PRIxFAST32): Likewise.
15771 [C99-based-standards] (PRIXFAST32): Likewise.
15772 [C99-based-standards] (SCNdFAST32): Likewise.
15773 [C99-based-standards] (SCNiFAST32): Likewise.
15774 [C99-based-standards] (SCNoFAST32): Likewise.
15775 [C99-based-standards] (SCNuFAST32): Likewise.
15776 [C99-based-standards] (SCNxFAST32): Likewise.
15777 [C99-based-standards] (PRId64): Likewise.
15778 [C99-based-standards] (PRIi64): Likewise.
15779 [C99-based-standards] (PRIo64): Likewise.
15780 [C99-based-standards] (PRIu64): Likewise.
15781 [C99-based-standards] (PRIx64): Likewise.
15782 [C99-based-standards] (PRIX64): Likewise.
15783 [C99-based-standards] (SCNd64): Likewise.
15784 [C99-based-standards] (SCNi64): Likewise.
15785 [C99-based-standards] (SCNo64): Likewise.
15786 [C99-based-standards] (SCNu64): Likewise.
15787 [C99-based-standards] (SCNx64): Likewise.
15788 [C99-based-standards] (PRIdLEAST64): Likewise.
15789 [C99-based-standards] (PRIiLEAST64): Likewise.
15790 [C99-based-standards] (PRIoLEAST64): Likewise.
15791 [C99-based-standards] (PRIuLEAST64): Likewise.
15792 [C99-based-standards] (PRIxLEAST64): Likewise.
15793 [C99-based-standards] (PRIXLEAST64): Likewise.
15794 [C99-based-standards] (SCNdLEAST64): Likewise.
15795 [C99-based-standards] (SCNiLEAST64): Likewise.
15796 [C99-based-standards] (SCNoLEAST64): Likewise.
15797 [C99-based-standards] (SCNuLEAST64): Likewise.
15798 [C99-based-standards] (SCNxLEAST64): Likewise.
15799 [C99-based-standards] (PRIdFAST64): Likewise.
15800 [C99-based-standards] (PRIiFAST64): Likewise.
15801 [C99-based-standards] (PRIoFAST64): Likewise.
15802 [C99-based-standards] (PRIuFAST64): Likewise.
15803 [C99-based-standards] (PRIxFAST64): Likewise.
15804 [C99-based-standards] (PRIXFAST64): Likewise.
15805 [C99-based-standards] (SCNdFAST64): Likewise.
15806 [C99-based-standards] (SCNiFAST64): Likewise.
15807 [C99-based-standards] (SCNoFAST64): Likewise.
15808 [C99-based-standards] (SCNuFAST64): Likewise.
15809 [C99-based-standards] (SCNxFAST64): Likewise.
15810 [C99-based-standards] (PRIdMAX): Likewise.
15811 [C99-based-standards] (PRIiMAX): Likewise.
15812 [C99-based-standards] (PRIoMAX): Likewise.
15813 [C99-based-standards] (PRIuMAX): Likewise.
15814 [C99-based-standards] (PRIxMAX): Likewise.
15815 [C99-based-standards] (PRIXMAX): Likewise.
15816 [C99-based-standards] (SCNdMAX): Likewise.
15817 [C99-based-standards] (SCNiMAX): Likewise.
15818 [C99-based-standards] (SCNoMAX): Likewise.
15819 [C99-based-standards] (SCNuMAX): Likewise.
15820 [C99-based-standards] (SCNxMAX): Likewise.
15821 [C99-based-standards] (PRIdPTR): Likewise.
15822 [C99-based-standards] (PRIiPTR): Likewise.
15823 [C99-based-standards] (PRIoPTR): Likewise.
15824 [C99-based-standards] (PRIuPTR): Likewise.
15825 [C99-based-standards] (PRIxPTR): Likewise.
15826 [C99-based-standards] (PRIXPTR): Likewise.
15827 [C99-based-standards] (SCNdPTR): Likewise.
15828 [C99-based-standards] (SCNiPTR): Likewise.
15829 [C99-based-standards] (SCNoPTR): Likewise.
15830 [C99-based-standards] (SCNuPTR): Likewise.
15831 [C99-based-standards] (SCNxPTR): Likewise.
15832 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15833 allow.
15834 * conform/data/stdint.h-data: Update comments to clarify
15835 requirements.
15836 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15837 type.
15838 [C99-based standards] (INT8_MAX): Likewise.
15839 [C99-based standards] (INT16_MIN): Likewise.
15840 [C99-based standards] (INT16_MAX): Likewise.
15841 [C99-based standards] (INT32_MIN): Likewise.
15842 [C99-based standards] (INT32_MAX): Likewise.
15843 [C99-based standards] (INT64_MIN): Likewise.
15844 [C99-based standards] (INT64_MAX): Likewise.
15845 [C99-based standards] (UINT8_MAX): Likewise.
15846 [C99-based standards] (UINT16_MAX): Likewise.
15847 [C99-based standards] (UINT32_MAX): Likewise.
15848 [C99-based standards] (UINT64_MAX): Likewise.
15849 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15850 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15851 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15852 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15853 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15854 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15855 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15856 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15857 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15858 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15859 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15860 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15861 [C99-based standards] (INT_FAST8_MIN): Likewise.
15862 [C99-based standards] (INT_FAST8_MAX): Likewise.
15863 [C99-based standards] (INT_FAST16_MIN): Likewise.
15864 [C99-based standards] (INT_FAST16_MAX): Likewise.
15865 [C99-based standards] (INT_FAST32_MIN): Likewise.
15866 [C99-based standards] (INT_FAST32_MAX): Likewise.
15867 [C99-based standards] (INT_FAST64_MIN): Likewise.
15868 [C99-based standards] (INT_FAST64_MAX): Likewise.
15869 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15870 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15871 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15872 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15873 [C99-based standards] (INTPTR_MIN): Likewise.
15874 [C99-based standards] (INTPTR_MAX): Likewise.
15875 [C99-based standards] (UINTPTR_MAX): Likewise.
15876 [C99-based standards] (INTMAX_MIN): Likewise.
15877 [C99-based standards] (INTMAX_MAX): Likewise.
15878 [C99-based standards] (UINTMAX_MAX): Likewise.
15879 [C99-based standards] (PTRDIFF_MIN): Likewise.
15880 [C99-based standards] (PTRDIFF_MAX): Likewise.
15881 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15882 [C99-based standards] (SIZE_MAX): Likewise.
15883 [C99-based standards] (WCHAR_MAX): Likewise.
15884 [C99-based standards] (WINT_MAX): Likewise.
15885 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15886 constraint on value.
15887 [C99-based standards] (WCHAR_MIN): Likewise.
15888 [C99-based standards] (WINT_MIN): Likewise.
15889 [C99-based standards] (*_t): Allow.
15890 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15891 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15892 Include math.h-data and complex.h-data. Remove all expectations
15893 of math.h and complex.h contents.
15894 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15895 at end of line.
15896 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15897 (struct tm): Expect tag.
15898 [C99-based-standards] (wcstof): Expect function.
15899 [C99-based-standards] (wcstold): Likewise.
15900 [C99-based-standards] (wcstoll): Likewise.
15901 [C99-based-standards] (wcstoull): Likewise.
15902 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15903 macro-int-constant. Specify type.
15904 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15905 constraint on value.
15906 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15907 Specify type.
15908 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15909 Specify value.
15910 [ISO C standards]: Do not allow headers.
15911 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15912 wcs[abcdefghijklmnopqrstuvwxyz]*.
15913 [ISO C standards] (*_t): Do not allow.
15914 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15915 Expect function.
15916 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15917 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15918 Specify type.
15919 [ISO C standards]: Do not allow headers.
15920 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15921 is[abcdefghijklmnopqrstuvwxyz]*.
15922 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15923 to[abcdefghijklmnopqrstuvwxyz]*.
15924 [ISO C standards] (*_t): Do not allow.
15925 * conform/data/stdalign.h-data: New file.
15926 * conform/data/stdbool.h-data: Likewise.
15927 * conform/data/stdnoreturn.h-data: Likewise.
15928
7514feb8
RM
159292012-11-07 Roland McGrath <roland@hack.frob.com>
15930
15931 [BZ #14815]
15932 * manual/filesys.texi (Directory Entries): Typo fix.
15933 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15934
19b2ecfc
MS
159352012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15936
15937 * elf/elf.h (EM_AARCH64): New macro.
15938 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15939 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15940 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15941 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15942 (R_AARCH64_TLSDESC): Likewise.
15943 (NT_ARM_TLS): Likewise.
15944 (NT_ARM_HW_BREAK): Likewise.
15945 (NT_ARM_HW_WATCH): Likewise.
15946
60e235ee
JM
159472012-11-07 Joseph Myers <joseph@codesourcery.com>
15948
15949 [BZ #14811]
15950 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15951 (__ieee754_powl): Saturate nonzero exponents with absolute value
15952 below 0x1p-79 to +/- 0x1p-79.
15953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15954 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15955 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15956 nonzero exponents with absolute value below 0x1p-32 to +/-
15957 0x1p-32.
15958 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15959 (__ieee754_powl): Saturate nonzero exponents with absolute value
15960 below 0x1p-79 to +/- 0x1p-79.
15961 * math/libm-test.inc (pow_test): Add more tests.
15962
0ab234b7
AK
159632012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15964
15965 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15966 _dl_s390_cap_flags with kernel. Increase string length.
15967 (_dl_s390_platforms): Add z196 and zEC12.
15968
45832f74
JM
159692012-11-07 Joseph Myers <joseph@codesourcery.com>
15970
15971 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15972 Change XOPEN21K to XOPEN2K.
15973
19218757
MK
159742012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15975
15976 * string/memmove.c: Use memcpy when possible.
15977
c5f45721
AJ
159782012-11-06 Andreas Jaeger <aj@suse.de>
15979
15980 * po/eo.po: Update from translation team.
15981
82477c28
JM
159822012-11-06 Joseph Myers <joseph@codesourcery.com>
15983
15984 [BZ #14793]
15985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15986 exponent and small x and y exponents, scale x or y up. Increase
15987 by 2 the exponent used in scaling up.
15988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15990 * math/libm-test.inc (fma_test): Add more tests.
15991 (fma_test_towardzero): Likewise.
15992 (fma_test_downward): Likewise.
15993 (fma_test_upward): Likewise.
15994
99252c8c
JM
159952012-11-05 Joseph Myers <joseph@codesourcery.com>
15996
acfa885f
JM
15997 [BZ #14805]
15998 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15999 fenv_t *.
16000
99252c8c
JM
16001 [BZ #14801]
16002 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16003 namespace for names of struct fields.
16004 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16005 fenv_t fields.
16006 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16007 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16008
d6d98dea
ST
160092012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16010
16011 [BZ #3665]
16012 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16013
e10bb107
TS
160142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16015
16016 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16017 PTR_DEMANGLE.
16018
16019 [BZ #5246]
16020 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16021 PTR_DEMANGLE.
16022
a0c2940d
JM
160232012-11-04 Joseph Myers <joseph@codesourcery.com>
16024
16025 [BZ #14797]
16026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16027 definitely overflow as x * y not x * y + z.
16028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16030 * math/libm-test.inc (fma_test): Add more tests.
16031 (fma_test_towardzero): Likewise.
16032 (fma_test_downward): Likewise.
16033 (fma_test_upward): Likewise.
16034
b830319d
TS
160352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16036
16037 [BZ #157]
16038
16039 * include/stub-tag.h: Remove file.
16040 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16041 '#include' of it.
16042 * manual/maint.texi (Porting): Don't reference it.
16043 * Makerules ($(objpfx)stubs): Likewise.
16044 * dirent/closedir.c: Don't include <stub-tag.h>.
16045 * dirent/dirfd.c: Likewise.
16046 * dirent/fdopendir.c: Likewise.
16047 * dirent/getdents.c: Likewise.
16048 * dirent/getdents64.c: Likewise.
16049 * dirent/opendir.c: Likewise.
16050 * dirent/readdir.c: Likewise.
16051 * dirent/readdir64.c: Likewise.
16052 * dirent/readdir64_r.c: Likewise.
16053 * dirent/readdir_r.c: Likewise.
16054 * dirent/rewinddir.c: Likewise.
16055 * dirent/seekdir.c: Likewise.
16056 * dirent/telldir.c: Likewise.
16057 * gmon/profil.c: Likewise.
16058 * grp/setgroups.c: Likewise.
16059 * inet/if_index.c: Likewise.
16060 * io/access.c: Likewise.
16061 * io/chdir.c: Likewise.
16062 * io/chmod.c: Likewise.
16063 * io/chown.c: Likewise.
16064 * io/close.c: Likewise.
16065 * io/dup.c: Likewise.
16066 * io/dup2.c: Likewise.
16067 * io/dup3.c: Likewise.
16068 * io/euidaccess.c: Likewise.
16069 * io/faccessat.c: Likewise.
16070 * io/fchdir.c: Likewise.
16071 * io/fchmod.c: Likewise.
16072 * io/fchmodat.c: Likewise.
16073 * io/fchown.c: Likewise.
16074 * io/fchownat.c: Likewise.
16075 * io/fcntl.c: Likewise.
16076 * io/flock.c: Likewise.
16077 * io/fstatfs.c: Likewise.
16078 * io/fstatfs64.c: Likewise.
16079 * io/fstatvfs.c: Likewise.
16080 * io/fstatvfs64.c: Likewise.
16081 * io/futimens.c: Likewise.
16082 * io/fxstat.c: Likewise.
16083 * io/fxstat64.c: Likewise.
16084 * io/fxstatat.c: Likewise.
16085 * io/fxstatat64.c: Likewise.
16086 * io/getcwd.c: Likewise.
16087 * io/isatty.c: Likewise.
16088 * io/lchmod.c: Likewise.
16089 * io/lchown.c: Likewise.
16090 * io/link.c: Likewise.
16091 * io/linkat.c: Likewise.
16092 * io/lseek.c: Likewise.
16093 * io/lseek64.c: Likewise.
16094 * io/lxstat64.c: Likewise.
16095 * io/mkdir.c: Likewise.
16096 * io/mkdirat.c: Likewise.
16097 * io/mkfifo.c: Likewise.
16098 * io/mkfifoat.c: Likewise.
16099 * io/open.c: Likewise.
16100 * io/open64.c: Likewise.
16101 * io/openat.c: Likewise.
16102 * io/openat64.c: Likewise.
16103 * io/pipe.c: Likewise.
16104 * io/pipe2.c: Likewise.
16105 * io/poll.c: Likewise.
16106 * io/posix_fadvise.c: Likewise.
16107 * io/posix_fadvise64.c: Likewise.
16108 * io/posix_fallocate.c: Likewise.
16109 * io/posix_fallocate64.c: Likewise.
16110 * io/read.c: Likewise.
16111 * io/readlink.c: Likewise.
16112 * io/readlinkat.c: Likewise.
16113 * io/rmdir.c: Likewise.
16114 * io/sendfile.c: Likewise.
16115 * io/sendfile64.c: Likewise.
16116 * io/statfs.c: Likewise.
16117 * io/statfs64.c: Likewise.
16118 * io/statvfs.c: Likewise.
16119 * io/statvfs64.c: Likewise.
16120 * io/symlink.c: Likewise.
16121 * io/symlinkat.c: Likewise.
16122 * io/ttyname.c: Likewise.
16123 * io/ttyname_r.c: Likewise.
16124 * io/umask.c: Likewise.
16125 * io/unlink.c: Likewise.
16126 * io/unlinkat.c: Likewise.
16127 * io/utime.c: Likewise.
16128 * io/utimensat.c: Likewise.
16129 * io/write.c: Likewise.
16130 * io/xmknod.c: Likewise.
16131 * io/xmknodat.c: Likewise.
16132 * io/xstat.c: Likewise.
16133 * io/xstat64.c: Likewise.
16134 * login/getpt.c: Likewise.
16135 * login/grantpt.c: Likewise.
16136 * login/unlockpt.c: Likewise.
16137 * math/e_acoshl.c: Likewise.
16138 * math/e_acosl.c: Likewise.
16139 * math/e_asinl.c: Likewise.
16140 * math/e_atan2l.c: Likewise.
16141 * math/e_atanhl.c: Likewise.
16142 * math/e_coshl.c: Likewise.
16143 * math/e_expl.c: Likewise.
16144 * math/e_fmodl.c: Likewise.
16145 * math/e_gammal_r.c: Likewise.
16146 * math/e_hypotl.c: Likewise.
16147 * math/e_j0l.c: Likewise.
16148 * math/e_j1l.c: Likewise.
16149 * math/e_jnl.c: Likewise.
16150 * math/e_lgammal_r.c: Likewise.
16151 * math/e_log10l.c: Likewise.
16152 * math/e_log2l.c: Likewise.
16153 * math/e_logl.c: Likewise.
16154 * math/e_powl.c: Likewise.
16155 * math/e_rem_pio2l.c: Likewise.
16156 * math/e_sinhl.c: Likewise.
16157 * math/e_sqrtl.c: Likewise.
16158 * math/fclrexcpt.c: Likewise.
16159 * math/fedisblxcpt.c: Likewise.
16160 * math/feenablxcpt.c: Likewise.
16161 * math/fegetenv.c: Likewise.
16162 * math/fegetexcept.c: Likewise.
16163 * math/fegetround.c: Likewise.
16164 * math/feholdexcpt.c: Likewise.
16165 * math/fesetenv.c: Likewise.
16166 * math/fesetround.c: Likewise.
16167 * math/feupdateenv.c: Likewise.
16168 * math/fgetexcptflg.c: Likewise.
16169 * math/fraiseexcpt.c: Likewise.
16170 * math/fsetexcptflg.c: Likewise.
16171 * math/ftestexcept.c: Likewise.
16172 * math/k_cosl.c: Likewise.
16173 * math/k_rem_pio2l.c: Likewise.
16174 * math/k_sinl.c: Likewise.
16175 * math/k_tanl.c: Likewise.
16176 * math/s_asinhl.c: Likewise.
16177 * math/s_atanl.c: Likewise.
16178 * math/s_cbrtl.c: Likewise.
16179 * math/s_erfl.c: Likewise.
16180 * math/s_expm1l.c: Likewise.
16181 * math/s_log1pl.c: Likewise.
16182 * math/s_tanhl.c: Likewise.
16183 * misc/acct.c: Likewise.
16184 * misc/brk.c: Likewise.
16185 * misc/chflags.c: Likewise.
16186 * misc/chroot.c: Likewise.
16187 * misc/fchflags.c: Likewise.
16188 * misc/fgetxattr.c: Likewise.
16189 * misc/flistxattr.c: Likewise.
16190 * misc/fremovexattr.c: Likewise.
16191 * misc/fsetxattr.c: Likewise.
16192 * misc/fsync.c: Likewise.
16193 * misc/ftruncate.c: Likewise.
16194 * misc/futimes.c: Likewise.
16195 * misc/futimesat.c: Likewise.
16196 * misc/getdomain.c: Likewise.
16197 * misc/getdtsz.c: Likewise.
16198 * misc/gethostid.c: Likewise.
16199 * misc/gethostname.c: Likewise.
16200 * misc/getloadavg.c: Likewise.
16201 * misc/getpagesize.c: Likewise.
16202 * misc/getsysstats.c: Likewise.
16203 * misc/getxattr.c: Likewise.
16204 * misc/gtty.c: Likewise.
16205 * misc/ioctl.c: Likewise.
16206 * misc/lgetxattr.c: Likewise.
16207 * misc/listxattr.c: Likewise.
16208 * misc/llistxattr.c: Likewise.
16209 * misc/lremovexattr.c: Likewise.
16210 * misc/lsetxattr.c: Likewise.
16211 * misc/lutimes.c: Likewise.
16212 * misc/madvise.c: Likewise.
16213 * misc/mincore.c: Likewise.
16214 * misc/mlock.c: Likewise.
16215 * misc/mlockall.c: Likewise.
16216 * misc/mmap.c: Likewise.
16217 * misc/mprotect.c: Likewise.
16218 * misc/msync.c: Likewise.
16219 * misc/munlock.c: Likewise.
16220 * misc/munlockall.c: Likewise.
16221 * misc/munmap.c: Likewise.
16222 * misc/preadv.c: Likewise.
16223 * misc/preadv64.c: Likewise.
16224 * misc/ptrace.c: Likewise.
16225 * misc/pwritev.c: Likewise.
16226 * misc/pwritev64.c: Likewise.
16227 * misc/readv.c: Likewise.
16228 * misc/reboot.c: Likewise.
16229 * misc/remap_file_pages.c: Likewise.
16230 * misc/removexattr.c: Likewise.
16231 * misc/revoke.c: Likewise.
16232 * misc/select.c: Likewise.
16233 * misc/setdomain.c: Likewise.
16234 * misc/setegid.c: Likewise.
16235 * misc/seteuid.c: Likewise.
16236 * misc/sethostid.c: Likewise.
16237 * misc/sethostname.c: Likewise.
16238 * misc/setregid.c: Likewise.
16239 * misc/setreuid.c: Likewise.
16240 * misc/setxattr.c: Likewise.
16241 * misc/sstk.c: Likewise.
16242 * misc/stty.c: Likewise.
16243 * misc/swapoff.c: Likewise.
16244 * misc/swapon.c: Likewise.
16245 * misc/sync.c: Likewise.
16246 * misc/syncfs.c: Likewise.
16247 * misc/syscall.c: Likewise.
16248 * misc/truncate.c: Likewise.
16249 * misc/ualarm.c: Likewise.
16250 * misc/usleep.c: Likewise.
16251 * misc/ustat.c: Likewise.
16252 * misc/utimes.c: Likewise.
16253 * misc/vhangup.c: Likewise.
16254 * misc/writev.c: Likewise.
16255 * posix/_exit.c: Likewise.
16256 * posix/alarm.c: Likewise.
16257 * posix/execve.c: Likewise.
16258 * posix/fexecve.c: Likewise.
16259 * posix/fork.c: Likewise.
16260 * posix/fpathconf.c: Likewise.
16261 * posix/getaddrinfo.c: Likewise.
16262 * posix/getegid.c: Likewise.
16263 * posix/geteuid.c: Likewise.
16264 * posix/getgid.c: Likewise.
16265 * posix/getgroups.c: Likewise.
16266 * posix/getlogin.c: Likewise.
16267 * posix/getlogin_r.c: Likewise.
16268 * posix/getpgid.c: Likewise.
16269 * posix/getpid.c: Likewise.
16270 * posix/getppid.c: Likewise.
16271 * posix/getresgid.c: Likewise.
16272 * posix/getresuid.c: Likewise.
16273 * posix/getsid.c: Likewise.
16274 * posix/getuid.c: Likewise.
16275 * posix/glob64.c: Likewise.
16276 * posix/nanosleep.c: Likewise.
16277 * posix/pathconf.c: Likewise.
16278 * posix/pause.c: Likewise.
16279 * posix/posix_madvise.c: Likewise.
16280 * posix/pread.c: Likewise.
16281 * posix/pread64.c: Likewise.
16282 * posix/pwrite.c: Likewise.
16283 * posix/pwrite64.c: Likewise.
16284 * posix/sched_getaffinity.c: Likewise.
16285 * posix/sched_getp.c: Likewise.
16286 * posix/sched_gets.c: Likewise.
16287 * posix/sched_primax.c: Likewise.
16288 * posix/sched_primin.c: Likewise.
16289 * posix/sched_rr_gi.c: Likewise.
16290 * posix/sched_setaffinity.c: Likewise.
16291 * posix/sched_setp.c: Likewise.
16292 * posix/sched_sets.c: Likewise.
16293 * posix/sched_yield.c: Likewise.
16294 * posix/setgid.c: Likewise.
16295 * posix/setlogin.c: Likewise.
16296 * posix/setpgid.c: Likewise.
16297 * posix/setresgid.c: Likewise.
16298 * posix/setresuid.c: Likewise.
16299 * posix/setsid.c: Likewise.
16300 * posix/setuid.c: Likewise.
16301 * posix/sleep.c: Likewise.
16302 * posix/spawni.c: Likewise.
16303 * posix/sysconf.c: Likewise.
16304 * posix/times.c: Likewise.
16305 * posix/wait.c: Likewise.
16306 * posix/wait3.c: Likewise.
16307 * posix/wait4.c: Likewise.
16308 * posix/waitpid.c: Likewise.
16309 * resolv/gai_sigqueue.c: Likewise.
16310 * resource/getpriority.c: Likewise.
16311 * resource/getrlimit.c: Likewise.
16312 * resource/getrusage.c: Likewise.
16313 * resource/nice.c: Likewise.
16314 * resource/setpriority.c: Likewise.
16315 * resource/setrlimit.c: Likewise.
16316 * resource/ulimit.c: Likewise.
16317 * rt/aio_cancel.c: Likewise.
16318 * rt/aio_fsync.c: Likewise.
16319 * rt/aio_read.c: Likewise.
16320 * rt/aio_sigqueue.c: Likewise.
16321 * rt/aio_suspend.c: Likewise.
16322 * rt/aio_write.c: Likewise.
16323 * rt/clock_getres.c: Likewise.
16324 * rt/clock_gettime.c: Likewise.
16325 * rt/clock_nanosleep.c: Likewise.
16326 * rt/clock_settime.c: Likewise.
16327 * rt/lio_listio.c: Likewise.
16328 * rt/mq_close.c: Likewise.
16329 * rt/mq_getattr.c: Likewise.
16330 * rt/mq_notify.c: Likewise.
16331 * rt/mq_open.c: Likewise.
16332 * rt/mq_receive.c: Likewise.
16333 * rt/mq_send.c: Likewise.
16334 * rt/mq_setattr.c: Likewise.
16335 * rt/mq_timedreceive.c: Likewise.
16336 * rt/mq_timedsend.c: Likewise.
16337 * rt/mq_unlink.c: Likewise.
16338 * rt/shm_open.c: Likewise.
16339 * rt/shm_unlink.c: Likewise.
16340 * rt/timer_create.c: Likewise.
16341 * rt/timer_delete.c: Likewise.
16342 * rt/timer_getoverr.c: Likewise.
16343 * rt/timer_gettime.c: Likewise.
16344 * rt/timer_settime.c: Likewise.
16345 * setjmp/__longjmp.c: Likewise.
16346 * setjmp/setjmp.c: Likewise.
16347 * signal/kill.c: Likewise.
16348 * signal/killpg.c: Likewise.
16349 * signal/raise.c: Likewise.
16350 * signal/sigaction.c: Likewise.
16351 * signal/sigaltstack.c: Likewise.
16352 * signal/sigblock.c: Likewise.
16353 * signal/sigignore.c: Likewise.
16354 * signal/sigintr.c: Likewise.
16355 * signal/signal.c: Likewise.
16356 * signal/sigpause.c: Likewise.
16357 * signal/sigpending.c: Likewise.
16358 * signal/sigqueue.c: Likewise.
16359 * signal/sigreturn.c: Likewise.
16360 * signal/sigset.c: Likewise.
16361 * signal/sigsetmask.c: Likewise.
16362 * signal/sigstack.c: Likewise.
16363 * signal/sigsuspend.c: Likewise.
16364 * signal/sigtimedwait.c: Likewise.
16365 * signal/sigvec.c: Likewise.
16366 * signal/sigwait.c: Likewise.
16367 * signal/sigwaitinfo.c: Likewise.
16368 * signal/sysv_signal.c: Likewise.
16369 * socket/accept.c: Likewise.
16370 * socket/accept4.c: Likewise.
16371 * socket/bind.c: Likewise.
16372 * socket/connect.c: Likewise.
16373 * socket/getpeername.c: Likewise.
16374 * socket/getsockname.c: Likewise.
16375 * socket/getsockopt.c: Likewise.
16376 * socket/isfdtype.c: Likewise.
16377 * socket/listen.c: Likewise.
16378 * socket/recv.c: Likewise.
16379 * socket/recvfrom.c: Likewise.
16380 * socket/recvmsg.c: Likewise.
16381 * socket/send.c: Likewise.
16382 * socket/sendmsg.c: Likewise.
16383 * socket/sendto.c: Likewise.
16384 * socket/setsockopt.c: Likewise.
16385 * socket/shutdown.c: Likewise.
16386 * socket/sockatmark.c: Likewise.
16387 * socket/socket.c: Likewise.
16388 * socket/socketpair.c: Likewise.
16389 * stdio-common/ctermid.c: Likewise.
16390 * stdio-common/cuserid.c: Likewise.
16391 * stdio-common/remove.c: Likewise.
16392 * stdio-common/rename.c: Likewise.
16393 * stdio-common/renameat.c: Likewise.
16394 * stdio-common/tempname.c: Likewise.
16395 * stdlib/getcontext.c: Likewise.
16396 * stdlib/makecontext.c: Likewise.
16397 * stdlib/setcontext.c: Likewise.
16398 * stdlib/swapcontext.c: Likewise.
16399 * stdlib/system.c: Likewise.
16400 * streams/fattach.c: Likewise.
16401 * streams/fdetach.c: Likewise.
16402 * streams/getmsg.c: Likewise.
16403 * streams/getpmsg.c: Likewise.
16404 * streams/putmsg.c: Likewise.
16405 * streams/putpmsg.c: Likewise.
16406 * sysdeps/unix/bsd/getpt.c: Likewise.
16407 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16408 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16409 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16411 Likewise.
16412 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16413 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16414 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16415 * sysvipc/msgctl.c: Likewise.
16416 * sysvipc/msgget.c: Likewise.
16417 * sysvipc/msgrcv.c: Likewise.
16418 * sysvipc/msgsnd.c: Likewise.
16419 * sysvipc/semctl.c: Likewise.
16420 * sysvipc/semget.c: Likewise.
16421 * sysvipc/semop.c: Likewise.
16422 * sysvipc/semtimedop.c: Likewise.
16423 * sysvipc/shmat.c: Likewise.
16424 * sysvipc/shmctl.c: Likewise.
16425 * sysvipc/shmdt.c: Likewise.
16426 * sysvipc/shmget.c: Likewise.
16427 * termios/tcdrain.c: Likewise.
16428 * termios/tcflow.c: Likewise.
16429 * termios/tcflush.c: Likewise.
16430 * termios/tcgetattr.c: Likewise.
16431 * termios/tcgetpgrp.c: Likewise.
16432 * termios/tcsendbrk.c: Likewise.
16433 * termios/tcsetattr.c: Likewise.
16434 * termios/tcsetpgrp.c: Likewise.
16435 * time/adjtime.c: Likewise.
16436 * time/clock.c: Likewise.
16437 * time/getitimer.c: Likewise.
16438 * time/gettimeofday.c: Likewise.
16439 * time/setitimer.c: Likewise.
16440 * time/settimeofday.c: Likewise.
16441 * time/stime.c: Likewise.
16442 * time/time.c: Likewise.
16443
164442012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16445
a20492cf
PT
16446 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16447 /usr/old/bin.
16448
72e182e3
PT
16449 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16450 instead of spaces.
16451 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16452
fbeafede
JM
164532012-11-03 Joseph Myers <joseph@codesourcery.com>
16454
5b5b04d6
JM
16455 [BZ #14796]
16456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16457 FE_TONEAREST before applying Dekker multiplication and Knuth
16458 addition. Clear inexact exceptions and check for exact zero
16459 results afterwards.
16460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16461 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16463 * math/libm-test.inc (fma_test): Add more tests.
16464 (fma_test_towardzero): Likewise.
16465 (fma_test_downward): Likewise.
16466 (fma_test_upward): Likewise.
16467 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16468 function.
16469 (libc_fesetround): New macro.
16470 (libc_fesetroundf): Likewise.
16471 (libc_fesetroundl): Likewise.
16472 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16473 function.
16474 (libc_fesetround_387): Likewise.
16475 (libc_fesetroundf): New macro.
16476 (libc_fesetround): Likewise.
16477 (libc_fesetroundl): Likewise.
16478 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16479 function.
16480 (libc_fesetroundf): New macro.
16481 (libc_fesetround): Likewise.
16482 (libc_fesetroundl): Likewise.
16483 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16484 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16485 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16486 libm_hidden_ver.
16487 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16488 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16489 libm_hidden_def.
16490 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16491 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16492 libm_hidden_ver.
16493 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16494 libm_hidden_def.
16495
fbeafede
JM
16496 [BZ #3439]
16497 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16498 integer constant usable in #if and use that to give value to enum
16499 constant.
16500 (FE_DIVBYZERO): Likewise.
16501 (FE_UNDERFLOW): Likewise.
16502 (FE_OVERFLOW): Likewise.
16503 (FE_INVALID): Likewise.
16504 (FE_INVALID_SNAN): Likewise.
16505 (FE_INVALID_ISI): Likewise.
16506 (FE_INVALID_IDI): Likewise.
16507 (FE_INVALID_ZDZ): Likewise.
16508 (FE_INVALID_IMZ): Likewise.
16509 (FE_INVALID_COMPARE): Likewise.
16510 (FE_INVALID_SOFTWARE): Likewise.
16511 (FE_INVALID_SQRT): Likewise.
16512 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16513 (FE_TONEAREST): Likewise.
16514 (FE_TOWARDZERO): Likewise.
16515 (FE_UPWARD): Likewise.
16516 (FE_DOWNWARD): Likewise.
16517 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16518 (FE_DIVBYZERO): Likewise.
16519 (FE_OVERFLOW): Likewise.
16520 (FE_UNDERFLOW): Likewise.
16521 (FE_INEXACT): Likewise.
16522 (FE_TONEAREST): Likewise.
16523 (FE_DOWNWARD): Likewise.
16524 (FE_UPWARD): Likewise.
16525 (FE_TOWARDZERO): Likewise.
16526 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16527 (FE_UNDERFLOW): Likewise.
16528 (FE_OVERFLOW): Likewise.
16529 (FE_DIVBYZERO): Likewise.
16530 (FE_INVALID): Likewise.
16531 (FE_TONEAREST): Likewise.
16532 (FE_TOWARDZERO): Likewise.
16533 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16534 (FE_OVERFLOW): Likewise.
16535 (FE_UNDERFLOW): Likewise.
16536 (FE_DIVBYZERO): Likewise.
16537 (FE_INEXACT): Likewise.
16538 (FE_TONEAREST): Likewise.
16539 (FE_TOWARDZERO): Likewise.
16540 (FE_UPWARD): Likewise.
16541 (FE_DOWNWARD): Likewise.
16542 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16543 (FE_DIVBYZERO): Likewise.
16544 (FE_OVERFLOW): Likewise.
16545 (FE_UNDERFLOW): Likewise.
16546 (FE_INEXACT): Likewise.
16547 (FE_TONEAREST): Likewise.
16548 (FE_DOWNWARD): Likewise.
16549 (FE_UPWARD): Likewise.
16550 (FE_TOWARDZERO): Likewise.
16551
105ca950
CM
165522012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16553
16554 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16555
a542b389
AS
165562012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16557
16558 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16559 commands. Quote $PWD.
16560 (blacklist_exports): Don't use remove_newlines. Replace "declare
16561 -x" by "export".
16562 (remove_newlines): Remove.
16563
f62c8abc
L
165642012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16565
16566 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16567 * stdlib/stdlib.h (atof): Moved to ...
16568 * include/bits/stdlib-float.h: Here. New file.
16569 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16570 * stdlib/bits/stdlib-float.h: New file.
16571 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16572 -mno-sse -mno-mmx.
16573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16574 <xmmintrin.h>.
16575
0155d5b2
JM
165762012-11-02 Joseph Myers <joseph@codesourcery.com>
16577
a68d0680
JM
16578 * conform/conformtest.pl (@headers): Add fenv.h.
16579 * conform/data/fenv.h-data: New file.
16580 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16581 include of <math/fenv.h>.
16582
caf7f573
JM
16583 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16584 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16585 && !UNIX98]. Enables tests for XOPEN2K8.
16586 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16587 POSIX2008]: Likewise.
16588
6c073ad6
JM
16589 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16590 (struct rusage): Do not expect type or its members.
16591
0155d5b2
JM
16592 [BZ #3439]
16593 * math/math.h (FP_NAN): Define macro to integer constant usable in
16594 #if and use that to give value to enum constant.
16595 (FP_INFINITE): Likewise.
16596 (FP_ZERO): Likewise.
16597 (FP_SUBNORMAL): Likewise.
16598 (FP_NORMAL): Likewise.
16599
b5dcacb4
AS
166002012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16601
16602 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16603 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16604 arguments.
16605
f7934be8
RM
166062012-11-02 Roland McGrath <roland@hack.frob.com>
16607
16608 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16609 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16610 autoconf-time if not.
16611 * configure.in: Remove AC_PREREQ.
16612
d7d08bde
TMQMF
166132012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16614
16615 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16616 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16617 of the internal implementation.
16618
dcdae19a
JM
166192012-11-02 Joseph Myers <joseph@codesourcery.com>
16620
16621 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16622 except include of <misc/sys/syslog.h>.
16623
d6cffd3e
AS
166242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16625
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16627 function returns with a NULL context exit with zero.
16628
b3563932
TMQMF
166292012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16630
16631 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16632
b288a93d
L
166332012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16634
16635 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16636 (run_program_cmd): This.
16637 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16638 (tst_langinfo): New variable. Use it.
16639
a2421a68
SAS
166402012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16641
16642 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16643 floating point opcodes.
16644
6f796e1b
TS
166452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16646
7402596b
TS
16647 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16648 variable.
16649
d0d4f868
TS
16650 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16651
6f796e1b
TS
16652 * sysdeps/mach/hurd/powerpc: Remove directory.
16653 * sysdeps/mach/powerpc: Likewise.
16654
4da224a2
AS
166552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16656
16657 * scripts/check-local-headers.sh: Ignore c++ headers.
16658
341dd673
TS
166592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16660
16661 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16662 __libc_cleanup_region_start argument.
16663
473611b2
JM
166642012-11-01 Joseph Myers <joseph@codesourcery.com>
16665
16666 [BZ #14784]
16667 [BZ #14785]
16668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16669 x * y using scaling, not as x * y + z.
16670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16672 * math/libm-test.inc (fma_test): Add more tests.
16673 (fma_test_towardzero): Likewise.
16674 (fma_test_downward): Likewise.
16675 (fma_test_upward): Likewise.
16676
4078da3d
TS
166772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16678
16679 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16680
903252aa
JM
166812012-10-31 Joseph Myers <joseph@codesourcery.com>
16682
16683 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16684 New variable.
16685
cbc818d0
TS
166862012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16687
16688 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16689
5a03cb1e
AS
166902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16691
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16693 Fix sort order.
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16695 Likewise.
16696
90aff2ff
TMQMF
166972012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16698
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16700 Fix the order of the list for glibc 2.17.
16701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16702 Likewise.
16703
1818fcb7
AS
167042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16705
16706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16707
ef82f4da
JM
167082012-10-31 Joseph Myers <joseph@codesourcery.com>
16709
16a0e2ec
JM
16710 [BZ #14610]
16711 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16712 for low part of x being zero before using __atanl (y).
16713 * math/libm-test.inc (atan2_test): Add another test.
16714
0eb69512
JM
16715 * manual/install.texi (Configuring and compiling): Document
16716 general use of test-wrapper and test-wrapper-env.
16717 * INSTALL: Regenerated.
16718
ef82f4da
JM
16719 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16720 (__fma): Do not extract and scale down low bits on after-rounding
16721 systems when result rounded to normal precision would have normal
16722 exponent.
16723 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16724 (__fmal): Do not extract and scale down low bits on after-rounding
16725 systems when result rounded to normal precision would have normal
16726 exponent.
16727 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16728 (__fmal): Do not extract and scale down low bits on after-rounding
16729 systems when result rounded to normal precision would have normal
16730 exponent.
16731 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16732 macro.
16733 (fma_test): Add more tests.
16734 (fma_test_towardzero): Likewise.
16735 (fma_test_downward): Likewise.
16736 (fma_test_upward): Likewise.
16737
954ef0d9
L
167382012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16739
16740 * sysdeps/i386/tininess.h: Renamed to ...
16741 * sysdeps/x86/tininess.h: This.
16742 * sysdeps/x86_64/tininess.h: Removed.
16743
df61ffb2
JM
167442012-10-30 Joseph Myers <joseph@codesourcery.com>
16745
16746 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16747 input. Use $(build-program-cmd).
16748 ($(objpfx)tst-array1-static.out): Likewise.
16749 ($(objpfx)tst-array2.out): Likewise.
16750 ($(objpfx)tst-array3.out): Likewise.
16751 ($(objpfx)tst-array4.out): Likewise.
16752 ($(objpfx)tst-array5.out): Likewise.
16753 ($(objpfx)tst-array5-static.out): Likewise.
16754
01767843
CM
167552012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16756
47cc1490
CM
16757 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16758 if defined.
16759
01767843
CM
16760 * nss/nsswitch.h (nss_interface_function): Provide new
16761 macro for use with NSS functions.
16762 * grp/initgroups.c: Use new macro.
16763 * nss/getXXbyYY.c: Likewise.
16764 * nss/getXXbyYY_r.c: Likewise.
16765 * nss/getXXent.c: Likewise.
16766 * nss/getXXent_r.c: Likewise.
16767 * sysdeps/posix/getaddrinfo.c: Likewise.
16768
8321aa97
AJ
167692012-10-30 Andreas Jaeger <aj@suse.de>
16770
16771 * po/ru.po: Update Russion translation from translation project.
16772
2a27fd6d
JM
167732012-10-30 Joseph Myers <joseph@codesourcery.com>
16774
8627a232
JM
16775 [BZ #14152]
16776 [BZ #14783]
16777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16778 result and shift together with sticky bit instead of replicating
16779 round-to-nearest rounding.
16780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16782 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16783 missing underflow exceptions.
16784 (fma_test_towardzero): Add more tests.
16785 (fma_test_downward): Likewise.
16786 (fma_test_upward): Likewise.
16787
2a27fd6d
JM
16788 [BZ #14047]
16789 * sysdeps/generic/tininess.h: New file.
16790 * sysdeps/i386/tininess.h: Likewise.
16791 * sysdeps/sh/tininess.h: Likewise.
16792 * sysdeps/x86_64/tininess.h: Likewise.
16793 * stdlib/tst-strtod-underflow.c: Likewise.
16794 * stdlib/tst-tininess.c: Likewise.
16795 * stdlib/strtod_l.c: Include <tininess.h>.
16796 (round_and_return): Do not set errno for exact underflow cases.
16797 Force an underflow exception when setting errno for underflow.
16798 Determine underflow based on rounding to normal precision if
16799 TININESS_AFTER_ROUNDING.
16800 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16801 ERANGE for exact underflow cases.
16802 * stdlib/Makefile (tests): Add tst-tininess and
16803 tst-strtod-underflow.
16804 ($(objpfx)tst-tininess): Use $(link-libm).
16805 ($(objpfx)tst-strtod-underflow): Likewise.
16806
e7170363
AJ
168072012-10-30 Andreas Jaeger <aj@suse.de>
16808
e5088dc6
AJ
16809 [BZ#14767]
16810 * elf/Makefile (tests): Remove conditional for have-initfini-array
16811 since this is now always required and the variable does not exist
16812 anymore.
16813 (tests-static): Likewise.
16814 (modules-names): Likewise.
16815
e7170363 16816 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16817
16818 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16819 merged with constructor/destructor.
16820 (init_array): Likewise.
16821 * elf/tst-array2dep.c (fini_array): Likewise.
16822 (init_array): Likewise.
16823
60457d8a
MF
168242012-10-29 Mike Frysinger <vapier@gentoo.org>
16825
16826 * manual/message.texi: Delete @cartouche tags.
16827
8bece752
PT
168282012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16829
94ce799f
PT
16830 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16831 EOPNOTSUPP.
16832 * sysdeps/mach/hurd/fsync.c: Likewise.
16833
8bece752
PT
16834 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16835 [_POSIX_REALTIME_SIGNALS]: Change condition to
16836 [_POSIX_REALTIME_SIGNALS > 0].
16837
86ebe6b1
AJ
168382012-10-27 Andreas Jaeger <aj@suse.de>
16839
16840 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16841 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16843 [__WORDSIZE != 64]: Likewise.
16844
54399c08
L
168452012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16846
16847 * iconvdata/tst-table.sh: Remove ${SHELL}.
16848 * iconvdata/tst-tables.sh: Likewise.
16849
e2211bed
DM
168502012-10-25 David S. Miller <davem@davemloft.net>
16851
16852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16853 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16854 of strtoull.
16855
f303f97c
DM
16856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16857 ifunc-impl-list.c
16858 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16859 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16860 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16861 file.
16862
1e9d84cd
RM
168632012-10-25 Roland McGrath <roland@hack.frob.com>
16864
16865 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16866 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16867 __getdirentries.
16868
df381762
JM
168692012-10-25 Joseph Myers <joseph@codesourcery.com>
16870 Jim Blandy <jimb@codesourcery.com>
16871
16872 * scripts/cross-test-ssh.sh: New file.
16873 * manual/install.texi (Configuring and compiling): Document use of
16874 cross-test-ssh.sh.
16875 * INSTALL: Regenerated.
16876
bff64913
PT
168772012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16878
16879 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16880 EOPNOTSUPP.
16881
25fe8932
JM
168822012-10-25 Joseph Myers <joseph@codesourcery.com>
16883
16884 * Makeconfig (run-program-prefix): Fix comment.
16885
cc1290d0
JM
168862012-10-24 Joseph Myers <joseph@codesourcery.com>
16887 Jim Blandy <jimb@codesourcery.com>
16888
16889 * Makeconfig (test-wrapper): New variable,
16890 (test-wrapper-env): Likewise.
16891 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16892 (run-built-tests): Define to yes.
16893 (run-program-prefix): Use $(test-wrapper).
16894 (built-program-cmd): Likewise.
16895 * Rules (make-test-out): Use $(test-wrapper-env) and
16896 $(host-built-program-cmd).
16897 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16898 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16899 tst-pathopt.sh.
16900 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16901 $(test-wrapper-env) to tst-rtld-load-self.sh.
16902 ($(objpfx)order2.out): Use $(test-wrapper).
16903 ($(objpfx)tst-initorder.out): Likewise.
16904 ($(objpfx)tst-initorder2.out): Likewise.
16905 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16906 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16907 (test_wrapper_env): New variable. Use it to run ld.so.
16908 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16909 Use it to run ld.so.
16910 (test_wrapper_env): Likewise.
16911 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16912 $(test-wrapper) to run-iconv-test.sh.
16913 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16914 (ICONV): Use $test_wrapper.
16915 * posix/Makefile ($(objpfx)globtest.out): Pass
16916 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16917 globtest.sh, not $(run-program-prefix).
16918 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16919 (test_wrapper): Likewise.
16920 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16921 set together with run_via_rtld_prefix.
16922 (run_program_prefix): Define in terms of test_wrapper and
16923 run_via_rtld_prefix.
16924
6e6249d0
RM
169252012-10-24 Roland McGrath <roland@hack.frob.com>
16926
16927 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16928 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16929 Targets removed.
16930
16931 [BZ #14743]
16932 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16933 Declare __clock_getres, __clock_gettime, __clock_settime,
16934 __clock_nanosleep, and __clock_getcpuclockid.
16935 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16936 Remove librt_hidden_def (clock_gettime).
16937 * sysdeps/unix/clock_gettime.c: Likewise.
16938 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16939 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16940 * rt/clock_getres.c: Define __clock_getres as an alias.
16941 * sysdeps/posix/clock_getres.c: Likewise.
16942 * rt/clock_settime.c: Define __clock_settime as an alias.
16943 * sysdeps/unix/clock_settime.c: Likewise.
16944 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16945 * sysdeps/unix/clock_nanosleep.c: Likewise.
16946 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16947 * rt/clock-compat.c: New file.
16948 * rt/Makefile (librt-routines): Add clock-compat and move
16949 $(clock-routines) to ...
16950 (routines): ... here, new variable.
16951 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16952 Don't add get_clockfreq here.
16953 * rt/Versions (libc: GLIBC_2.17): New version set.
16954 Add clock_* symbols here.
16955 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16956 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16957 (GLIBC_2.17): Add clock_* symbols.
16958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16962 Likewise.
16963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16964 Likewise.
16965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16969 * NEWS: Mention the move.
16970
16971 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16972 Use __open, __read, __close rather than their public counterparts.
16973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16974 (__get_clockfreq_via_cpuinfo): Likewise.
16975 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16976 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16977
16978 * config.h.in (HAVE_IFUNC): New #undef.
16979 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16980 was successful.
16981 * configure: Regenerated.
16982
0cae3f4b
MF
169832012-10-24 Mike Frysinger <vapier@gentoo.org>
16984
16985 * configure.in: Move READELF check to start of file.
16986 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16987 libc_cv_asm_gnu_indirect_function in the process.
16988 * configure: Regenerated.
16989
8175a253
MF
169902012-10-24 Mike Frysinger <vapier@gentoo.org>
16991
16992 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16993 send the output to /dev/null.
16994 (libc_cv_cc_with_libunwind): Likewise.
16995 (libc_cv_as_noexecstack): Likewise.
16996 * configure: Regenerate.
16997
0708a7d1
JM
169982012-10-24 Joseph Myers <joseph@codesourcery.com>
16999
10b40d85
JM
17000 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17001
0708a7d1
JM
17002 * posix/globtest.sh (TMPDIR): Do not set.
17003 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17004 (testout): Likewise.
17005
9fddec1a
AJ
170062012-10-24 Andreas Jaeger <aj@suse.de>
17007
3a8db22f
AJ
17008 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17009 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17010 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17011 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17012 posix_fadvise64, posix_fallocate64.
17013
9fddec1a
AJ
17014 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17015 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17016 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17017 Likewise.
17018 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17019 Likewise.
17020 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17021
17022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17023 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17024 <bits/fcntl-linux.h>.
17025 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17026
17027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17028 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17029 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17030 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17031 [__WORDSIZE != 64]: Likewise.
17032
ebfd1bbd
JM
170332012-10-23 Joseph Myers <joseph@codesourcery.com>
17034
03ac099f
JM
17035 * Makeconfig (run-built-tests): New variable.
17036 * Rules [$(cross-compiling) = yes]: Change condition to
17037 [$(run-built-tests) = no].
17038 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17039 to [$(run-built-tests) = yes].
17040 * elf/Makefile [$(cross-compiling) = no]: Likewise
17041 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17042 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17043 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17044 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17045 * io/Makefile [$(cross-compiling) = no]: Likewise.
17046 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17047 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17048 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17049 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17050 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17051 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17052 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17053 * string/Makefile [$(cross-compiling) = no]: Likewise.
17054
ebfd1bbd
JM
17055 * posix/Makefile ($(objpfx)globtest.out): Pass
17056 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17057 $(rtld-installed-name).
17058 * posix/globtest.sh (elf_objpfx): Remove variable.
17059 (rtld_installed_name): Likewise.
17060 (library_path): Likewise.
17061 (run_program_prefix): New variable. Use for running globtest
17062 binary.
17063
166bca24
JB
170642012-10-23 Jim Blandy <jimb@codesourcery.com>
17065 Joseph Myers <joseph@codesourcery.com>
17066
17067 * Makeconfig (host-built-program-cmd): New variable.
17068 * elf/Makefile (tst-stackguard1-ARGS): Use
17069 $(host-built-program-cmd).
17070 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17071 (tst-spawn-ARGS): Likewise.
17072 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17073
88866099
JM
170742012-10-23 Joseph Myers <joseph@codesourcery.com>
17075 Jim Blandy <jimb@codesourcery.com>
17076
17077 * Makeconfig (run-via-rtld-prefix): New variable.
17078 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17079 (built-program-cmd): Likewise.
17080
b4b4c296
AJ
170812012-10-22 Andreas Jaeger <aj@suse.de>
17082
17083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17084 __O_RSYNC if it exists, otherwise to O_SYNC.
17085
6fb54a22
JB
170862012-10-22 Jim Blandy <jimb@codesourcery.com>
17087 Joseph Myers <joseph@codesourcery.com>
17088
17089 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17090 /dev/null.
17091 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17092 from /dev/null
17093 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17094 /dev/null.
17095
481b90b9
AJ
170962012-10-22 Andreas Jaeger <aj@suse.de>
17097
2a0e2669
AJ
17098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17099 Define always.
17100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17101
76e38f9a
AJ
17102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17103 bits/fcntl-linux.h.
17104
7cd37b43
AJ
17105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17106 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17107
481b90b9
AJ
17108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17109 to __O_LARGEFILE.
17110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17111 to __O_LARGEFILE.
17112
aba75984
JB
171132012-10-21 Jim Blandy <jimb@codesourcery.com>
17114 Joseph Myers <joseph@codesourcery.com>
17115
17116 * config.make.in (NM): New variable.
17117
88d4247f
AJ
171182012-10-21 Andreas Jaeger <aj@suse.de>
17119
17120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17121 definitions and declarations that are provided by
17122 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17123
f2eed205
L
171242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17125
17126 [BZ #14683]
17127 * elf/Makefile (tests-static): Add tst-leaks1-static.
17128 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17129 ($(objpfx)tst-leaks1-static): New rule.
17130 ($(objpfx)tst-leaks1-static-mem): Likewise.
17131 (tst-leaks1-static-ENV): New macro.
17132 * elf/dl-open.c (dl_open_worker): Check the main application
17133 only if SHARED is defined.
17134 * elf/tst-leaks1-static.c: New file.
17135
335e6931
AJ
171362012-10-20 Andreas Jaeger <aj@suse.de>
17137
17138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17139 generic values for Linux.
17140 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17141 and declarations that are provided by <bits/fcntl-linux.h> and
17142 include <bits/fcntl-linux.h>.
17143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17145
ac5c94d3
RM
171462012-10-20 Roland McGrath <roland@hack.frob.com>
17147
17148 * io/fcntl.h: Move include of <bits/types.h> to the top and
17149 include it unconditionally.
17150
de54b33a
L
171512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17152
228cfb01
L
17153 * wcsmbs/Makefile (tests-ifunc): New variable.
17154 (tests): Add $(tests-ifunc).
17155 * wcsmbs/test-wcschr-ifunc.c: New file.
17156 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17157 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17158 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17159 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17160 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17161
69f07e5f
L
17162 * string/Makefile (tests-ifunc): New variable.
17163 (tests): Add $(tests-ifunc).
17164 * string/test-memccpy.c (TEST_NAME): New macro.
17165 * string/test-memchr.c (TEST_NAME): Likewise.
17166 * string/test-memcmp.c (TEST_NAME): Likewise.
17167 * string/test-memcpy.c (TEST_NAME): Likewise.
17168 * string/test-memmem.c (TEST_NAME): Likewise.
17169 * string/test-memmove.c (TEST_NAME): Likewise.
17170 * string/test-memset.c (TEST_NAME): Likewise.
17171 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17172 * string/test-stpcpy.c (TEST_NAME): Likewise.
17173 * string/test-stpncpy.c (TEST_NAME): Likewise.
17174 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17175 * string/test-strcasestr.c (TEST_NAME): Likewise.
17176 * string/test-strcat.c (TEST_NAME): Likewise.
17177 * string/test-strchr.c (TEST_NAME): Likewise.
17178 * string/test-strcmp.c(TEST_NAME): Likewise.
17179 * string/test-strcpy.c (TEST_NAME): Likewise.
17180 * string/test-strcspn.c (TEST_NAME): Likewise.
17181 * string/test-strlen.c (TEST_NAME): Likewise.
17182 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17183 * string/test-strncmp.c (TEST_NAME): Likewise.
17184 * string/test-strncpy.c (TEST_NAME): Likewise.
17185 * string/test-strnlen.c (TEST_NAME): Likewise.
17186 * string/test-strpbrk.c (TEST_NAME): Likewise.
17187 * string/test-strrchr.c (TEST_NAME): Likewise.
17188 * string/test-strspn.c (TEST_NAME): Likewise.
17189 * string/test-strstr.c (TEST_NAME): Likewise.
17190 * string/test-bcopy-ifunc.c: New file.
17191 * string/test-bzero-ifunc.c: Likewise.
17192 * string/test-memccpy-ifunc.c: Likewise.
17193 * string/test-memchr-ifunc.c: Likewise.
17194 * string/test-memcmp-ifunc.c: Likewise.
17195 * string/test-memcpy-ifunc.c: Likewise.
17196 * string/test-memmem-ifunc.c: Likewise.
17197 * string/test-memmove-ifunc.c: Likewise.
17198 * string/test-mempcpy-ifunc.c: Likewise.
17199 * string/test-memset-ifunc.c: Likewise.
17200 * string/test-rawmemchr-ifunc.c: Likewise.
17201 * string/test-stpcpy-ifunc.c: Likewise.
17202 * string/test-stpncpy-ifunc.c: Likewise.
17203 * string/test-strcasecmp-ifunc.c: Likewise.
17204 * string/test-strcasestr-ifunc.c: Likewise.
17205 * string/test-strcat-ifunc.c: Likewise.
17206 * string/test-strchr-ifunc.c: Likewise.
17207 * string/test-strchrnul-ifunc.c: Likewise.
17208 * string/test-strcmp-ifunc.c: Likewise.
17209 * string/test-strcpy-ifunc.c: Likewise.
17210 * string/test-strcspn-ifunc.c: Likewise.
17211 * string/test-strlen-ifunc.c: Likewise.
17212 * string/test-strncasecmp-ifunc.c: Likewise.
17213 * string/test-strncat-ifunc.c: Likewise.
17214 * string/test-strncmp-ifunc.c: Likewise.
17215 * string/test-strncpy-ifunc.c: Likewise.
17216 * string/test-strnlen-ifunc.c: Likewise.
17217 * string/test-strpbrk-ifunc.c: Likewise.
17218 * string/test-strrchr-ifunc.c: Likewise.
17219 * string/test-strspn-ifunc.c: Likewise.
17220 * string/test-strstr-ifunc.c: Likewise.
17221
de54b33a
L
17222 * debug/Makefile (tests-ifunc): New variable.
17223 (tests): Add $(tests-ifunc).
17224 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17225 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17226 * debug/test-stpcpy_chk-ifunc.c: New file.
17227 * debug/test-strcpy_chk-ifunc.c: Likewise.
17228
88481c16
SP
172292012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17230
17231 [BZ #13601]
17232 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17233 header is not read in.
17234
135948bd
JM
172352012-10-19 Joseph Myers <joseph@codesourcery.com>
17236
89f1c388
JM
17237 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17238 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17239 directly. Pass built executable to script as
17240 $(built-program-cmd).
17241 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17242 $testprogram without using LD_LIBRARY_PATH and $ldso.
17243
e40a0d21
JM
17244 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17245 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17246 $(rtld-installed-name).
17247 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17248 (rtld_installed_name): Likewise.
17249 (library_path): Likewise.
17250 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17251 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17252 $(run-program-prefix) to tst-tables.sh.
17253 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17254 it to run tst-table-from and tst-table-to.
17255 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17256 Pass it to tst-table.sh.
17257 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17258 $(run-program-prefix) to tst-gettext.sh.
17259 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17260 tst-translit.sh.
17261 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17262 tst-gettext2.sh.
17263 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17264 to run tst-gettext.
17265 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17266 to run tst-gettext2.
17267 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17268 to run tst-translit.
17269 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17270 $(run-program-prefix) to tst-mtrace.sh.
17271 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17272 to run tst-mtrace.
17273 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17274 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17275 $(rtld-installed-name).
17276 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17277 (rtld_installed_name): Likewise.
17278 (run_program_prefix): New variable. Use it to run wordexp-test.
17279
728e272a
JM
17280 * Makeconfig (ARCH): Remove all definitions.
17281 (machine): Likewise.
17282 [ARCH]: Remove conditional code.
17283 [!objdir]: Give error.
17284 [!objdir] (objpfx): Remove.
17285 [!objdir] (common-objpfx): Likewise.
17286 [!objdir] (common-objdir): Likewise.
17287 * configure.in (config_makefile): Remove. Hardcode Makefile in
17288 AC_CONFIG_FILES call.
17289 * configure: Regenerated.
17290
d528cdcf
JM
17291 [BZ #13888]
17292 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17293 or TMPDIR.
17294 (testout): Likewise.
17295
135948bd
JM
17296 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17297 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17298 $(rtld-installed-name).
17299 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17300 (rtld_installed_name): Likwise.
17301 (runit): Remove function.
17302 (run_getconf): New variable, Use it for running getconf binary.
17303
38c78296
L
173042012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17305
17306 [BZ #14716]
17307 * string/test-memmem.c (check_result): New function.
17308 (do_one_test): Use it.
17309 (check1): New function.
17310 (test_main): Use it.
17311
d077f65f
MT
173122012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17313
17314 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17315
ced52c71
JM
173162012-10-18 Joseph Myers <joseph@codesourcery.com>
17317
17318 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17319 (_G_LSEEK64): Likewise.
17320 (_G_MMAP64): Likewise.
17321 (_G_FSTAT64): Likewise.
17322 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17323 (_G_LSEEK64): Likewise.
17324 (_G_MMAP64): Likewise.
17325 (_G_FSTAT64): Likewise.
17326 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17327 unconditional. Call __mmap64 directly.
17328 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17329 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17330 __lseek64 directly.
17331 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17332 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17333 __mmap64 directly.
17334 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17335 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17336 __lseek64 directly.
17337 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17338 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17339 __lseek64 directly.
17340 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17341 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17342 __lseek64 directly.
17343 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17344 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17345 __fxstat64 directly.
17346 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17347 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17348 unconditional.
17349 (freopen64) [!_G_OPEN64]: Remove conditional code.
17350 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17351 unconditional.
17352 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17353 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17354 unconditional.
17355 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17356 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17357 unconditional.
17358 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17359 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17360 unconditional.
17361 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17362 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17363 unconditional.
17364 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17365 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17366 unconditional.
17367 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17368 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17369 unconditional.
17370 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17371
b741de23
SP
173722012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17373
17374 [BZ #12140]
17375 * manual/memory.texi (Malloc Tunable Parameters): Add note
17376 about free list pointers overwriting some perturb bytes.
17377 Wording suggested by Roland McGrath.
17378
f9b9d9c9
JM
173792012-10-17 Joseph Myers <joseph@codesourcery.com>
17380
17381 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17382 (lgamma_test): Likewise.
17383 (tgamma_test): Likewise.
17384
172a631a
FW
173852012-10-16 Florian Weimer <fweimer@redhat.com>
17386
17387 [BZ #14700]
17388 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17389 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17390
e9f37252
MK
173912012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17392
17393 * NEWS: Mention BZ #14716.
17394 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17395 when removing AVAILABLE1_USES_J macro.
17396
d394eb74
L
173972012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17398
17399 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17400 (__bswap_64): __uint64_t for unsigned 64-bit int.
17401
ca38dc17
AS
174022012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17403
17404 * include/string.h (memmem): Declare libc hidden alias.
17405 * string/memmem.c (memmem): Define libc hidden alias.
17406 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17407 __read, __close instead of open, read, close.
17408
9a387d1f
L
174092012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17410
ac49ecaf
L
17411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17412 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17413 global and hidden.
17414 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17415 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17416 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17417 Likewise.
17418 (__rawmemchr_sse2): Likewise.
17419 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17420 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17421 (__strchr_sse2): Likewise.
17422 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17423 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17424 (__strcasecmp_sse2): Likewise.
17425 (__strncasecmp_sse2): Likewise.
17426 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17427 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17428 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17429 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17430 (__strrchr_sse2): Likewise.
17431 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17432 ifunc-impl-list.c.
17433 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17434 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17435 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17436 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17437 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17438 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17439 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17440 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17441 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17442 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17443 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17444 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17445 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17446 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17447 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17448 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17449 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17450 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17451 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17452 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17453 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17454 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17455 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17456 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17457 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17458 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17459 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17460 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17461 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17462 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17463
b090e8ea
L
17464 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17465 global and hidden.
17466 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17467 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17468 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17469 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17470 Likewise.
17471 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17472 Likewise.
17473 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17474 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17475 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17476 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17477 ifunc-impl-list.c.
17478 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17479 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17480 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17481 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17482 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17483 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17484 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17485 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17486 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17487 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17488 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17489 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17490 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17491 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17492 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17493 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17494 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17495 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17496 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17497 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17499 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17500 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17501 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17502 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17503 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17504 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17505 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17506 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17507 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17508 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17509 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17510 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17511 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17512 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17513 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17514 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17515 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17516 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17517 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17518 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17519
11dd4af6
L
17520 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17521 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17522 * include/ifunc-impl-list.h: New file.
17523 * misc/ifunc-impl-list.c: Likewise.
17524 * misc/Makefile (routines): Add ifunc-impl-list.
17525 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17526 * string/test-string.h: Include <ifunc-impl-list.h>.
17527 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17528 impl_array): New variables.
17529 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17530 are defined.
17531 (test_init): Call __libc_ifunc_impl_list to initialize
17532 func_list if TEST_IFUNC and TEST_NAME are defined.
17533
9a387d1f
L
17534 * string/Makefile (strop-tests): Add bcopy and bzero.
17535 * string/test-bcopy.c: New file.
17536 * string/test-bzero.c: Likewise.
17537 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17538 defined.
17539 * string/test-memset.c: Support bzero test if TEST_BZERO is
17540 defined.
17541 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17542 __libc_memmove.
17543 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17544 __libc_memset.
17545 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17546 of memset.
17547
472371b9
JM
175482012-10-10 Joseph Myers <joseph@codesourcery.com>
17549
1e4a9536
JM
17550 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17551 * configure: Regenerated.
17552
d173d12e
JM
17553 * Makeconfig (+link-static-before-libc): Don't include
17554 $(link-static-libc).
17555
472371b9
JM
17556 * libio/libio.h (_IO_pos_t): Remove.
17557
89a3ad0b
AO
175582012-10-10 Alexandre Oliva <aoliva@redhat.com>
17559
17560 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17561 McGrath.
17562
e7451425
AO
175632012-10-10 Alexandre Oliva <aoliva@redhat.com>
17564
17565 * crypt/crypt-entry.c: Include fips-private.h.
17566 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17567 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17568 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17569 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17570
4ba74a35
AO
175712012-10-10 Alexandre Oliva <aoliva@redhat.com>
17572
17573 * crypt/crypt-private.h: Include stdbool.h.
17574 (_ufc_setup_salt_r): Return bool.
17575 * crypt/crypt-entry.c: Include errno.h.
17576 (__crypt_r): Return NULL with EINVAL for bad salt.
17577 * crypt/crypt_util.c (bad_for_salt): New.
17578 (_ufc_setup_salt_r): Check that salt is long enough and within
17579 the specified alphabet.
17580 * crypt/badsalttest.c: New file.
17581 * crypt/Makefile (tests): Add it.
17582 ($(objpfx)badsalttest): New.
17583
f96f1242
MK
175842012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17585
17586 * NEWS: Add entry for BZ #14602.
17587
0e8e0c1c
JM
175882012-10-09 Joseph Myers <joseph@codesourcery.com>
17589
17590 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17591 type-generic.
17592 * math/libm-test.inc: Update comment listing what functions and
17593 macros are tested.
17594 (isgreater_test): New function.
17595 (isgreaterequal_test): Likewise.
17596 (isless_test): Likewise.
17597 (islessequal_test): Likewise.
17598 (islessgreater_test): Likewise.
17599 (isunordered_test): Likewise.
17600 (main): Call the new functions.
17601
273edc5e
RM
176022012-10-09 Roland McGrath <roland@hack.frob.com>
17603
b8493de0
RM
17604 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17605 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17606 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17607 * sysdeps/i386/configure: Regenerated.
17608 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17609 * sysdeps/mach/configure: Regenerated.
17610 * sysdeps/mach/hurd/configure: Regenerated.
17611 * sysdeps/powerpc/configure: Regenerated.
17612 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17613 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17614 * sysdeps/s390/s390-32/configure: Regenerated.
17615 * sysdeps/s390/s390-64/configure: Regenerated.
17616 * sysdeps/sh/configure: Regenerated.
17617 * sysdeps/sparc/configure: Regenerated.
17618 * sysdeps/unix/sysv/linux/configure: Regenerated.
17619 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17620 * sysdeps/x86_64/configure: Regenerated.
17621
273edc5e
RM
17622 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17623 defined. Don't check if MAP is NULL.
17624
c8450f70
JM
176252012-10-09 Joseph Myers <joseph@codesourcery.com>
17626
17627 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17628 (_G_stat64): Likewise.
17629 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17630 (_G_stat64): Likewise.
17631 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17632 instead of struct _G_stat64.
17633 * libio/fileops.c (mmap_remap_check): Likewise.
17634 (decide_maybe_mmap): Likewise.
17635 (_IO_new_file_seekoff): Likewise.
17636 (_IO_file_stat): Likewise.
17637 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17638 _G_off64_t.
17639 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17640 instead of struct _G_stat64.
17641 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17642
57e605ba
MK
176432012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17644
17645 [BZ #14602]
17646 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17647 Replace with ...
17648 (CHECK_EOL): New macro.
17649 (two_way_short_needle): Check beginning of haystack for EOL. Use
17650 CHECK_EOL.
17651 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17652 Replace with CHECK_EOL.
17653 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17654 Replace with CHECK_EOL.
17655
ef1bb361
JM
176562012-10-08 Joseph Myers <joseph@codesourcery.com>
17657
17658 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17659 type-generic.
17660 * math/libm-test.inc: Update comment listing what functions and
17661 macros are tested.
17662 (finite_test): New function.
17663 (isinf_test): Likewise.
17664 (isnan_test): Likewise.
17665 (fpclassify_test): Test subnormal input.
17666 (isfinite_test): Likewise.
17667 (isnormal_test): Likewise.
17668 (main): Call the new functions.
17669
55f11534
JN
176702012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17671
17672 [BZ #14660]
17673 * Makerules (%.dynsym): Force C locale when running
17674 $(OBJDUMP) --dynamic-syms.
17675
1ab29350
AS
176762012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17677
17678 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17679 <stdint.h>.
17680
f1ecb7ef
DM
176812012-10-06 David S. Miller <davem@davemloft.net>
17682
17683 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17684 upper 32-bits of the length value in %o2 since we use branch-on-register
17685 tests which consider the entire 64-bit register.
17686
5d41d91a
L
176872012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17688
17689 * string/test-strstr.c (check2): Add a test for page boundary.
17690
3baddb72
DM
176912012-10-05 David S. Miller <davem@davemloft.net>
17692
17693 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17694 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17695 file.
17696 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17697 sysdep_routines.
17698 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17699 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17700 and bzero when HWCAP_SPARC_CRYPTO is present.
17701
9cee5585
L
177022012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17703
d7e0dab9
L
17704 [BZ #14602]
17705 * string/test-strstr.c (check2): New function.
17706 (test_main): Call check2.
17707
03759f47
L
17708 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17709 and bug-strchr1.
17710 * string/bug-strcasestr1.c (do_test): Moved to ...
17711 * string/test-strcasestr.c (check1): Here. New function.
17712 (do_one_test): Break out result checking code into ...
17713 (check_result): This. New function.
17714 (do_one_test): Call check_result.
17715 (test_main): Call check1.
17716 * string/bug-strchr1.c (do_test): Moved to ...
17717 * string/test-strchr.c (check1): Here. New function.
17718 (do_one_test): Break out result checking code into ...
17719 (check_result): This. New function.
17720 (do_one_test): Call check_result.
17721 (test_main): Call check1.
17722 * string/bug-strstr1.c (main): Moved to ...
046f153e 17723 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17724 (do_one_test): Break out result checking code into ...
17725 (check_result): This. New function.
17726 (do_one_test): Call check_result.
17727 (test_main): Call check1.
17728 * string/bug-strcasestr1.c: Removed.
17729 * string/bug-strchr1.c: Likewise.
17730 * string/bug-strstr1.c: Likewise.
17731
53cea63e
L
17732 * elf/Makefile (dl-routines): Add hwcaps.
17733 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17734 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17735 (_dl_important_hwcaps): Moved to ...
17736 * elf/dl-hwcaps.c: Here. New file.
17737 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17738
9cee5585 17739 [BZ #14557]
bb859b06
L
17740 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17741 if IS_IN_rtld isn't defined.
17742
9cee5585
L
17743 * elf/dl-support.c (_dl_sysinfo_map): New.
17744 Include "get-dynamic-info.h" and "setup-vdso.h".
17745 (_dl_non_dynamic_init): Call setup_vdso.
17746 * elf/dynamic-link.h: Don't include <assert.h>.
17747 (elf_get_dynamic_info): Moved to ...
17748 * elf/get-dynamic-info.h: Here. New file.
17749 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17750 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17751 * elf/setup-vdso.h: Here. New file.
17752 * elf/rtld.c: Include "setup-vdso.h".
17753 (dl_main): Call setup_vdso.
17754
23c31b76
JM
177552012-10-05 Joseph Myers <joseph@codesourcery.com>
17756
28234b07
JM
17757 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17758 creal in comment listing functions tested. List finite, isinf,
17759 isnan, isless, islessequal, isgreater, isgreaterequal,
17760 islessgreater, isunordered, lgamma_r and pow10 as functions and
17761 macros not tested. Mention which functions not tested are aliases
17762 for other functions. Fix typo. Note that signs of NaNs are not
17763 tested.
17764
23c31b76
JM
17765 * scripts/config.guess: Update from config.git.
17766 * scripts/config.sub: Likewise.
17767
9043e228
RM
177682012-10-04 Roland McGrath <roland@hack.frob.com>
17769
17770 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17771 * misc/madvise.c (madvise): Renamed to __madvise.
17772 Make madvise a weak alias.
17773 * include/sys/mman.h: Declare __madvise.
17774 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17775 * sysdeps/unix/syscalls.list
17776 (madvise): Make __madvise the strong name, and madvise a weak alias.
17777 * sysdeps/unix/sysv/linux/syscalls.list
17778 (madvise, mmap): Remove redundant entries.
17779 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17780 * malloc/malloc.c (mtrim): Likewise.
17781 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17782
f57f8055
RM
177832012-10-03 Roland McGrath <roland@hack.frob.com>
17784
17785 * sysdeps/mach/hurd/dl-cache.c: File removed.
17786 * config.h.in (USE_LDCONFIG): New #undef.
17787 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17788 * configure: Regenerated.
17789 * elf/Makefile (dl-routines): Add dl-cache only under
17790 [$(use-ldconfig) = yes].
17791 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17792 cache on [USE_LDCONFIG].
17793 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17794 [USE_LDCONFIG].
17795 * elf/rtld.c (dl_main): Likewise.
17796
5bb0c10a
PT
177972012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17798
17799 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17800 _SC_LEVEL4_CACHE_LINESIZE.
17801
010188c6
RM
178022012-10-03 Roland McGrath <roland@hack.frob.com>
17803
17804 * sysdeps/unix/bsd/confstr.h: File removed.
17805
b6c5ec07
AO
178062012-10-02 Alexandre Oliva <aoliva@redhat.com>
17807
17808 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17809 sys/sdt-config.h.
17810
408223d4
RM
178112012-10-02 Roland McGrath <roland@hack.frob.com>
17812
17813 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17814 Make 'mapoff' field ElfW(Off) rather than off_t.
17815
bb9510dc
DL
178162012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17817
fc997c6e
DL
17818 * nscd/Makefile: Remove nscd-cflags and all its users.
17819 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17820 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17821
bb9510dc
DL
17822 [BZ #10631]
17823 * malloc.c (malloc_printerr): Clarify error message.
17824
05699367
L
178252012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17826
17827 [BZ #14648]
17828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17829 Set bit_FMA_Usable if FMA is supported.
17830 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17831 macro.
17832 (bit_FMA4_Usable): Updated.
17833 (index_FMA_Usable): New macro.
17834 (CPUID_FMA): Likewise
17835 (HAS_FMA): Defined with bit_FMA_Usable.
17836
51367701
RM
178372012-10-01 Roland McGrath <roland@hack.frob.com>
17838
17839 * bits/types.h (__swblk_t): Type removed.
17840 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17841 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17843 (__SWBLK_T_TYPE): Likewise.
17844 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17845 (__SWBLK_T_TYPE): Likewise.
17846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17847 (__SWBLK_T_TYPE): Likewise.
17848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17849 (__SWBLK_T_TYPE): Likewise.
17850
4d57bf63 178512012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17852 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17853
17854 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17855 (xdr_mapname): Use YPMAXMAP as maxsize.
17856 (xdr_peername): Use YPMAXPEER as maxsize.
17857 (xdr_keydat): Use YPAXRECORD as maxsize.
17858 (xdr_valdat): Use YPMAXRECORD as maxsize.
17859
93c65d43
RM
178602012-10-01 Roland McGrath <roland@hack.frob.com>
17861
497a03d6
RM
17862 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17863
93c65d43
RM
17864 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17865 * csu/init-first.c: ... here.
17866 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17867 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17868 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17869 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17870 * sysdeps/i386/init-first.c: File removed.
17871 * sysdeps/sh/init-first.c: File removed.
17872
bec749fd
JM
178732012-10-01 Joseph Myers <joseph@codesourcery.com>
17874
17875 [BZ #14645]
17876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17877 if x * y might underflow to zero and z is zero.
17878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17880 * math/libm-test.inc (min_subnorm_value): New variable.
17881 (fma_test): Add more tests.
17882 (fma_test_towardzero): Likewise.
17883 (fma_test_downward): Likewise
17884 (fma_test_upward): Likewise.
17885 (initialize): Set min_subnorm_value.
17886
8ec5b013
JM
178872012-09-29 Joseph Myers <joseph@codesourcery.com>
17888
17889 [BZ #14638]
17890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17891 0 + 0.
17892 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17893 mode for addition resulting in exact zero.
17894 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17896 exact 0 + 0.
17897 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17899 * math/libm-test.inc (fma_test): Add more tests.
17900 (fma_test_towardzero): New function.
17901 (fma_test_downward): Likewise.
17902 (fma_test_upward): Likewise.
17903 (main): Call the new functions.
17904
b1fa802e
DM
179052012-09-28 David S. Miller <davem@davemloft.net>
17906
17907 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17908
d3b9fd9e
RM
179092012-09-28 Roland McGrath <roland@hack.frob.com>
17910
ea4d37b3
RM
17911 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17912 instead of SIGALRM.
17913
ac51c949
RM
17914 * sysdeps/gnu/_G_config.h: Moved to ...
17915 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17916 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17917 * sysdeps/generic/_G_config.h: ... here.
17918
28c195f7
RM
17919 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17920
848917f9
RM
17921 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17922
6bacf05b
RM
17923 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17924 Conditionalize target on [libnss_test1.so-version].
17925
91363dbb
RM
17926 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17927
cc87f7d8
RM
17928 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17929 (elfobjdir): Move out of conditionals.
17930
b1c608fe
RM
17931 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17932 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17933 (__nss_lookup_function): Conditionalize label remove_from_tree on
17934 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17935
1d9a6d96
DM
179362012-09-28 David S. Miller <davem@davemloft.net>
17937
17938 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17939 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17940 file.
17941 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17942 sysdep_routines.
17943 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17945 when HWCAP_SPARC_CRYPTO is present.
17946
72581615
PT
179472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17948
17949 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17950
715a900c
JL
179512012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17952
17953 [BZ #6530]
17954 * stdio-common/vfprintf.c (process_string_arg): Revert
17955 2000-07-22 change.
17956
179572011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17958
17959 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17960 for testcase.
17961 * stdio-common/tst-sprintf.c: Include <locale.h>
17962 (main): Test sprintf's handling of incomplete multibyte
17963 characters.
17964
9bac1d86
L
179652012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17966
17967 * elf/dl-runtime.c (VERSYMIDX): Removed.
17968 * elf/dl-version.c (VERSYMIDX): Likewise.
17969 * elf/do-rel.h (VERSYMIDX): Likewise.
17970 (VALIDX): Likewise.
17971 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17972 * elf/rtld.c (VALIDX): Likewise.
17973 (ADDRIDX): Likewise.
9bac1d86
L
17974 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17975 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17976 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17977 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17978 (VALIDX): Likewise.
17979 (ADDRIDX): Likewise.
9bac1d86 17980
b31606c0
PT
179812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17982
17983 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17984
11541177
JL
179852012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17986
17987 [BZ #11438]
17988 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17989 to global scope.
17990 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17991 addresses are in the same scope as 192.0.2/24.
17992 * posix/gai.conf: Document new scope table defaults.
17993
adb26fae
SP
179942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17995
17996 [BZ #5298]
17997 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17998 for ftell. Compute offsets from write pointers instead.
17999 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18000
4573c6b0
SP
180012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18002
18003 [BZ #14543]
18004 * libio/Makefile (tests): New test case tst-fseek.
18005 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18006 combination works in wide mode.
18007 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18008 state when the external buffer state changes.
18009
aa9bbfe6
DM
180102012-09-27 David S. Miller <davem@davemloft.net>
18011
18012 [BZ #14376]
18013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18014 pass reloc->r_addend in as the 'high' argument to
18015 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18016
784421e7
DM
18017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18018
c39bc8b8
PT
180192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18020
18021 * rt/tst-aio2.c: Include <pthread.h>.
18022 * rt/tst-aio3.c: Likewise.
18023
1ccc2399
SE
180242012-09-27 Steve Ellcey <sellcey@mips.com>
18025
18026 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18027
31ed4153
L
180282012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18029
25f5f885
L
18030 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18031 contents on [SHARED].
31ed4153 18032
b7bfe116
MP
180332012-09-26 Marek Polacek <polacek@redhat.com>
18034
18035 [BZ #14530]
18036 [BZ #13741]
18037 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18038 for C++ and GCC <4.3 as well as for non GCC compilers.
18039
43c4edba
MT
180402012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18041
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18043
6a1bf82f
RM
180442012-09-25 Roland McGrath <roland@hack.frob.com>
18045
18046 * Makefile.in (all, install): Declare with .PHONY.
18047 Reported by Michael Hope <michael.hope@linaro.org>.
18048
8ad11b9a
TMQMF
180492012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18050
18051 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18052 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18053 system header.
18054 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18055 Likewise.
18056 (sydep_routines): Add the new and the internal functions.
18057 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18058 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18060 (GLIBC_2.17): Add the new function.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18062 (GLIBC_2.17): Likewise.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18064 (GLIBC_2.17): Likewise.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18066 (GLIBC_2.17): Likewise.
18067 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18068
7e2fca8d
AM
180692012-09-25 Alan Modra <amodra@gmail.com>
18070
18071 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18072 Add release barrier before setting once_control to say
18073 initialisation is done. Add hints on lwarx. Use macro in
18074 place of isync.
18075 (clear_once_control): Add release barrier.
18076
b87c4b24
JM
180772012-09-25 Joseph Myers <joseph@codesourcery.com>
18078
d032e0d2
JM
18079 [BZ #13629]
18080 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18081 specially.
18082 * math/s_clog10.c (__clog10): Likewise.
18083 * math/s_clog10f.c (__clog10f): Likewise.
18084 * math/s_clog10l.c (__clog10l): Likewise.
18085 * math/s_clogf.c (__clogf): Likewise.
18086 * math/s_clogl.c (__clogl): Likewise.
18087 * math/Makefile (libm-calls): Add x2y2m1.
18088 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18089 (__x2y2m1): Likewise.
18090 (__x2y2m1l): Likewise.
18091 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18092 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18093 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18094 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18095 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18097 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18098 * sysdeps/i386/fpu/libm-test-ulps: Update.
18099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18100
b87c4b24
JM
18101 [BZ #14621]
18102 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18103 int as type of variable DEPTH.
18104 (glob): Use size_t instead of int as type of variables NEWCOUNT
18105 and OLD_PATHC.
18106
6d3bf199
LD
181072012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18108
22bf5c17
LD
18109 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18110 Add s_sincosf-sse2.
18111 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18112 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18113 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18114 macros for using routine as __sincosf_ia32.
18115 Use macro for function declaration and weak_alias.
18116 * sysdeps/i386/fpu/libm-test-ulps: Update.
18117
18118 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18120
18121 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18122 subnormal argument.
18123 * math/s_cexpf.c (__cexpf): Likewise.
18124 * math/s_csinf.c (__csinf): Likewise.
18125 * math/s_csinhf.c (__csinhf): Likewise.
18126 * math/s_ctanf.c (__ctanf): Likewise.
18127 * math/s_ctanhf.c (__ctanhf): Likewise.
18128 * math/s_ccosh.c (__ccoshf): Likewise.
18129 * math/s_cexp.c (__cexpl): Likewise.
18130 * math/s_csin.c (__csin): Likewise.
18131 * math/s_csinh.c (__csinh): Likewise.
18132 * math/s_ctan.c (__ctan): Likewise.
18133 * math/s_ctanh.c (ctanh): Likewise.
18134 * math/s_ccoshl.c (__ccoshl): Likewise.
18135 * math/s_cexpl.c (__cexpl): Likewise.
18136 * math/s_csinl.c (__csinl): Likewise.
18137 * math/s_csinhl.c (__csinhl): Likewise.
18138 * math/s_ctanl.c (__ctanl): Likewise.
18139 * math/s_ctanhl.c (__ctanhl): Likewise.
18140
203e5603
JM
181412012-09-25 Joseph Myers <joseph@codesourcery.com>
18142
18143 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18144 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18145 (_IO_off_t): Define to __off_t, not _G_off_t.
18146 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18147 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18148 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18149 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18150 type of __dummy and __dummy2 fields.
18151 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18152 (_G_ssize_t): Likewise.
18153 (_G_off_t): Likewise.
18154 (_G_pid_t): Likewise.
18155 (_G_uid_t): Likewise.
18156 (_G_wchar_t): Likewise.
18157 (_G_wint_t): Likewise.
18158 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18159 (_G_ssize_t): Likewise.
18160 (_G_off_t): Likewise.
18161 (_G_pid_t): Likewise.
18162 (_G_uid_t): Likewise.
18163 (_G_wchar_t): Likewise.
18164 (_G_wint_t): Likewise.
18165 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18166 (_G_ssize_t): Likewise.
18167 (_G_off_t): Likewise.
18168 (_G_pid_t): Likewise.
18169 (_G_uid_t): Likewise.
18170 (_G_wchar_t): Likewise.
18171 (_G_wint_t): Likewise.
18172
9fab36eb
SP
181732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18174
18175 * malloc/arena.c: Include malloc-sysdep.h.
18176 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18177 is sufficient to shrink the heap or an unmap is needed.
18178 * sysdeps/generic/malloc-sysdep.h: New file. Define
18179 new function check_may_shrink_heap.
18180 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18181 new function check_may_shrink_heap.
18182
2b4f00d1
SP
181832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18184
18185 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18186 comments.
18187
9a9028b1
DL
181882012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18189
57c69bef
DL
18190 * catgets/test-gencat.sh: Add "set -e".
18191 * elf/tst-pathopt.sh: Likewise.
18192 * grp/tst_fgetgrent.sh: Likewise.
18193 * iconvdata/run-iconv-test.sh: Likewise.
18194 * intl/tst-gettext.sh: Likewise.
18195 * intl/tst-gettext2.sh: Likewise.
18196 * intl/tst-gettext4.sh: Likewise.
18197 * intl/tst-gettext6.sh: Likewise.
18198 * intl/tst-translit.sh: Likewise.
18199 * io/ftwtest-sh: Likewise.
18200 * libio/test-freopen.sh: Likewise.
18201 * malloc/tst-mtrace.sh: Likewise.
18202 * posix/globtest.sh: Likewise.
18203 * posix/tst-getconf.sh: Likewise.
18204 * posix/wordexp-tst.sh: Likewise.
18205 * stdio-common/tst-printf.sh: Likewise.
18206 * stdio-common/tst-unbputc.sh: Likewise.
18207 * stdlib/tst-fmtmsg.sh: Likewise.
18208 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18209 * catgets/Makefile: Do not specify -e option when running
18210 testsuite shell scripts.
18211 * elf/Makefile: Likewise.
18212 * grp/Makefile: Likewise.
18213 * iconvdata/Makefile: Likewise.
18214 * intl/Makefile: Likewise.
18215 * io/Makefile: Likewise.
18216 * libio/Makefile: Likewise.
18217 * malloc/Makefile: Likewise.
18218 * posix/Makefile: Likewise.
18219 * stdio-common/Makefile: Likewise.
18220 * stdlib/Makefile: Likewise.
18221 * sysdeps/x86_64/Makefile: Likewise.
18222
9a9028b1
DL
18223 * io/ftwtest-sh: Add copyright header.
18224 * posix/globtest.sh: Likewise.
18225 * posix/tst-getconf.sh: Likewise.
18226 * posix/wordexp-tst.sh: Likewise.
18227 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18228
ced6f16e
L
182292012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18230
94b32c39
L
18231 [BZ #13679]
18232 * Makeconfig (+link): Defined as $(+link-static) if
18233 $(build-shared) isn't yes.
18234 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18235 isn't yes.
18236 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18237
189e935b
L
18238 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18239
ced6f16e
L
18240 [BZ #14562]
18241 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18242 new chunk size with MALLOC_ALIGN_MASK.
18243
a9f8e53a
JM
182442012-09-24 Joseph Myers <joseph@codesourcery.com>
18245
18246 [BZ #5044]
18247 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18248 <rounding-mode.h>.
18249 (__printf_fphex): Determine rounding using get_rounding_mode and
18250 round_away.
18251 * stdio-common/tst-printf-round.c (struct hex_test): New
18252 structure.
18253 (hex_tests): New variable.
18254 (test_hex_in_one_mode): New function.
18255 (do_test): Also run tests for hex float output.
18256
43153109
JM
182572012-09-21 Joseph Myers <joseph@codesourcery.com>
18258
18259 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18260 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18261 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18262 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18263 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18264 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18265 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18266 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18267
8a26625d
JM
182682012-09-20 Joseph Myers <joseph@codesourcery.com>
18269
18270 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18271 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18272 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18273 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18274
f3fd569c
DL
182752012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18276
18277 [BZ #14579]
18278 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18279 mode only.
18280 * elf/tst-rtld-load-self.sh: New test.
18281 * elf/Makefile: Run it.
18282
63bbedd4
JM
182832012-09-18 Joseph Myers <joseph@codesourcery.com>
18284
18285 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18286 (tst-writev-ENV): Remove.
18287 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18288
626f8b6a
CM
182892012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18290
18291 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18292
b7aaa4d6
JM
182932012-09-17 Joseph Myers <joseph@codesourcery.com>
18294
18295 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18296 unconditional.
18297 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18298 Likewise.
18299 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18300 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18301 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18302 Likewise.
18303
65513990
L
183042012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18305
18306 [BZ #14587]
18307 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18308 * config.make.in (have-cpp-asm-debuginfo): Removed.
18309 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18310 * configure: Regenerated.
18311
784761be
JM
183122012-09-14 Joseph Myers <joseph@codesourcery.com>
18313
18314 [BZ #5044]
18315 * stdio-common/printf_fp.c: Include <stdbool.h> and
18316 <rounding-mode.h>.
18317 (___printf_fp): Determine rounding using get_rounding_mode and
18318 round_away.
18319 * stdio-common/tst-printf-round.c: New file.
18320 * stdio-common/Makefile (tests): Add tst-printf-round.
18321 (link-libm): New variable.
18322 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18323
9503345f
L
183242012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18325
18326 [BZ #14576]
18327 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18328 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18329 Likewise.
18330 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18331 Likewise.
18332
ad35fc00
JM
183332012-09-13 Joseph Myers <joseph@codesourcery.com>
18334
18335 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18336 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18337 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18338 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18339
6c9b0f68
JM
183402012-09-12 Joseph Myers <joseph@codesourcery.com>
18341
18342 [BZ #14518]
18343 * include/rounding-mode.h: New file.
18344 * sysdeps/generic/get-rounding-mode.h: Likewise.
18345 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18346 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18347 (MAX_VALUE): New macro.
18348 (MIN_VALUE): Likewise.
18349 (overflow_value): New function.
18350 (underflow_value): Likewise.
18351 (round_and_return): Use overflow_value and underflow_value to
18352 determine return values in overflow and underflow cases. Use
18353 round_away to determine rounding depending on rounding mode.
18354 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18355 determine return values in overflow and underflow cases.
18356 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18357 (struct test_results): New structure.
18358 (struct test): Use struct test_results to store expected results
18359 for all rounding modes.
18360 (TEST): Include expected results for all rounding modes.
18361 (test_in_one_mode): New function.
18362 (do_test): Use test_in_one_mode to compute and check results.
18363 Check results for all rounding modes.
18364 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18365 $(link-libm).
18366
19fcedd5
AM
183672012-12-09 Allan McRae <allan@archlinux.org>
18368
1e9d84cd 18369 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18370
8bbfd2f1
JM
183712012-09-11 Joseph Myers <joseph@codesourcery.com>
18372
18373 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18374 (_G_int32_t): Likewise.
18375 (_G_uint16_t): Likewise.
18376 (_G_uint32_t): Likewise.
18377 (_G_HAVE_BOOL): Likewise.
18378 (_G_HAVE_ATEXIT): Likewise.
18379 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18380 (_G_HAVE_IO_FILE_OPEN): Likewise.
18381 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18382 (_G_int32_t): Likewise.
18383 (_G_uint16_t): Likewise.
18384 (_G_uint32_t): Likewise.
18385 (_G_HAVE_BOOL): Likewise.
18386 (_G_HAVE_ATEXIT): Likewise.
18387 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18388 (_G_HAVE_IO_FILE_OPEN): Likewise.
18389 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18390 (_G_int32_t): Likewise.
18391 (_G_uint16_t): Likewise.
18392 (_G_uint32_t): Likewise.
18393 (_G_HAVE_BOOL): Likewise.
18394 (_G_HAVE_ATEXIT): Likewise.
18395 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18396 (_G_HAVE_IO_FILE_OPEN): Likewise.
18397
b1dc5912
L
183982012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18399
18400 * csu/libc-tls.c: Update copyright years.
18401
0e886ef9
JM
184022012-09-10 Joseph Myers <joseph@codesourcery.com>
18403
28361c5e
JM
18404 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18405 [!_G_USING_THUNKS]: Remove conditional code.
18406 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18407 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18408
0e886ef9
JM
18409 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18410 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18411 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18412 (_G_VTABLE_LABEL_PREFIX): Likewise.
18413 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18414 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18415 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18416 (_G_VTABLE_LABEL_PREFIX): Likewise.
18417 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18418 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18419 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18420 (_G_VTABLE_LABEL_PREFIX): Likewise.
18421 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18422
bcba7aa2
L
184232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18424
18425 * libio/Makefile: Include ../Makeconfig before tests.
18426 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18427 only if $(build-shared) is yes.
18428
06585ee8
L
18429 * iconv/gconv_db.c: Update copyright years.
18430
80ccd52c
LD
184312012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18432
18433 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18434 unwind info if defined PIC. Fix special cases description.
18435 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18436
18437 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18438 DP_HI_MASK entry.
18439 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18440
691bc9c1
L
184412012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18442
3d9b46b3
L
18443 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18444
de2139a9
L
18445 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18446 is NULL.
18447
5ca78dd0
L
18448 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18449 (LDLIBS-tst-chk4): This.
18450 (LDFLAGS-tst-chk5): Renamed to ...
18451 (LDLIBS-tst-chk5): This.
18452 (LDFLAGS-tst-chk6): Renamed to ...
18453 (LDLIBS-tst-chk6): This.
18454 (LDFLAGS-tst-lfschk4): Renamed to ...
18455 (LDLIBS-tst-lfschk4): This.
18456 (LDFLAGS-tst-lfschk5): Renamed to ...
18457 (LDLIBS-tst-lfschk5): This.
18458 (LDFLAGS-tst-lfschk6): Renamed to ...
18459 (LDLIBS-tst-lfschk6): This.
18460
691bc9c1
L
18461 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18462 on $(common-objpfx)soversions.mk.
18463
65cafb1c
JM
184642012-09-07 Joseph Myers <joseph@codesourcery.com>
18465
18466 [BZ #10014]
18467 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18468 example host name.
18469
c78ab094
SP
184702012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18471
18472 * malloc/arena.c (arena_get_retry): New function that gets
18473 another arena for the caller to try its request on.
18474 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18475 current arena cannot fulfill the request.
18476 (__libc_memalign): Likewise.
18477 (__libc_memalign): Likewise.
18478 (__libc_pvalloc): Likewise.
18479 (__libc_calloc): Likewise.
18480
01f49f59
JT
184812012-09-05 John Tobey <john.tobey@gmail.com>
18482
18483 [BZ #13542]
18484 * manual/arith.texi (Operations on Complex): Fix description
18485 of carg branch cut.
18486
4c23fed5
JM
184872012-09-06 Joseph Myers <joseph@codesourcery.com>
18488
1d3c8572
JM
18489 [BZ #10014]
18490 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18491 host name.
18492
4c23fed5
JM
18493 [BZ #10038]
18494 * manual/memory.texi (Memory): Make order of menu items match
18495 order of sections.
18496
04570aaa
L
184972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18498
18499 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18500 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18501 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18502
b80af2f4
L
185032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18504
18505 * csu/libc-tls.c (static_dtv): Renamed to ...
18506 (_dl_static_dtv): This. Make it global.
18507 (_dl_initial_dtv): Removed.
18508 (__libc_setup_tls): Updated.
18509 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18510 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18511 DL_INITIAL_DTV.
18512
2abe9f15
PM
185132012-09-06 Petr Machata <pmachata@redhat.com>
18514
18515 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18516 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18517 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18518 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18519
0948c3af
L
185202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18521
18522 [BZ #14545]
18523 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18524 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18525 freeing dtv[-1].
18526
a5055ad1
L
185272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18528
18529 [BZ #14544]
18530 * Makeconfig (link-static-before-libc): Replace $(+prector)
18531 with $(+prectorT).
18532 (link-static-after-libc): Replace $(+postctor) with
18533 $(+postctorT).
18534 (link-bounded): Replace $(+prector)/$(+postctor) with
18535 $(+prectorT)/$(+postctorT).
18536 (+prectorT): New macro.
18537 (+postctorT): Likewise.
18538
ed8c2ecd
JM
185392012-09-06 Joseph Myers <joseph@codesourcery.com>
18540
18541 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18542 (round_str): Handle values above the maximum for IBM long double
18543 as inexact.
18544 * stdlib/tst-strtod-round.c (tests): Regenerated.
18545
14c996c8
AK
185462012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18547
18548 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18549 assembler flag.
18550 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18551 zarch_nohighgprs around the zarch optimized routines.
18552 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18553 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18554 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18555 for zarch.
18556
430d6ce6
DM
185572012-09-05 David S. Miller <davem@davemloft.net>
18558
18559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18560
ff04dda4
DM
18561 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18562 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18563 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18564 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18565 entries.
18566
24d4e01b
AO
185672012-09-05 Alexandre Oliva <aoliva@redhat.com>
18568
18569 * malloc/arena.c: Fold copyright years.
18570 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18571
61d58174
AO
185722012-09-05 Alexandre Oliva <aoliva@redhat.com>
18573
18574 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18575
20196a5e
AO
185762012-09-05 Alexandre Oliva <aoliva@redhat.com>
18577
18578 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18579
5c447383
AO
185802012-09-05 Alexandre Oliva <aoliva@redhat.com>
18581
18582 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18583 change internal state upon failure.
18584
fad64255
AO
185852012-09-05 Alexandre Oliva <aoliva@redhat.com>
18586
18587 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18588 * malloc/memusage.c (mmap): Likewise.
18589 (mmap64, mremap): Likewise. Adjust name in comment.
18590
1ffb8c90
SP
185912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18592
18593 * libio/fileops.c: Fix typos in comments.
18594 * libio/oldfileops.c: Likewise.
18595 * libio/wfileops.c: Likewise.
18596
6ef9cc37
SP
185972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18598
18599 [BZ #1349]
18600 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18601 (tst-malloc-usable-ENV): Set environment for test case.
18602 * malloc/hooks.c (malloc_check_get_size): New function to get
18603 requested size.
18604 * malloc/malloc.c (musable): Use malloc_check_get_size.
18605 * malloc/tst-malloc-usable.c: New test case.
18606
4d038ae3
AS
186072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18608
18609 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18610
c4e85184
AM
186112012-09-05 Allan McRae <allan@archlinux.org>
18612
b9dafc56 18613 [BZ #13966]
c4e85184
AM
18614 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18615 determine header location.
18616 * configure: Regenerated.
18617
e1343020
AS
186182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18619
18620 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18621 float format.
18622 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18623 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18624 format.
e1343020
AS
18625 (test): Regenerate.
18626
0a9f1987
DM
186272012-09-04 David S. Miller <davem@davemloft.net>
18628
18629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18631 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18632
29237804
FW
186332012-09-04 Florian Weimer <fweimer@redhat.com>
18634
18635 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18636 failures.
18637
edb3cb88
FW
18638 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18639
60160d83
JM
186402012-09-04 Joseph Myers <joseph@codesourcery.com>
18641
18642 [BZ #9914]
18643 * libio/iogetdelim.c: Include <limits.h>.
18644 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18645 + len + 1 would overflow.
18646
bcd6c8dc
AJ
186472012-09-03 Andreas Jaeger <aj@suse.de>
18648
18649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18650 * sysdeps/i386/fpu/libm-test-ulps: Update.
18651
4ffffbd2
LD
186522012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18653
18654 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18655 Add s_sinf-sse2, s_conf-sse2.
18656
18657 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18658 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18659 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18660 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18661
18662 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18663 for using routine as __sinf_ia32.
18664 Use macro for function declaration and weak_alias.
18665 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18666 for using routine as __cosf_ia32.
18667 Use macro for function declaration and weak_alias.
18668
18669 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18670 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18671
18672 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18673 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18675
18676 * math/libm-test.inc (cos_test): Add more test cases.
18677 (sin_test): Likewise.
18678 (sincos_test): Likewise.
18679
511fa286
AK
186802012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18681
18682 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18683 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18684 hidden.
18685 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18686
5f30cfec
L
186872012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18688
18689 [BZ #14538]
18690 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18691 first element of the GOT.
18692 (elf_machine_load_address): Return the difference between
18693 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18694
0786794f
AM
186952012-09-01 Allan McRae <allan@archlinux.org>
18696
5f30cfec
L
18697 [BZ #13412]
18698 * configure.in (AWK): Require gawk version 3.0 or later.
18699 * configure: Regenerated.
0786794f 18700
26889eac
JM
187012012-09-01 Joseph Myers <joseph@codesourcery.com>
18702
18703 * sysdeps/unix/sysv/linux/kernel-features.h
18704 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18705 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18706 [__NR_clock_getres]: Make code unconditional.
18707 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18708 (clock_getcpuclockid): Remove code left unreachable by removal of
18709 conditionals.
18710 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18711 code unconditional.
18712 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18713 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18714 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18715 Make code unconditional.
18716 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18717 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18718 * sysdeps/unix/sysv/linux/clock_settime.c
18719 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18720 conditional code.
18721 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18722 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18723
d22e28b0
L
187242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18725
18726 [BZ #14476]
18727 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18728 scripts/test-installation.pl.
18729
18730 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18731 and $ld_so_version if it is set.
18732
050af9c4
SP
187332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18734
18735 [BZ #14516]
18736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18737 failure if reading from procfs failed.
18738 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18739
ad845c0b
JM
187402012-08-27 Joseph Myers <joseph@codesourcery.com>
18741
18742 * sysdeps/unix/sysv/linux/kernel-features.h
18743 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18744 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18745 Remove conditional code.
18746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18747 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18748 Remove conditional code.
18749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18750 * sysdeps/unix/sysv/linux/i386/fxstat.c
18751 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18753 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18754 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18756 * sysdeps/unix/sysv/linux/i386/lxstat.c
18757 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18759 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18760 Remove conditional code.
18761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18762 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18763 Remove conditional code.
18764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18765 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18766 <kernel-features.h>.
18767 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18768 Remove.
18769 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18770 Remove conditional code.
18771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18772 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18773 Remove conditional.
18774
5dbf56af
MF
187752012-08-27 Mike Frysinger <vapier@gentoo.org>
18776
18777 [BZ #5400]
18778 * NEWS: Add fixed bug number.
18779
d6e70f43
JM
187802012-08-27 Joseph Myers <joseph@codesourcery.com>
18781
7efb4737
JM
18782 [BZ #14519]
18783 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18784 underflowing exponent in case of negative sign.
18785 * stdlib/tst-strtod-round-data: Add more tests.
18786 * stdlib/tst-strtod-round.c (tests): Regenerated.
18787
af92131a
JM
18788 [BZ #3479]
18789 * stdlib/strtod_l.c (NDIG): Remove.
18790 (HEXNDIG): Likewise.
18791 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18792 smallest representable value.
18793 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18794 lie within an exact representation of 1/2 ulp of the result.
18795 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18796 unconditionally.
18797 (TENS_P9_IDX): Define unconditionally.
18798 (TENS_P9_SIZE): Likewise.
18799 (TENS_P10_IDX): Likewise.
18800 (TENS_P10_SIZE): Likewise.
18801 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18802 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18803 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18804 entries for 10^2^13 and 10^2^14.
18805 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18806 (TENS_P13_IDX): Define.
18807 (TENS_P13_SIZE): Likewise.
18808 (TENS_P14_IDX): Likewise.
18809 (TENS_P14_SIZE): Likewise.
18810 (_fpioconst_pow10): Change array size to
18811 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18812 unconditional.
18813 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18814 1024]: Add entries for 10^2^13 and 10^2^14.
18815 [LAST_POW10 > _LAST_POW10]: Remove #error.
18816 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18817 (_fpioconst_pow10): Change array size to
18818 FPIOCONST_POW10_ARRAY_SIZE.
18819 * stdlib/gen-fpioconst.c: New file.
18820 * stdlib/gen-tst-strtod-round.c: Likewise.
18821 * stdlib/tst-strtod-round-data: Likewise.
18822 * stdlib/tst-strtod-round.c: Likewise.
18823 * stdlib/Makefile (tests): Add tst-strtod-round.
18824
d6e70f43
JM
18825 [BZ #14459]
18826 * stdlib/strtod_l.c: Include <stdint.h>.
18827 (NDEBUG): Do not define.
18828 (round_and_return): Change EXPONENT parameter to type intmax_t.
18829 Rearrange calculations to avoid internal overflow possibilities.
18830 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18831 Rearrange calculations to avoid internal overflow possibilities.
18832 Assert that number fits inside MPNSIZE limbs.
18833 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18834 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18835 calculations and add assertions to avoid internal overflow
18836 possibilities. Add casts to avoid signed/unsigned operations.
18837 * stdlib/tst-strtod-overflow.c: New file.
18838 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18839
1f529f7d
MP
188402012-08-25 Marek Polacek <polacek@redhat.com>
18841
18842 * time/time.h: Fix some typos in comments.
18843
59a629f1
RM
188442012-08-23 Roland McGrath <roland@hack.frob.com>
18845
18846 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18847 * posix/tst-rfc3484-2.c: Likewise.
18848 * posix/tst-rfc3484-3.c: Likewise.
18849
d3bafbc9
SM
188502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18851
18852 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18853 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18854
4efcc022
JM
188552012-08-23 Joseph Myers <joseph@codesourcery.com>
18856
18857 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18858 #include of fxstatat64.c.
18859
3cc3ef96
RM
188602012-08-22 Roland McGrath <roland@hack.frob.com>
18861
f04e2132
RM
18862 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18863 * shadow/getspent_r.c: Likewise.
18864 * shadow/getspnam.c: Likewise.
18865 * shadow/getspnam_r.c: Likewise.
18866 * gshadow/getsgent.c: Likewise.
18867 * gshadow/getsgent_r.c: Likewise.
18868 * gshadow/getsgnam.c: Likewise.
18869 * gshadow/getsgnam_r.c: Likewise.
18870 * inet/getnetbyad.c: Likewise.
18871 * inet/getnetbyad_r.c: Likewise.
18872 * inet/getnetbynm.c: Likewise.
18873 * inet/getnetbynm_r.c: Likewise.
18874 * inet/getnetent.c: Likewise.
18875 * inet/getnetent_r.c: Likewise.
18876 * inet/getproto.c: Likewise.
18877 * inet/getproto_r.c: Likewise.
18878 * inet/getprtent.c: Likewise.
18879 * inet/getprtent_r.c: Likewise.
18880 * inet/getprtname.c: Likewise.
18881 * inet/getprtname_r.c: Likewise.
18882 * inet/getrpcbyname.c: Likewise.
18883 * inet/getrpcbyname_r.c: Likewise.
18884 * inet/getrpcbynumber.c: Likewise.
18885 * inet/getrpcbynumber_r.c: Likewise.
18886 * inet/getrpcent.c: Likewise.
18887 * inet/getrpcent_r.c: Likewise.
18888 * inet/getaliasent.c: Likewise.
18889 * inet/getaliasent_r.c: Likewise.
18890 * inet/getaliasname.c: Likewise.
18891 * inet/getaliasname_r.c: Likewise.
18892 * nscd/getgrgid_r.c: Likewise.
18893 * nscd/getgrnam_r.c: Likewise.
18894 * nscd/gethstbyad_r.c: Likewise.
18895 * nscd/gethstbynm3_r.c: Likewise.
18896 * nscd/getpwnam_r.c: Likewise.
18897 * nscd/getpwuid_r.c: Likewise.
18898 * nscd/getsrvbynm_r.c: Likewise.
18899 * nscd/getsrvbypt_r.c: Likewise.
18900 * nscd/gai.c: Likewise.
18901
c53d909c
RM
18902 * configure.in (build_nscd): New substituted variable, set
18903 by --disable-build-nscd and defaults to $use_nscd.
18904 * configure: Regenerated.
18905 * config.make.in (build-nscd): New substituted variable.
18906 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18907 Change conditional to require [$(build-nscd) = yes] as well.
18908 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18909
3cc3ef96
RM
18910 [BZ# 13696]
18911 * configure.in (use_nscd): New substituted variable, set by
18912 --disable-nscd. If enabled, define USE_NSCD.
18913 * configure: Regenerated.
18914 * config.h.in: Add USE_NSCD.
18915 * config.make.in (use-nscd): New substituted variable.
18916 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18917 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18918 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18919 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18920 (CFLAGS-getgrnam_r.c): Likewise.
18921 (CFLAGS-initgroups.c): Likewise.
18922 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18923 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18924 Variables removed.
18925 * inet/getnetgrent_r.c
18926 (nscd_setnetgrent): New function, broken out of ...
18927 (setnetgrent): ... here. Call it.
18928 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18929 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18930 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18931 * nscd/Makefile (routines, aux): Move definitions after include of
18932 Makeconfig. Conditionalize on [$(use-nscd) != no].
18933 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18934 Conditionalize on [USE_NSCD].
18935 (is_nscd, nscd_init_cb): Likewise.
18936 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18937 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18938 * nss/nss_db/db-init.c: Likewise.
18939 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18940 [USE_NSCD].
18941 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18942 (make_request): Use it.
18943 (cache_valid_p): New function.
18944 (__check_pf): Use it.
18945 * NEWS: Add item for --disable-nscd.
18946
07e51550
DL
189472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18948
18949 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18950 to support sed >= 4.2.1-20-ga9bf076.
18951 * configure: Regenerated.
18952
35a5b08b
RM
189532012-08-22 Roland McGrath <roland@hack.frob.com>
18954
18955 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18956 Conditionalize whole body on [IREL].
18957
8479f23a
JL
189582012-08-22 Jeff Law <law@redhat.com>
18959
18960 [BZ #14505]
18961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18962 if the family is PF_UNSPEC.
18963
48da0b21
MF
189642012-08-22 Mike Frysinger <vapier@gentoo.org>
18965
18966 * Makerules (lib-version): Rename from V.
18967 (install-lib-nosubdir): Change V to lib-version.
18968
15d0da8c
WS
189692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18970
18971 [BZ #14252]
18972 * powerpc32/power6/wcschr.c: New file.
18973 * powerpc32/power6/wcscpy.c: New file.
18974 * powerpc32/power6/wcsrchr.c: New file.
18975 * powerpc64/power6/wcschr.c: New file.
18976 * powerpc64/power6/wcscpy.c: New file.
18977 * powerpc64/power6/wcsrchr.c: New file.
18978
bcca0895
MK
189792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18980
18981 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18982 (two_way_short_needle): Use it.
5a4aaa33
RM
18983 * string/strstr.c (AVAILABLE1_USES_J): Define.
18984 * string/strcasestr.c: Likewise.
99677e57
MK
18985
18986 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18987 array references.
18988 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18989
400726de
MK
18990 [BZ #11607]
18991 * NEWS: Add an entry.
18992 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18993 define their defaults.
18994 (two_way_short_needle): Detect end-of-string on-the-fly.
18995 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18996 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18997 * string/bug-strcasestr1.c: New test.
18998 * string/Makefile: Run it.
18999
20a71f2c
MK
190002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19001
19002 [BZ #11607]
19003 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19004 the first character.
19005
21ad0558
RM
190062012-08-21 Roland McGrath <roland@hack.frob.com>
19007
19008 * csu/elf-init.c (__libc_csu_irel): Function removed.
19009 * csu/libc-start.c (apply_irel): New function.
19010 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19011
0e1d9911
JM
190122012-08-21 Joseph Myers <joseph@codesourcery.com>
19013
19014 * sysdeps/unix/sysv/linux/kernel-features.h
19015 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19016 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19017 <kernel-features.h>.
19018 [__NR_fadvise64_64]: Make code unconditional.
19019 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19020 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19021 !__NR_fadvise64_64)]: Likewise.
19022 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19023 !__NR_fadvise64_64))]: Likewise.
19024 [__NR_fadvise64]: Make code unconditional.
19025 [!__NR_fadvise64]: Remove conditional code.
19026 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19027 <kernel-features.h>.
19028 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19029 unconditional.
19030 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19031 conditional code.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19033 not include <kernel-features.h>.
19034 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19035 unconditional.
19036 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19037 conditional code.
19038 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19039 include <kernel-features.h>.
19040 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19041 unconditional.
19042 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19043 conditional code.
19044
14a50c9d
WS
190452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19046
19047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19048 slight instruction rearrangements per scrollpipe analysis.
19049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19050
c0f4faf0
RM
190512012-08-20 Roland McGrath <roland@hack.frob.com>
19052
696da859
RM
19053 * manual/syslog.texi (syslog; vsyslog, closelog):
19054 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19055 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19056
c0f4faf0
RM
19057 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19058 DSOCAPS to match condition on defining it.
19059
348363b2
JM
190602012-08-20 Joseph Myers <joseph@codesourcery.com>
19061
a35cbf28
JM
19062 * sysdeps/unix/sysv/linux/kernel-features.h
19063 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19065 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19066 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19068 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19069 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19071 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19072 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19073
445f7ecd
JM
19074 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19075 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19076
348363b2
JM
19077 * sysdeps/unix/sysv/linux/kernel-features.h
19078 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19079 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19080 unconditional.
19081 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19082 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19083 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19084 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19085 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19086 Make code unconditional.
19087 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19088 (__mmap64) [!__NR_mmap2]: Likewise.
19089 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19090 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19091 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19092 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19093 [__NR_mmap2]: Make code unconditional.
19094 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19095 (__mmap64) [!__NR_mmap2]: Likewise.
19096
bc5bc0e5
AK
190972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19098
19099 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19100
88d506de
AJ
191012012-08-18 Andreas Jaeger <aj@suse.de>
19102
19103 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19104
493387d2
MF
191052012-08-18 Mike Frysinger <vapier@gentoo.org>
19106
19107 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19108 * include/unistd.h (__have_sock_cloexec): Likewise.
19109 (__have_pipe2): Likewise.
19110 (__have_dup3): Likewise.
19111
a277af22
MF
191122012-08-18 Mike Frysinger <vapier@gentoo.org>
19113
19114 [BZ #9685]
19115 * include/unistd.h (__have_pipe2): Change define into an extern int.
19116 (__have_dup3): Likewise.
19117 * socket/have_sock_cloexec.c: Include fcntl.h.
19118 (__have_pipe2): New variable.
19119 (__have_dup3): Likewise.
19120
fdab8fd3
MF
191212012-08-17 Mike Frysinger <vapier@gentoo.org>
19122
19123 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19124
31035e80
MP
191252012-08-17 Marek Polacek <polacek@redhat.com>
19126
19127 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19128 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19129
3bd9e993
RM
191302012-08-17 Roland McGrath <roland@hack.frob.com>
19131
c91c505f
RM
19132 * configure.in: Add AC_SUBST for sysheaders.
19133 * configure: Regenerated.
19134 * config.make.in (sysheaders): New substituted variable.
19135
7c6f9d53
RM
19136 * sysdeps/unix/mkfifo.c: Moved ...
19137 * sysdeps/posix/mkfifo.c: ... here.
19138 * sysdeps/unix/mkfifoat.c: Moved ...
19139 * sysdeps/posix/mkfifoat.c: ... here.
19140
19141 * sysdeps/unix/utime.c: Moved ...
19142 * sysdeps/posix/utime.c: ... here.
19143
19144 * sysdeps/unix/time.c: Moved ...
19145 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19146 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19147 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19148
19149 * sysdeps/unix/nice.c: Moved ...
19150 * sysdeps/posix/nice.c: ... here.
19151
19152 * sysdeps/unix/alarm.c: Moved ...
19153 * sysdeps/posix/alarm.c: ... here.
19154
3bd9e993
RM
19155 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19156
d1f09384
JL
191572012-08-17 Jeff Law <law@redhat.com>
19158
19159 * intl/Makefile (codeset_mo): New variable.
19160 ($(codeset_mo)): New target.
19161 (tst-codeset.out): Depend on that. Remove explicit rule.
19162 (tst-gettext3.out, tst-gettext5.out): Likewise.
19163 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19164 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19165 * intl/tst-codeset.sh: Remove.
19166 * intl/tst-gettext3.sh: Likewise.
19167 * intl/tst-gettext5.sh: Likewise.
19168
2ae1ae5c
RM
191692012-08-17 Roland McGrath <roland@hack.frob.com>
19170
c31fdb83
RM
19171 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19172 * sysdeps/unix/syscalls.list: ... here.
19173
a0844057
RM
19174 * sysdeps/posix/getaddrinfo.c
19175 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19176 (gaiconf_init, gaiconf_reload): Use them.
19177 [!_STATBUF_ST_NSEC]
19178 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19179 Define using time_t rather than struct timespec.
19180
750c1f2a
RM
19181 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19182 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19183 Macros removed.
19184 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19185 [!NO_THREADS].
19186 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19187 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19188 Likewise.
19189
2ae1ae5c
RM
19190 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19191 __libc_cleanup_push argument.
19192
e66a42f5
RM
19193 * bits/param.h: New file.
19194 * misc/sys/param.h: New file.
19195 * include/sys/param.h: New file.
19196 * misc/Makefile (headers): Add bits/param.h.
19197 * sysdeps/generic/sys/param.h: File removed.
19198 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19199 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19200 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19201 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19202
b7c08a66
RM
19203 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19204 last change.
19205
b2e1c562
RM
19206 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19207 [_IO_MTSAFE_IO].
19208 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19209 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19210 New macros.
19211
c75ccd4c
RM
19212 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19213 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19214 rather than -D_IO_MTSAFE_IO conditionally.
19215 * stdio-common/Makefile (CPPFLAGS): Likewise.
19216 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19217 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19218 Use $(libio-mtsafe).
19219 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19220 of -D_IO_MTSAFE_IO.
19221 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19222 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19223 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19224 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19225 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19226 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19227 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19228 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19229 (CFLAGS-fread_u_chk.c): Likewise.
19230 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19231 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19232 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19233 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19234 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19235 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19236 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19237 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19238 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19239
19240 * libio/Makefile: Test [$(libc-reentrant) = yes]
19241 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19242
19243 * Makeconfig
19244 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19245 * sysdeps/pthread/configure: File removed.
19246 * sysdeps/pthread/Makeconfig: New file.
19247 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19248 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19249
d9195db8
GB
192502012-08-16 Gary Benson <gbenson@redhat.com>
19251
19252 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19253 unmapping the first object in a namespace.
19254
86466cd9
RM
192552012-08-16 Roland McGrath <roland@hack.frob.com>
19256
19257 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19258 (__internal_setnetgrent): ... this. Add internal_function to
19259 definition. Add libc_hidden_def.
19260 (setnetgrent): Update caller.
19261 (internal_endnetgrent): Renamed to ...
19262 (__internal_endnetgrent): ... this. Add internal_function to
19263 definition. Add libc_hidden_def.
19264 (endnetgrent): Update caller.
19265 (internal_getnetgrent_r): Renamed to ...
19266 (__internal_getnetgrent_r): ... this. Add internal_function to
19267 definition. Add libc_hidden_def.
19268 (__getnetgrent_r): Update caller.
19269 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19270
c3c8283c
JM
192712012-08-16 Joseph Myers <joseph@codesourcery.com>
19272
19273 * stdlib/longlong.h: Update from GCC.
19274
db1ee0a8
RM
192752012-08-16 Roland McGrath <roland@hack.frob.com>
19276
19277 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19278 on _QL, which is set by umul_ppmm but never used.
19279 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19280 variables, which are set by GMP macros but never used.
19281 * stdio-common/_itowa.c (_itowa): Likewise.
19282 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19283 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19284
30f69637
CD
192852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19286
19287 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19288 struct La_sh_regs is not constant.
19289 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19290 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19291 and struct La_sparc64_regs are not constant.
19292
93a78ac4
JM
192932012-08-16 Joseph Myers <joseph@codesourcery.com>
19294
19295 * sysdeps/unix/sysv/linux/kernel-features.h
19296 (__ASSUME_POSIX_TIMERS): Remove.
19297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19299 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19300 Make code unconditional.
19301 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19302 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19303 Make code unconditional.
19304 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19305 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19306 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19307 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19308 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19309 Make code unconditional.
19310 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19311 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19312 (__libc_missing_posix_timers): Remove.
19313
dd924cd7
RM
193142012-08-15 Roland McGrath <roland@hack.frob.com>
19315
4b4f2771
RM
19316 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19317 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19318
601c888b
RM
19319 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19320
176790a7
RM
19321 * elf/dl-sym.c: Include <stdlib.h>.
19322
329bc018
RM
19323 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19324 constants, which avoids warnings in 32-bit builds.
19325
e04e272d
RM
19326 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19327 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19328
952bf94a
RM
19329 * misc/lseek.c: File moved to ...
19330 * io/lseek.c: ... here.
19331
7c99b50a
RM
19332 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19333
dd924cd7
RM
19334 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19335 shifting LEN more than 31 bits at once.
19336
b3f479a8
LD
193372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19338
19339 [BZ #14195]
8c4ae0d4
RM
19340 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19341 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19342 * string/test-strncasecmp.c (check1): Renamed to...
19343 (bz12205): ...this.
19344 (bz14195): Add new testcase for two empty input strings and N > 0.
19345 (test_main): Call new testcase, adapt for renamed function.
19346
9c55864e
AJ
193472012-08-15 Andreas Jaeger <aj@suse.de>
19348
19349 [BZ #14090]
19350 * crypt/md5test2.c: New test, based on test supplied by Serge
19351 Belyshev <belyshev@depni.sinp.msu.ru>.
19352 * crypt/Makefile (xtests): Add md5test-giant..
19353 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19354
02dcb6c5
PE
193552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19356
19357 [BZ #14090]
19358 * crypt/md5.c (md5_process_block): Don't assume the buffer
19359 length is less than 2**32.
19360 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19361 length is less than 2**64.
19362
a3f95dcc
RM
193632012-08-15 Roland McGrath <roland@hack.frob.com>
19364
be75d758
RM
19365 * string/str-two-way.h: Include <sys/param.h>.
19366 (MAX): Macro removed.
19367
7312ca90
RM
19368 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19369 Move #define and #undef of memmove to just before and after
19370 including <string.h>.
19371
9a0a5486
RM
19372 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19373 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19374 and after including <string.h>. Move declarations of
19375 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19376 to before #include "string/memmove.c".
19377
67cc348d
RM
19378 * include/dirent.h: Declare __getdirentries.
19379
a3f95dcc
RM
19380 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19381 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19382
ca98e171
MF
193832012-08-14 Mike Frysinger <vapier@gentoo.org>
19384
19385 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19386 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19387 * sysdeps/i386/configure: Regenerated.
19388 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19389 STABS_CURRENT_FILE, and STABS_FUN.
19390 (END): Remove call to STABS_FUN_END.
19391 (STABS_CURRENT_FILE1): Delete.
19392 (STABS_CURRENT_FILE): Likewise.
19393 (STABS_FUN): Likewise.
19394 (STABS_FUN_END): Likewise.
19395 (STABS_FUN2): Likewise.
19396 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19397 * sysdeps/x86_64/configure: Regenerated.
19398
5908bf46
RM
193992012-08-14 Roland McGrath <roland@hack.frob.com>
19400
19401 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19402 * elf/dl-lookup.c: Likewise.
5908bf46 19403
f2c05b9e
JM
194042012-08-14 Joseph Myers <joseph@codesourcery.com>
19405
19406 * sysdeps/unix/sysv/linux/kernel-features.h
19407 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19408 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19409 unconditionally.
19410 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19411 unconditionally.
19412 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19413 condition on __ASSUME_CLONE_THREAD_FLAGS.
19414
e11f5155
AJ
194152012-08-14 Andreas Jaeger <aj@suse.de>
19416
19417 * sysdeps/i386/fpu/libm-test-ulps: Update.
19418
51a9ba86
MK
194192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19420
2fdd4f78
AJ
19421 * include/atomic.h (atomic_exchange_and_add): Split into ...
19422 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19423 New atomic macros.
51a9ba86 19424
ba6cba9e
MT
194252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19426
19427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19428
42443a47
JL
194292012-08-13 Jeff Law <law@redhat.com>
19430
19431 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19432 null byte in the output string.
19433
121dce05
JM
194342012-08-10 Joseph Myers <joseph@codesourcery.com>
19435
19436 * sysdeps/unix/sysv/linux/kernel-features.h
19437 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19438 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19439 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19440 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19441 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19442 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19443 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19444
bf51f568
JL
194452012-08-09 Jeff Law <law@redhat.com>
19446
19447 [BZ #13939]
19448 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19449 When avoid_arena is set, don't retry in the that arena. Pick the
19450 next one, whatever it might be.
19451 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19452 (arena_lock): Pass in new parameter to arena_get2.
19453 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19454 arena_get2.
19455 (__libc_malloc): Unify retrying after main arena failure with
19456 __libc_memalign version.
19457 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19458
f85fa270
L
194592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19460
19461 [BZ #14166]
19462 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19463 to __redirect_strstr.
19464 (__strstr_sse42): Use typeof __redirect_strstr.
19465 (__strstr_ia32): Likewise.
19466 (__libc_strstr): New prototype.
19467 (strstr): Renamed to ...
19468 (__libc_strstr): This.
19469 (strstr): New strong alias of __libc_strstr.
19470 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19471 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19472 __redirect_time.
19473 Include <time.h>.
19474 (__libc_time): New prototype.
19475 (time_ifunc): Replace time with __libc_time.
19476 (time): New strong alias and hidden definition of __libc_time.
19477 (__GI_time): Remove strong alias.
19478 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19479 Include <stddef.h>.
19480 (memmove): Redefined to __redirect_memmove.
19481 (__memmove_sse2): Use typeof __redirect_memmove.
19482 (__memmove_ssse3): Likewise.
19483 (__memmove_ssse3_back): Likewise.
19484 (__libc_memmove): New prototype.
19485 (memmove): Renamed to ...
19486 (__libc_memmove): This.
19487 (memmove): New strong alias of __libc_memmove.
19488
33b4a91e
MS
194892012-08-08 Mark Salter <msalter@redhat.com>
19490
19491 * elf/elf.h
19492 (R_MN10300_TLS_GD): Define.
19493 (R_MN10300_TLS_LD): Likewise.
19494 (R_MN10300_TLS_LDO): Likewise.
19495 (R_MN10300_TLS_GOTIE): Likewise.
19496 (R_MN10300_TLS_IE): Likewise.
19497 (R_MN10300_TLS_LE): Likewise.
19498 (R_MN10300_TLS_DTPMOD): Likewise.
19499 (R_MN10300_TLS_DTPOFF): Likewise.
19500 (R_MN10300_TLS_TPOFF): Likewise.
19501 (R_MN10300_SYM_DIFF): Likewise.
19502 (R_MN10300_ALIGN): Likewise.
19503 (R_MN10300_NUM): Update.
19504
b36137f1
JM
195052012-08-08 Joseph Myers <joseph@codesourcery.com>
19506
19507 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19508 Remove.
19509
cdd915fd
RM
195102012-08-08 Roland McGrath <roland@hack.frob.com>
19511
a2433aac
RM
19512 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19513
cdd915fd
RM
19514 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19515 sysdeps/unix -> sysdeps/posix move.
19516 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19517
bf9b740a
AM
195182012-08-07 Allan McRae <allan@archlinux.org>
19519
19520 [BZ #14303]
19521 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19522 (SUNOS_CPP): Likewise.
19523 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19524 not found.
19525 (open_input): Call CPP using execvp.
19526
93df14ee
JM
195272012-08-07 Joseph Myers <joseph@codesourcery.com>
19528
19529 * sysdeps/unix/sysv/linux/kernel-features.h
19530 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19531 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19532 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19533 (__ASSUME_WAITID_SYSCALL): Likewise.
19534 * sysdeps/unix/sysv/linux/dl-execstack.c
19535 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19536 code unconditional.
19537 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19538 conditional code.
19539 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19540 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19541 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19542 code.
19543 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19544 unconditional.
19545 [__ASSUME_WAITID_SYSCALL]: Likewise.
19546 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19547
d34689de
RM
195482012-08-07 Roland McGrath <roland@hack.frob.com>
19549
a281decc
RM
19550 * sysdeps/unix/closedir.c: Renamed to ...
19551 * sysdeps/posix/closedir.c: ... here.
19552 * sysdeps/unix/dirfd.c: Renamed to ...
19553 * sysdeps/posix/dirfd.c: ... here.
19554 * sysdeps/unix/dirstream.h: Renamed to ...
19555 * sysdeps/posix/dirstream.h: ... here.
19556 * sysdeps/unix/fdopendir.c: Renamed to ...
19557 * sysdeps/posix/fdopendir.c: ... here.
19558 * sysdeps/unix/opendir.c: Renamed to ...
19559 * sysdeps/posix/opendir.c: ... here.
19560 * sysdeps/unix/readdir.c: Renamed to ...
19561 * sysdeps/posix/readdir.c: ... here.
19562 * sysdeps/unix/readdir_r.c: Renamed to ...
19563 * sysdeps/posix/readdir_r.c: ... here.
19564 * sysdeps/unix/rewinddir.c: Renamed to ...
19565 * sysdeps/posix/rewinddir.c: ... here.
19566 * sysdeps/unix/seekdir.c: Renamed to ...
19567 * sysdeps/posix/seekdir.c: ... here.
19568 * sysdeps/unix/telldir.c: Renamed to ...
19569 * sysdeps/posix/telldir.c: ... here.
19570 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19571 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19572 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19573 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19574
22895b47
RM
19575 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19576 * bits/fcntl.h: ... here.
19577
707a53b6
RM
19578 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19579 not 0.
19580 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19581 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19582 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19583 (struct flock): Move l_start, l_len to the beginning.
19584 Use __pid_t for l_pid.
19585 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19586 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19587 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19588 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19589 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19590 [__USE_LARGEFILE64] (struct flock64): New type.
19591 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19592
f0bd3e25
RM
19593 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19594 * bits/dirent.h: ... here.
19595
d34689de
RM
19596 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19597 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19598
6dad2c06
JM
195992012-08-07 Joseph Myers <joseph@codesourcery.com>
19600
19601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19602 Change from 2.6.0 to 2.6.16.
19603 * sysdeps/unix/sysv/linux/configure: Regenerated.
19604 * sysdeps/unix/sysv/linux/kernel-features.h
19605 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19606 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19607 version.
19608 (__ASSUME_UTIMES): Likewise.
19609 (__ASSUME_CLONE_STOPPED): Remove.
19610 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19611 architectures, not kernel version.
19612 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19613 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19614 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19615 (__ASSUME_WAITID_SYSCALL): Likewise.
19616 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19617 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19618 * README: State 2.6.16 as minimum Linux kernel version. Do not
19619 refer to older versions.
19620
03af9520
RM
196212012-08-06 Roland McGrath <roland@hack.frob.com>
19622
8e49df1d
RM
19623 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19624 Define alphasort64 as an alias.
19625 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19626 Define versionsort64 as an alias.
19627 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19628 Define scandir64 as an alias.
19629 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19630 Define scandirat64 as an alias.
19631 * dirent/alphasort64.c (alphasort64):
19632 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19633 * dirent/versionsort64.c: Likewise.
19634 * dirent/scandir64.c: Likewise.
19635 * dirent/scandirat64.c: Likewise.
19636 * sysdeps/wordsize-64/alphasort.c: File removed.
19637 * sysdeps/wordsize-64/alphasort64.c: File removed.
19638 * sysdeps/wordsize-64/scandir.c: File removed.
19639 * sysdeps/wordsize-64/scandir64.c: File removed.
19640 * sysdeps/wordsize-64/scandirat.c: File removed.
19641 * sysdeps/wordsize-64/scandirat64.c: File removed.
19642 * sysdeps/wordsize-64/versionsort.c: File removed.
19643 * sysdeps/wordsize-64/versionsort64.c: File removed.
19644 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19645 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19650 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19651 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19652
19653 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19655 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19657 [defined __arch64__ || defined __sparcv9]
19658 (__INO_T_MATCHES_INO64_T): New macro.
19659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19660 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19661 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19662 * sysdeps/unix/sysv/linux/bits/dirent.h
19663 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19664 (_DIRENT_MATCHES_DIRENT64): New macro.
19665
03af9520
RM
19666 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19667 Define lockf64 as an alias.
19668 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19669 Define fseeko64 as an alias.
19670 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19671 Define ftello64 as an alias.
19672 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19673 Define _IO_fgetpos64 and fgetpos64 as aliases.
19674 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19675 Define _IO_fsetpos64 and fsetpos64 as aliases.
19676 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19677 Conditionalize body on this.
19678 * libio/fseeko64.c: Likewise.
19679 * libio/ftello64.c: Likewise.
19680 * libio/iofgetpos64.c: Likewise.
19681 * libio/iofsetpos64.c: Likewise.
19682 * sysdeps/wordsize-64/lockf.c: File removed.
19683 * sysdeps/wordsize-64/lockf64.c: File removed.
19684 * sysdeps/wordsize-64/fseeko.c: File removed.
19685 * sysdeps/wordsize-64/fseeko64.c: File removed.
19686 * sysdeps/wordsize-64/ftello.c: File removed.
19687 * sysdeps/wordsize-64/ftello64.c: File removed.
19688 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19689 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19690 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19691 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19692 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19698 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19699 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19700 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19701 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19702
19703 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19705 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19707 [defined __arch64__ || defined __sparcv9]
19708 (__OFF_T_MATCHES_OFF64_T): New macro.
19709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19710 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19712 (__OFF_T_MATCHES_OFF64_T): New macro.
19713
c5757acd
L
197142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19715
19716 * stdlib/secure-getenv.c (__secure_getenv): Replace
19717 GLIBC_2_16 with GLIBC_2_17.
19718
3a31811e
L
197192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19720
19721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19723
faa2bccb
DM
197242012-08-03 David S. Miller <davem@davemloft.net>
19725
19726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19727
85fe1997
JM
197282012-08-03 Joseph Myers <joseph@codesourcery.com>
19729
19730 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19731 Remove.
19732 (__ASSUME_CORRECT_SI_PID): Likewise.
19733 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19734 (__ASSUME_TMPFS_NAME): Likewise.
19735 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19736 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19737 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19738 (HAVE_AUX_SECURE): Make definition unconditional.
19739 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19740 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19741
4f75b7a0
RM
197422012-08-03 Roland McGrath <roland@hack.frob.com>
19743
19744 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19745 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19746 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19747 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19748 __eloop_threshold instead of SYMLOOP_MAX.
19749
19750 * sysdeps/generic/eloop-threshold.h: New file.
19751 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19752 of MAXSYMLINKS.
19753 * elf/chroot_canon.c (chroot_canon): Likewise.
19754
7aab07e4
JM
197552012-08-03 Joseph Myers <joseph@codesourcery.com>
19756
19757 [BZ #13717]
19758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19759 Change to 2.6.0 everywhere.
19760 * sysdeps/unix/sysv/linux/configure: Regenerated.
19761 * sysdeps/unix/sysv/linux/kernel-features.h
19762 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19763 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19764 kernel versions.
19765 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19766 (__ASSUME_FUTEX_REQUEUE): Remove.
19767 (__ASSUME_STATFS64): Define unconditionally.
19768 (__ASSUME_AT_SECURE): Likewise.
19769 (__ASSUME_CORRECT_SI_PID): Likewise.
19770 (__ASSUME_TGKILL): Define without depending on kernel version for
19771 i386.
19772 (__ASSUME_UTIMES): Likewise.
19773 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19774 kernel version.
19775 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19776 (__ASSUME_TMPFS_NAME): Likewise.
19777 * README: Update reference to Linux kernel versions.
19778
b67e9372
MP
197792012-08-02 Marek Polacek <polacek@redhat.com>
19780
1f529f7d 19781 [BZ# 14150]
b67e9372
MP
19782 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19783 libc_cv_asm_type_prefix with %.
19784 * configure: Regenerated.
d2441631
RM
19785 * include/libc-symbols.h: Remove comment about
19786 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19787 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19788 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19789 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19790 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19791 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19792 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19793 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19794 * elf/tst-unique2mod1.c: Likewise.
19795 * elf/tst-unique1mod2.c: Likewise.
19796 * elf/tst-unique1mod1.c: Likewise.
19797 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19798 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19799 Replace ASM_TYPE_DIRECTIVE with .type.
19800 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19801 * sysdeps/i386/sysdep.h: Likewise.
19802 * sysdeps/x86_64/sysdep.h: Likewise.
19803 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19805 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19806 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19807 * sysdeps/powerpc/powerpc32/sysdep.h:
19808 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19809 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19810 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19811 * sysdeps/i386/fpu/e_powf.S: Likewise.
19812 * sysdeps/i386/fpu/e_expl.S: Likewise.
19813 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19814 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19815 * sysdeps/i386/fpu/e_pow.S: Likewise.
19816 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19817 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19818 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19819 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19820 * sysdeps/i386/fpu/e_log2.S: Likewise.
19821 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19822 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19823 * sysdeps/i386/fpu/e_powl.S: Likewise.
19824 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19825 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19826 * sysdeps/i386/fpu/e_logl.S: Likewise.
19827 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19828 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19829 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19830 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19831 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19832 * sysdeps/i386/fpu/e_log.S: Likewise.
19833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19834 * sysdeps/i386/fpu/e_logf.S: Likewise.
19835 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19836 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19837 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19838 * sysdeps/i386/fpu/e_log10.S: Likewise.
19839 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19840 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19841 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19842 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19843 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19844 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19845 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19846 * sysdeps/i386/i686/strtok.S: Likewise.
19847 * sysdeps/i386/i386-mcount.S: Likewise.
19848 * sysdeps/i386/strtok.S: Likewise.
19849 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19850 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19851 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19852 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19853 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19858 * sysdeps/x86_64/_mcount.S: Likewise.
19859 * sysdeps/x86_64/strtok.S: Likewise.
19860 * sysdeps/sh/_mcount.S: Likewise.
19861
2747bf9a
RM
198622012-08-01 Roland McGrath <roland@hack.frob.com>
19863
19864 * libio/iofopen.c: Include <fcntl.h>.
19865 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19866 (_IO_fopen64, fopen64): Define as aliases.
19867 * libio/iofopen64.c: Include <fcntl.h>.
19868 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19869 Conditionalize body on this.
19870 * sysdeps/wordsize-64/iofopen.c: File removed.
19871 * sysdeps/wordsize-64/iofopen64.c: File removed.
19872
3fb791b8
MP
198732012-08-01 Marek Polacek <polacek@redhat.com>
19874
19875 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19876 Use dlfcn directly instead of a variable.
19877 (binfmt-subdir): Do not define.
19878 (dlfcn): Likewise.
19879
a9f1039f
JM
198802012-08-01 Joseph Myers <joseph@codesourcery.com>
19881
23bddc06
JM
19882 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19883 Remove all definitions.
19884 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19885 <kernel-features.h>.
19886 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19887 (miss_F_GETOWN_EX): Remove all definitions.
19888 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19889 macro definition.
19890 [!__ASSUME_FCNTL64]: Remove conditional code.
19891 [__ASSUME_FCNTL64]: Make code unconditional.
19892 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19893 <kernel-features.h>.
19894 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19895 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19896 (lockf64) [__NR_fcntl64]: Make code unconditional.
19897 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19898
a9f1039f
JM
19899 * sysdeps/unix/sysv/linux/kernel-features.h
19900 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19901 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19902 Make code unconditional.
19903 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19904 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19906 [__NR_vfork]: Make code unconditional.
19907 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19908 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19910 [__NR_vfork]: Make code unconditional.
19911 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19912 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19913
09c0ee5f
RM
199142012-08-01 Roland McGrath <roland@hack.frob.com>
19915
48aec5b9
RM
19916 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19917 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19918
cd97c966
RM
19919 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19920 Define mkstemp64 as an alias.
3f55550c
RM
19921 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19922 Define mkstemps64 as an alias.
cd97c966
RM
19923 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19924 Define mkostemp64 as an alias.
b8625cfc
RM
19925 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19926 Define mkostemps64 as an alias.
cd97c966
RM
19927 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19928 Conditionalize body on this.
19929 * misc/mkostemp64.c: Likewise.
b8625cfc 19930 * misc/mkostemps64.c: Likewise.
3f55550c 19931 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19932 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19933 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19934 * sysdeps/wordsize-64/mkostemp.c: File removed.
19935 * sysdeps/wordsize-64/mkstemp.c: File removed.
19936 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19938 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19940
09c0ee5f
RM
19941 [BZ #14138]
19942 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19943 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19944 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19945 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19946
19947 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19948 compat_symbol macros from <shlib-compat.h> rather than the underlying
19949 default_symbol_version and symbol_version macros, so that DEFAULT
19950 lines in shlib-versions are respected.
19951 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19952
7e66ee51
FW
199532012-08-01 Florian Weimer <fweimer@redhat.com>
19954
19955 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19956 Declare with warn_unused_result.
19957 (setgid, setregid, setegid, setresgid): Likewise.
19958 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19959 Likewise.
19960 * WUR-REPORT: Remove set*id functions.
19961
d2a54255
PT
199622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19963
19964 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19965
7ecdb005
RM
199662012-07-31 Roland McGrath <roland@hack.frob.com>
19967
b4180a5e 19968 [BZ #10191]
789bd351
RM
19969 * include/sys/socket.h (__libc_accept, __libc_accept4):
19970 Add attribute_hidden.
19971 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19972
40ce302d
RM
19973 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19974 use of PTR_MANGLE.
19975 * inet/getnetgrent_r.c (setup): Likewise.
19976
7ecdb005
RM
19977 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19978
e2eabb2c
DM
199792012-07-31 David S. Miller <davem@davemloft.net>
19980
19981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19982
d0419dbf
JM
199832012-07-31 Joseph Myers <joseph@codesourcery.com>
19984
19985 [BZ #13629]
19986 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19987 value between 1.0 and 2.0 and smaller part has absolute value less
19988 than 1.0.
19989 * math/s_clog10.c (__clog10): Likewise.
19990 * math/s_clog10f.c (__clog10f): Likewise.
19991 * math/s_clog10l.c (__clog10l): Likewise.
19992 * math/s_clogf.c (__clogf): Likewise.
19993 * math/s_clogl.c (__clogl): Likewise.
19994 * math/libm-test.inc (clog_test): Add more tests.
19995 (clog10_test): Likewise.
19996 * sysdeps/i386/fpu/libm-test-ulps: Update.
19997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19998
2bc13872
FW
199992012-07-31 Florian Weimer <fweimer@redhat.com>
20000
20001 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20002 Exit with zero in case no suitable GID is found, and write a
20003 message to standard error.
20004
bea9b193
RM
200052012-07-30 Roland McGrath <roland@hack.frob.com>
20006
20007 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20008 rather than to 1.
20009 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20010 (MAXPATHLEN): Removed.
20011 (NOGROUP, NODEV): New macros.
20012 (setbit, clrbit, isset, isclr): New macros.
20013 (howmany, roundup, powerof2): New macros.
20014 (DEV_BSIZE): New macro.
20015
20016 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20017 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20018
20019 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20020 definition on [!__NO_LONG_DOUBLE_MATH].
20021
20022 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20023 PTR_MANGLE and PTR_DEMANGLE.
20024
20025 * socket/accept4.c (accept4): Rename to __libc_accept4.
20026 Define accept4 as a weak alias.
20027
20028 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20029 on [_DIRENT_HAVE_D_TYPE].
20030 * io/ftw.c (ftw_dir): Likewise.
20031
20032 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20033
20034 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20035
20036 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20037 Use the BSD numbers rather than the arbitrary ones we had.
20038 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20039 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20040 (SIGXCPU, SIGXFSZ): New macros.
20041 (_NSIG): Now 32.
20042
20043 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20044 initializer on [_LIBC_REENTRANT].
20045
20046 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20047 definitions inside [_POSIX_MAPPED_FILES].
20048
20049 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20050
20051 * dirent/opendir.c: Include <fcntl.h>.
20052
20053 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20054 (__libc_getspecific): Likewise.
20055 (__libc_key_create): Likewise.
20056
20057 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20058 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20059 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20060 (tmpfile64): Define as alias.
20061 * sysdeps/wordsize-64/tmpfile.c: File removed.
20062 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20065
20066 * stdio-common/vfscanf.c: Include <stdbool.h>.
20067 * nss/makedb.c: Likewise.
20068 * stdio-common/_i18n_number.h: Likewise.
20069 * argp/argp-help.c: Likewise.
20070 * posix/wordexp.c: Likewise.
20071 * sysdeps/posix/spawni.c: Likewise.
20072 * nss/nss_files/files-initgroups.c: Likewise.
20073 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20074 * nss/nss_files/files-initgroups.c: Likewise.
20075 * nss/nss_db/db-netgrp.c: Likewise.
20076 * nss/nss_db/db-initgroups.c: Likewise.
20077 * io/fchmodat.c: Include <sys/stat.h>.
20078
20079 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20080 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20081
20082 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20083 [HAVE_MMAP].
20084
20085 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20086 Add multiple inclusion protection.
20087
e5abc686
DM
200882012-07-27 David S. Miller <davem@davemloft.net>
20089
20090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20091
815e6fa3
GB
200922012-07-27 Gary Benson <gbenson@redhat.com>
20093
20094 [BZ #14298]
20095 * elf/rtld.c: Include <stap-probe.h>.
20096 (dl_main): Added static probes "init_start" and "init_complete".
20097 * elf/dl-load.c: Include <stap-probe.h>.
20098 (lose): Take new parameter "nsid".
20099 Added static probe "map_failed".
20100 (_dl_map_object_from_fd): Pass namespace id to lose.
20101 Added static probe "map_start".
20102 (open_verify): Pass namespace id to lose.
20103 * elf/dl-open.c: Include <stap-probe.h>.
20104 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20105 and "reloc_complete".
20106 * elf/dl-close.c: Include <stap-probe.h>.
20107 (_dl_close_worker): Added static probes "unmap_start" and
20108 "unmap_complete".
20109 * elf/rtld-debugger-interface.txt: New file documenting the above.
20110
9f98c16c
RM
201112012-07-26 Roland McGrath <roland@hack.frob.com>
20112
20113 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20114 rather than a string variable.
20115 * sunrpc/rpc_main.c (h_output): Likewise.
20116 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20117
f3c22df3
PT
201182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20119
20120 * inet/check_native.c: New file.
20121
3129cfc6
JM
201222012-07-26 Joseph Myers <joseph@codesourcery.com>
20123
da865e95
JM
20124 [BZ #13629]
20125 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20126 if larger part has absolute value 1.0.
20127 * math/s_clog10.c (__clog10): Likewise.
20128 * math/s_clog10f.c (__clog10f): Likewise.
20129 * math/s_clog10l.c (__clog10l): Likewise.
20130 * math/s_clogf.c (__clogf): Likewise.
20131 * math/s_clogl.c (__clogl): Likewise.
20132 * math/libm-test.inc (clog_test): Add more tests.
20133 (clog10_test): Likewise.
20134 * sysdeps/i386/fpu/libm-test-ulps: Update.
20135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20136
3129cfc6
JM
20137 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20138 (pltexit): Likewise.
20139 (La_regs): Likewise.
20140 (La_retval): Likewise.
20141 (int_retval): Likewise.
20142 Update #error for removed macros to refer only to definitions in
20143 tst-audit.h.
20144 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20145 macro.
20146 (pltexit): Likewise.
20147 (La_regs): Likewise.
20148 (La_retval): Likewise.
20149 (int_retval): Likewise.
20150 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20151 macro.
20152 (pltexit): Likewise.
20153 (La_regs): Likewise.
20154 (La_retval): Likewise.
20155 (int_retval): Likewise.
20156 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20157 macro.
20158 (pltexit): Likewise.
20159 (La_regs): Likewise.
20160 (La_retval): Likewise.
20161 (int_retval): Likewise.
20162 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20163 macro.
20164 (pltexit): Likewise.
20165 (La_regs): Likewise.
20166 (La_retval): Likewise.
20167 (int_retval): Likewise.
20168 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20169 macro.
20170 (pltexit): Likewise.
20171 (La_regs): Likewise.
20172 (La_retval): Likewise.
20173 (int_retval): Likewise.
20174 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20175 macro.
20176 (pltexit): Likewise.
20177 (La_regs): Likewise.
20178 (La_retval): Likewise.
20179 (int_retval): Likewise.
20180 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20181 macro definitions in tst-audit.h.
20182 * sysdeps/i386/tst-audit.h: New file.
20183 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20184 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20185 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20186 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20187 * sysdeps/sh/tst-audit.h: Likewise.
20188 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20189 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20190 * sysdeps/x86_64/tst-audit.h: Likewise.
20191
bfc07087
AJ
201922012-07-26 Andreas Jaeger <aj@suse.de>
20193
b1b2aaf8
AJ
20194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20195 ptrace.
20196
20197 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20198 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20199 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20200 PTRACE_O_MASK.
20201 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20202 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20203 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20204
bfc07087
AJ
20205 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20206 value.
20207
20208 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20209 _sigsys.
20210 (si_call_addr, si_syscall, si_arch): Define new macro.
20211 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20212 _sigsys.
20213 (si_call_addr, si_syscall, si_arch): Define new marcro.
20214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20215 _sigsys.
20216 (si_call_addr, si_syscall, si_arch): Define new macro.
20217 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20218 _sigsys.
20219 (si_call_addr, si_syscall, si_arch): Define new macro.
20220
89b4b02f
JM
202212012-07-25 Joseph Myers <joseph@codesourcery.com>
20222
20223 [BZ #13717]
20224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20225 Change to 2.4.21 where previously 2.4.1.
20226 * sysdeps/unix/sysv/linux/configure: Regenerated.
20227 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20228 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20229 Linux kernel version.
20230 (__ASSUME_STD_AUXV): Remove.
20231 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20232 kernel version.
20233 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20234 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20235 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20236 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20237 (__ASSUME_NETLINK_SUPPORT): Likewise.
20238 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20239 (__no_netlink_support): Remove conditional definition.
20240 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20241 Remove.
20242 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20243 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20244 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20245 (if_nameindex_ioctl): Remove.
20246 (if_nameindex_netlink): Do not handle __no_netlink_support.
20247 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20248 code.
20249 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20250 Remove conditional code.
20251 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20252 code.
20253 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20254 unconditional.
20255 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20256 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20257 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20258 Remove.
20259 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20260 [!__ASSUME_STD_AUXV]: Remove conditional code.
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20262 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20263 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20265 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20266 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20267 code.
20268 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20270 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20271 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20272 conditional code.
20273 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20275 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20276 code.
20277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20278 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20279 conditional code.
20280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20281 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20282 code unconditional.
20283 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20284 conditional code.
20285 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20286 unconditional.
20287 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20288 conditional code.
20289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20290 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20291 unconditional.
20292 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20293 conditional code.
20294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20295 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20296 code unconditional.
20297 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20298 conditional code.
20299 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20300 unconditional.
20301 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20302 conditional code.
20303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20304 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20305 code unconditional.
20306 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20307 conditional code.
20308 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20309 unconditional.
20310 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20311 conditional code.
20312
842a39cd
AS
203132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20314
20315 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20316 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20317 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20318 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20319 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20320 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20321 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20322 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20323 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20324 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20325 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20326 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20327 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20328 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20329 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20330 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20331 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20333 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20335 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20336 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20338
84b3fd84
FW
203392012-07-25 Florian Weimer <fweimer@redhat.com>
20340
20341 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20342 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20343 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20344 Introduce __libc_secure_getenv.
0c7936d5
FW
20345 * stdlib/Versions (2.17): Add secure_getenv
20346 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20347 * stdlib/secure-getenv.c: Rename __secure_getenv to
20348 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20349 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20350 * stdlib/tst-secure-getenv.c: New.
20351 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20352 * manual/startup.texi (Environment Access): Document
20353 secure_getenv.
84b3fd84
FW
20354 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20355 __libc_secure_getenv.
20356 * inet/ruserpass.c (ruserpass): Likewise.
20357 * malloc/mtrace.c (mtrace): Likewise.
20358 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20359 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20360 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20361 * sysdeps/posix/tempname.c: Likewise. Evaluate
20362 HAVE_SECURE_GETENV.
20363 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20364 __secure_getenv to __libc_secure_getenv.
84b3fd84 20365 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20367 Likewise.
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20369 Likewise.
20370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20377
56e49b71
JM
203782012-07-25 Joseph Myers <joseph@codesourcery.com>
20379
20380 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20381 (struct La_i86_retval): Likewise.
20382 (struct La_x86_64_regs): Likewise.
20383 (struct La_x86_64_retval): Likewise.
20384 (struct La_x32_regs): Likewise.
20385 (struct La_x32_retval): Likewise.
20386 (struct La_ppc32_regs): Likewise.
20387 (struct La_ppc32_retval): Likewise.
20388 (struct La_ppc64_regs): Likewise.
20389 (struct La_ppc64_retval): Likewise.
20390 (struct La_sh_regs): Likewise.
20391 (struct La_sh_retval): Likewise.
20392 (struct La_s390_32_regs): Likewise.
20393 (struct La_s390_32_retval): Likewise.
20394 (struct La_s390_64_regs): Likewise.
20395 (struct La_s390_64_retval): Likewise.
20396 (struct La_sparc32_regs): Likewise.
20397 (struct La_sparc32_retval): Likewise.
20398 (struct La_sparc64_regs): Likewise.
20399 (struct La_sparc64_retval): Likewise.
20400 (struct audit_ifaces): Remove architecture-specific pltenter and
20401 pltexit members.
20402 * sysdeps/i386/ldsodefs.h: New file.
20403 * sysdeps/powerpc/ldsodefs.h: Likewise.
20404 * sysdeps/s390/ldsodefs.h: Likewise.
20405 * sysdeps/sh/ldsodefs.h: Likewise.
20406 * sysdeps/sparc/ldsodefs.h: Likewise.
20407 * sysdeps/x86_64/ldsodefs.h: Likewise.
20408
354691b7
MP
204092012-07-25 Marek Polacek <polacek@redhat.com>
20410
20411 [BZ #6808]
20412 * math/libm-test.inc (yn_test): Add another test.
20413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20414 to ERANGE when the result is +-Inf.
20415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20416 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20417 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20418 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20419
bf9e2071
JM
204202012-07-24 Joseph Myers <joseph@codesourcery.com>
20421
20422 * conform/data/time.h-data (NULL): Use macro-constant. Require
20423 equal to 0.
20424 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20425 clock_t.
20426 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20427
57633811
TS
204282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20429
20430 * configure.in <sysdeps resolving>: Correct printing
20431 Implies_before.
20432 * configure: Regenerate.
20433
c23c33b0
TS
204342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20435
20436 * math/w_ilogb.c: Include <limits.h>.
20437 * math/w_ilogbl.c: Likewise.
20438
b5982523
JM
204392012-07-20 Joseph Myers <joseph@codesourcery.com>
20440
20441 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20442 va_copy. Document allowing for unavailable va_copy only as
20443 pre-C99 compatibility.
20444 * manual/string.texi (Copying and Concatenation): Use va_copy
20445 instead of __va_copy in concat example.
20446
ac4ea442
PT
204472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20448
20449 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20450 (__sendto): Use create_address_port. Initialize APORT and deallocate
20451 it if not null.
20452
f98eafbd
PT
20453 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20454 with O_NOLINK passed to __file_name_lookup.
20455
898c7aab
PT
20456 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20457 with O_NOLINK passed to __file_name_lookup.
20458
0ced335a
PT
20459 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20460 negative N or less than NGIDS.
20461
b3404dbd
PT
20462 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20463 type to string_t. Set ERANGE as errno and return it if NAME is not big
20464 enough. Use memcpy instead of strncpy.
20465
0f48659e
JM
204662012-07-20 Joseph Myers <joseph@codesourcery.com>
20467
20468 * elf/Makefile (check-data): Remove.
20469 (localplt.data): New vpath directive.
20470 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20471 instead of $(check-data).
20472 * scripts/data/localplt-generic.data: Move to ...
20473 * sysdeps/generic/localplt.data: ... here.
20474 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20475 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20476 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20478 ... here.
20479 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20481 ... here.
20482 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20484 ... here.
20485 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20487 ... here.
20488 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20490 ... here.
20491 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20493 ... here.
20494
d37cbdaa
AZ
204952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20496
20497 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20498 PPC32 and PPC64 files.
20499 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20500 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20501
46f85fc2
AK
205022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20503
20504 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20505 __makecontext_ret to ...
20506 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20507 ... here and call exit if uc_link is NULL. New file.
20508 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20509 __makecontext_ret.S.
20510 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20511 __makecontext_ret to ...
20512 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20513 ... here and call exit if uc_link is NULL. New file.
20514 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20515 __makecontext_ret.S.
20516
08f43f9b
AK
205172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20518
20519 * elf/elf.h (R_390_IRELATIVE): New definition.
20520 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20521 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20522 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20523 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20524 (elf_machine_lazy_rel): Likewise.
20525 * sysdeps/s390/dl-irel.h: New file.
20526 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20527 * sysdeps/s390/s390-64/memset.S: New asm code.
20528 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20529 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20530 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20531 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20532 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20533 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20534 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20535 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20536 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20537 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20538 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20539 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20540 * sysdeps/s390/s390-32/memset.S: New asm code.
20541 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20542
3b05db33
MP
205432012-07-17 Marek Polacek <polacek@redhat.com>
20544
20545 [BZ #14349]
20546 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20547 * sysdeps/s390/s390-64/configure.in: Likewise.
20548 * sysdeps/sparc/configure.in: Likewise.
20549 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20550 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20551 * sysdeps/i386/configure.in: Likewise.
20552 * sysdeps/x86_64/configure.in: Likewise.
20553 * sysdeps/sh/configure.in: Likewise.
20554 * sysdeps/s390/s390-32/configure: Regenerated.
20555 * sysdeps/s390/s390-64/configure: Likewise.
20556 * sysdeps/x86_64/configure: Likewise.
20557 * sysdeps/sh/configure: Likewise.
20558 * sysdeps/powerpc/powerpc64/configure: Likewise.
20559 * sysdeps/powerpc/powerpc32/configure: Likewise.
20560 * sysdeps/sparc/configure: Likwise.
20561 * sysdeps/i386/configure: Likewise.
20562
a66877c6
MP
20563 * elf/dl-open.c: Comment fixes.
20564
cfc82fd8
JM
205652012-07-17 Joseph Myers <joseph@codesourcery.com>
20566
bd29910a
JM
20567 * Makefile [CXX] (check-data): Remove.
20568 [CXX] (c++-types.data): New vpath directive.
20569 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20570 vpath. Do not allow for C++ type data being missing.
20571 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20572 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20573 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20574 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20575 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20576 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20577 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20579 ... here.
20580 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20582 ... here.
20583 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20585 ... here.
20586 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20588 ... here.
20589 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20591 ... here.
20592 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20594 ... here.
20595 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20597 ... here.
20598 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20600
cfc82fd8
JM
20601 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20602 definitions to architecture-specific files.
20603 (TLS_IE): Likewise.
20604 (TLS_LD): Likewise.
20605 (TLS_GD): Likewise.
20606 * sysdeps/i386/tls-macros.h: New file.
20607 * sysdeps/powerpc/tls-macros.h: Likewise.
20608 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20609 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20610 * sysdeps/sh/tls-macros.h: Likewise.
20611 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20612 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20613 * sysdeps/x86_64/tls-macros.h: Likewise.
20614
f7db3170
TS
206152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20616
07cbfc23
TS
20617 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20618 zero value for regular exit case.
20619
f7db3170
TS
20620 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20621 (__start_context): Preserve zero value for regular exit case.
20622
dc97c227
TS
206232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20624 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20625
20626 * manual/setjmp.texi (setcontext): Clarify normal process
20627 termination when uc_link is the null pointer.
20628 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20629 exit call.
20630
d0cd7d02
AS
206312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20632
20633 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20634 preprocessor. Test for each exception mask separately.
20635
dd318934
AJ
206362012-07-16 Andreas Jaeger <aj@suse.de>
20637
20638 * po/ru.po: Update from translation team.
20639
8048311a
JM
206402012-07-15 Joseph Myers <joseph@codesourcery.com>
20641
20642 * conform/data/string.h-data (NULL): Use macro-constant. Require
20643 equal to 0.
20644 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20645 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20646 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20647 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20649
b637d46e
AJ
206502012-07-13 Andreas Jaeger <aj@suse.de>
20651
20652 * po/fr.po: Update from translation team.
20653
541428fe
MP
206542012-07-12 Marek Polacek <polacek@redhat.com>
20655
20656 [BZ #14173]
20657 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20658 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20659 loop condition.
20660
ec332e94
JM
206612012-07-12 Joseph Myers <joseph@codesourcery.com>
20662
20663 [BZ #13717]
20664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20665 Change to 2.4.1 where previously 2.4.0.
20666 * sysdeps/unix/sysv/linux/configure: Regenerated.
20667 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20668 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20669 version.
20670 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20671 (__ASSUME_AT_CLKTCK): Remove.
20672 (__ASSUME_AT_PAGESIZE): Likewise.
20673 (__ASSUME_AT_XID): Likewise.
20674 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20675 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20676 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20677 unconditionally.
20678 (HAVE_AUX_PAGESIZE): Likewise.
20679 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20680 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20681 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20682
7b6e99be
JB
206832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20684
20685 [BZ #14307]
20686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20687 the temporary buffer used to invoke __gethostbyname2_r,
20688 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20689 host_data / struct gaih_addrtuple.
20690 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20691 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20692 header file nss/nsswitch.h.
20693 * nss/nsswitch.h (global scope): Add definition of implementation
20694 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20695 resolv/nss_dns/dns-host.c).
20696
608404eb
AJ
206972012-07-11 Andreas Jaeger <aj@suse.de>
20698
20699 * po/fr.po: Update from translation team.
20700
71220aca
AJ
20701 * po/sv.po: Update from translation team
20702 * po/fr.po: Another update from translation team.
20703
28cfe843
AZ
207042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20705
20706 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20707 for subnormals or multiply small sinh result by itself.
20708 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20710
6b90f981
DM
207112012-07-11 David S. Miller <davem@davemloft.net>
20712
20713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20714
c6825772
AS
207152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20716
20717 [BZ #14347]
20718 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20719 (INTERNAL_MARK): Shift it here.
20720
7b8e0d49
MP
207212012-07-10 Marek Polacek <polacek@redhat.com>
20722
20723 [BZ #14151]
20724 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20725 libc_cv_asm_global_directive with .globl.
20726 * configure: Regenerated.
20727 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20728 with .globl.
20729 * sysdeps/i386/configure: Regenerated.
20730 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20731 with .globl.
20732 * sysdeps/x86_64/configure: Regenerated.
20733 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20734 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20735 * elf/tst-unique2mod2.c: Likewise.
20736 * elf/tst-unique2mod1.c: Likewise.
20737 * elf/tst-unique1mod2.c: Likewise.
20738 * elf/tst-unique1mod1.c: Likewise.
20739 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20740 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20741 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20742 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20743 * sysdeps/mach/sysdep.h: Likewise.
20744 * sysdeps/i386/sysdep.h: Likewise.
20745 * sysdeps/i386/i386-mcount.S: Likewise.
20746 * sysdeps/x86_64/_mcount.S: Likewise.
20747 * sysdeps/x86_64/sysdep.h: Likewise.
20748 * sysdeps/sh/_mcount.S: Likewise.
20749 * sysdeps/sh/sysdep.h: Likewise.
20750 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20751 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20752 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20754 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20755 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20756 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20757 * locale/localeinfo.h: Likewise.
20758 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20759 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20760
6c55cda3
RM
207612012-07-09 Roland McGrath <roland@hack.frob.com>
20762
20763 [BZ #14336]
20764 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20765 system".
20766 * manual/message.texi (The Uniforum approach): Likewise.
20767 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20768 (glibc iconv Implementation): Likewise.
20769
638a572e
JM
207702012-07-09 Joseph Myers <joseph@codesourcery.com>
20771
20772 [BZ #14337]
20773 * math/s_clog.c (__clog): Avoid scaling a value down where that
20774 could result in underflow.
20775 * math/s_clog10.c (__clog10): Likewise.
20776 * math/s_clog10f.c (__clog10f): Likewise.
20777 * math/s_clog10l.c (__clog10l): Likewise.
20778 * math/s_clogf.c (__clogf): Likewise.
20779 * math/s_clogl.c (__clogl): Likewise.
20780 * math/libm-test.inc (clog_test): Add more tests.
20781 (clog10_test): Likewise.
20782 * sysdeps/i386/fpu/libm-test-ulps: Update.
20783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20784
261f4859
AS
207852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20786
0abaf3e4
AS
20787 [BZ #14283]
20788 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20789 by 7 not 8 to examine high bit of fractional part.
20790
261f4859
AS
20791 [BZ #14042]
20792 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20793 for call to __mcount_internal.
20794 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20795 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20796 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20797
f17ac40d
JM
207982012-07-06 Joseph Myers <joseph@codesourcery.com>
20799
9ad63c23
JM
20800 [BZ #14154]
20801 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20802 approximation for values within 0x1p-13f of an odd multiple of
20803 pi/4.
20804 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20805 exception. Add more tests.
20806 * sysdeps/i386/fpu/libm-test-ulps: Update.
20807
f17ac40d
JM
20808 [BZ #6778]
20809 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20810 inputs and return -1 for them. Do not check for +Inf in case not
20811 reachable for +Inf.
20812 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20813 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20814 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20815 and return -1 for them. Do not check for +Inf in case not
20816 reachable for +Inf.
20817 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20818 define.
20819 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20820 and return -1 for them. Do not check for +Inf in case not
20821 reachable for +Inf.
20822 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20823 spurious underflow.
20824 * sysdeps/i386/fpu/libm-test-ulps: Update.
20825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20826
fb21f89b
MF
208272012-07-06 Mike Frysinger <vapier@gentoo.org>
20828
20829 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20830
cdfe2c5e
JM
208312012-07-05 Joseph Myers <joseph@codesourcery.com>
20832
20833 [BZ #14157]
20834 [BZ #14331]
20835 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20836 could result in spurious underflow. Scale down values above
20837 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20838 * math/s_csqrtf.c (__csqrtf): Likewise.
20839 * math/s_csqrtl.c (__csqrtl): Likewise.
20840 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20841 spurious underflow.
20842 * sysdeps/i386/fpu/libm-test-ulps: Update.
20843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20844
70d35b67
AS
208452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20846
704bc459
AS
20847 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20848 xopen-msg.sed.
20849 * catgets/xopen-msg.awk: New file.
20850 * catgets/xopen-msg.sed: Removed.
20851
70d35b67
AS
20852 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20853 po2text.sed.
20854 * intl/po2test.awk: New file.
20855 * intl/po2test.sed: Removed.
20856
ca61cf32
JM
208572012-07-04 Joseph Myers <joseph@codesourcery.com>
20858
20859 [BZ #14328]
20860 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20861 or multiply small sinh result by itself.
20862 * math/s_ctanf.c (__ctanf): Likewise.
20863 * math/s_ctanh.c (__ctanh): Likewise.
20864 * math/s_ctanhf.c (__ctanhf): Likewise.
20865 * math/s_ctanhl.c (__ctanhl): Likewise.
20866 * math/s_ctanl.c (__ctanl): Likewise.
20867 * math/libm-test.inc (ctan_test_tonearest): New function.
20868 (ctan_test_towardzero): Likewise.
20869 (ctan_test_downward): Likewise.
20870 (ctan_test_upward): Likewise.
20871 (ctanh_test_tonearest): Likewise.
20872 (ctanh_test_towardzero): Likewise.
20873 (ctanh_test_downward): Likewise.
20874 (ctanh_test_upward): Likewise.
20875 (main): Call these new functions.
20876 * sysdeps/i386/fpu/libm-test-ulps: Update.
20877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20878
ca48a46a
MF
208792012-07-03 Mike Frysinger <vapier@gentoo.org>
20880
20881 * .gitignore: Delete /ports entry.
20882
9d63d37d
AJ
208832012-07-03 Andreas Jaeger <aj@suse.de>
20884
20885 * po/bg.po: Update from translation team.
20886 * po/cs.po: Likewise.
20887 * po/de.po: Likewise.
20888 * po/hr.po: Likewise.
20889 * po/nl.pl: Likewise.
20890 * po/pl.po: Likewise.
20891 * po/vi.po: Likewise.
20892
370ca3d2
JM
208932012-07-03 Joseph Myers <joseph@codesourcery.com>
20894
95f5a9a8
JM
20895 * Makeconfig [!+link] (+link-before-libc): New variable.
20896 [!+link] (+link-after-libc): Likewise.
20897 [!+link] (+link-tests): Likewise.
20898 [!+link] (+link): Define in terms of $(+link-before-libc) and
20899 $(+link-after-libc).
20900 [!+link-static] (+link-static-before-libc): New variable.
20901 [!+link-static] (+link-static-after-libc): Likewise.
20902 [!+link-static] (+link-static-tests): Likewise.
20903 [!+link-static] (+link-static): Define in terms of
20904 $(+link-static-before-libc) and $(+link-static-after-libc).
20905 [build-shared] (link-libc-before-gnulib): New variable.
20906 [build-shared] (link-libc-tests): Likewise.
20907 [build-shared] (link-libc): Define in terms of
20908 $(link-libc-before-gnulib).
20909 [!build-shared] (link-libc-tests): New variable.
20910 (link-libc-static-tests): New variable.
20911 [!gnulib] (gnulib-arch): New variable.
20912 [!gnulib] (gnulib-tests): Likewise.
20913 [!gnulib] (static-gnulib-arch): Likewise.
20914 [!gnulib] (static-gnulib-tests): Likewise.
20915 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20916 Define with "=" instead of ":=".
20917 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20918 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20919 * Rules (binaries-all-notests): New variable.
20920 (binaries-all-tests): Likewise.
20921 (binaries-static-notests): Likewise.
20922 (binaries-static-tests): Likewise.
20923 (binaries-all): Define using $(binaries-all-notests) and
20924 $(binaries-all-tests).
20925 (binaries-static): Define using $(binaries-static-notests) and
20926 $(binaries-static-tests).
20927 (binaries-shared-tests): New variable.
20928 (binaries-shared-notests): Likewise.
20929 (binaries-shared): Remove variable.
20930 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20931 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20932 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20933 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20934 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20935 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20936 * elf/Makefile (sln-modules): New variable.
20937 (extra-objs): Add $(sln-modules:=.o).
20938 (ldconfig-modules): Add static-stubs.
20939 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20940 * elf/static-stubs.c: New file.
20941
7a845b2c
JM
20942 [BZ #14283]
20943 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20944 by 7 not 8 to examine high bit of fractional part. Use volatile
20945 variables when splitting into final array of floats if
20946 __FLT_EVAL_METHOD__ != 0.
20947 * math/libm-test.inc (cos_test): Add another test.
20948 (sin_test): Likewise.
20949 * sysdeps/i386/fpu/libm-test-ulps: Update.
20950
e2283f38
JM
20951 [BZ #14273]
20952 * math/libm-test.inc (cosh_test): Add more tests.
20953
370ca3d2
JM
20954 * version.h (RELEASE): Set to "development".
20955 (VERSION): Set to "2.16.90".
20956
ee9247c3
CD
209572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20958
20959 * NEWS: Update copyright. Remove last-updated date.
20960 Mention math library bug fixes and timezone data changes.
20961 * README: Mention GNU/Hurd, x32, and HPPA support status.
20962
4648c381
TS
209632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20964
20965 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20966
aac78a43
AJ
209672012-06-27 Andreas Jaeger <aj@suse.de>
20968
20969 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20970
ed3dbfad
AJ
209712012-06-25 Andreas Jaeger <aj@suse.de>
20972
20973 * sysdeps/s390/fpu/libm-test-ulps: Update.
20974
4d0ee855
AS
209752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20976 Thomas Schwinge <thomas@codesourcery.com>
20977
20978 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20979 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20981 fanotify_mark.
20982
af1bce34
TS
209832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20984
a9fa33ba
TS
20985 * sysdeps/mach/start.c: Remove file.
20986 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20987 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20988 * sysdeps/sh/init-first.c: Likewise.
20989
58f902b8
TS
20990 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20991 registers for frame unwinding purposes, add CFI directives.
20992 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20993 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20994 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20995 Likewise.
20996
1518f58b
TS
20997 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20998 __fortify_fail returning.
20999 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21000
db9b5059
TS
21001 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21002 sysdeps/sh/____longjmp_chk.S.
21003 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21004 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21005 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21006 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21007
967705fe
TS
21008 * sysdeps/sh/abort-instr.h: New file.
21009 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21010 process in case exit returns.
21011
a9def8c4
TS
21012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21013 initialize the GOT register before use.
21014
2a649725
TS
21015 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21016 calculation of ARGC > 4.
21017
af1bce34
TS
21018 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21019 meaningful names to some local labels.
21020
d230f50a
KK
210212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21022 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21023
21024 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21025 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21026 (__arch_compare_and_exchange_val_16_acq): Likewise.
21027 (__arch_compare_and_exchange_val_32_acq): Likewise.
21028 (atomic_exchange_and_add): Fix gUSA sequence.
21029 (atomic_add): Likewise.
21030 (atomic_add_negative): Likewise.
21031 (atomic_add_zero): Likewise.
21032 (atomic_bit_test_set): Likewise.
21033
0479b305
AS
210342012-06-22 Andreas Schwab <schwab@redhat.com>
21035
21036 [BZ #13579]
21037 * include/link.h (struct link_map): Add l_free_initfini.
21038 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21039 l_initfini.
21040 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21041 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21042 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21043 set.
21044
0e3933b9
CD
210452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21046
21047 * configure.in: Use AC_LANG_SOURCE.
21048 * configure: Regenerate.
21049
4248b1b1
RM
210502012-06-22 Roland McGrath <roland@hack.frob.com>
21051
21052 * configure.in (libc_cv_localstatedir): New substituted variable.
21053 * configure: Regenerated.
21054 * config.make.in (localstatedir): New variable, substituted from
21055 libc_cv_localstatedir.
21056 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21057 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21058 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21059 * sysdeps/gnu/configure: Regenerated.
21060
006dd861
JL
210612012-06-21 Jeff Law <law@redhat.com>
21062
21063 [BZ #14277]
21064 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21065 free. Simplify list management for _LIBC case.
21066
79662d42
JM
210672012-06-21 Joseph Myers <joseph@codesourcery.com>
21068
b7abb4bf
JM
21069 [BZ #14273]
21070 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21071 Clear sign bit of 64-bit integer value before comparing against
21072 overflow value.
21073
79662d42
JM
21074 * sysdeps/mach/configure: Regenerated.
21075
1f150908
L
210762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21077
21078 [BZ #14278]
21079 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21080
28363bbf
JL
210812012-06-21 Jeff Law <law@redhat.com>
21082
21083 [BZ #13882]
21084 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21085 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21086 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21087 * elf/dl-open.c (dl_open_worker): Likewise.
21088
09615db4
CD
210892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21090
21091 * scripts/list-sources.sh: Scan PORTS for translations.
21092 * po/libc.pot: Regenerated.
21093
2174c6dd
AJ
210942012-06-21 Andreas Jaeger <aj@suse.de>
21095
21096 [BZ #12194]
21097 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21098 warning.
21099 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21100 * bits/byteswap-16.h (__bswap_16): Likewise.
21101 * bits/byteswap.h (__bswap_constant_16): Likewise.
21102
3ee947b1
L
211032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21104
21105 [BZ #14117]
a2f34833
L
21106 * sysdeps/i386/fpu_control.h: Removed.
21107 * sysdeps/x86_64/fpu_control.h: Moved to ...
21108 * sysdeps/x86/fpu_control.h: Here.
21109
3ee947b1
L
21110 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21111 (_FPU_SETCW): Likewise.
21112
ed1825f8
L
211132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21114
25f1282a
L
21115 [BZ #14117]
21116 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21117 * sysdeps/x86/fpu/bits/mathinline.h: This.
21118 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21119
ed1825f8
L
21120 [BZ #14050]
21121 [BZ #14117]
21122 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21123 functions if __x86_64__ is defined.
21124
36d54b74
CLT
211252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21126
21127 * string/endian.h: Add !__ASSEMBLER__ condition for including
21128 conversion interfaces.
21129
10285c21
JM
211302012-06-15 Joseph Myers <joseph@codesourcery.com>
21131
21132 [BZ #14241]
21133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21134 of ABS(x) in calculating zero to negative powers other than odd
21135 integers.
21136 * math/libm-test.inc (pow_test): Add more tests.
21137
06c5abbd
AJ
211382012-06-15 Andreas Jaeger <aj@suse.de>
21139
21140 * manual/contrib.texi (Contributors): Update entry of Liubov
21141 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21142 Machado Filho.
21143
a3aeac40
CH
211442012-06-15 Cyril Hrubis <metan@ucw.cz>
21145
21146 * string/string.h: Add __wur to GNU version of strerror_r.
21147
49bdf4c1
L
211482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21149
21150 [BZ #14229]
21151 * string/Makefile (tests): Add tst-strtok_r.
21152 * string/tst-strtok_r.c: New file.
21153 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21154 RAX_LP/RDX_LP on SAVE_PTR.
21155
834f9b8d
RM
211562012-06-14 Roland McGrath <roland@hack.frob.com>
21157
21158 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21159
75fa1921
JM
211602012-06-14 Joseph Myers <joseph@codesourcery.com>
21161
21162 * libm_test.inc (csqrt_test): Allow more spurious underflow
21163 exceptions.
21164 (j0_test): Likewise.
21165 (j1_test): Likewise.
21166 (y0_test): Likewise.
21167 (y1_test): Likewise.
21168
771766df
CD
211692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21170
21171 * po/Makefile (libc.pot): Use UTF-8 charset.
21172
ceb9e56b
PP
211732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21174
21175 [BZ #14210]
21176 Suppress sign-conversion warning from FD_SET.
21177 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21178 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21179 not unsigned long int.
21180 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21181
ddb28975
L
211822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21183
21184 [BZ #14050]
21185 [BZ #14117]
21186 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21187 __extern_always_inline instead of __extern_inline.
21188 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21189 (__signbit): Likewise.
21190 (__signbitl): Support C++ namespace.
21191 (lrintf): New inline function.
21192 (lrint): Likewise.
21193 (llrintf): Likewise.
21194 (llrint): Likewise.
21195 (fmaxf): Likewise.
21196 (fmax): Likewise.
21197 (fminf): Likewise.
21198 (fmin): Likewise.
21199 (rint): Likewise.
21200 (rintf): Likewise.
21201 (ceil): Likewise.
21202 (ceilf): Likewise.
21203 (floor): Likewise.
21204 (floorf): Likewise.
21205 (nearbyint): Likewise.
21206 (nearbyintf): Likewise.
21207
d7b4fb26
TS
212082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21209
21210 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21211 non-default versions.
21212
eb55f5c2
RM
212132012-06-11 Roland McGrath <roland@hack.frob.com>
21214
21215 [BZ #14218]
21216 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21217
366af02c
TS
212182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21219
99ff6e5c
TS
21220 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21221 (FE_UPWARD, FE_DOWNWARD): Don't define.
21222 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21223 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21224
366af02c
TS
21225 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21226 reading it.
21227 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21228 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21229
793ea851
KK
212302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21231
21232 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21234 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21235 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21236
a728a38f
L
212372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21238
21239 [BZ #14117]
c08010c7
L
21240 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21241 * sysdeps/i386/fpu/Implies: New file.
21242 * sysdeps/x86_64/fpu/Implies: Likewise.
21243 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21244 * sysdeps/x86/fpu/bits/fenv.h: This.
21245
a728a38f
L
21246 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21247 __SSE_MATH__.
21248
6e230d11
SP
212492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21250
21251 [BZ #14134]
21252 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21253 character 0xffff that matches the last element of the
21254 conversion table.
21255
1b671feb
AZ
212562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21257
21258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21259 fmodl commit.
21260
6043738b
AZ
212612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21262
21263 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21264 values higher than 25.6283.
21265
34ae0b32
AZ
212662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21267
21268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21269 subnormal exponent extraction and add some __builtin_expect.
21270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21271 Fix for subnormal mantissa calculation.
21272
1214ec8f
MF
212732012-06-04 Mike Frysinger <vapier@gentoo.org>
21274
21275 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21276 cpu2 is -1 and errno is not ENOSYS.
21277
f3d1f93c
L
212782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21279
21280 [BZ #14117]
0e4a3cd7
L
21281 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21282 * sysdeps/x86/bits/string.h: This.
21283 * sysdeps/x86_64/bits/string.h: Removed.
21284
6704c645
L
21285 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21286 if not compiling for x86-64, but compiling for >= i486.
21287
48495318
L
21288 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21289 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21290
14adcbfc
L
21291 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21292 New macro from Linux kernel 3.4.0.
21293 (FP_XSTATE_MAGIC2): Likewise.
21294 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21295 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21296 (struct _fpx_sw_bytes): New struct.
21297 (struct _xsave_hdr): Likewise.
21298 (struct _ymmh_state): Likewise.
21299 (struct _xstate): Likewise.
21300
68e408ab
L
21301 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21302 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21304 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21305 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21306 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21307
f3d1f93c
L
21308 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21309 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21310 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21311 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21312 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21313 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21314
d9dc34cd
TMQMF
213152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21316
21317 [BZ #13743]
21318 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21319 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21320 (sysdep_headers): Include sys/platform/ppc.h.
21321 * sysdeps/powerpc/test-gettimebase.c: Test for
21322 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21323 * manual/Makefile (appendices): Include platform.texi.
21324 * manual/contrib.texi (Contributors): Update @node pointers.
21325 * manual/maint.texi (Maintenance): Likewise.
21326 (Platform): New node.
21327 * manual/platform.texi: New file. Document the new features.
21328
4af3879c
SP
213292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21330 Jakub Jelinek <jakub@redhat.com>
21331
21332 [BZ #14188]
21333 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21334 where __builtin_expect is unavailable.
21335
2fd6ff13
DM
213362012-06-03 David S. Miller <davem@davemloft.net>
21337
21338 * stdlib/longlong.h: Updated from GCC.
21339
173f7220
AS
213402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21341
21342 [BZ #14042]
21343 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21344 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21345 __mcount_internal.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21347 (GLIBC_2.16): Likewise.
21348
f34a1c6f
L
213492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21350
21351 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21352
88a4576f
JM
213532012-06-01 Joseph Myers <joseph@codesourcery.com>
21354
ea32bcdd
JM
21355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21356 (default-abi): New variable.
21357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21358 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21359 variable.
21360 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21361 Likewise.
21362 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21363 Likewise.
21364 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21365 Likewise.
21366
88a4576f
JM
21367 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21368 definition. Document in comment.
21369
402fe938
DM
213702012-06-01 David S. Miller <davem@davemloft.net>
21371
21372 * stdlib/longlong.h: Updated from GCC.
21373
3553723f
L
213742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 [BZ #14117]
3bd872c4
L
21377 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21378 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21379 sys/debugreg.h sys/io.h here.
21380 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21381 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21382 sys/io.h.
21383 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21384 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21385 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21386 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21387 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21388 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21389
3553723f
L
21390 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21391 Define only if __x86_64__ is defined.
21392
4842e4fe
JM
213932012-06-01 Joseph Myers <joseph@codesourcery.com>
21394
c5bfe3d5
JM
21395 [BZ #14048]
21396 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21397 Use int64_t for variable i.
21398 * math/libm-test.inc (fmod_test): Add more tests.
21399
4842e4fe
JM
21400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21401 z computation is not scheduled after fetestexcept.
21402 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21403 Use math_force_eval instead of asm to ensure calculation scheduled
21404 before exception test.
21405 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21406 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21407
efb73488
AJ
214082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21409
21410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21411 computation is not scheduled after fetestexcept.
21412
29bcce7c
L
214132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21414
21415 [BZ #14117]
21416 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21417 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21418
73a68f94
AZ
214192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21420
21421 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21422 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21423
67b6df78
L
214242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21425
edf2933a 21426 [BZ #14117]
ebc64a18
L
21427 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21428 <bits/wordsize.h>.
21429 (__WCHAR_MIN): Support __WORDSIZE == 64.
21430 (__WCHAR_MAX): Likewise.
21431
edf2933a
L
21432 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21433 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21434
57c6cf40
L
21435 [BZ #14183]
21436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21437 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21438
67b6df78 21439 [BZ #14117]
8eb6281e
L
21440 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21441 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21442
aac639f4
L
21443 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21444 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21445
67b6df78
L
21446 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21447 Defined to 1 if __x86_64__ isn't defined.
21448 (_STAT_VER_LINUX_OLD): New.
21449 (st_atime): Remove duplicate.
21450 (st_mtime): Likewise.
21451 (st_ctime): Likewise.
21452
1c2cfe81
DM
214532012-05-31 David S. Miller <davem@davemloft.net>
21454
21455 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21456 entries.
21457
5be8418c
AS
214582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21459
e7725326
AS
21460 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21461 gen-libm-test.pl.
21462
5be8418c
AS
21463 [BZ #14132]
21464 * elf/dl-reloc.c: Include <_itoa.h>.
21465 (_dl_reloc_bad_type): Remove use of INTUSE.
21466 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21467 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21468 * stdio-common/psiginfo.c (psiginfo): Likewise.
21469 * stdio-common/psignal.c (psignal): Likewise.
21470 * string/strsignal.c (strsignal): Likewise.
21471 * include/signal.h (_sys_siglist): Declare hidden proto.
21472 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21473 INTVARDEF with libc_hidden_data_def.
21474 * stdio-common/itoa-udigits.c: Likewise.
21475 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21476 (_itoa_lower_digits_internal): Remove declaration.
21477 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21478 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21479 (_sys_sigabbrev_internal): Remove aliases.
21480 (_sys_siglist): Define hidden alias.
21481
507352f1
MT
214822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21483
21484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21485 bits/sysctl.h.
21486
42bbb1c3
L
214872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21488
21489 [BZ #14117]
6bd784b6
L
21490 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21491 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21492
8bca20f0
L
21493 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21494 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21495 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21496 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21498 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21499
f9e890a9
L
21500 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21502 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21503
471101a1
L
21504 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21505 with __addr.
21506 (insw): Likewise.
21507 (insl): Likewise.
21508 (outsb): Likewise.
21509 (outsw): Likewise.
21510 (outsl): Likewise.
21511
6451c862
L
21512 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21513 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21514 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21515
a254b8c9
L
21516 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21517 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21518 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21519 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21520 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21521 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21522
b8dfdd92
L
21523 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21524 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21525
578cd270
L
21526 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21527 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21528
de662f5f
L
21529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21531 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21532
25653439
L
21533 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21534 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21535 to ...
21536 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21537
6bad24a0
L
21538 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21539 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21540 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21541
42bbb1c3
L
21542 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21543 for x86-64.
21544 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21545
2d10d547
JM
215462012-05-31 Joseph Myers <joseph@codesourcery.com>
21547
21548 * math/math.h (M_El): Use two more decimal places.
21549 (M_LOG2El): Likewise.
21550 (M_LOG10El): Likewise.
21551 (M_LN2l): Likewise.
21552 (M_LN10l): Likewise.
21553 (M_PIl): Likewise.
21554 (M_PI_2l): Likewise.
21555 (M_PI_4l): Likewise.
21556 (M_1_PIl): Likewise.
21557 (M_2_PIl): Likewise.
21558 (M_2_SQRTPIl): Likewise.
21559 (M_SQRT2l): Likewise.
21560 (M_SQRT1_2l): Likewise.
21561
f230c29b
DM
215622012-05-31 David S. Miller <davem@davemloft.net>
21563
21564 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21565 values between float registers.
21566 * sysdeps/sparc/sparc64/memset.S: Likewise.
21567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21568
fed806c3
MF
215692012-05-31 Mike Frysinger <vapier@gentoo.org>
21570
21571 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21572 -D_FORTIFY_SOURCE=1.
21573 (CPPFLAGS-tst-longjmp_chk.c): Define.
21574 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21575 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21576 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21577 CFLAGS-tst-wchar-h.c.
21578
30917259
MP
215792012-05-31 Marek Polacek <polacek@redhat.com>
21580
21581 [BZ #14132]
21582 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21583 __endmntent_internal): Remove declaration.
21584 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21585 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21586 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21587
1c58d5dc
DM
215882012-05-30 David S. Miller <davem@davemloft.net>
21589
21590 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21591 (___Q_simulate_exceptions): Use real FP ops rather than writing
21592 into the %fsr.
21593 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21594 Likewise.
21595
7dc00e0d
L
215962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21597
21598 [BZ #14117]
0bd53985
L
21599 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21600 * sysdeps/x86/bits/xtitypes.h: This.
21601
3a257e66
L
21602 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21603 * sysdeps/x86/bits/wordsize.h: This.
21604
62f62904
L
21605 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21606 * sysdeps/x86/bits/huge_vall.h: This.
21607
404fe9d9
L
21608 * sysdeps/i386/bits/select.h: Removed.
21609 * sysdeps/x86_64/bits/select.h: Renamed to ...
21610 * sysdeps/x86/bits/select.h: This.
21611
d48d0446
L
21612 * sysdeps/i386/bits/setjmp.h: Removed.
21613 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21614 * sysdeps/x86/bits/setjmp.h: This.
21615
7dc00e0d
L
21616 * sysdeps/i386/bits/mathdef.h: Removed.
21617 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21618 * sysdeps/x86/bits/mathdef.h: This.
21619
03277f8f
AS
216202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21621
21622 [BZ #14132]
21623 * include/sys/socket.h (__connect_internal)
21624 (__libc_sa_len_internal): Remove declaration.
21625 (__connect, __libc_sa_len): Declare hidden_proto.
21626 (SA_LEN): Remove use of INTUSE.
21627 * socket/connect.c: Add libc_hidden_def.
21628 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21629 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21630 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21631 alias.
21632 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21633 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21634 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21635 of adding _internal alias.
21636
13764867
L
216372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21638
21639 [BZ #14117]
6bd97696
L
21640 * sysdeps/i386/bits/link.h: Removed.
21641 * sysdeps/i386/bits/linkmap.h: Likewise.
21642 * sysdeps/x86_64/bits/link.h: Renamed to ...
21643 * sysdeps/x86/bits/link.h: This.
21644 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21645 * sysdeps/x86/bits/linkmap.h: This.
21646
f726f0bb
L
21647 * sysdeps/i386/bits/endian.h: Removed.
21648 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21649 * sysdeps/x86/bits/endian.h: This.
21650
13764867
L
21651 * sysdeps/i386/bits/byteswap.h: Removed.
21652 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21653 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21654 * sysdeps/x86/bits/byteswap.h: This.
21655 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21656 * sysdeps/x86/bits/byteswap-16.h: This.
21657 * sysdeps/i386/Implies: Add x86.
21658 * sysdeps/x86_64/Implies: Likewise.
21659
ae251b0b
DM
216602012-05-30 David S. Miller <davem@davemloft.net>
21661
21662 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21663 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21664 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21665 (FP_TRAPPING_EXCEPTIONS): Define.
21666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21667 (FP_TRAPPING_EXCEPTIONS): Define.
21668 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21669 subnormals only when inexact has been signalled or underflow
21670 exceptions are enabled.
21671 (_FP_PACK_CANONICAL): Likewise.
21672
d5c90867
L
216732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21674
21675 [BZ #14183]
21676 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21677 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21678
63f1549e
RH
216792012-05-30 Richard Henderson <rth@twiddle.net>
21680
8d8f2279
RH
21681 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21682 with #ifndef NOT_IN_libc.
21683
63f1549e
RH
21684 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21685 marked to avoid plt entry.
21686
0ab0291b
L
216872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21688
21689 [BZ #14112]
21690 * Makeconfig (default-abi): New macro.
21691 (abi-includes): Likewise.
21692 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21693 $(abi-$(default-abi)-lib-soname) for soname if defined.
21694 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21695 abi-variants.
21696 * Makefile (installed-stubs): Likewise.
21697 * include/stubs-biarch.h: Removed.
21698 * scripts/lib-names.awk: Only handle one library at a time.
21699 * scripts/soversions.awk: Remove WORDSIZE support.
21700 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21701 entries.
21702 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21703 Removed.
21704 (syscall-list-default-condition): Likewise.
21705 (syscall-list-default-condition): Likewise.
21706 (syscall-list-includes): Likewise.
21707 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21708 syscall-list-* with abi-*. Handle undefined abi-variants.
21709 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21710 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21711 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21712 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21713 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21714 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21715 Removed.
21716 (syscall-list-32-options): Likewise.
21717 (syscall-list-32-condition): Likewise.
21718 (syscall-list-64-options): Likewise.
21719 (syscall-list-64-condition): Likewise.
21720 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21721 macro.
21722 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21723 Renamed to ...
21724 (abi-*): This.
21725 (abi-64-ld-soname): New macro.
21726 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21727 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21728 Renamed to ...
21729 (abi-*): This.
21730 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21731 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21732
4da0431d
JM
217332012-05-30 Joseph Myers <joseph@codesourcery.com>
21734
3a85279c
JM
21735 * sysdeps/unix/sysv/linux/kernel-features.h
21736 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21737 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21738 include <kernel-features.h>.
21739 [!__NR_ftruncate64]: Remove conditional code.
21740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21741 [__NR_ftruncate64]: Make code unconditional.
21742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21743 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21744 include <kernel-features.h>.
21745 [!__NR_ftruncate64]: Remove conditional code.
21746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21747 [__NR_ftruncate64]: Make code unconditional.
21748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21750 include <kernel-features.h>.
21751 [!__NR_ftruncate64]: Remove conditional code.
21752 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21753 [__NR_ftruncate64]: Make code unconditional.
21754 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21756 include <kernel-features.h>.
21757 [!__NR_ftruncate64]: Remove conditional code.
21758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21759 [__NR_ftruncate64]: Make code unconditional.
21760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21761
4da0431d
JM
21762 * configure.in (libc_cv_fpie): Weaken to a compile test using
21763 LIBC_TRY_CC_OPTION.
21764 * configure: Regenerated.
21765
11ef492c
AK
217662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21767
21768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21772 Refreshed.
21773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21779 Refreshed.
21780
d66ef399
DM
217812012-05-27 David S. Miller <davem@davemloft.net>
21782
21783 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21784 (___Q_zero): New.
21785 (__Q_simulate_exceptions): Return void. Change to simulate
21786 exceptions by writing into the %fsr.
21787 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21788 (__Qp_handle_exceptions): Likewise.
21789 (numbers): Delete.
21790 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21791 __Qp_handle_exceptions.
21792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21793 __Qp_handle_exceptions.
21794 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21795 as unused and give dummy FP_RND_NEAREST initializer.
21796 (FP_INHIBIT_RESULTS): Define.
21797 (___Q_simulate_exceptions): Update declaration.
21798 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21799 formatting.
21800 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21801 as unused and give dummy FP_RND_NEAREST initializer.
21802 (__Qp_handle_exceptions): Update declaration.
21803 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21804 formatting.
21805
04fb54b5
TS
218062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21807
21808 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21809 the temporary FPU control word.
21810 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21811 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21812 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21813 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21814 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21815 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21816 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21817 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21818 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21819 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21820 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21821
3f99608f
KK
218222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21823
21824 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21825 fields.
21826
65a4de4e
CLT
218272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21828
21829 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21830 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21831 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21832 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21833 Likewise.
21834 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21835 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21836 Likewise.
21837
15749d40
UD
218382012-05-27 Ulrich Drepper <drepper@gmail.com>
21839
21840 * po/h.po: Update from translation team.
21841
25dbcb27
AS
218422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21843
3d3f8e55
AS
21844 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21845
25dbcb27
AS
21846 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21847 handling of denormals.
21848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21849 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21850 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21851 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21852 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21855 Likewise.
21856
7ad47a80 218572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21858
21859 [BZ #14152]
21860 * math/libm-test.inc (fma_test): Don't always expect underflow
21861 exception.
21862
9c6ea9fa
SP
218632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21864
21865 [BZ #12416]
21866 * elf/tst-execstack.c: Include stackinfo.h.
21867 (do_test): Adjust test case to ensure that pthread_getattr_np
21868 behaviour remains the same after marking stack executable.
21869
a8239222
JM
218702012-05-25 Joseph Myers <joseph@codesourcery.com>
21871
21872 * sysdeps/unix/sysv/linux/kernel-features.h
21873 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21874 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21875 kernel-features.h.
21876 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21877 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21878 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21879 kernel-features.h.
21880 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21881 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21882
918b5606
L
218832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21884
21885 * configure.in: Define the default includes to being none.
21886 * configure: Regenerated.
21887
3a097cc7
RM
218882012-05-25 Roland McGrath <roland@hack.frob.com>
21889
8422c9a5
RM
21890 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21891 * sysdeps/x86_64/setjmp.S: Likewise.
21892 * sysdeps/i386/bsd-setjmp.S: Likewise.
21893 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21894 * sysdeps/i386/setjmp.S: Likewise.
21895 * sysdeps/i386/__longjmp.S: Likewise.
21896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21897 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21898
3a097cc7
RM
21899 * include/stap-probe.h: New file.
21900 * configure.in: Handle --enable-systemtap.
21901 * configure: Regenerated.
21902 * config.h.in (USE_STAP_PROBE): New #undef.
21903 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21904 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21905 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21906
21708942
JM
219072012-05-25 Joseph Myers <joseph@codesourcery.com>
21908
21909 [BZ #13717]
21910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21911 to 2.4.0 where earlier.
21912 * sysdeps/unix/sysv/linux/configure: Regenerated.
21913 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21914 <kernel-features.h>.
21915 [__ASSUME_32BITUIDS]: Make code unconditional.
21916 [!__ASSUME_32BITUIDS]: Remove conditional code.
21917 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21918 <kernel-features.h>.
21919 [__ASSUME_32BITUIDS]: Make code unconditional.
21920 [!__ASSUME_32BITUIDS]: Remove conditional code.
21921 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21922 [__ASSUME_32BITUIDS]: Make code unconditional.
21923 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21924 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21925 <kernel-features.h>.
21926 [__ASSUME_32BITUIDS]: Make code unconditional.
21927 [!__ASSUME_32BITUIDS]: Remove conditional code.
21928 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21929 <kernel-features.h>.
21930 [__ASSUME_32BITUIDS]: Make code unconditional.
21931 [!__ASSUME_32BITUIDS]: Remove conditional code.
21932 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21933 <kernel-features.h>.
21934 [__ASSUME_32BITUIDS]: Make code unconditional.
21935 [!__ASSUME_32BITUIDS]: Remove conditional code.
21936 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21937 <kernel-features.h>.
21938 [__ASSUME_32BITUIDS]: Make code unconditional.
21939 [!__ASSUME_32BITUIDS]: Remove conditional code.
21940 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21941 <kernel-features.h>.
21942 [__ASSUME_32BITUIDS]: Make code unconditional.
21943 [!__ASSUME_32BITUIDS]: Remove conditional code.
21944 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21945 <kernel-features.h>.
21946 [__ASSUME_32BITUIDS]: Make code unconditional.
21947 [!__ASSUME_32BITUIDS]: Remove conditional code.
21948 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21949 <kernel-features.h>.
21950 [__ASSUME_32BITUIDS]: Make code unconditional.
21951 [!__ASSUME_32BITUIDS]: Remove conditional code.
21952 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21953 <kernel-features.h>.
21954 [__ASSUME_32BITUIDS]: Make code unconditional.
21955 [!__ASSUME_32BITUIDS]: Remove conditional code.
21956 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21957 <kernel-features.h>.
21958 [__ASSUME_32BITUIDS]: Make code unconditional.
21959 [!__ASSUME_32BITUIDS]: Remove conditional code.
21960 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21961 <kernel-features.h>.
21962 [__ASSUME_32BITUIDS]: Make code unconditional.
21963 [!__ASSUME_32BITUIDS]: Remove conditional code.
21964 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21965 <kernel-features.h>.
21966 [__NR_setresgid] (__setresgid): Do not declare.
21967 [__ASSUME_32BITUIDS]: Make code unconditional.
21968 [!__ASSUME_32BITUIDS]: Remove conditional code.
21969 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21970 <kernel-features.h>.
21971 [__NR_setresuid] (__setresuid): Do not declare.
21972 [__ASSUME_32BITUIDS]: Make code unconditional.
21973 [!__ASSUME_32BITUIDS]: Remove conditional code.
21974 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21975 <kernel-features.h>.
21976 [__ASSUME_32BITUIDS]: Make code unconditional.
21977 [!__ASSUME_32BITUIDS]: Remove conditional code.
21978 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21979 <kernel-features.h>.
21980 [__ASSUME_32BITUIDS]: Make code unconditional.
21981 [!__ASSUME_32BITUIDS]: Remove conditional code.
21982 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21983 <kernel-features.h>.
21984 [__ASSUME_32BITUIDS]: Make code unconditional.
21985 [!__ASSUME_32BITUIDS]: Remove conditional code.
21986 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21987 <kernel-features.h>.
21988 [__ASSUME_32BITUIDS]: Make code unconditional.
21989 [!__ASSUME_32BITUIDS]: Remove conditional code.
21990 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21991 <kernel-features.h>.
21992 [__ASSUME_32BITUIDS]: Make code unconditional.
21993 [!__ASSUME_32BITUIDS]: Remove conditional code.
21994 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21995 <kernel-features.h>.
21996 [__ASSUME_32BITUIDS]: Make code unconditional.
21997 [!__ASSUME_32BITUIDS]: Remove conditional code.
21998 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21999 <kernel-features.h>.
22000 [__ASSUME_32BITUIDS]: Make code unconditional.
22001 [!__ASSUME_32BITUIDS]: Remove conditional code.
22002 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22003 <kernel-features.h>.
22004 [__ASSUME_32BITUIDS]: Make code unconditional.
22005 [!__ASSUME_32BITUIDS]: Remove conditional code.
22006 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22007 <kernel-features.h>.
22008 [__ASSUME_32BITUIDS]: Make code unconditional.
22009 [!__ASSUME_32BITUIDS]: Remove conditional code.
22010 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22011 <kernel-features.h>.
22012 [__ASSUME_32BITUIDS]: Make code unconditional.
22013 [!__ASSUME_32BITUIDS]: Remove conditional code.
22014 * sysdeps/unix/sysv/linux/kernel-features.h
22015 (__ASSUME_SETRESUID_SYSCALL): Remove.
22016 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22017 (__ASSUME_32BITUIDS): Likewise.
22018 (__ASSUME_LDT_WORKS): Likewise.
22019 (__ASSUME_O_DIRECTORY): Likewise.
22020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22021 architecture but not kernel version.
22022 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22023 (__ASSUME_MMAP2_SYSCALL): Likewise.
22024 (__ASSUME_STAT64_SYSCALL): Likewise.
22025 (__ASSUME_IPC64): Likewise.
22026 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22027 <kernel-features.h>.
22028 [__ASSUME_32BITUIDS]: Make code unconditional.
22029 [!__ASSUME_32BITUIDS]: Remove conditional code.
22030 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22031 <kernel-features.h>.
22032 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22033 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22034 132096]: Remove conditional code.
22035 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22036 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22037 <kernel-features.h>.
22038 [__ASSUME_32BITUIDS]: Make code unconditional.
22039 [!__ASSUME_32BITUIDS]: Remove conditional code.
22040 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22041 <kernel-features.h>.
22042 [__ASSUME_32BITUIDS]: Make code unconditional.
22043 [!__ASSUME_32BITUIDS]: Remove conditional code.
22044 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22045 <kernel-features.h>.
22046 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22047 unconditional.
22048 (__setresgid): Do not declare.
22049 [__ASSUME_32BITUIDS]: Make code unconditional.
22050 [!__ASSUME_32BITUIDS]: Remove conditional code.
22051 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22052 <kernel-features.h>.
22053 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22054 unconditional.
22055 (__setresuid): Do not declare.
22056 [__ASSUME_32BITUIDS]: Make code unconditional.
22057 [!__ASSUME_32BITUIDS]: Remove conditional code.
22058 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22059 <kernel-features.h>.
22060 [__ASSUME_32BITUIDS]: Make code unconditional.
22061 [!__ASSUME_32BITUIDS]: Remove conditional code.
22062 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22063 <kernel-features.h>.
22064 [__ASSUME_32BITUIDS]: Make code unconditional.
22065 [!__ASSUME_32BITUIDS]: Remove conditional code.
22066
a386f1cc
RH
220672012-05-25 Richard Henderson <rth@twiddle.net>
22068
22069 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22070 dl_hwcap to ifunc resolver.
22071 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22072 elf_ifunc_invoke.
22073 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22074 dl_hwcap to ifunc resolver.
22075 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22076
b6550497
JM
220772012-05-24 Joseph Myers <joseph@codesourcery.com>
22078
22079 [BZ #14153]
22080 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22081 for |x| <= 2**-26, not 2**-57.
22082 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22083 exception.
22084
b0bc23a1
JL
220852012-05-24 Jeff Law <law@redhat.com>
22086
22087 * stdio-common/Makefile (tests): Add bug25.
22088 * stdio-common/bug25.c: New test.
22089
347c92e9
L
220902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22091
22092 [BZ #13576]
22093 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22094 multiple of MALLOC_ALIGNMENT in size.
22095 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22096
6bcc8b3f
JM
220972012-05-24 Joseph Myers <joseph@codesourcery.com>
22098
22099 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22100 Require >= 256.
22101 (FILENAME_MAX): Use macro-int-constant.
22102 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22103 (_IOFBF): Use macro-int-constant.
22104 (_IOLBF): Likewise.
22105 (_IONBF): Likewise.
22106 (SEEK_CUR): Likewise.
22107 (SEEK_END): Likewise.
22108 (SEEK_SET): Likewise.
22109 (TMP_MAX): Likewise.
22110 (EOF): Use macro-int-constant. Require < 0.
22111 (NULL): Use macro-constant. Require == 0.
22112 (stdin): Require type to be FILE *.
22113 (stdout): Likewise.
22114 (stderr): Likewise.
22115 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22116 macro-int-constant.
22117 (EXIT_SUCCESS): Likewise.
22118 (NULL): Use macro-constant. Require == 0.
22119 (RAND_MAX): Use macro-int-constant.
22120 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22121 [C99-based standards] (strtof): Require function.
22122 [C99-based standards] (strtold): Likewise.
22123 [C99-based standards] (strtoll): Likewise.
22124 [C99-based standards] (strtoull): Likewise.
22125 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22126 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22127 [ISO || ISO99 || ISO11] (math.h): Likewise.
22128 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22129 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22131
d18ea0c5
AS
221322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22133
22134 [BZ #14132]
56d25bb8
AS
22135 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22136 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22137 * intl/dgettext.c (DCGETTEXT): Likewise.
22138 * intl/gettext.c (DCGETTEXT): Likewise.
22139 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22140 * posix/regex_internal.h (gettext): Likewise.
22141 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22142 Remove declaration.
22143 * include/argz.h (__argz_count_internal)
22144 (__argz_stringify_internal): Remove declaration.
22145 (__argz_count, __argz_stringify): Declare hidden proto.
22146 * intl/dcgettext.c: Remove use of INTDEF.
22147 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22148 * string/argz-stringify.c: Likewise.
22149 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22150 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22151 Declare hidden proto.
d18ea0c5
AS
22152 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22153 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22154 Declare hidden proto.
22155 * include/stdio.h (__asprintf_internal): Don't declare.
22156 (__asprintf): Don't define as macro. Declare hidden proto.
22157 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22158 (__fsetlocking): Declare hidden proto.
22159 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22160 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22161 hidden proto.
22162 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22163 (_IO_setlinebuf): Remove use of INTUSE.
22164 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22165 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22166 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22167 Remove declaration.
22168 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22169 (_IO_do_flush): Remove use of INTUSE.
22170 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22171 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22172 (_IO_adjust_column, _IO_least_wmarker)
22173 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22174 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22175 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22176 (_IO_default_doallocate, _IO_wdefault_doallocate)
22177 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22178 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22179 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22180 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22181 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22182 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22183 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22184 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22185 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22186 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22187 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22188 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22189 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22190 proto.
22191 (_IO_flush_all_internal, _IO_adjust_column_internal)
22192 (_IO_default_uflow_internal, _IO_default_finish_internal)
22193 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22194 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22195 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22196 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22197 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22198 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22199 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22200 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22201 (_IO_file_close_internal, _IO_file_close_it_internal)
22202 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22203 (_IO_file_init_internal, _IO_file_attach_internal)
22204 (_IO_file_fopen_internal, _IO_file_read_internal)
22205 (_IO_file_sync_internal, _IO_file_seek_internal)
22206 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22207 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22208 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22209 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22210 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22211 (_IO_list_all_internal, _IO_link_in_internal)
22212 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22213 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22214 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22215 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22216 (_IO_do_write_internal, _IO_padn_internal)
22217 (_IO_getline_info_internal, _IO_getline_internal)
22218 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22219 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22220 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22221 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22222 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22223 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22224 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22225 with libc_hidden_ver, remove use of INTUSE.
22226 * libio/genops.c: Likewise.
22227 * libio/freopen.c: Likewise.
22228 * libio/freopen64.c: Likewise.
22229 * libio/iofclose.c: Likewise.
22230 * libio/iofdopen.c: Likewise.
22231 * libio/iofflush.c: Likewise.
22232 * libio/iofflush_u.c: Likewise.
22233 * libio/iofgets.c: Likewise.
22234 * libio/iofgets_u.c: Likewise.
22235 * libio/iofopen.c: Likewise.
22236 * libio/iofopncook.c: Likewise.
22237 * libio/iofread.c: Likewise.
22238 * libio/iofread_u.c: Likewise.
22239 * libio/ioftell.c: Likewise.
22240 * libio/iofwrite.c: Likewise.
22241 * libio/iogetline.c: Likewise.
22242 * libio/iogets.c: Likewise.
22243 * libio/iogetwline.c: Likewise.
22244 * libio/iopadn.c: Likewise.
22245 * libio/iopopen.c: Likewise.
22246 * libio/ioseekoff.c: Likewise.
22247 * libio/ioseekpos.c: Likewise.
22248 * libio/iosetbuffer.c: Likewise.
22249 * libio/iosetvbuf.c: Likewise.
22250 * libio/ioungetc.c: Likewise.
22251 * libio/ioungetwc.c: Likewise.
22252 * libio/iovdprintf.c: Likewise.
22253 * libio/iovsprintf.c: Likewise.
22254 * libio/iovsscanf.c: Likewise.
22255 * libio/memstream.c: Likewise.
22256 * libio/obprintf.c: Likewise.
22257 * libio/oldfileops.c: Likewise.
22258 * libio/oldiofclose.c: Likewise.
22259 * libio/oldiofdopen.c: Likewise.
22260 * libio/oldiofopen.c: Likewise.
22261 * libio/oldiopopen.c: Likewise.
22262 * libio/oldstdfiles.c: Likewise.
22263 * libio/putc.c: Likewise.
22264 * libio/setbuf.c: Likewise.
22265 * libio/setlinebuf.c: Likewise.
22266 * libio/stdfiles.c: Likewise.
22267 * libio/strops.c: Likewise.
22268 * libio/vasprintf.c: Likewise.
22269 * libio/vscanf.c: Likewise.
22270 * libio/vsnprintf.c: Likewise.
22271 * libio/vswprintf.c: Likewise.
22272 * libio/wfiledoalloc.c: Likewise.
22273 * libio/wfileops.c: Likewise.
22274 * libio/wgenops.c: Likewise.
22275 * libio/wmemstream.c: Likewise.
22276 * libio/wstrops.c: Likewise.
22277 * libio/__fpurge.c: Likewise.
22278 * libio/__fsetlocking.c: Likewise.
22279 * assert/assert.c: Likewise.
22280 * debug/fgets_chk.c: Likewise.
22281 * debug/fgets_u_chk.c: Likewise.
22282 * debug/fread_chk.c: Likewise.
22283 * debug/fread_u_chk.c: Likewise.
22284 * debug/gets_chk.c: Likewise.
22285 * debug/obprintf_chk.c: Likewise.
22286 * debug/vasprintf_chk.c: Likewise.
22287 * debug/vdprintf_chk.c: Likewise.
22288 * debug/vsnprintf_chk.c: Likewise.
22289 * debug/vsprintf_chk.c: Likewise.
22290 * malloc/mtrace.c: Likewise.
22291 * misc/error.c: Likewise.
22292 * misc/syslog.c: Likewise.
22293 * stdio-common/asprintf.c: Likewise.
22294 * stdio-common/fxprintf.c: Likewise.
22295 * stdio-common/getw.c: Likewise.
22296 * stdio-common/isoc99_fscanf.c: Likewise.
22297 * stdio-common/isoc99_scanf.c: Likewise.
22298 * stdio-common/isoc99_vfscanf.c: Likewise.
22299 * stdio-common/isoc99_vscanf.c: Likewise.
22300 * stdio-common/isoc99_vsscanf.c: Likewise.
22301 * stdio-common/printf-prs.c: Likewise.
22302 * stdio-common/printf_fp.c: Likewise.
22303 * stdio-common/printf_fphex.c: Likewise.
22304 * stdio-common/printf_size.c: Likewise.
22305 * stdio-common/putw.c: Likewise.
22306 * stdio-common/scanf.c: Likewise.
22307 * stdio-common/sprintf.c: Likewise.
22308 * stdio-common/tmpfile.c: Likewise.
22309 * stdio-common/vfprintf.c: Likewise.
22310 * stdio-common/vfscanf.c: Likewise.
22311 * stdlib/strfmon_l.c: Likewise.
22312 * sunrpc/openchild.c: Likewise.
22313 * sunrpc/xdr_stdio.c: Likewise.
22314 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22315 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22316
d6c33fda
RM
223172012-05-24 Roland McGrath <roland@hack.frob.com>
22318
c1487492
RM
22319 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22320
22321 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22322 in the third column, to generate for the shared library an IFUNC
22323 that uses _dl_vdso_vsym.
22324 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22325 * Makeconfig (object-suffixes-noshared): New variable.
22326
22327 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22328 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22329 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22330 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22331
d6c33fda
RM
22332 [BZ #14132]
22333 * include/sys/time.h (__gettimeofday): Remove macro.
22334 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22335 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22336 Remove INTDEF.
22337 (__gettimeofday): Add libc_hidden_def.
22338 (gettimeofday): Add libc_hidden_weak.
22339 * sysdeps/mach/gettimeofday.c: Likewise.
22340 * sysdeps/posix/gettimeofday.c: Likewise.
22341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22342 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22344 (__gettimeofday_internal): Remove strong_alias.
22345 (__gettimeofday): Add libc_hidden_def.
22346 (gettimeofday): Add libc_hidden_weak.
22347 * sysdeps/unix/syscalls.list (gettimeofday):
22348 Remove __gettimeofday_internal alias.
22349
b5a2bbe6
L
223502012-05-24 Daniel Jacobowitz <drow@false.org>
22351 H.J. Lu <hongjiu.lu@intel.com>
22352
22353 [BZ #12495]
22354 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22355 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22356 (largebin_index_32_big): New.
22357 (largebin_index): Use it for 16-byte alignment.
22358 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22359 correction with front_misalign.
22360
cfba4fda
L
223612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22362
7f907421
L
22363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22365 Likewise.
22366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22367 Likewise.
22368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22369 Likewise.
22370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22371 Likewise.
22372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22373 Likewise.
22374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22375 Likewise.
22376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22377 Likewise.
22378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22379 Likewise.
22380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22381 Likewise.
22382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22383 Likewise.
22384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22385 Likewise.
22386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22387 Likewise.
22388
cfba4fda
L
22389 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22390 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22391
80bad0cc
JM
223922012-05-24 Joseph Myers <joseph@codesourcery.com>
22393
7a25eb06
JM
22394 [BZ #10846]
22395 [BZ #14036]
22396 * math/libm-test.inc (exp_test): Add test from bug 14036.
22397 (pow_test): Add test from bug 10846.
22398
795405f9
JM
22399 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22400 and other flags.
22401 (special_function): Do not include flags in test name.
22402 (parse_args): Likewise.
22403 * sysdeps/i386/fpu/libm-test-ulps: Update.
22404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22405 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22406 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22408
80bad0cc
JM
22409 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22410 exceptions.
22411 * math/libm-test.inc ("Philosophy"): Update comment about
22412 exception testing.
22413 (UNDERFLOW_EXCEPTION): New macro.
22414 (UNDERFLOW_EXCEPTION_OK): Likewise.
22415 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22416 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22417 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22418 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22419 (INVALID_EXCEPTION_OK): Update value.
22420 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22421 (OVERFLOW_EXCEPTION_OK): Likewise.
22422 (IGNORE_ZERO_INF_SIGN): Likewise.
22423 (test_exceptions): Handle underflow exceptions.
22424 (acos_test): Update for underflow exception expectations.
22425 (cexp_test): Likewise.
22426 (clog_test): Likewise.
22427 (clog10_test): Likewise.
22428 (csqrt_test): Likewise.
22429 (ctan_test): Likewise.
22430 (ctanh_test): Likewise.
22431 (exp_test): Likewise.
22432 (exp10_test): Likewise.
22433 (exp2_test): Likewise.
22434 (expm1_test): Likewise.
22435 (fma_test): Likewise.
22436 (j0_test): Likewise.
22437 (jn_test): Likewise.
22438 (nexttoward_test): Likewise.
22439 (pow_test): Likewise.
22440 (scalbn_test): Likewise.
22441 (scalbln_test): Likewise.
22442 (tan_test): Likewise.
22443 (y1_test): Likewise.
22444 * sysdeps/i386/fpu/libm-test-ulps: Update.
22445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22446
9e0e3d0b
DM
224472012-05-23 David S. Miller <davem@davemloft.net>
22448
22449 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22450 (__libc_sigaction): Remove unused local variables.
22451
ccd0a08f
L
224522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22453
22454 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22455
62bdf9a6
PE
224562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22457
f8591f80
PE
22458 mktime: avoid signed integer overflow
22459 * time/mktime.c (__mktime_internal): Do not mishandle the case
22460 where diff == INT_MIN.
22461
94c7d826
PE
22462 mktime: simplify computation of average
22463 * time/mktime.c (ranged_convert): Use new time_t_avg function
22464 instead of rolling our own (probably-slower) code.
22465
ce73d683
PE
22466 mktime: do not assume signed right shift propagates sign bit
22467 * time/mktime.c (isdst_differ): New static function.
22468 (__mktime_internal): No need to normalize tm_isdst now.
22469 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22470 tm_isdst values.
22471
72a22e59
PE
22472 mktime: merge another wrapv change from gnulib
22473 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22474 from some compilers.
22475
68605433
PE
22476 mktime: remove incorrect attempt at unusual arithmetics
22477 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22478 The code didn't really work on such machines anyway.
22479 (TYPE_MINIMUM): Assume two's complement.
22480 (twos_complement_arithmetic): Verify that long_int and time_t
22481 are two's complement (or unsigned, in the latter case).
22482
03cf7fe3
PE
22483 mktime: check signed shifts on long_int and time_t, too
22484 * time/mktime.c (SHR): Check that shifts work as desired
22485 on the types long_int and time_t too, as SHR is used on
22486 such types.
22487
f04dfbc2
PE
22488 mktime: do not assume 'long' is wide enough
22489 * time/mktime.c (verify): Move decl up.
22490 (long_int): New type.
22491 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22492 to remove assumption in the code that 'long' is wide enough to
22493 store year values. This assumption is not true on x32 and on
22494 some non-glibc platforms.
22495
62bdf9a6
PE
22496 mktime: merge wrapv change from gnulib
22497 * time/mktime.c (WRAPV): New macro.
22498 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22499 (guess_time_tm, __mktime_internal): Do not assume that signed
22500 integer overflow wraps around; modern compilers generate code
22501 where this assumption is no longer valid.
22502
5e292e4f
L
225032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22504
22505 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22506 Replace "jmp L(pseudo_end)" with "ret".
22507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22508 Likewise.
22509
8caf8c87
AJ
225102012-05-23 Andreas Jaeger <aj@suse.de>
22511
22512 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22513 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22514
1a09dc56
AJ
225152012-05-23 Andreas Jaeger <aj@suse.de>
22516 Maximilian Attems <max@stro.at>
22517
22518 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22519 New macros.
22520
1c87aba0
L
225212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22522
22523 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22524 code so that pseudo_end is just ret and the stack pointer is
22525 correct also for static library in error case.
22526
40e45bd5
JM
225272012-05-23 Joseph Myers <joseph@codesourcery.com>
22528
c2670533
JM
22529 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22530 move to syscalls.list.
22531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22535
40e45bd5
JM
22536 * manual/install.texi (Running make install): Do not mention Linux
22537 kernel version for which pt_chown is not needed.
22538 (Linux): Do not mention problems with nscd with 2.0 kernels.
22539 * INSTALL: Regenerated.
22540
be08eda5
AJ
225412012-05-23 Andreas Jaeger <aj@suse.de>
22542
22543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22544 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22545 macro.
22546 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22548 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22550 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22552 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22556 * sysdeps/unix/sysv/linux/bits/in.h
22557 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22558
a6a056bb
RM
225592012-05-22 Roland McGrath <roland@hack.frob.com>
22560
22561 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22562 (PREPARE_VERSION): Just use assert instead, it will be elided
22563 under [NDEBUG] anyway.
22564
c9009328
L
225652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22566
22567 * sysdeps/unix/sysv/linux/Makefile: Include
22568 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22569 (sysdep_routines): Remove sysctl.
c9009328
L
22570 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22571 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22572 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22573 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22574 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22575
73338355
AJ
225762012-05-22 Andreas Jaeger <aj@suse.de>
22577
22578 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22579 that pseudo_end is just ret and the stack pointer is correct also
22580 for static library in error case.
22581
d44638b0
PP
225822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22583
22584 [BZ #14122]
22585 * nss/nsswitch.c (defconfig_entries): New variable.
22586 (__nss_database_lookup): Don't leak defconfig entries.
22587 (nss_parse_service_list): Don't leak on error paths.
22588 (free_database_entries): New function.
22589 (free_defconfig): New function.
22590 (free_mem): Move common code to free_database_entries.
22591
31a39bd8
L
225922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22593
da0331a8
L
22594 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22595 Add arch_prctl.
22596 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22597
31a39bd8
L
22598 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22599 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22601 New macro.
22602 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22603 (INTERNAL_SYSCALL_TYPES): Likewise.
22604 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22605 (LOAD_REGS_TYPES_[1-6]): Likewise.
22606 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22607 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22608
45470df3
AZ
226092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22610
22611 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22612 copysignl for GLIBC_2_0.
22613 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22614 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22616 logbl for GLIBC_2_0.
22617 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22618 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22619
98a61bcb
L
226202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22621
a4f6e481
L
22622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22623 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22624
f63d5db6
L
22625 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22626 Use "neg %eax".
22627
98a61bcb
L
22628 * time/mktime.c: Update copyright years.
22629
95770f14
PE
226302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22631
6226efbd
PE
22632 mktime: merge comment-quoting-style change from gnulib
22633 * time/mktime.c: Quote 'like this' in comments.
22634 The GNU coding standards suggest that we no longer quote `like this',
22635 as "`" and "'" are typically rendered asymmetrically nowadays.
22636 The typical gnulib style is to quote 'like this' when quoting
22637 code, and "like this" when quoting English.
22638
b99e4f78
PE
22639 * time/mktime.c (compile-command): Add "-I.".
22640
643e01e6
PE
22641 mktime: merge mktime-internal.h change from gnulib
22642 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22643
2554247d
PE
22644 mktime: merge time_r change from gnulib
22645 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22646
826dd0ab
PE
22647 mktime: merge DEBUG change from gnulib
22648 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22649 case system <time.h> has a #define.
22650
bd83aabe
PE
22651 mktime: merge <sys/types.h> change from gnulib
22652 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22653 since <time.t> is now guaranteed to define time_t.
22654
95770f14
PE
22655 mktime: merge HAVE_CONFIG_H change from gnulib
22656 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22657
5e1a27a9
L
226582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22659
0e44a77e
L
22660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22661 Use "neg %eax".
22662
5e1a27a9
L
22663 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22664 __rlim_t cast.
22665 (struct rusage): Use anonymous union to pad each field to
22666 __syscall_slong_t.
22667
46259bec
DM
226682012-05-21 David S. Miller <davem@davemloft.net>
22669
22670 * Makefules (o-iterator): Remove .s cases.
22671 (compile-command.s): Delete.
22672 (COMPILE.s): Delete.
22673 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22674
59f0c22e
JM
226752012-05-21 Joseph Myers <joseph@codesourcery.com>
22676
22677 * configure.in (libc_cv_predef_stack_protector): Only consider
22678 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22679 * configure: Regenerated.
22680
20c07380
L
226812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22682
bbb3154b
L
22683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22684 New macro. Use R*LP on int and pointer.
22685 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22686 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22687 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22688 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22689
20c07380
L
22690 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22691 [__WORDSIZE_TIME64_COMPAT32] instead of
22692 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22693 (struct utmp): Likewise.
22694 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22695 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22696 Renamed to ...
22697 (__WORDSIZE_TIME64_COMPAT32): This.
22698 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22699 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22700 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22701 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22702 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22703 (__WORDSIZE_TIME64_COMPAT32): New macro.
22704
d8d1017e
AJ
227052012-05-21 Andreas Jaeger <aj@suse.de>
22706
22707 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22708 only if [SHARED]. Add prototype for __wcschr_ia32.
22709
6c7fb145
RM
227102012-05-21 Roland McGrath <roland@hack.frob.com>
22711
22712 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22713 of %rbp unmolested in the jmp_buf while mangling the low bits.
22714 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22715 unmolested high bits of %rbp while demangling the low bits.
22716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22717
66274218
AJ
227182012-05-21 Andreas Jaeger <aj@suse.de>
22719
07c58f8f
AJ
22720 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22721 * sunrpc/svc_simple.c: Use it for registerrpc.
22722 * sunrpc/xcrypt.c: Use it for passwd2des.
22723
66274218
AJ
22724 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22725
61f65140
L
227262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22727
22728 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22729 Don't define if [__SYSCALL_WORDSIZE != 32].
22730 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22731 New macro.
22732
5fefb436
AJ
227332012-05-21 Bruno Haible <bruno@clisp.org>
22734 Andreas Jaeger <aj@suse.de>
22735
22736 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22737 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22738 inptr and inend for must_buffer_ch.
22739 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22740 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22741 * stdio-common/Makefile (tests): Remove bug15.
22742 (bug15-ENV): Remove macro.
22743 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22744 anymore.
22745
d8e272ab
AJ
227462012-05-19 Andreas Jaeger <aj@suse.de>
22747 Roland McGrath <roland@hack.frob.com>
22748
22749 * manual/contrib.texi: Completely rewritten. It contains now an
22750 alphabetical list of contributors and their contributions.
22751
4a56a162
RH
227522012-05-21 Richard Henderson <rth@twiddle.net>
22753
22754 * misc/getauxval.c (__getauxval): Use unsigned long int.
22755 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22756 (getauxval): Use unsigned long int.
22757
d024d23c
L
227582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22759
22760 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22761
cbc00a03
RM
227622012-05-21 Roland McGrath <roland@hack.frob.com>
22763
22764 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22765 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22766 __alignof__ (long double).
22767
478143fa
AZ
227682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22769
22770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22771
c7683a6d
RH
227722012-05-20 Richard Henderson <rth@twiddle.net>
22773
22774 * misc/getauxval.c: New file.
22775 * misc/sys/auxv.h: New file.
22776 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22777 (routines): Add getauxval.
22778 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22779 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22780 * elf/dl-sysdep.c (_dl_auxv): Remove.
22781 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22782 * elf/dl-support.c (_dl_auxv): New variable.
22783 (_dl_aux_init): Initialize it.
22784 * manual/startup.texi (Auxiliary Vector): New node.
22785 * sysdeps/generic/bits/hwcap.h: New file.
22786 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22787 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22788 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22789 * sysdeps/sparc/sysdep.h: ... here. Include it.
22790 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22791 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22793 Update.
c7683a6d
RH
22794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22802
a6f1845d
AZ
228032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22804
22805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22806
cbcbe830
DM
228072012-05-19 David S. Miller <davem@davemloft.net>
22808
22809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22810
e0b16cc2
JM
228112012-05-19 Joseph Myers <joseph@codesourcery.com>
22812
22813 [BZ #14123]
22814 * math/s_ccosh.c: Include <float.h>
22815 (__ccosh): Avoid internal overflow calculating sinh and cosh
22816 values before multiplying by sin and cos values.
22817 * math/s_ccoshf.c: Likewise.
22818 * math/s_ccoshl.c: Likewise.
22819 * math/s_csin.c: Likewise.
22820 * math/s_csinf.c: Likewise.
22821 * math/s_csinl.c: Likewise.
22822 * math/s_csinh.c: Likewise.
22823 * math/s_csinhf.c: Likewise.
22824 * math/s_csinhl.c: Likewise.
22825 * math/libm-test.inc (ccos_test): Add more tests.
22826 (ccosh_test): Likewise.
22827 (csin_test): Likewise.
22828 (csinh_test): Likewise.
22829 * sysdeps/i386/fpu/libm-test-ulps: Update.
22830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22831
6ad13e08
L
228322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22833
f66f0ce8
L
22834 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22835 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22836
6ad13e08
L
22837 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22838
b1d072a7
JM
228392012-05-19 Joseph Myers <joseph@codesourcery.com>
22840
22841 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22842 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22843 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22844 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22845 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22846 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22847 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22848 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22849 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22850 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22851 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22852 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22853 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22854 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22855 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22856 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22857 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22858 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22859 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22860 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22861 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22862 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22863 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22864 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22865 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22866 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22867 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22868 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22869 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22870 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22871 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22872
9eae47cb
AJ
228732012-05-18 Andreas Jaeger <aj@suse.de>
22874
22875 * csu/.gitignore: Delete.
22876
bb07f69f
L
228772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22878
22879 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22880 (timex): Use __syscall_slong_t.
22881
e6bdb741
AJ
228822012-05-18 Andreas Jaeger <aj@suse.de>
22883 Carlos O'Donell <carlos_odonell@mentor.com>
22884
22885 * manual/install.texi (Configuring and compiling): Update
22886 description about files modified in the source directory.
d6c33fda 22887 * INSTALL: Regenerated.
e6bdb741 22888
1b74487e
L
228892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22890
22891 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22892 value. Use "or" to set return value to -1.
22893 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22894 negate return value.
22895
a88b64b9
TMQMF
228962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22897
22898 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22899 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22900 failure if the compiler has Graphite support disabled.
22901 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22902 Likewise.
22903 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22904 CFLAGS-memmove.c): Likewise.
22905 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22906 Likewise.
22907
3707636e
L
229082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22909
610b8622
L
22910 * sysdeps/x86_64/x32/_itoa.h: New file.
22911
7cd195df
L
22912 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22913 getdents system call only if kernel and user dirents have the
22914 same d_ino and d_off.
22915
94b07d20
L
22916 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22917 LLONG_MAX != LONG_MAX.
22918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22919 (_fitoa_word): Likewise.
22920
18298070
L
22921 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22922 years.
22923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22924 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22925 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22926
553c7ea4
L
22927 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22928 include <bits/wordsize.h>. Check __x86_64__ instead of
22929 __WORDSIZE.
22930 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22931 if __x86_64__ is defined. Use anonymous union on fpstate.
22932
3707636e
L
22933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22934 anonymous union.
22935
b53ef01a
AS
229362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22937
37fb1dc0
AS
22938 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22939 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22940 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22941 Refer to _rtld_local_ro instead of _rtld_global_ro.
22942 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22943 Likewise.
22944 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22945 Likewise.
22946 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22947 Likewise.
22948 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22949 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22950 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22951
b53ef01a
AS
22952 * sysdeps/powerpc/powerpc32/dl-machine.c
22953 (__elf_machine_runtime_setup) [PROF]: Don't reference
22954 _dl_prof_resolve.
22955
7a185db2
AJ
229562012-05-18 Andreas Jaeger <aj@suse.de>
22957
22958 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22959 function only available for GCCs before 3.4 since GCC 3.4
22960 introduced a builtin.
22961 (lrint): Likewise.
22962 (llrintf): Likewise.
22963 (llrint): Likewise.
22964 (fmaxf): Likewise.
22965 (fmax): Likewise.
22966 (fminf): Likewise.
22967 (fmin): Likewise.
22968 (rint): Likewise.
22969 (rintf): Likewise.
22970 (nearbyint): Likewise.
22971 (nearbyintf): Likewise.
22972 (ceil): Likewise.
22973 (ceilf): Likewise.
22974 (floor): Likewise.
22975 (floorf): Likewise.
22976
3e5aef87
L
229772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22978
428bd707
L
22979 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22980 on both fields and cast pointer to __syscall_ulong_t.
22981
3e5aef87
L
22982 * bits/types.h (__fsword_t): New type.
22983 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22984 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22986 (__FSWORD_T_TYPE): Likewise.
22987 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22988 (__FSWORD_T_TYPE): Likewise.
22989 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22990 (__FSWORD_T_TYPE): Likewise.
22991 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22992 (__FSWORD_T_TYPE): Likewise.
22993 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22994 __SWORD_TYPE with __fsword_t.
22995 (statfs64): Likewise.
22996
1ba7c3dc
DM
229972012-05-17 David S. Miller <davem@davemloft.net>
22998
22999 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23000
59910343
AJ
230012012-05-17 Andreas Jaeger <aj@suse.de>
23002
23003 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23004 warning.
23005
2e4c1e9e
L
230062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23007
23008 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23009
de7f5ce7
AJ
230102012-05-17 Andreas Jaeger <aj@suse.de>
23011
23012 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23013 when it is used.
23014
286abc3d
CM
230152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23016
23017 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23018
477cc68e
L
230192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23020
23021 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23022 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23023
1a0994f5
CD
230242012-05-17 Andreas Jaeger <aj@suse.de>
23025 Carlos O'Donell <carlos_odonell@mentor.com>
23026
23027 [BZ #14059]
23028 * sysdeps/x86_64/multiarch/init-arch.h
23029 (bit_YMM_Usable): Rename to...
23030 (bit_AVX_Usable): ... this.
23031 (bit_FMA4_Usable): New macro.
23032 (bit_XMM_state): New macro.
23033 (bit_YMM_state): New macro.
23034 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23035 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23036 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23037 (CPUID_OSXSAVE): New macro.
23038 (CPUID_AVX): New macro.
23039 (CPUID_FMA4): New macro.
23040 (index_YMM_Usable): Rename to...
23041 (index_AVX_Usable): ... this.
23042 (HAS_AVX): Use HAS_ARCH_FEATURE.
23043 (HAS_FMA4): Likewise.
23044 (HAS_YMM_USABLE): Remove.
23045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23046 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23047 are present.
23048 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23049 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23050 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23051 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23052 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23053
0af797de
CM
230542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23055
23056 * math/libm-test.c: Support platforms without multiple rounding modes.
23057 * math/bug-nextafter.c: Support platforms without FP exceptions.
23058 * math/bug-nexttoward.c: Likewise.
23059 * math/test-fenv.c: Likewise.
23060 * math/test-misc.c: Likewise.
23061 * stdlib/bug-getcontext.c: Likewise.
23062
e39745ff
AJ
230632012-05-17 Andreas Jaeger <aj@suse.de>
23064
23065 * manual/examples/search.c (critter_cmp): Change signature to
23066 avoid warnings.
23067 * manual/string.texi (Collation Functions): Likewise.
23068
48970aba
L
230692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23070
23071 * bits/types.h: Fold copyright years.
23072 * bits/typesizes.h: Likewise.
23073 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23075 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23077 * time/time.h: Likewise.
23078
bedee953
PP
230792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23080
23081 [BZ #208]
23082 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23083 in instead of returning them. Return void.
23084 (__libc_mallinfo): Accumulate over all arenas.
23085 (__malloc_stats): Adjust for change in int_mallinfo interface.
23086
61653dfb
RM
230872012-05-16 Roland McGrath <roland@hack.frob.com>
23088
30b99d79
RM
23089 [BZ #10375]
23090 * configure.in (NM): Add AC_CHECK_TOOL for it.
23091 (libc_extra_cflags): New substituted variable.
23092 Check for -fstack-protector being used implicitly.
23093 * configure: Regenerated.
23094 * config.make.in (config-extra-cflags): New variable,
23095 gets @libc_extra_cflags@.
23096 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23097
61653dfb
RM
23098 [BZ #10375]
23099 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23100 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23101 * configure: Regenerated.
23102 * config.make.in (CPPUNDEFS): New substituted variable.
23103 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23104 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23105 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23106
661768bb
L
231072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23108
23109 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23110 (mq_attr): Use __syscall_slong_t.
23111
d4261567
L
231122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23115 Check __x86_64__ instead of __WORDSIZE.
23116 (_STAT_VER_LINUX): Likewise.
23117 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23118 __syscall_ulong_t and __syscall_slong_t.
23119 (stat64): Likewise.
23120
cf3ff365
L
231212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23122
23123 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23124
76cf3e4d
L
231252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23126
23127 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23128
a637753a
L
231292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23130
23131 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23132 __syscall_ulong_t.
23133
d5e05119
L
23134 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23135 include <bits/wordsize.h>. Check __x86_64__ instead of
23136 __WORDSIZE.
23137 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23138 defined.
23139 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23140
f62ee380
L
23141 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23142 include <bits/wordsize.h>. Check __x86_64__ instead of
23143 __WORDSIZE.
23144 (user_regs_struct): Use "__extension__ unsigned long long"
23145 instead of "unsigned long" if __x86_64__ is defined.
23146 (user): Likewise. Pad after pointer field if __ILP32__ is
23147 defined.
23148
4e124ced
JM
231492012-05-16 Joseph Myers <joseph@codesourcery.com>
23150
6a3951a0
JM
23151 * configure.in (makeinfo): Require version 4.5 or later. Allow
23152 versions 5 to 9.
23153 * configure: Regenerated.
23154 * manual/install.texi (texinfo): Increase version requirement to
23155 4.5 or later.
23156 * INSTALL: Regenerated.
23157
4e124ced
JM
23158 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23159
953ca31a
L
231602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23161
23162 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23163
617aca05
L
23164 * sysdeps/x86_64/x32/ffs.c: New file.
23165
5762f7ae
L
23166 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23167 __syscall_ulong_t.
23168 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23169 defined. Use __syscall_ulong_t.
23170 (shminfo): Use __syscall_ulong_t.
23171 (shm_info): Likewise.
23172
a26b6856
L
23173 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23174 __syscall_ulong_t.
23175
cb2b9ef7
L
23176 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23177 <bits/wordsize.h>.
23178 (msgqnum_t): Use __syscall_ulong_t.
23179 (msglen_t): Likewise.
23180 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23181 __syscall_ulong_t.
23182
34683bb0
L
23183 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23184 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23185
84a68786
L
23186 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23187
48baa5f1
L
23188 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23189 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23190
180be88b
L
23191 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23192 __syscall_slong_t.
23193
5e90c8ad
L
23194 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23195 include <bits/wordsize.h>. Check __x86_64__ instead of
23196 __WORDSIZE.
23197
23dfb58b
L
23198 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23199 "unsigned long long int" if __x86_64__ is defined.
23200 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23201
ce5d54b0
L
23202 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23204 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23205
13dc9eac
L
23206 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23207 <stdint.h>.
23208 (GET_PC): Cast to uintptr_t first.
23209 (GET_FRAME): Likewise.
23210 (GET_STACK): Likewise.
23211
a7895d15
L
23212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23213 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23215 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23217 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23218 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23219 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23220 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23221 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23224 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23225 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23226 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23227 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23228 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23229 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23230 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23231 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23232 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23237 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23238 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23240 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23241
656416c9
AS
232422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23243
5bd66283
AS
23244 * Makerules (+depfiles): Also collect depfiles from .oS in
23245 $(extra-objs).
23246 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23247 .oS, $(libnldbl-routines)).
23248
656416c9
AS
23249 * Makerules (native-compile-mkdep-flags): Define.
23250 * sunrpc/Makefile (extra-objs): Add $(addprefix
23251 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23252 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23253 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23254 calling $(make-target-directory).
23255
a46f2169
L
232562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23257
23258 * bits/types.h (__snseconds_t): Removed.
23259 * time/time.h (struct timespec): Replace __snseconds_t with
23260 __syscall_slong_t.
23261 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23262 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23263 Likewise.
23264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23265 (__SNSECONDS_T_TYPE): Likewise.
23266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23267 (__SNSECONDS_T_TYPE): Likewise.
23268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23269 (__SNSECONDS_T_TYPE): Likewise.
23270
6af6528b
L
232712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23272
23273 * sysdeps/mach/hurd/bits/typesizes.h
23274 (__SYSCALL_SLONG_TYPE): New macro.
23275 (__SYSCALL_ULONG_TYPE): Likewise.
23276
de986b56
L
232772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23278
23279 * bits/types.h (__syscall_slong_t): New type.
23280 (__syscall_ulong_t): Likewise.
23281
23282 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23283 (__SYSCALL_ULONG_TYPE): Likewise.
23284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23285 (__SYSCALL_SLONG_TYPE): Likewise.
23286 (__SYSCALL_ULONG_TYPE): Likewise.
23287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23288 (__SYSCALL_SLONG_TYPE): Likewise.
23289 (__SYSCALL_ULONG_TYPE): Likewise.
23290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23291 (__SYSCALL_SLONG_TYPE): Likewise.
23292 (__SYSCALL_ULONG_TYPE): Likewise.
23293
85736dc7
L
232942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23295
23296 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23297 Add sigaltstack-offsets.sym.
23298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23299 <sigaltstack-offsets.h>.
23300 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23301 longjmp_msg pointer.
23302 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23303 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23304 signal stack.
23305 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23306
cc03b296
JM
233072012-05-15 Joseph Myers <joseph@codesourcery.com>
23308
a9538892
JM
23309 * elf/stackguard-macros.h: Remove file.
23310 * sysdeps/generic/stackguard-macros.h: New file.
23311 * sysdeps/i386/stackguard-macros.h: Likewise.
23312 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23313 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23314 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23315 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23316 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23317 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23318 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23319 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23320 <elf/stackguard-macros.h>.
23321
cc03b296
JM
23322 [BZ #14109]
23323 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23324 __aligned__ in attribute.
23325 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23326 (gregset_t): Likewise.
23327
93171016
L
233282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23329
23330 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23331 * sysdeps/x86_64/64/Implies-after: Here. New file.
23332 * sysdeps/x86_64/x32/Implies-after: New file.
23333
d86813a0
L
233342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23335
23336 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23337 and access return value for _dl_profile_fixup. Use R10_LP to
23338 load frame size.
23339
2953ec75
L
233402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23341
23342 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23343
3b550e9e
L
233442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23345
23346 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23347 * sysdeps/x86_64/x32/sysdep.h: New file.
23348
eda41706
L
233492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23350
23351 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23352 * sysdeps/x86_64/setjmp.S: Likewise.
23353
9ea01d93
AZ
233542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23355
23356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23358 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23359 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23360 remove unused global constant.
23361
02a91938
CM
233622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23363
23364 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23365 include of <not-cancel.h>.
23366
6540185f
RM
233672012-05-15 Roland McGrath <roland@hack.frob.com>
23368
23369 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23370
509072a0
AJ
233712012-05-15 Jeff Law <law@redhat.com>
23372 Andreas Jaeger <aj@suse.de>
23373
23374 [BZ #13594]
23375 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23376 out from...
23377 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23378 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23379 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23380 code changing __hst_map_handle.map.
23381
ba75122d
RM
233822012-05-15 Roland McGrath <roland@hack.frob.com>
23383
23384 * configure.in (sysnames): Look for Implies-before and Implies-after
23385 files.
23386 * configure: Regenerated.
23387
890d8bd8
L
233882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23389
23390 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23391 8-byte data alignment with LP_SIZE alignment.
23392
f6ee6623
L
233932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23394
23395 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23396 into R10_LP.
23397
ea2626f6
L
233982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23399
23400 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23401
085f715e
L
234022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23403
23404 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23405 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23407 Likewise.
23408 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23409
be8498fc
L
234102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23411
23412 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23413 (stackinfo_sub_sp): Likewise.
23414
70bc83b9
L
234152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23416
23417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23418 RAX_LP.
23419
9bc0b730
L
234202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23421
23422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23423 into R*_LP.
23424
6d2850e7
L
234252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23426
23427 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23428 sizes into R*_LP.
23429
3cb84561
L
234302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23431
23432 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23433
54e2ed81
L
234342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23435
23436 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23437 into R11_LP and load __x86_64_shared_cache_size_half into
23438 R8_LP.
23439
8a17f349
L
234402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23441
23442 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23443 R8_LP.
23444
777b1eea
AZ
234452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23446
23447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23448 logb for POWER7.
23449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23450 logbf for POWER7.
23451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23452 logbl for POWER7.
23453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23454 powerpc32/power7/fpu/s_logb.c via #include.
23455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23456 powerpc32/power7/fpu/s_logbf.c via #include.
23457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23458 powerpc32/power7/fpu/s_logbl.c via #include.
23459
d20d4ac2
JM
234602012-05-15 Joseph Myers <joseph@codesourcery.com>
23461
23462 * README.libm: Remove file.
23463
6cdef1ab
L
234642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23465
23466 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23467 count for x32. Use R*_LP and omit operand-size suffix.
23468
0b254d8f
L
234692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23470
23471 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23472 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23473 * sysdeps/x86_64/x32/shlib-versions: New file.
23474
ceb809dc
RM
234752012-05-14 Roland McGrath <roland@hack.frob.com>
23476
23477 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23478 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23479 Use _dl_fatal_printf instead.
23480
37f1abd4
JM
234812012-05-14 Joseph Myers <joseph@codesourcery.com>
23482
23483 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23484 set if not set by the user. Do not allow for being unset.
23485 * sysdeps/unix/sysv/linux/configure: Regenerated.
23486
11de3a33
L
234872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23488
23489 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23490 the `q' suffix from lea and replace .quad with ASM_ADDR.
23491
e02f153a
L
234922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23493
23494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23495 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23496 instead of $17.
23497 (PTR_DEMANGLE): Likewise.
23498
520ae0fd
L
234992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23500
23501 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23502 (LP_OP): Likewise.
23503 (ASM_ADDR): Likewise.
23504 (RAX_LP): Likewise.
23505 (RBP_LP): Likewise.
23506 (RBX_LP): Likewise.
23507 (RCX_LP): Likewise.
23508 (RDI_LP): Likewise.
23509 (RSI_LP): Likewise.
23510 (RSP_LP): Likewise.
23511 (R8_LP): Likewise.
23512 (R9_LP): Likewise.
23513 (R10_LP): Likewise.
23514 (R10_LP): Likewise.
23515 (R11_LP): Likewise.
23516 (R12_LP): Likewise.
23517 (R13_LP): Likewise.
23518 (R14_LP): Likewise.
23519 (R15_LP): Likewise.
23520
b985be81
L
235212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23522
23523 * sysdeps/x86_64/x32/dl-machine.h: New file.
23524
6a4888ff
AJ
235252012-05-14 Andreas Jaeger <aj@suse.de>
23526
23527 * manual/Makefile (subdir): Remove export of subdir.
23528 (all): Remove target.
23529 (.PHONY): Remove all from list.
23530 (mkinstalldirs): Remove.
23531 (.PHONY): Remove installdirs from list.
23532 ($(inst_infodir)/libc.info): Use make-target-directory.
23533 (installdirs): Remove.
23534 (subdir_%): Remove.
23535 (glibc-targets): Remove.
23536 (lib): Remove.
23537 (stubs): Remove.
23538 ($(objpfx)stubs ../po/manual.pot): Remove.
23539 ($(objpfx)stamp%): Remove.
23540 (make-target-directory): Remove.
23541 (subdir_install): Remove.
23542 (routines): Remove.
23543 (aux): Remove.
23544 (sources): Remove.
23545 (objects): Remove.
23546 (headers): Remove.
23547
23548 [BZ #13750]
23549 * manual/.gitignore: Remove, it's not needed anymore.
23550 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23551 all files in it.
23552 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23553 directory.
23554 (texis): Renamed to $(objpfx)texis.
23555 (texis-path): New, contains path to generated files.
23556 (chapters.%): Use texis-path for complete path, add extra argument
23557 libc-texinfo.sh.
23558 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23559 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23560 (summary,texi, stamp-summary): Use complete path of
23561 files. Generate files in build dir.
23562 (dir-add.texi): Build in build dir.
23563 (libm-err.texi,stamp-libm-err): Likewise.
23564 (version.texi, stamp-version): Likewise.
23565 (.%c.texi): Likewise.
23566 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23567 (mostlyclean): Remove target.
23568 (realclean): Remove target.
23569 (generated): Add new variable with contents from mostlyclean and
23570 realclean, remove entries duplicated in common-mostlyclean, add
23571 stamp-libm-err and stamp-version.
23572 (generated-dirs): Add libc directory.
23573 ($(inst_infodir)/libc.info): Install files from build dir.
23574
23575 * manual/install.texi (Configuring and compiling): Adjust since
23576 the info files are not part of the tar ball anymore.
23577
7ac77294
AJ
235782012-05-14 Andreas Jaeger <aj@suse.de>
23579
23580 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23581 variable.
23582
ffb7875d
JM
235832012-05-14 Joseph Myers <joseph@codesourcery.com>
23584
23585 [BZ #13717]
23586 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23587 to 2.2.0 where earlier.
23588 * sysdeps/unix/sysv/linux/configure: Regenerated.
23589 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23590 Remove conditional code.
23591 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23592 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23593 Remove conditional code.
23594 [!__NR_lchown]: Likewise.
23595 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23596 [__NR_lchown]: Likewise.
23597 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23598 comment referencing __ASSUME_LCHOWN_SYSCALL.
23599 * sysdeps/unix/sysv/linux/i386/sigaction.c
23600 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23601 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23602 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23603 Remove conditional code.
23604 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23605 (__protocol_available): Remove #if 0 code.
23606 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23607 conditional code.
23608 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23609 * sysdeps/unix/sysv/linux/kernel-features.h
23610 (__ASSUME_GETCWD_SYSCALL): Don't define.
23611 (__ASSUME_REALTIME_SIGNALS): Likewise.
23612 (__ASSUME_PREAD_SYSCALL): Likewise.
23613 (__ASSUME_PWRITE_SYSCALL): Likewise.
23614 (__ASSUME_POLL_SYSCALL): Likewise.
23615 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23616 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23617 non-SPARC.
23618 (__ASSUME_SIOCGIFNAME): Don't define.
23619 (__ASSUME_MSG_NOSIGNAL): Likewise.
23620 (__ASSUME_SENDFILE): Define unconditionally.
23621 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23622 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23623 conditional code.
23624 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23625 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23626 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23627 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23628 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23629 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23630 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23632 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23644 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23647 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23650 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23655 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23656 Remove conditional code.
23657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23658 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23659 Remove conditional code.
23660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23661 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23662 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23663 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23664 Remove conditional code.
23665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23666 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23667 Remove conditional code.
23668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23669 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23670 Remove conditional code.
23671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23672 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23673 Remove conditional code.
23674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23675 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23676 Remove conditional code.
23677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23678 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23681 * sysdeps/unix/sysv/linux/sigaction.c
23682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23684 * sysdeps/unix/sysv/linux/sigpending.c
23685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23687 * sysdeps/unix/sysv/linux/sigprocmask.c
23688 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23689 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23690 * sysdeps/unix/sysv/linux/sigsuspend.c
23691 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23692 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23693 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23694 (__libc_missing_rt_sigs): Remove.
23695 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23696 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23697 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23698 Remove conditional code.
23699 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23700 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23701 return 1.
23702 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23703 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23704 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23705 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23706
1bfb7291
AJ
237072012-05-14 Andreas Jaeger <aj@suse.de>
23708
caae5a81
AJ
23709 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23710 it's not used in glibc.
23711 (__coshm1): Likewise.
23712 (__acosh1p): Likewise.
23713 (__sgn): Likewise.
23714
1bfb7291
AJ
23715 * manual/string.texi (Copying and Concatenation): Add missing
23716 variable in concat example.
23717 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23718
c044d724
L
237192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23720
144c5467 23721 [BZ #14103]
c044d724
L
23722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23723 __builtin_clzl with __builtin_clzll.
23724
2523c62b
L
237252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23726
23727 [BZ #14104]
23728 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23729 libc_freeres_ptr.
23730
d7bb4c42
LD
237312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23732
23733 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23734 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23735 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23736 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23737
9dc4e1fb
MF
237382012-05-14 Mike Frysinger <vapier@gentoo.org>
23739
23740 * NEWS: Update ia64 info.
23741
c7df0112
AS
237422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23743
23744 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23745 used as bcopy.
23746
dc70356c
TS
237472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23748
23749 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23750 * sysdeps/unix/syscalls.list (dup3): Likewise.
23751 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23752 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23753
9fb1a21f
L
237542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23755
23756 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23757 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23758
4822a2a5
L
237592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23760
23761 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23762 thread pointer.
23763 (TLS_IE): Use mov/add instead of movq/addq to load thread
23764 pointer.
23765 (TLS_GD_PREFIX): New.
23766 (TLS_GD): Use it.
23767
842b81d6
DM
237682012-05-11 David S. Miller <davem@davemloft.net>
23769
23770 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23771 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23772 (_FPU_SETCW): Likewise.
23773
1cf463cd
L
237742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23775
23776 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23777 is 32-byte aligned.
23778
60cc4a18
AS
237792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23780
23781 [BZ #11837]
23782 * iconvdata/gb18030.c: Update tables.
23783 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23784 characters specially.
23785 (BODY for TO_LOOP): Add encoding of missing ranges.
23786
febb44a4
TS
237872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23788
23789 [BZ #13673]
23790 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23791 * sysdeps/mach/hurd/dup3.c: Likewise.
23792 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23793 * sysdeps/powerpc/memmove.c:: Likewise.
23794
0a10fb9e
L
237952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23796
23797 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23798 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23799
df8a552f
L
238002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23801
23802 * elf/elf.h (R_X86_64_RELATIVE64): New.
23803 (R_X86_64_NUM): Updated.
23804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23805 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23806 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23807 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23808 tst-quad1pie tst-quad2pie
23809 (modules-names): Add tst-quadmod1 tst-quadmod2.
23810 ($(objpfx)tst-quad1): New dependency.
23811 ($(objpfx)tst-quad2): Likewise.
23812 ($(objpfx)tst-quad1pie): Likewise.
23813 ($(objpfx)tst-quad2pie): Likewise.
23814 * sysdeps/x86_64/tst-quad1.c: New file.
23815 * sysdeps/x86_64/tst-quad1pie.c: New file.
23816 * sysdeps/x86_64/tst-quad2.c: Likewise.
23817 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23818 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23819 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23820 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23821 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23822
f34d6f84
ST
238232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23824
f42d41d1
ST
23825 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23826 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23827 * streams/stropts.h (t_scalar_t): Define type.
23828
3c3571fc
ST
23829 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23830 (_PATH_PRESERVE): Set to "/var/lib".
23831 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23832
61f06bd3
ST
23833 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23834 instead of int.
23835
918d4d71
ST
23836 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23837 if __dir_mkfile succeeded.
23838
f34d6f84
ST
23839 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23840 checking for _hurd_dtablesize. Unlock it right after having
23841 finished _hurd_dtable allocation.
23842
10589b4a
TS
238432012-05-10 Thomas Schwinge <thomas@schwinge.name>
23844
674cdbc7
TS
23845 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23846 * sysdeps/mach/hurd/configure: Regenerated.
23847 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23848 special-casing to...
23849 * sysdeps/gnu/configure.in: ... this new file.
23850 * sysdeps/unix/sysv/linux/configure: Regenerated.
23851 * sysdeps/gnu/configure: New generated file.
23852
8e41b99f
TS
23853 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23854 for Linux: use nsec instead of usec, as well as:
23855 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23856 members of type struct timespec.
23857 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23858 New macros.
23859 (struct stat64): Likewise.
23860 (_STATBUF_ST_NSEC): New macro.
23861 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23862
10589b4a
TS
23863 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23864 __strtoul_internal rather than strtoul.
23865
63643c85
PT
238662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23867
23868 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23869 and reject them.
23870
3faebe6a
ST
238712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23872
23873 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23874 which preserves existing values.
23875 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23876
c6474b07
PT
238772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23878
23879 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23880 TIMEOUT values. Return EINVAL for NFDS values either negative or
23881 greater than FD_SETSIZE.
23882
1043890b
ST
238832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23884
23885 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23886 allocated, call __vm_protect to finish enabling the existing space, and
23887 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23888 allocate the remainder.
23889
37ed8b9b
PT
238902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23891
23892 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23893 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23894
db653660
ST
238952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23896
37ed8b9b
PT
23897 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23898 sysdeps/mach/hurd/readlink.c.
b29d4053 23899
db653660
ST
23900 * posix/tst-sysconf.c (posix_options): Only use
23901 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23902 _POSIX_SYNCHRONIZED_IO when they are defined
23903 * sysdeps/mach/hurd/bits/posix_opt.h:
23904 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23905 (_XOPEN_REALTIME): Undefine macro.
23906 (_XOPEN_REALTIME_THREADS): Undefine macro.
23907 (_XOPEN_SHM): Undefine macro.
23908 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23909 macro to -1.
23910 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23911 macro to -1.
23912 (_POSIX_ASYNC_IO): Undefine macro.
23913 (_POSIX_PRIORITIZED_IO): Undefine macro.
23914 (_POSIX_SPIN_LOCKS): Define macro to -1.
23915
ee16e894
ST
23916 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23917 SA_NODEFER, SA_RESETHAND.
23918 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23919 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23920 F_DUPFD_CLOEXEC.
23921
6103ae3b
TS
239222012-05-10 Thomas Schwinge <thomas@schwinge.name>
23923
23924 * elf/Makefile (pldd-modules): Define unconditionally.
23925
80b4e5f3
TS
239262012-05-10 Thomas Schwinge <thomas@schwinge.name>
23927
23928 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23929
edadcbd6
ST
239302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23931
23932 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23933 Return ENOENT when name is empty.
23934 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23935
80694780
TS
239362012-05-10 Thomas Schwinge <thomas@schwinge.name>
23937
1792c087
TS
23938 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23939
80694780
TS
23940 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23941
6b645f0d
ST
239422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23943
80694780
TS
23944 Fix mlock in all cases except non-readable pages.
23945 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23946 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23947
6b645f0d
ST
23948 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23949 (__mkdir): When path is `/', just fail with EEXIST.
23950 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23951
e468f8a3
TS
239522012-05-10 Thomas Schwinge <thomas@schwinge.name>
23953
23954 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23955 <sys/uio.h> (for writev).
23956 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23957 and <sys/param.h> (for MIN).
23958
a4186cff
PT
239592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23960
23961 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23962 REQUESTED_TIME. Properly set the remaining time and return EINTR
23963 if interrupted.
23964
510bbf14
TS
239652012-05-10 Thomas Schwinge <thomas@schwinge.name>
23966
23967 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23968 Depend on against $(link-rpcuserlibs).
23969
5d5722e8
ST
239702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23971
a4186cff
PT
23972 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23973 (__libc_stack_end): Do not use attribute_relro.
23974 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23975 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23976 to libthread-provided value.
a4186cff
PT
23977 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23978 attribute_relro.
5d5722e8 23979
37233df9
TS
239802012-05-10 Thomas Schwinge <thomas@schwinge.name>
23981
be971a2b
TS
23982 [BZ #3748]
23983 * bits/libc-lock.h (__libc_once_get): New macro.
23984 * sysdeps/mach/bits/libc-lock.h: Likewise.
23985 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23987 instead of using implementation details.
23988
37233df9
TS
23989 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23990 * libio/freopen.c: Likewise.
23991 * libio/freopen64.c: Likewise.
23992 * misc/syslog.c: Likewise.
23993 * nscd/connections.c: Likewise.
23994 * nscd/netgroupcache.c: Likewise.
23995 * sysdeps/posix/getcwd.c: Likewise.
23996
38de94a5
RM
239972012-05-10 Roland McGrath <roland@hack.frob.com>
23998
23999 * math/w_ilogbf.c: Add #include <limits.h>.
24000
67530489
ST
240012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24002
a4186cff 24003 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24004 path instead of returning without unlocking.
24005
67530489
ST
24006 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24007 immediate-write ioctls.
24008 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24009
5aa3a74a
TS
240102012-05-10 Thomas Schwinge <thomas@schwinge.name>
24011
18bad2ae
TS
24012 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24013 __builtin_frame_address instead of making assumptions about the
24014 location of the return address relative to DATA. Force early load of
24015 the return address.
24016 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24017 __builtin_frame_address.
24018
5aa3a74a
TS
24019 dup3 for GNU Hurd.
24020 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24021 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24022 implement dup3 and do some further code clean-ups.
24023 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24024 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24025
ecd0de9a
ST
240262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24027
cd9fa985
ST
24028 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24029
a4186cff
PT
24030 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24031 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24032 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24033 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24034 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24035 d->port.lock.
802ca5a5 24036
a4186cff
PT
24037 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24038 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24039 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24040
bcf55240
TS
240412012-05-10 Thomas Schwinge <thomas@schwinge.name>
24042
6960eb42
TS
24043 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24044 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24045 definitions.
24046
eb43375f
TS
24047 accept4 for GNU Hurd.
24048 * include/sys/socket.h (__libc_accept4): New prototype.
24049 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24050 to implement __libc_accept4.
24051 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24052 __libc_accept4.
24053 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24054
bcf55240
TS
24055 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24056 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24057 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24058 signal-defines.sym.
24059
6178c55b
ST
240602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24061
a4186cff 24062 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24063
6f080c2f
TS
240642012-05-10 Thomas Schwinge <thomas@schwinge.name>
24065
24066 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24067 assertion on O_CLOEXEC flag.
24068 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24069 * hurd/intern-fd.c: Likewise.
24070 * hurd/port2fd.c: Likewise.
24071
bcfe3a54
ST
240722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24073
24074 [BZ #3906]
24075 * bits/in.h (IPV6_PKTINFO): Define new macro.
24076 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24077
89c9aa49
AZ
240782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24079
24080 [BZ #13954]
24081 [BZ #13955]
24082 [BZ #13956]
24083 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24084 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24085 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24086 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24088 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24089 * math/libm-test.inc (logb_test) : Additional logb tests.
24090
021db4be
AJ
240912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24092 Andreas Jaeger <aj@suse.de>
24093
24094 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24095 * configure: Regenerated.
24096 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24097 * config.make.in (link-obsolete-rpc): New substituted variable.
24098 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24099 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24100 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24101 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24102 so that libc.a contains the symbols.
24103 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24104 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24105 * sunrpc/auth_none.c: Likewise.
24106 * sunrpc/auth_unix.c: Likewise.
24107 * sunrpc/authdes_prot.c: Likewise.
24108 * sunrpc/authuxprot.c: Likewise.
24109 * sunrpc/clnt_gen.c: Likewise.
24110 * sunrpc/clnt_perr.c: Likewise.
24111 * sunrpc/clnt_raw.c: Likewise.
24112 * sunrpc/clnt_simp.c: Likewise.
24113 * sunrpc/clnt_tcp.c: Likewise.
24114 * sunrpc/clnt_udp.c: Likewise.
24115 * sunrpc/clnt_unix.c: Likewise.
24116 * sunrpc/des_crypt.c: Likewise.
24117 * sunrpc/des_soft.c: Likewise.
24118 * sunrpc/get_myaddr.c: Likewise.
24119 * sunrpc/key_call.c: Likewise.
24120 * sunrpc/key_prot.c: Likewise.
24121 * sunrpc/netname.c: Likewise.
24122 * sunrpc/pm_getmaps.c: Likewise.
24123 * sunrpc/pm_getport.c: Likewise.
24124 * sunrpc/pmap_clnt.c: Likewise.
24125 * sunrpc/pmap_prot.c: Likewise.
24126 * sunrpc/pmap_prot2.c: Likewise.
24127 * sunrpc/pmap_rmt.c: Likewise.
24128 * sunrpc/publickey.c: Likewise.
24129 * sunrpc/rpc_cmsg.c: Likewise.
24130 * sunrpc/rpc_common.c: Likewise.
24131 * sunrpc/rpc_dtable.c: Likewise.
24132 * sunrpc/rpc_prot.c: Likewise.
24133 * sunrpc/rpc_thread.c: Likewise.
24134 * sunrpc/rtime.c: Likewise.
24135 * sunrpc/svc.c: Likewise.
24136 * sunrpc/svc_auth.c: Likewise.
24137 * sunrpc/svc_raw.c: Likewise.
24138 * sunrpc/svc_run.c: Likewise.
24139 * sunrpc/svc_tcp.c: Likewise.
24140 * sunrpc/svc_udp.c: Likewise.
24141 * sunrpc/svc_unix.c: Likewise.
24142 * sunrpc/svcauth_des.c: Likewise.
24143 * sunrpc/xcrypt.c: Likewise.
24144 * sunrpc/xdr.c: Likewise.
24145 * sunrpc/xdr_array.c: Likewise.
24146 * sunrpc/xdr_float.c: Likewise.
24147 * sunrpc/xdr_intXX_t.c: Likewise.
24148 * sunrpc/xdr_mem.c: Likewise.
24149 * sunrpc/xdr_rec.c: Likewise.
24150 * sunrpc/xdr_ref.c: Likewise.
24151 * sunrpc/xdr_sizeof.c: Likewise.
24152 * sunrpc/xdr_stdio.c: Likewise.
24153
b5c086a2
RM
241542012-05-10 Roland McGrath <roland@hack.frob.com>
24155
24156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24157 change. Update copyright years.
24158
6d74dd09
JM
241592012-05-10 Joseph Myers <joseph@codesourcery.com>
24160
24161 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24162
28e72501
MK
241632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24164 Joseph Myers <joseph@codesourcery.com>
24165 Paul Pluzhnikov <ppluzhnikov@google.com>
24166
24167 [BZ #14012]
24168 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24169 requiring rpcgen.
24170 [cross-compiling] (extra-libs): Likewise.
24171 [cross-compiling] (extra-libs-others): Likewise.
24172 [cross-compiling] (librpcsvc-routines): Likewise.
24173 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24174 [cross-compiling] (omit-deps): Likewise.
24175 (sunrpc-CPPFLAGS): New variable.
24176 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24177 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24178 (cross-rpcgen-objs): New variable.
24179 (extra-objs): Append $(cross-rpcgen-objs).
24180 ($(cross-rpcgen-objs)): New rule.
24181 ($(objpfx)cross-rpcgen): Likewise.
24182 (rpcgen-cmd): Define to use $(built-program-file). Expand
24183 comment.
24184 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24185 ($(objpfx)x%.stmp): Likewise.
24186 * sunrpc/proto.h [IS_IN_build] (_): Define.
24187 [IS_IN_build] (_libc_intl_domainname): Likewise.
24188
c8c59454
L
241892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24190
24191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24192 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24193 and R_X86_64_TPOFF64.
24194
6f27cd16
JM
241952012-05-10 Joseph Myers <joseph@codesourcery.com>
24196
24197 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24198 sysdeps/unix/sysv/syscalls.list.
24199 (stime): Likewise.
24200 (utime): Likewise.
24201 * sysdeps/unix/sysv/syscalls.list: Remove file.
24202
02467e1c
PE
242032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24204
24205 [BZ #3440]
24206 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24207 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24208 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24209 (__LC_IDENTIFICATION): Make these macros useful in #if
24210 expressions, as required by C99.
24211
da392631
AS
242122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24213
24214 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24215 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24216 after this.
24217
8115f29b
L
242182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24219
24220 * stdlib/longlong.h: Updated from GCC.
24221
bdd74070
AJ
242222012-05-09 Andreas Jaeger <aj@suse.de>
24223
edfe0dbe
AJ
24224 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24225 default is first entry.
24226 (run_mode): Set type.
24227 (main): Remove informal message about syslog.
24228 (options): Fix typo.
24229
bcfe3a54
ST
24230 [BZ #14053]
24231 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24232 to asm.
bcfe3a54
ST
24233 (lrint): Likewise.
24234 (llrintf): Likewise.
24235 (llrint): Likewise.
24236 (rint): Likewise.
24237 (rintf): Likewise.
24238 (nearbyint): Likewise.
24239 (nearbyintf): Likewise.
bdd74070 24240
91d8d69e
AJ
242412012-05-09 Andreas Jaeger <aj@suse.de>
24242 Pedro Alves <palves@redhat.com>
24243
24244 * nscd/nscd.c (run_mode): Use enum.
24245 (main): Cleanup coding style issue.
24246
bb90b80b
AJ
242472012-05-09 Alexandre Oliva <aoliva@redhat.com>
24248 Andreas Jaeger <aj@suse.de>
24249
bcfe3a54
ST
24250 * nscd/nscd.c (go_background): Replaced with...
24251 (run_mode): ... this.
bb90b80b 24252 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24253 (options): Add -F --foreground.
24254 (main): Implement it.
24255 (parse_opt): Parse it.
bb90b80b 24256
1a4b75a1
AJ
242572012-05-09 Andreas Jaeger <aj@suse.de>
24258
24259 [BZ #14083]
24260 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24261 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24262 -Wconversion warning.
24263 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24264 Likewise.
24265
b1cc2472
JM
242662012-05-09 Joseph Myers <joseph@codesourcery.com>
24267
24268 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24269 == 0.
24270 (LC_ALL): Use macro-int-constant.
24271 (LC_COLLATE): Likewise.
24272 (LC_CTYPE): Likewise.
24273 (LC_MESSAGES): Likewise.
24274 (LC_MONETARY): Likewise.
24275 (LC_NUMERIC): Likewise.
24276 (LC_TIME): Likewise.
24277 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24278 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24280 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24281 Specify type.
24282 [C99-based standards] (float_t): Expect type.
24283 [C99-based standards] (double_t): Expect type.
24284 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24285 type.
24286 [C99-based standards] (HUGE_VALL): Likewise.
24287 [C99-based standards] (INFINITY): Likewise.
24288 [C99-based standards] (NAN): Likewise.
24289 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24290 [C99-based standards] (FP_NAN): Likewise.
24291 [C99-based standards] (FP_NORMAL): Likewise.
24292 [C99-based standards] (FP_SUBNORMAL): Likewise.
24293 [C99-based standards] (FP_ZERO): Likewise.
24294 [C99-based standards] (FP_FAST_FMA): Use
24295 optional-macro-int-constant. Specify type. Require == 1.
24296 [C99-based standards] (FP_FAST_FMAF): Likewise.
24297 [C99-based standards] (FP_FAST_FMAL): Likewise.
24298 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24299 [C99-based standards] (FP_ILOGBNAN): Likewise.
24300 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24301 Specify type.
24302 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24303 [C99-based standards] (math_errhandling): Specify type.
24304 [ISO99 || ISO11] (signgam): Do not allow.
24305 [non-C99-based standards] (copysignf): Do not allow.
24306 [non-C99-based standards] (exp2f): Likewise.
24307 [non-C99-based standards] (log2f): Likewise.
24308 [non-C99-based standards] (modff): Allow.
24309 [non-C99-based standards] (erff): Do not allow.
24310 [non-C99-based standards] (erfcf): Likewise.
24311 [non-C99-based standards] (gammaf): Likewise.
24312 [non-C99-based standards] (hypotf): Likewise.
24313 [non-C99-based standards] (j0f): Likewise.
24314 [non-C99-based standards] (j1f): Likewise.
24315 [non-C99-based standards] (jnf): Likewise.
24316 [non-C99-based standards] (lgammaf): Likewise.
24317 [non-C99-based standards] (tgammaf): Likewise.
24318 [non-C99-based standards] (y0f): Likewise.
24319 [non-C99-based standards] (y1f): Likewise.
24320 [non-C99-based standards] (ynf): Likewise.
24321 [non-C99-based standards] (isnanf): Likewise.
24322 [non-C99-based standards] (acoshf): Likewise.
24323 [non-C99-based standards] (asinhf): Likewise.
24324 [non-C99-based standards] (atanhf): Likewise.
24325 [non-C99-based standards] (cbrtf): Likewise.
24326 [non-C99-based standards] (expm1f): Likewise.
24327 [non-C99-based standards] (ilogbf): Likewise.
24328 [non-C99-based standards] (log1pf): Likewise.
24329 [non-C99-based standards] (logbf): Likewise.
24330 [non-C99-based standards] (nextafterf): Likewise.
24331 [non-C99-based standards] (remainderf): Likewise.
24332 [non-C99-based standards] (rintf): Likewise.
24333 [non-C99-based standards] (scalbf): Likewise.
24334 [non-C99-based standards] (copysignl): Likewise.
24335 [non-C99-based standards] (exp2l): Likewise.
24336 [non-C99-based standards] (log2l): Likewise.
24337 [non-C99-based standards] (modfl): Allow.
24338 [non-C99-based standards] (erfl): Do not allow.
24339 [non-C99-based standards] (erfcl): Likewise.
24340 [non-C99-based standards] (gammal): Likewise.
24341 [non-C99-based standards] (hypotl): Likewise.
24342 [non-C99-based standards] (j0l): Likewise.
24343 [non-C99-based standards] (j1l): Likewise.
24344 [non-C99-based standards] (jnl): Likewise.
24345 [non-C99-based standards] (lgammal): Likewise.
24346 [non-C99-based standards] (tgammal): Likewise.
24347 [non-C99-based standards] (y0l): Likewise.
24348 [non-C99-based standards] (y1l): Likewise.
24349 [non-C99-based standards] (ynl): Likewise.
24350 [non-C99-based standards] (isnanl): Likewise.
24351 [non-C99-based standards] (acoshl): Likewise.
24352 [non-C99-based standards] (asinhl): Likewise.
24353 [non-C99-based standards] (atanhl): Likewise.
24354 [non-C99-based standards] (cbrtl): Likewise.
24355 [non-C99-based standards] (expm1l): Likewise.
24356 [non-C99-based standards] (ilogbl): Likewise.
24357 [non-C99-based standards] (log1pl): Likewise.
24358 [non-C99-based standards] (logbl): Likewise.
24359 [non-C99-based standards] (nextafterl): Likewise.
24360 [non-C99-based standards] (remainderl): Likewise.
24361 [non-C99-based standards] (rintl): Likewise.
24362 [non-C99-based standards] (scalbl): Likewise.
24363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24364 [non-C99-based standards] (FP_*): Do not allow.
24365 [C99-based standards] (FP_*): Change to
24366 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24367 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24368 allow.
24369 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24370 (SIG_ERR): Likewise.
24371 [X/Open-based standards] (SIG_HOLD): Likewise.
24372 (SIG_IGN): Likewise.
24373 (SIGABRT): Use macro-int-constant. Specify type. Require
24374 positive value.
24375 (SIGFPE): Likewise.
24376 (SIGILL): Likewise.
24377 (SIGINT): Likewise.
24378 (SIGSEGV): Likewise.
24379 (SIGTER): Likewise.
24380 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24381 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24382 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24383 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24384 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24385 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24386 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24387 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24388 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24389 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24390 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24391 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24392 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24393 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24394 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24395 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24396 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24397 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24398 [X/Open-based standards] (SIGTRAP): Likewise.
24399 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24400 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24401 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24402 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24403 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24404 allow.
24405
b9f1922d
IW
244062012-05-08 Ian Wienand <ianw@vmware.com>
24407
24408 [BZ #14080]
24409 * time/tzset.c (__tzset_parse_tz): Update default rules for
24410 daylight time changes in the Energy Policy Act of 2005.
24411
1db86e88
AJ
244122012-05-09 Andreas Jaeger <aj@suse.de>
24413
24414 [BZ #13983]
24415 * elf/ldconfig.c (parse_conf): Change string to make clear that
24416 ldconfig only issued a warning if ld.so.conf does not exist.
24417
dee4a4e3
DM
244182012-05-08 David S. Miller <davem@davemloft.net>
24419
ee0db190
DM
24420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24421 movxtod instead of popping the value on the stack.
24422
dee4a4e3
DM
24423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24424
6a43ec98
CD
244252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24426
24427 * config.h.in: Add HAVE_ARM_PCS_VFP.
24428
05c2c961
RMG
244292012-05-08 Roland Mc Grath <roland@hack.frob.com>
24430
bcfe3a54
ST
24431 [BZ #13979]
24432 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24433 checking but the checks are disabled for any reason.
05c2c961 24434
4b30f61a
L
244352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24436
24437 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24438 and ELF64_R_TYPE with ELFW(R_TYPE).
24439
eee2bc67
JM
244402012-05-08 Joseph Myers <joseph@codesourcery.com>
24441
7ea5391a
JM
24442 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24443 (ulimit): Likewise.
24444
eee2bc67
JM
24445 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24446 (settimeofday): Likewise.
24447
abb66a67
MF
244482012-05-08 Mike Frysinger <vapier@gentoo.org>
24449
24450 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24451 a struct th_u2 inside the union, and move tu_block/tu_code into
24452 a new th_u3 union of tu_block/tu_code inside of that. Move
24453 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24454 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24455 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24456 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24457 (th_stuff): Change to th_u1.tu_stuff.
24458 (th_data): Define.
24459 (th_msg): Change to th_u1.th_u2.tu_data.
24460
7f18b530
DM
244612012-05-07 David S. Miller <davem@davemloft.net>
24462
05760585
DM
24463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24464
7f18b530
DM
24465 [BZ #14074]
24466 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24467 (SETUP_PIC_REG): Use it.
24468 (SETUP_PIC_REG_LEAF): Use it.
24469
495fd99f
JM
244702012-05-07 Joseph Myers <joseph@codesourcery.com>
24471
24472 [BZ #13885]
24473 [BZ #13923]
24474 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24475 USE_AS_EXPM1L.
24476 (EXPL_FINITE): Likewise.
24477 (FLDLOG): Likewise.
24478 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24479 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24480 e_expl.S.
24481 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24482 USE_AS_EXPM1L.
24483 (EXPL_FINITE): Likewise.
24484 (FLDLOG): Likewise.
24485 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24486 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24487 e_expl.S.
24488 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24489 test of -max_value argument for long double.
24490 * sysdeps/i386/fpu/libm-test-ulps: Update.
24491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24492
6693d694
DM
244932012-05-06 David S. Miller <davem@davemloft.net>
24494
24495 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24496 quad soft-float symbols whose references which are compiler
24497 generated.
24498 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24499
6c23e11c
JM
245002012-05-06 Joseph Myers <joseph@codesourcery.com>
24501
d8b82cad
JM
24502 [BZ #13884]
24503 [BZ #13914]
24504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24505 USE_AS_EXP10L.
24506 (EXPL_FINITE): Likewise.
24507 (FLDLOG): Likewise.
24508 (c0): Likewise.
24509 (c1): Likewise.
24510 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24511 Adjust comments for base varying.
24512 (__expl_finite): Change alias to EXPL_FINITE.
24513 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24514 e_expl.S.
24515 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24516 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24518 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24519 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24520 USE_AS_EXP10L.
24521 (EXPL_FINITE): Likewise.
24522 (FLDLOG): Likewise.
24523 (c0): Likewise.
24524 (c1): Likewise.
24525 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24526 Adjust comments for base varying.
24527 (__expl_finite): Change alias to EXPL_FINITE.
24528 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24529 tests for bugs.
24530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24531
6c23e11c
JM
24532 [BZ #14064]
24533 * math/libm-test.inc (check_float_internal): Correct ulp
24534 calculation for subnormal expected results.
24535
29ba805c
AJ
245362012-05-06 Andreas Jaeger <aj@suse.de>
24537
24538 * Makeconfig (+math-flags): New, set to -frounding-math.
24539 (+cflags): Add +math-flags so that all of glibc gets compiled with
24540 it.
24541
24542 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24543
7b17aeda
JM
245442012-05-05 Joseph Myers <joseph@codesourcery.com>
24545
5779f134
JM
24546 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24547 Disable one test.
24548
41498f4d
JM
24549 [BZ #13787]
24550 [BZ #13922]
24551 [BZ #14036]
24552 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24553 (__ieee754_expl): Allow for and saturate large arguments.
24554 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24555 (u_threshold): Likewise.
24556 (__exp): Call __ieee754_exp before checking for overflow and
24557 underflow.
24558 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24559 (u_threshold): Likewise.
24560 (__expf): Call __ieee754_expf before checking for overflow and
24561 underflow.
24562 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24563 (u_threshold): Likewise.
24564 (__expl): Call __ieee754_expl before checking for overflow and
24565 underflow.
24566 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24567 (__ieee754_expl): Allow for and saturate large arguments.
24568 * math/libm-test.inc (exp_test): Add another test. Do not allow
24569 missing overflow exception on overflow.
24570 (expm1_test): Do not allow missing overflow exception on overflow.
24571
6698b8bf
JM
24572 * sysdeps/i386/fpu/e_expl.c: Move to ...
24573 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24574 rather than using inline asm.
24575 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24576 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24577 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24578
7b17aeda
JM
24579 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24580 (nice): Likewise.
24581 (poll): Likewise.
24582 (signal): Likewise.
24583 (time): Likewise.
24584 (times): Likewise.
24585
f7c85819
JM
245862012-05-04 Joseph Myers <joseph@codesourcery.com>
24587
24588 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24589 sysdeps/unix/common/syscalls.list.
24590 (fchmod): Likewise.
24591 (fchown): Likewise.
24592 (ftruncate): Likewise.
24593 (getrusage): Likewise.
24594 (gettimeofday): Likewise.
24595 (setpgid): Likewise.
24596 (setregid): Likewise.
24597 (setreuid): Likewise.
24598 (sigaction): Likewise.
24599 (truncate): Likewise.
24600 (vhangup): Likewise.
24601 * sysdeps/unix/common/syscalls.list: Remove file.
24602 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24603 * sysdeps/unix/sysv/linux/Implies: Likewise.
24604
336270d0
L
246052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24606
24607 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24609 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24610 Moved to ...
24611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24612 Here.
24613 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24614 to ...
24615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24616 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24617 to ...
24618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24619 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24620 to ...
24621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24622 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24623 to ...
24624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24625 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24626 to ...
24627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24628 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24629 to ...
24630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24631 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24632 to ...
24633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24634 Here.
24635 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24636 to ...
24637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24638 Here.
24639 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24640 to ...
24641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24642 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24643 Moved to ...
24644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24645 Here.
24646 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24647 to ...
24648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24649
d128e450
JM
246502012-05-04 Joseph Myers <joseph@codesourcery.com>
24651
fa8ee516
JM
24652 * sysdeps/unix/common/bits/dirent.h: Remove file.
24653 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24654
d128e450
JM
24655 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24656 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24657 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24658 * sysdeps/unix/bsd/isatty.c: Likewise.
24659 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24660 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24661 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24662
ff8faaf0 246632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24664
62881be4 24665 [BZ #13563]
31dc8730
AZ
24666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24667 long double comparison inaccuracies.
24668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24670
6fef930c
AS
246712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24672
24673 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24675
8f203e6c
JM
246762012-05-04 Joseph Myers <joseph@codesourcery.com>
24677
24678 [BZ #14049]
24679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24680 nonzero digits before rounding a hex value.
24681 * stdlib/tst-strtod.c (tests): Add another test.
24682
5197d9c2
AK
246832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24684
24685 * sysdeps/s390/fpu/libm-test-ulps: Update.
24686
f0c1dedf
AJ
246872012-05-03 Andreas Jaeger <aj@suse.de>
24688
24689 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24690 does not get optimized out.
24691 (malloc_opt_barrier): New.
24692
a65ef2ae 246932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24694 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24695
2b942cb7 24696 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24697 intermediate file deletion.
2b942cb7 24698 (generated): Add .symlist files.
a65ef2ae 24699
54b71e02
JM
247002012-05-03 Joseph Myers <joseph@codesourcery.com>
24701
24702 [BZ #13775]
24703 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24704 Redirect under this condition.
24705 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24706 [__USE_GNU] (__dprintf_chk): Not under this condition.
24707 [__USE_GNU] (__vdprintf_chk): Likewise.
24708 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24709 under this condition.
24710 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24711 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24712 [__USE_XOPEN2K8] (vdprintf): Likewise.
24713 [__USE_GNU] (__dprintf_chk): Not under this condition.
24714 [__USE_GNU] (__vdprintf_chk): Likewise.
24715 [__USE_GNU] (dprintf): Likewise.
24716 [__USE_GNU] (vdprintf): Likewise.
24717
d3dfcc41
RM
247182012-05-03 Roland McGrath <roland@hack.frob.com>
24719
24720 * elf/Makefile (common-generated): Set this instead of generated for
24721 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24722 $(all-built-dso)-derived lists.
24723
7ac30cc5
AJ
247242012-05-03 Andreas Jaeger <aj@suse.de>
24725
0c51e550
AJ
24726 * sysdeps/i386/fpu/libm-test-ulps: Update.
24727
7ac30cc5
AJ
24728 * FAQ: Removed.
24729 * FAQ.in: Likewise.
24730 * scripts/gen-FAQ.pl: Likewise.
24731 * manual/install.texi (Installation): Point to online location of
24732 FAQ.
24733 * Makefile (files-for-dist): Remove FAQ.
24734 (FAQ): Remove.
24735
d4c2917f
AM
247362012-05-02 Allan McRae <allan@archlinux.org>
24737
24738 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24739 (LDFLAGS-reldepmod5.so): Likewise.
24740 (LDFLAGS-reldep6mod1.so): Likewise.
24741 (LDFLAGS-reldep6mod4.so): Likewise.
24742 (LDFLAGS-reldep8mod3.so): Likewise.
24743 (LDFLAGS-unload4mod1.so): Likewise.
24744 (LDFLAGS-unload4mod2.so): Likewise.
24745 (LDFLAGS-tst-initorder): Likewise.
24746 (LDFLAGS-tst-initordera2.so): Likewise.
24747 (LDFLAGS-tst-initordera3.so): Likewise.
24748 (LDFLAGS-tst-initordera4.so): Likewise.
24749 (LDFLAGS-tst-initorderb2.so): Likewise.
24750 (LDFLAGS-noload): Likewise.
24751 (LDFLAGS-next): Likewise.
24752 (LDFLAGS-order2mod1.so): Likewise.
24753 (LDFLAGS-order2mod2.so): Likewise.
24754 (LDFLAGS-tst-initorder2): Likewise.
24755 (LDFLAGS-tst-initorder2a.so): Likewise.
24756 (LDFLAGS-tst-initorder2b.so): Likewise.
24757 (LDFLAGS-tst-initorder2c.so): Likewise.
24758 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24759
d77f993f
DM
247602012-05-02 David S. Miller <davem@davemloft.net>
24761
24762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24763
171a70b4
PP
247642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24765
24766 [BZ #14055]
24767 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24768
0be196ad
AJ
247692012-05-02 Andreas Jaeger <aj@suse.de>
24770
24771 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24772 since we manipulate rounding mode.
24773 (CPPFLAGS-test-idouble.c): Likewise.
24774 (CPPFLAGS-test-ifloat.c): Likewise.
24775 (CFLAGS-test-ldouble.c): Likewise.
24776 (CFLAGS-test-double.c): Likewise.
24777 (CFLAGS-test-float.c): Likewise.
24778 (CFLAGS-test-misc.c): Likewise.
24779 (CFLAGS-test-test-fenv.c): Likewise.
24780
4f9d04aa
AZ
247812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24782
2b942cb7
RM
24783 [BZ #2550]
24784 [BZ #2570]
24785 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24786 comparisons to determine direction to adjust input.
4f9d04aa 24787
82a79e7d
RM
247882012-05-01 Roland McGrath <roland@hack.frob.com>
24789
f5a01ca9
RM
24790 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24791 output to the target.
24792
90fe4186
RM
24793 * scripts/localplt.awk: New file.
24794 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24795 (check-localplt-CFLAGS): Variable removed.
24796 ($(all-built-dso:=.jmprel)): New static pattern rule.
24797 (generated): Add those targets.
24798 (localplt-built-dso): New variable.
24799 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24800
24801 * elf/check-localplt.c: File removed.
24802
82397ed6
RM
24803 * scripts/check-execstack.awk: New file.
24804 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24805 (check-execstack-CFLAGS): Variable removed.
24806 ($(objpfx)check-execstack.h): Target removed.
24807 ($(objpfx)execstack-default): New target.
24808 (generated): Add that instead of check-execstack.h.
24809 ($(all-built-dso:=.phdr)): New static pattern rule.
24810 (generated): Add those targets.
24811 * elf/check-execstack.c: File removed.
24812
82a79e7d
RM
24813 * scripts/check-textrel.awk: New file.
24814 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24815 (check-textrel-CFLAGS): Variable removed.
24816 (all-built-dso): Use := to define.o
24817 ($(all-built-dso:=.dyn)): New static pattern rule.
24818 (generated): Add those targets.
24819 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24820 * config.make.in (READELF): New substituted variable.
24821 * elf/check-textrel.c: File removed.
24822
62fde54f 248232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24824
615605c9
JM
24825 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24826 allow.
24827 * conform/data/ctype.h-data [C99-based standards] (isblank):
24828 Expect function.
24829 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24830 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24832 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24833 Specify type. Require positive value.
24834 (EILSEQ): Likewise.
24835 (ERANGE): Likewise.
24836 [ISO || POSIX] (EILSEQ): Do not expect.
24837 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24838 Specify type. Require positive value.
24839 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24840 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24841 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24842 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24843 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24844 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24845 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24846 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24847 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24848 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24849 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24850 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24851 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24852 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24853 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24854 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24855 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24856 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24857 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24858 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24859 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24860 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24861 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24862 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24863 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24864 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24865 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24866 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24867 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24868 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24869 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24870 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24871 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24872 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24873 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24874 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24875 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24876 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24877 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24878 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24879 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24880 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24881 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24882 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24883 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24884 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24885 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24886 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24887 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24888 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24889 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24890 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24891 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24892 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24893 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24894 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24895 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24896 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24897 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24898 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24899 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24900 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24901 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24902 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24903 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24904 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24905 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24906 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24907 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24908 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24909 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24910 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24911 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24912 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24913 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24914 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24915 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24916 Require >= 2.
24917 (FLT_ROUNDS): Expect as macro, not constant.
24918 (FLT_MANT_DIG): Use macro-int-constant.
24919 (DBL_MANT_DIG): Likewise.
24920 (LDBL_MANT_DIG): Likewise.
24921 (FLT_DIG): Likewise.
24922 (DBL_DIG): Likewise.
24923 (LDBL_DIG): Likewise.
24924 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24925 (DBL_MIN_EXP): Likewise.
24926 (LDBL_MIN_EXP): Likewise.
24927 (FLT_MAX_EXP): Use macro-int-constant.
24928 (DBL_MAX_EXP): Likewise.
24929 (LDBL_MAX_EXP): Likewise.
24930 (FLT_MAX_10_EXP): Likewise.
24931 (DBL_MAX_10_EXP): Likewise.
24932 (LDBL_MAX_10_EXP): Likewise.
24933 (FLT_MAX): Use macro-constant.
24934 (DBL_MAX): Likewise.
24935 (LDBL_MAX): Likewise.
24936 (FLT_EPSILON): Use macro-constant. Give upper bound.
24937 (DBL_EPSILON): Likewise.
24938 (LDBL_EPSILON): Likewise.
24939 (FLT_MIN): Likewise.
24940 (DBL_MIN): Likewise.
24941 (LDBL_MIN): Likewise.
24942 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24943 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24944 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24945 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24946 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24947 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24948 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24949 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24950 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24951 [ISO11] (FLT_TRUE_MIN): Likewise.
24952 [ISO11] (LDBL_TRUE_MIN): Likewise.
24953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24954 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24955 (SCHAR_MIN): Use macro-int-constant. Specify type.
24956 (SCHAR_MAX): Likewise.
24957 (UCHAR_MAX): Likewise.
24958 (CHAR_MIN): Likewise.
24959 (CHAR_MAX): Likewise.
24960 (MB_LEN_MAX): Use macro-int-constant.
24961 (SHRT_MIN): Use macro-int-constant. Specify type.
24962 (SHRT_MAX): Likewise.
24963 (USHRT_MAX): Likewise.
24964 (INT_MAX): Likewise.
24965 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24966 bound negative.
24967 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24968 bound with "U".
24969 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24970 bound with "L".
24971 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24972 bound negative. Suffix upper bound with "L".
24973 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24974 bound with "UL".
24975 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24976 Specify type.
24977 [C99-based standards] (LLONG_MAX): Likewise.
24978 [C99-based standards] (ULLONG_MAX): Likewise.
24979 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24980 == 0.
24981 [ISO11] (max_align_t): Require type.
24982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24983
c9140a62
JM
24984 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24985 from $CFLAGS, without defining away __attribute__ calls.
24986 (checknamespace): Use $CFLAGS_namespace.
24987
9af0bf29
JM
24988 * conform/conformtest.pl (@keywords): Only include C99 keywords
24989 for standards based on C99 or C11.
24990
343222a2
JM
24991 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24992 Disable tests.
24993 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24994 UNIX98]: Likewise.
24995
661f8cf0
JM
24996 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24997 usability of symbols in #if.
24998
ee74b9cb
JM
24999 * conform/conformtest.pl: If macro or constant types start
25000 "promoted:", expect the symbol to be of the following type
25001 promoted by the integer promotions.
62fde54f 25002
aafc49b3
JM
25003 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25004 in one place. Also handle "macro-constant".
25005
fefdf574
JM
25006 * conform/conformtest.pl: Only accept expected macro values with
25007 "==". Parse all "macro" lines in one place.
25008 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25009
f2d922fe
JM
25010 * conform/conformtest.pl: Handle braced types on "constant" lines
25011 instead of handling "typed-constant".
25012 * conform/data/signal.h-data: Use "constant" instead of
25013 "typed-constant".
25014
d22956c9
JM
25015 * conform/conformtest.pl: Handle "optional-" at start of lines in
25016 one place rather than duplicating several cases. Handle each
25017 format of "macro" line with initial "optional-".
25018
028e2e38
JM
25019 * conform/conformtest.pl: Only accept expected constant or
25020 optional-constant values with "==". Parse all "constant" lines in
25021 one place. Parse all "optional-constant" lines in one place.
25022 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25023 * conform/data/fmtmsg.h-data: Likewise.
25024 * conform/data/netinet/in.h-data: Likewise.
25025 * conform/data/tar.h-data: Likewise.
25026 * conform/data/limits.h-data: Use "==" form on "constant" and
25027 "optional-constant" lines.
25028
1b8f2850
JM
25029 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25030 Use -std=c99 for XOPEN2K.
25031 (@knownproblems): Remove.
25032 (newtoken): Don't check %isknown.
25033
a05a144b
JM
25034 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25035 Do not expect macro.
25036 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25037 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25038 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25039 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25040 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25041 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25042 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25043 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25044 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25045 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25046 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25047 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25048 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25049 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25050 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25051 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25052 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25053 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25054 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25055 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25056 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25057 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25058 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25059 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25060 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25061 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25062 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25063 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25064 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25065 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25066 [XPG3] (acosh): Likewise.
25067 [XPG3] (asinh): Likewise.
25068 [XPG3] (atanh): Likewise.
25069 [XPG3] (cbrt): Likewise.
25070 [XPG3] (expm1): Likewise.
25071 [XPG3] (ilogb): Likewise.
25072 [XPG3] (log1p): Likewise.
25073 [XPG3] (logb): Likewise.
25074 [XPG3] (nextafter): Likewise.
25075 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25076 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25077 [XPG3] (remainder): Likewise.
25078 [XPG3] (rint): Likewise.
25079 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25080 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25081 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25082 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25083 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25084 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25085 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25086 [UNIX98 || XOPEN2K] (scalb): Expect.
25087 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25088 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25089 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25090 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25091 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25092 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25093 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25094 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25095 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25096 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25097 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25098 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25099 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25100 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25101 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25102 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25103 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25104 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25105 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25106 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25107 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25108 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25109 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25110 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25111 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25112 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25113 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25114 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25115 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25116 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25117 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25118 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25119 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25120 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25121 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25122 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25123 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25124 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25125 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25126 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25127 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25128 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25129 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25130 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25131 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25132 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25133 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25134 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25135 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25136 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25137 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25138 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25139 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25140 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25141 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25142 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25143 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25144 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25145 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25146 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25147 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25148 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25149 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25150 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25151 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25152 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25153 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25154 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25155 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25156 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25157 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25158 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25159 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25160 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25161 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25162 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25163 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25164 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25165 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25166 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25167 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25168 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25169 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25170 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25171 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25172 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25173 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25174 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25175 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25176 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25177 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25178 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25179 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25180 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25181 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25182 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25183 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25184 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25185 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25186 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25187 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25188 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25189 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25190 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25191 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25192 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25193 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25194 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25195 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25196 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25197 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25198 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25199 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25200 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25201 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25202 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25203 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25204 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25205 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25206 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25207 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25208 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25209 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25210 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25211 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25212 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25213 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25214 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25215 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25216 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25217 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25218 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25219 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25220 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25221 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25222 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25223 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25224
73c5ebe3
JM
25225 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25226 _XOPEN_SOURCE_EXTENDED for XPG4.
25227
39c33b6c
JM
25228 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25229
62fde54f
JM
25230 * Makeconfig (localtime): Remove variable.
25231 (inst_localtime-file): Likewise.
25232
0741d64c
AS
252332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25234
25235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25236 Update.
25237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25238 Update.
25239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25240 Update.
25241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25242 Update.
25243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25244 Update.
25245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25246 Update.
25247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25248 Update.
25249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25250 Update.
25251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25252 Update.
25253
7cb029ee
JM
252542012-05-01 Joseph Myers <joseph@codesourcery.com>
25255
25256 [BZ #2550]
25257 [BZ #2570]
25258 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25259 comparisons to determine direction to adjust input.
25260 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25261 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25262 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25263 Likewise.
25264 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25265 Likewise.
25266 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25267 Likewise.
25268 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25269 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25270 Likewise.
25271 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25272 Likewise.
25273 * math/libm-test.inc (nexttoward_test): Add more tests.
25274
412bd966
AS
252752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25276
25277 [BZ #14040]
25278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25279 in version GLIBC_2.1, not GLIBC_2.0.
25280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25281 Likewise.
25282
9568c0c2
JM
252832012-04-30 Joseph Myers <joseph@codesourcery.com>
25284
adfbc8ac
JM
25285 [BZ #13942]
25286 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25287 (1 - x) * (1 + x).
25288 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25289 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25290 * math/libm-test.inc (acos_test): Add more tests.
25291 (asin_test): Likewise.
25292 * sysdeps/i386/fpu/libm-test-ulps: Update.
25293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25294
5ba3cc69
JM
25295 [BZ #14034]
25296 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25297 of square root.
25298 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25299 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25300 * math/libm-test.inc (acos_test_tonearest): New function.
25301 (acos_test_towardzero): Likewise.
25302 (acos_test_downward): Likewise.
25303 (acos_test_upward): Likewise.
25304 (asin_test_tonearest): Likewise.
25305 (asin_test_towardzero): Likewise.
25306 (asin_test_downward): Likewise.
25307 (asin_test_upward): Likewise.
25308 (main): Call the new functions.
25309 * sysdeps/i386/fpu/libm-test-ulps: Update.
25310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25311
9568c0c2
JM
25312 [BZ #13884]
25313 [BZ #13924]
25314 * math/e_exp10.c: Include <float.h>.
25315 (__ieee754_exp10): Handle underflow here rather than multiplying
25316 large negative argument by M_LN10.
25317 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25318 of __ieee754_expf.
25319 * math/e_exp10l.c: Include <float.h>.
25320 (__ieee754_exp10l): Handle underflow here rather than multiplying
25321 large negative argument by M_LN10l.
25322 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25323 spurious overflow exception on underflow.
25324
5ac3ea17
MP
253252012-04-29 Marek Polacek <polacek@redhat.com>
25326
25327 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25328 (__fortify_function): New macro.
25329 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25330 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25331 __extern_always_inline.
25332 * libio/bits/stdio2.h: Likewise.
25333 * libio/bits/stdio.h: Likewise.
25334 * string/string.h: Likewise.
25335 * string/bits/string3.h: Likewise.
25336 * include/stdio.h: Likewise.
25337 * stdlib/bits/stdlib.h: Likewise.
25338 * stdlib/stdlib.h: Likewise.
25339 * rt/bits/mqueue2.h: Likewise.
25340 * rt/mqueue.h: Likewise.
25341 * posix/bits/unistd.h: Likewise.
25342 * posix/unistd.h: Likewise.
25343 * io/bits/poll2.h: Likewise.
25344 * io/bits/fcntl2.h: Likewise.
25345 * io/fcntl.h: Likewise.
25346 * io/sys/poll.h: Likewise.
25347 * misc/bits/syslog.h: Likewise.
25348 * misc/bits/syslog-ldbl.h: Likewise.
25349 * misc/sys/syslog.h: Likewise.
25350 * socket/bits/socket2.h: Likewise.
25351 * socket/sys/socket.h: Likewise.
25352 * debug/tst-chk1.c: Likewise.
25353 * wcsmbs/bits/wchar2.h: Likewise.
25354 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25355 * wcsmbs/wchar.h: Likewise.
25356
ecf0ebfb
AJ
253572012-04-29 Andreas Jaeger <aj@suse.de>
25358
25359 * Makerules (tests): Remove enable-check-abi protection.
25360 (check-abi-warn): Remove.
25361 (check-abi-%): Remove check-abi-warn usage.
25362
25363 * configure.in: Remove check-abi configure option.
25364 * configure: Regenerated.
25365 * config.make.in (enable-check-abi): Remove.
25366
6d5c57fa
AS
253672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25368
24c5d07e 25369 [BZ #14033]
ded5180a
AS
25370 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25371 double functions to double *_finite functions.
25372
7e0d315d
AS
25373 [BZ #13941]
25374 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25375 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25376 LDBL_MIN_EXP.
25377 * stdio-common/Makefile (tests): Add tst-sprintf3.
25378 * stdio-common/tst-sprintf3.c: New file.
25379
6d5c57fa
AS
25380 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25381 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25382
0749ff8b
JM
253832012-04-28 Joseph Myers <joseph@codesourcery.com>
25384
25385 * conform/conformtest.pl: Remove duplicate typed-constant
25386 handling.
25387
8dbd5d7b
DM
253882012-04-28 David S. Miller <davem@davemloft.net>
25389
25390 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25391 (check-abi-%): Remove AWK script prerequisite and explicit
25392 abilist directory.
25393 (check-abi): Rewrite to just diff the symlist with the abilist.
25394 (config-tls, config-abi-config): Delete, no longer used.
25395 (update-abi-%): Remove AWK script and explicit abilist directory.
25396 (update-abi): Rewrite to simply compare and conditionally copy the
25397 symlist and the sysdep abilist file. Remove update-abi-config
25398 checks.
25399 * abilist/ld.abilist: Remove.
25400 * abilist/libBrokenLocale.abilist: Remove.
25401 * abilist/libanl.abilist: Remove.
25402 * abilist/libcrypt.abilist: Remove.
25403 * abilist/libdl.abilist: Remove.
25404 * abilist/librt.abilist: Remove.
25405 * abilist/libthread_db.abilist: Remove.
25406 * abilist/libutil.abilist: Remove.
25407 * scripts/extract-abilist.awk: Remove.
25408 * scripts/merge-abilist.awk: Remove.
25409 * sysdeps/generic/libcidn.abilist: New file.
25410 * sysdeps/generic/libnss_compat.abilist: New file.
25411 * sysdeps/generic/libnss_db.abilist: New file.
25412 * sysdeps/generic/libnss_dns.abilist: New file.
25413 * sysdeps/generic/libnss_files.abilist: New file.
25414 * sysdeps/generic/libnss_hesiod.abilist: New file.
25415 * sysdeps/generic/libnss_nis.abilist: New file.
25416 * sysdeps/generic/libnss_nisplus.abilist: New file.
25417 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25418 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25419 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25420 file.
25421 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25422 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25423 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25424 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25425 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25426 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25427 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25428 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25429 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25430 file.
25431 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25432 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25433 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25434 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25435 file.
25436 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25437 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25438 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25439 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25440 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25441 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25442 file.
25443 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25444 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25445 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25446 file.
25447 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25449 New file.
25450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25451 New file.
25452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25453 New file.
25454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25455 New file.
25456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25457 New file.
25458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25459 New file.
25460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25461 New file.
25462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25463 New file.
25464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25465 New file.
25466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25467 New file.
25468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25469 New file.
25470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25471 New file.
25472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25473 New file.
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25475 file.
25476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25477 New file.
25478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25479 New file.
25480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25481 file.
25482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25483 New file.
25484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25485 New file.
25486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25487 file.
25488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25489 New file.
25490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25491 New file.
25492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25493 New file.
25494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25495 New file.
25496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25497 New file.
25498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25499 New file.
25500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25502 file.
25503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25504 New file.
25505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25506 file.
25507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25508 file.
25509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25510 file.
25511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25512 file.
25513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25514 file.
25515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25516 New file.
25517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25518 file.
25519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25520 file.
25521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25522 New file.
25523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25524 file.
25525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25527 file.
25528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25529 New file.
25530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25531 file.
25532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25533 file.
25534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25535 file.
25536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25537 file.
25538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25539 file.
25540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25541 New file.
25542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25543 file.
25544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25545 file.
25546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25547 New file.
25548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25549 file.
25550 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25551 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25552 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25553 file.
25554 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25555 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25556 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25557 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25558 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25559 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25560 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25561 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25562 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25563 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25566 file.
25567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25568 New file.
25569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25570 file.
25571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25572 file.
25573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25574 file.
25575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25576 file.
25577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25578 file.
25579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25580 New file.
25581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25582 New file.
25583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25584 file.
25585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25586 New file.
25587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25588 file.
25589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25591 file.
25592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25593 New file.
25594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25595 file.
25596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25597 file.
25598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25599 file.
25600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25601 file.
25602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25603 file.
25604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25605 New file.
25606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25607 New file.
25608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25609 file.
25610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25611 New file.
25612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25613 file.
25614
41d73a1b
JM
256152012-04-28 Joseph Myers <joseph@codesourcery.com>
25616
25617 * conform/conformtest.pl: Fix typo in handling typed-constant from
25618 allow-header.
25619
28aeeda4
JM
256202012-04-27 Joseph Myers <joseph@codesourcery.com>
25621
adae8f5e
JM
25622 * README: Cut down references to pre-2.6 Linux kernels and
25623 Linuxthreads. Update lists of configurations in libc and ports
25624 and sort alphabetically. Say "or newer" with Linux kernel version
25625 requirements.
25626
28aeeda4
JM
25627 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25628
a462cb63
RA
256292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25630
25631 [BZ #887]
25632 * math/libm-test.inc (logb_test_downward): New test to expose
25633 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25634 rounding mode.
25635
6ad3493e
JM
256362012-04-27 Joseph Myers <joseph@codesourcery.com>
25637
25638 [BZ #14027]
25639 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25640 to be done.
25641 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25642 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25643
2ce4f015
JM
256442012-04-26 Joseph Myers <joseph@codesourcery.com>
25645
5aeb141a
JM
25646 * sysdeps/unix/i386/brk.S: Remove file.
25647 * sysdeps/unix/i386/dl-brk.S: Likewise.
25648 * sysdeps/unix/i386/pipe.S: Likewise.
25649 * sysdeps/unix/i386/sigreturn.S: Likewise.
25650 * sysdeps/unix/i386/syscall.S: Likewise.
25651 * sysdeps/unix/i386/vfork.S: Likewise.
25652 * sysdeps/unix/i386/wait.S: Likewise.
25653
7143acae
JM
25654 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25655 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25656
2ce4f015
JM
25657 * configure.in (arm*-none*): Do not allow without
25658 --enable-hacker-mode.
25659 (netbsd*): Remove case setting base_os.
25660 (386bsd*): Likewise.
25661 (freebsd*): Likewise.
25662 (bsdi*): Likewise.
25663 (osf*): Likewise.
25664 (sunos*): Likewise.
25665 (ultrix*): Likewise.
25666 (newsos*): Likewise.
25667 (dynix*): Likewise.
25668 (*bsd*): Likewise.
25669 (sysv*): Likewise.
25670 (isc*): Likewise.
25671 (esix*): Likewise.
25672 (sco*): Likewise.
25673 (minix*): Likewise.
25674 (irix4*): Likewise.
25675 (irix6*): Likewise.
25676 (solaris[2-9]*): Likewise.
25677 (none): Likewise.
25678 * configure: Regenerated.
25679
0ac229c8
AZ
256802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25681
25682 [BZ #11521]
25683 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25684 overflow or cancellation in calculating denominator.
25685 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25687 down expression to avoid unexpected rounding in newer GCCs.
25688 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25689
33f244f4
DM
256902012-04-26 David S. Miller <davem@davemloft.net>
25691
25692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25693 long-double compat symbols.
25694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25707
cfa1f3e8
DM
257082012-04-25 David S. Miller <davem@davemloft.net>
25709
25710 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25711 HWCAP_* values only after the memory barriers have been defined.
25712 (atomic_full_barrier): Define.
25713 (atomic_read_barrier): Define.
25714 (atomic_write_barrier): Define.
25715
6e236b92
SP
257162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25717
25718 * shlib-versions: Add libgcc_s version information.
25719 * sysdeps/generic/libgcc_s.h: Remove.
25720 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25721 libgcc_s.h.
25722 * sysdeps/gnu/unwind-resume.c: Likewise.
25723 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25724
aab39a09
DM
257252012-04-25 David S. Miller <davem@davemloft.net>
25726
25727 * sysdeps/unix/sparc/brk.S: Delete.
25728 * sysdeps/unix/sparc/dl-brk.S: Delete.
25729 * sysdeps/unix/sparc/pipe.S: Delete.
25730 * sysdeps/unix/sparc/sysdep.S: Delete.
25731 * sysdeps/unix/sparc/sysdep.h: Delete.
25732 * sysdeps/unix/sparc/vfork.S: Delete.
25733 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25734 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25735 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25736 ret_ERRVAL, r0, r1, MOVE): Define.
25737 (JUMPTARGET): Remove.
25738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25739 sysdeps/unix/sparc/sysdep.h
25740 (ENTRY, END): Remove.
25741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25742
a3cc4f48
JM
257432012-04-25 Joseph Myers <joseph@codesourcery.com>
25744
2ed8cda2
JM
25745 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25746 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25747 -DIS_IN_build.
25748
35d76d59
JM
25749 * timezone/README: Update upstream location and email address for
25750 tzcode and tzdata.
25751 * timezone/zdump.c: Update from tzcode 2012b.
25752 * timezone/zic.c: Likewise.
25753
a3cc4f48
JM
25754 * configure.in (libc_cv_as_needed): Remove test.
25755 * configure: Regenerated.
25756 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25757 conditional definition.
25758 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25759 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25760 * config.make.in (have-as-needed): Remove variable.
25761
ceab42c3
SP
257622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25763 Paul Pluzhnikov <ppluzhnikov@google.com>
25764
25765 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25766 strings correctly.
25767
3ce2865f
CLT
257682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25769
25770 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25771 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25772 * sysdeps/sh/strlen.S: Likewise.
25773
f37e0d68
JM
257742012-04-24 Joseph Myers <joseph@codesourcery.com>
25775
ae186e9a
JM
25776 * sysdeps/unix/fork.S: Remove file.
25777 * sysdeps/unix/i386/fork.S: Likewise.
25778 * sysdeps/unix/sparc/fork.S: Likewise.
25779
b96914af
JM
25780 * sysdeps/unix/system.c: Remove file.
25781 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25782
f37e0d68
JM
25783 * sysdeps/unix/getegid.S: Remove file.
25784 * sysdeps/unix/geteuid.S: Likewise.
25785
87ef29ca
RM
257862012-04-24 Roland McGrath <roland@hack.frob.com>
25787
83bcd236
RM
25788 * scripts/check-localplt.awk: New file.
25789 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25790 of diff.
25791 * scripts/data/localplt-generic.data: Add a comment.
25792
87ef29ca
RM
25793 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25794 NODE when __dir_mkfile failed.
25795 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25796 Reported by Ludovic Courtès <ludo@gnu.org>.
25797
e5a6e567
AJ
257982012-04-24 Andreas Jaeger <aj@suse.de>
25799
25800 * Makerules (common-clean): Also remove gen-as-const-headers
25801 files.
25802
c1820385
JM
258032012-04-24 Joseph Myers <joseph@codesourcery.com>
25804
25805 * Makerules (native-compile): Do not change working directory for
25806 build. Use $(OUTPUT_OPTION) in command.
25807 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25808
94e02fc4
AZ
258092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25810
25811 [BZ #13886]
25812 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25813 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25814 * math/libm-test.inc (floor_test): Add more tests.
25815 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25816
3a533ca3
JM
258172012-04-24 Joseph Myers <joseph@codesourcery.com>
25818
940ab4b3
JM
25819 * sysdeps/unix/getdents.c: Remove file.
25820 * sysdeps/unix/sysv/getdents.c: Likewise.
25821 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25822
90e037bd
JM
25823 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25824 sysdeps/unix/mman/syscalls.list.
25825 (mmap): Likewise.
25826 (mprotect): Likewise.
25827 (msync): Likewise.
25828 (munmap): Likewise.
25829 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25830 * sysdeps/unix/mman/syscalls.list: Remove.
25831 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25832
3a533ca3
JM
25833 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25834 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25835 * configure: Regenerated.
25836 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25837 $(libgcc_s_suffix).
25838 * config.make.in (libgcc_s_suffix): Remove variable.
25839
1ad743de
JM
258402012-04-23 Joseph Myers <joseph@codesourcery.com>
25841
4ad451e2
JM
25842 * sysdeps/unix/sysv/gethostname.c: Move to ...
25843 * sysdeps/posix/gethostname.c: ... here.
25844
5e37ce39
JM
25845 * sysdeps/unix/execve.S: Remove file.
25846
1ad743de
JM
25847 * sysdeps/unix/_exit.S: Remove file.
25848
4e681b5b
AJ
258492012-04-23 Andreas Jaeger <aj@suse.de>
25850
25851 [BZ #13739]
25852 * manual/Makefile: Remove make dist support, there's no
25853 need for a stand-alone documentation tar ball.
25854 (TEXI2DVI): Define always, it's not in Makeconfig.
25855 (dist): Removed.
25856 (tar-it): Removed.
25857 (edition): Removed.
25858 (glibc-doc-$(edition).tar): Removed
25859 (%.Z): Removed.
25860 (%.gz): Removed.
25861 (%.uu): Removed.
25862 (ETAGS): Remove, it's in Makeconfig.
25863 (move-if-change): Remove, it's in Makeconfig.
25864
38686a03 258652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25866
25867 [BZ #13970]
25868 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25869 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25870 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25871 (strtod_l, strtof_l, strtold_l): Remove __wur.
25872 It is not necessarily an error to ignore strtol's return value.
25873 One can reliably look at the stored endptr to decide whether
25874 the number had valid syntax.
25875
7c0616fa
AJ
258762012-04-21 Andreas Jaeger <aj@suse.de>
25877
803cb6b7 25878 [BZ #13739]
7c0616fa
AJ
25879 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25880
b0fe253f
JM
258812012-04-21 Joseph Myers <joseph@codesourcery.com>
25882
25883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25884 * sysdeps/unix/sysv/Versions: Remove file.
25885
8280f22d
MT
258862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25887
25888 [BZ #13927]
25889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25890
75ce411f 258912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25892
25893 [BZ #7064]
25894 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25895 version from __vm86.
25896
097d59fa
JM
258972012-04-20 Joseph Myers <joseph@codesourcery.com>
25898
a90f3bcb
JM
25899 * sysdeps/unix/common/lxstat.c: Remove file.
25900 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25901
edc7ea78
JM
25902 * sysdeps/unix/sysv/Makefile: Remove file.
25903
cb78c221
JM
25904 * sysdeps/unix/sysv/direct.h: Remove file.
25905
efa6a45f
JM
25906 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25907 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25908 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25909 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25910 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25911 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25912 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25913
9c9f2d0c
JM
25914 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25915
4541c83b
JM
25916 * sysdeps/unix/xmknod.c: Remove file.
25917 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25918
f5d153a0
JM
25919 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25920
aa746595
JM
25921 * sysdeps/unix/sysv/i386/time.S: Remove file.
25922
cce5905e
JM
25923 * sysdeps/unix/fxstat.c: Remove file.
25924 * sysdeps/unix/xstat.c: Likewise.
25925 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25926
37fa3841
JM
25927 * sysdeps/unix/sysv/sigaction.c: Remove file.
25928
ff1962a3
JM
25929 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25930 (sysdep_headers): Remove variable.
25931 [termio.h not in sysdep_headers] (generated): Likewise.
25932 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25933 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25934 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25935 * sysdeps/unix/sysv/tcflow.c: Likewise.
25936 * sysdeps/unix/sysv/tcflush.c: Likewise.
25937 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25938 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25939 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25940 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25941 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25942
e7740d31
JM
25943 * sysdeps/unix/siglist.c: Remove file.
25944
ee06f18b
JM
25945 * sysdeps/unix/getppid.S: Remove file.
25946
097d59fa
JM
25947 * sysdeps/unix/mkdir.c: Remove file.
25948 * sysdeps/unix/rmdir.c: Likewise.
25949
ff3d51ec
AS
259502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25951
25952 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25953 ERR_MAX value.
25954 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25955 errlist-compat value.
25956
50f81fd7
DM
259572012-04-18 David S. Miller <davem@davemloft.net>
25958
25959 * sysdeps/generic/memcopy.h (reg_char): Delete.
25960 * debug/strcat_chk.c: Use char, not reg_char.
25961 * debug/strcpy_chk.c: Likewise.
25962 * debug/strncat_chk.c: Likewise.
25963 * debug/strncpy_chk.c: Likewise.
25964 * string/memchr.c: Likewise.
25965 * string/memrchr.c: Likewise.
25966 * string/rawmemchr.c: Likewise.
25967 * string/strcat.c: Likewise.
25968 * string/strchr.c: Likewise.
25969 * string/strchrnul.c: Likewise.
25970 * string/strcmp.c: Likewise.
25971 * string/strcpy.c: Likewise.
25972 * string/strncat.c: Likewise.
25973 * string/strncmp.c: Likewise.
25974 * string/strncpy.c: Likewise.
25975
8ff41c46
WS
259762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25977
25978 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25979 __builtin_memcopy is called when src and dest ranges are known to not
25980 overlap.
25981
6b652f46
WS
259822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25983
25984 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25985 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25986 fwd_align_merge macro call.
25987 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25988 bwd_align_merge macro call.
25989 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25990
b282631e
WS
259912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25992
25993 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25994 bwd_align_merge macros.
25995 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25996 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25997 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25998
95aa737c
DM
259992012-04-18 David S. Miller <davem@davemloft.net>
26000
26001 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26002
7a99a614
AJ
260032012-04-18 Andreas Jaeger <aj@suse.de>
26004
26005 [BZ# 6794]
26006 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26007 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26009
26010 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26011 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26012 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26013
26014 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26015 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26016 Adjust for changed ldbl-128 files.
26017
26018 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26019 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26020 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26021
e5270c23
DM
260222012-04-17 David S. Miller <davem@davemloft.net>
26023
26024 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26025
fb5e92c9
AS
260262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26027
26028 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26029 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26030 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26031 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26032 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26033 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26034
76da7265
AZ
260352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26036
26037 [BZ #6794]
26038 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26039 * math/libm-test.inc: Add ilogb errno and exception tests.
26040 * math/w_ilogb.c: New file: ilogb wrapper.
26041 * math/w_ilogbf.c: New file: ilogbf wrapper.
26042 * math/w_ilogbl.c: New file: ilogbl wrapper.
26043 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26044 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26045 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26046 exception being thrown with 0.0 as argument.
26047 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26048 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26049 exception being thrown with 0.0 as argument.
26050 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26051 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26052 exception being thrown with 0.0 as argument.
26053 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26054 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26055 exception being thrown with 0.0 as argument.
26056 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26057 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26058 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26059 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26061 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26062 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26063 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26064 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26065
0396e69d
PB
260662012-04-17 Petr Baudis <pasky@ucw.cz>
26067
26068 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26069 with altivec.
26070
750b5926
MP
260712012-04-16 Marek Polacek <polacek@redhat.com>
26072
26073 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26074
751728a1
MP
260752012-04-16 Marek Polacek <polacek@redhat.com>
26076
26077 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26078 operands of fdivp instruction.
26079
34a27407
L
260802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26081
26082 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26083 * elf/tst-auditmod3b.c: Likewise.
26084 * elf/tst-auditmod4b.c: Likewise.
26085 * elf/tst-auditmod5b.c: Likewise.
26086 * elf/tst-auditmod6b.c: Likewise.
26087 * elf/tst-auditmod6c.c: Likewise.
26088 * elf/tst-auditmod7b.c: Likewise.
26089 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26090 * sysdeps/x86_64/preconfigure.in: Likewise.
26091 * sysdeps/x86_64/preconfigure: Regenerated.
26092
7e73e17d
L
260932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26094
26095 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26096 __ILP32__.
26097
c7a6ab72
AB
260982012-04-13 Antoine Balestrat <merkil33@gmail.com>
26099
26100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26101 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26102
a9e8e0e0
CL
261032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26104
26105 [BZ #13973]
26106 * locale/iso-639.def: Fix gl language name. Spotted by
26107 Yaron Shahrabani.
26108
ec98af7d
RM
261092012-04-12 Roland McGrath <roland@hack.frob.com>
26110
26111 [BZ #2074]
26112 * libio/libio.h (__io_write_fn): Update comment.
26113
247c3ede
PB
261142012-04-12 Petr Baudis <pasky@ucw.cz>
26115
26116 [BZ #2074]
26117 * stdio.texi (Hook Functions): The user provided writer function
26118 is not allowed to return -1.
26119
55939d6d
DM
261202012-04-11 David S. Miller <davem@davemloft.net>
26121
26122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26123
90020f5a
MF
261242012-04-11 Mike Frysinger <vapier@gentoo.org>
26125
26126 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26127 Add a leading slash to rtkaio.
26128
288f9098
JM
261292012-04-11 Jim Meyering <meyering@redhat.com>
26130
90020f5a
MF
26131 [BZ #11959]
26132 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26133 It is not necessarily an error to ignore fwrite's return
26134 value. One can reliably use ferror to test for errors after
26135 the fact.
288f9098 26136
4be2b570
L
261372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26138
26139 * bits/types.h (__snseconds_t): New type.
26140 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26141
26142 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26144 (__SNSECONDS_T_TYPE): Likewise.
26145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26146 (__SNSECONDS_T_TYPE): Likewise.
26147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26148 (__SNSECONDS_T_TYPE): Likewise.
26149
288f9098 261502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26151
26152 [BZ #2636]
26153 * manual/time.texi (Processor Time): Return type of times is
26154 elapsed real time since an arbitrary point in the past.
26155 (CPU Time): Move CLK_TCK from here...
26156 (Processor Time): ...to here. Correct description.
26157 * manual/conf.texi (Constants for Sysconf): Correct description of
26158 _SC_CLK_TCK.
26159
d7dd4413
DM
261602012-04-10 David S. Miller <davem@davemloft.net>
26161
26162 [BZ #13967]
26163 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26164 where the is a gap between DT_REL(A) and DT_JMPREL.
26165
b46068fc
L
261662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26167
26168 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26169 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26170 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26171
73d65cc3
SP
261722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26173
26174 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26175 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26176 (dl_main): Handle --inhibit-cache.
26177 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26178 _dl_inhibit_cache.
26179 * elf/dl-load.c (_dl_map_object): Use it.
26180 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26181
bcc8d661
JM
261822012-04-09 Joseph Myers <joseph@codesourcery.com>
26183
8f9a2fae
JM
26184 [BZ #13872]
26185 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26186 (__ieee754_powl): Saturate large exponents rather than testing for
26187 overflow of y*log2(x).
26188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26189 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26190 exceptions.
26191
bcc8d661
JM
26192 [BZ #11521]
26193 * math/s_ctan.c: Include <float.h>.
26194 (__ctan): Avoid internal overflow or cancellation in calculating
26195 denominator.
26196 * math/s_ctanf.c: Likewise.
26197 * math/s_ctanl.c: Likewise.
26198 * math/s_ctanh.c: Likewise.
26199 * math/s_ctanhf.c: Likewise.
26200 * math/s_ctanhl.c: Likewise.
26201 * math/libm-test.inc (ctan_test): Add more tests.
26202 (ctanh_test): Likewise.
26203 * sysdeps/i386/fpu/libm-test-ulps: Update.
26204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26205
823fbbb4
AJ
262062012-04-09 Andreas Jaeger <aj@suse.de>
26207
03879793
AJ
26208 [BZ #6894]
26209 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26210 is an optional BSD extension.
26211
823fbbb4
AJ
26212 [BZ #10254]
26213 * manual/stdio.texi (Opening Streams): Document additional fopen
26214 parameters.
26215
8de131cb
RM
262162012-04-09 Roland McGrath <roland@hack.frob.com>
26217
26218 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26219 %eax without telling the compiler.
26220
c0ed9d7d
CD
262212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26222
26223 [BZ # 13963]
26224 * manual/install.texi: Use sourceware.org.
26225
c483f6b4
JM
262262012-04-09 Joseph Myers <joseph@codesourcery.com>
26227
d7dd9453
JM
26228 [BZ #13873]
26229 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26230 (__ieee754_pow): Generate overflow and underflow using huge*huge
26231 and tiny*tiny rather than just returning constant infinity or zero
26232 for large exponents.
26233 * math/libm-test.inc (pow_test): Require overflow exceptions for
26234 applicable cases of large exponents.
26235
c483f6b4
JM
26236 [BZ #706]
26237 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26238 (__ieee754_pow): Use iterative multiplication algorithm only for
26239 integer exponents with absolute value below 1024. Check for odd
26240 integer exponents when using algorithm for real exponents.
26241 * math/libm-test.inc (pow_test): Add more tests.
26242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26243
d2de7579
JM
262442012-04-08 Joseph Myers <joseph@codesourcery.com>
26245
26246 [BZ #13705]
26247 * math/libm-test.inc (exp_test): Do not allow overflow exception
26248 on underflow test.
26249
f77f1232
AJ
262502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26251
26252 [BZ #13705]
26253 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26254 instead of __kernel_standard_f.
26255
3884932b
MF
262562012-04-08 Mike Frysinger <vapier@gentoo.org>
26257
26258 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26259 * sysdeps/x86_64/memset_chk.S: Likewise.
26260
54472e9c
AJ
262612012-04-08 Andreas Jaeger <aj@suse.de>
26262
6ab0fbfc
AJ
26263 [BZ #10153]
26264 * manual/startup.texi (Environment Access): Describe return value
26265 for putenv and setenv.
26266
61efba8c
AJ
26267 [BZ #6895]
26268 * manual/filesys.texi (Directory Entries): Add description for
26269 DT_LNK.
26270
95c3f29a
AJ
26271 [BZ #6890]
26272 * manual/filesys.texi (Directory Entries): Clarify that it's file
26273 system not operating system in the description of DT_UNKNOWN.
26274
54472e9c
AJ
26275 [BZ #6578]
26276 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26277
624254b1
SC
262782012-04-08 Stephen Compall <s11@member.fsf.org>
26279
26280 [BZ #6649]
26281 * manual/llio.texi (Opening and Closing Files): Add cross
26282 reference to explain mode argument.
26283
1e4920e0
MF
262842012-04-07 Mike Frysinger <vapier@gentoo.org>
26285
26286 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26287 * sysdeps/x86_64/memset_chk.S: Likewise.
26288
5ed848f3
DM
262892012-04-07 David S. Miller <davem@davemloft.net>
26290
26291 * elf/elf.h (R_SPARC_WDISP10): Define.
26292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26293 R_SPARC_SIZE32.
26294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26295 R_SPARC_SIZE64 and R_SPARC_H34.
26296
96154cd8
CD
262972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26298
26299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26300 conditions and remove no longer applicable assertion.
26301
9904dc47
L
263022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26303
26304 * bits/byteswap.h: Include <features.h>.
26305 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26306 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26307
f8887d0a
L
263082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26309
26310 * bits/byteswap.h (__bswap_16): Removed.
26311 Include <bits/byteswap-16.h> to get __bswap_16.
26312 * sysdeps/i386/bits/byteswap.h: Likewise.
26313 * sysdeps/s390/bits/byteswap.h: Likewise.
26314 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26315 * bits/byteswap-16.h: New file.
26316 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26317 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26318 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26319 * string/Makefile (headers): Add bits/byteswap-16.h.
26320
62470f60
PP
263212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26322
26323 [BZ #13895]
26324 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26325 extra indirection.
26326 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26327 * nss/tst-nss-static.c: New.
26328
4dad7bab
RM
263292012-04-06 Robert Millan <rmh@gnu.org>
26330
26331 [BZ #6486]
26332 * manual/llio.texi (File Position Primitive): lseek
26333 refers to WHENCE when it really means OFFSET.
26334
e9142a17
AJ
263352012-04-06 Andreas Jaeger <aj@suse.de>
26336
2c040eff
AJ
26337 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26338 strncmp declarations.
26339
e9142a17
AJ
26340 * abilist/libc.abilist: Add __poll and __ppoll.
26341
ff9f1c5f
DM
263422012-04-05 David S. Miller <davem@davemloft.net>
26343
dcd2ae90
DM
26344 * scripts/check-local-headers.sh: Accept a host triplet in the
26345 path matched by the exclude regexp.
26346
993eb054
DM
26347 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26348 definition.
26349 * sysdeps/powerpc/powerpc32/dl-machine.h
26350 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26351 * sysdeps/s390/s390-32/dl-machine.h
26352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26353 * sysdeps/sparc/sparc32/dl-machine.h
26354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26355 * sysdeps/sparc/sparc64/dl-machine.h
26356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26357
ff9f1c5f
DM
26358 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26359 lazy binding.
48e2e132 26360 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26361 undefined symbol errors.
26362
48e2e132 26363 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26364 DT_NEEDED entries.
26365
e80d6f94
MM
263662012-04-05 Michael Matz <matz@suse.de>
26367
26368 [BZ #13592]
26369 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26370
349fa79f
AJ
263712012-04-05 Andreas Jaeger <aj@suse.de>
26372
26373 [BZ #13908]
26374 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26375 comment.
26376
f402708f
KK
263772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26378
26379 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26380 which ROUND is no valid rounding mode.
26381
2ecccfc9
KK
263822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26383
26384 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26385 read again.
26386 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26387
8a53f50f
KK
263882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26389
26390 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26391 an exception using FPU order intentionally.
26392
263932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26394
26395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26396 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26397 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26398 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26399
d653abb7
SJ
264002012-04-05 Simon Josefsson <simon@josefsson.org>
26401
26402 [BZ #12340]
26403 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26404 EINVAL when BUFLEN is too smal.
26405
c3b1bf7d
TS
264062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26407
26408 [BZ #13553]
26409 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26410 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26411
b1aa60f3
AJ
264122012-04-03 Andreas Jaeger <aj@suse.de>
26413
c3b1bf7d 26414 [BZ #13938]
67f60a26
AJ
26415 * manual/setjmp.texi (System V contexts): Fix sentence.
26416
b1aa60f3
AJ
26417 [BZ #13926]
26418 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26419 New macro for this case.
26420 [!__GNUC__] (__bswap_64): New inline function for this case.
26421 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26422 * bits/byteswap.h: Likewise.
26423 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26424 ull, guard with __GLIBC_HAVE_LONG_LONG.
26425
26426 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26427 __GLIBC_HAVE_LONG_LONG.
26428
26429 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26430 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26431
39c59c35
TMQMF
264322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26433
26434 [BZ #13691]
26435 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26436 inptr and inend, rather than using last_ch.
26437
135ffda8
DM
264382012-04-02 David S. Miller <davem@davemloft.net>
26439
26440 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26441 * stdio-common/printf-parse.h (read_int): Change return type to
26442 'int', return -1 on INT_MAX overflow.
26443 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26444 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26445 overflows INT_MAX. Check for overflow of in-format-string precision
26446 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26447 SIZE_MAX not INT_MAX for integer overflow test.
26448 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26449 skip the construct in the format string but do not record anything.
26450 * stdio-common/bug22.c: Adjust to test both width/prevision
26451 INT_MAX overflow as well as total length INT_MAX overflow. Check
26452 explicitly for proper errno values.
26453
228c019e
TS
264542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26455
302cadd3
TS
26456 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26457 CHAR_MAX.
26458 * string/test-strcmp.c [! WIDE]: Likewise.
26459 * time/tst-mktime2.c: Likewise for INT_MAX.
26460 * string/test-string.h: #include <sys/param.h> for MIN.
26461
228c019e
TS
26462 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26463 * sysdeps/i386/init-first.c (init): Likewise.
26464 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26465 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26466 * sysdeps/sh/init-first.c (init): Likewise.
26467
cfa633f5
UD
264682012-04-01 Ulrich Drepper <drepper@gmail.com>
26469
26470 * po/ru.po: Update from translation team.
d1635ef8 26471 * po/vi.po: Likewise.
cfa633f5 26472
6cd0a5ea
SP
264732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26474
26475 * resolv/nss_dns/dns-host.c: Merge copyright years.
26476
4b43400f
LD
264772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26478
26479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26480 Optimize memcpy with prefetch if
26481 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26482 src, dst pointers have unequal 16 byte alignments.
26483
48c41d04
SP
264842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26485
26486 [BZ #13928]
26487 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26488 from a CNAME entry and return the minimum ttl for the query.
26489 (gaih_getanswer_slice): Likewise.
26490
b8dc394d
JL
264912012-03-30 Jeff Law <law@redhat.com>
26492
26493 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26494 due to long keys.
26495 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26496 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26497
2f5a5ed0
JL
26498 * resolv/nss_dns/dns-host.c: Update copyright year.
26499
1d39e359
UD
265002012-03-30 Ulrich Drepper <drepper@gmail.com>
26501
c030f70c 26502 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26503 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26504
1d39e359
UD
26505 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26506 comments for sendmmsg.
26507
265082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26509
26510 [BZ #13691]
26511 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26512 with only 1 character between 0x0041 and 0x01b0.
26513 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26514 * wcsmbs/tst-mbsnrtowcs.c: New file.
26515
20fde227
DM
265162012-03-29 David S. Miller <davem@davemloft.net>
26517
26518 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26519 small copies by hand.
26520
984a4237
JL
265212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26522
26523 [BZ #13761]
26524 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26525 _nss_compat_initgroups_dyn): Fall back to malloc/free
26526 for large group memberships.
26527
18c9d62b
DM
265282012-03-28 David S. Miller <davem@davemloft.net>
26529
88d85d4f
DM
26530 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26531 that branches into memcpy.
26532 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26535 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26537 bits.
26538 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26539 implementation too.
26540 * sysdeps/sparc/mempcpy.S: New file.
26541
e5aa83e1
DM
26542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26543 the IFUNC routine in the libc case.
26544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26545
88570753
DM
26546 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26547 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26548 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26549 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26550 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26551 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26552 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26553 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26554
249d7567
DM
26555 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26556 loop to 256 bytes instead of 64 bytes and fix test signedness.
26557
18c9d62b
DM
26558 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26559 * sysdeps/sparc/sparc32/Makefile: rather than here...
26560 * sysdeps/sparc/sparc64/Makefile: and here.
26561
05f3d1f6
UD
265622012-03-28 Ulrich Drepper <drepper@gmail.com>
26563
26564 * malloc/mallocbug.c: Avoid warnings about unused variables.
26565
86ae07a8
JL
265662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26567
26568 [BZ #13760]
26569 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26570 in the right place. Discard and retry query if response is
26571 larger than input buffer size.
26572
41bf21a1
JM
265732012-03-28 Joseph Myers <joseph@codesourcery.com>
26574
d6270972
JM
26575 [BZ #369]
26576 [BZ #2678]
26577 [BZ #3866]
26578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26579 x for large integer exponent.
26580 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26581 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26582 sign of result as needed afterwards.
26583 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26584 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26585 result for underflowing pow the same as for overflow.
26586 (__kernel_standard_l): Handle powl overflow and underflow here
26587 rather than calling __kernel_standard.
26588 * math/libm-test.inc (pow_test): Add more tests.
26589
414fca03 26590 [BZ #3868]
41bf21a1
JM
26591 [BZ #13879]
26592 [BZ #13910]
26593 [BZ #13911]
26594 [BZ #13912]
26595 [BZ #13913]
26596 [BZ #13915]
26597 [BZ #13916]
26598 [BZ #13917]
26599 [BZ #13918]
26600 [BZ #13919]
26601 [BZ #13920]
26602 [BZ #13921]
26603 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26604 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26605 (__kernel_standard_l): New function.
26606 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26607 __kernel_standard.
26608 * math/w_acosl.c (__acosl): Likewise.
26609 * math/w_asinl.c (__asinl): Likewise.
26610 * math/w_atan2l.c (__atan2l): Likewise.
26611 * math/w_atanhl.c (__atanhl): Likewise.
26612 * math/w_coshl.c (__coshl): Likewise.
26613 * math/w_exp10l.c (__exp10l): Likewise.
26614 * math/w_exp2l.c (__exp2l): Likewise.
26615 * math/w_fmodl.c (__fmodl): Likewise.
26616 * math/w_hypotl.c (__hypotl): Likewise.
26617 * math/w_j0l.c (__j0l, __y0l): Likewise.
26618 * math/w_j1l.c (__j1l, __y1l): Likewise.
26619 * math/w_jnl.c (__jnl, __ynl): Likewise.
26620 * math/w_lgammal.c (__lgammal): Likewise.
26621 * math/w_log10l.c (__log10l): Likewise.
26622 * math/w_log2l.c (__log2l): Likewise.
26623 * math/w_logl.c (__logl): Likewise.
26624 * math/w_powl.c (__powl): Likewise.
26625 * math/w_remainderl.c (__remainderl): Likewise.
26626 * math/w_scalbl.c (sysv_scalbl): Likewise.
26627 * math/w_sinhl.c (__sinhl): Likewise.
26628 * math/w_sqrtl.c (__sqrtl): Likewise.
26629 * math/w_tgammal.c (__tgammal): Likewise.
26630 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26631 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26632 * math/libm-test.inc (acos_test): Add more tests.
26633 (acosh_test): Likewise.
26634 (asin_test): Likewise.
26635 (atanh_test): Likewise.
26636 (exp_test): Likewise.
26637 (exp10_test): Likewise.
26638 (exp2_test): Likewise.
26639 (expm1_test): Likewise.
26640 (lgamma_test): Likewise.
26641 (log_test): Likewise.
26642 (log10_test): Likewise.
26643 (log1p_test): Likewise.
26644 (log2_test): Likewise.
26645 (pow_test): Do not allow some spurious overflow exceptions.
26646 (sqrt_test): Add more tests.
26647 (tgamma_test): Likewise.
26648 (y0_test): Likewise.
26649 (y1_test): Likewise.
26650 (yn_test): Likewise.
26651
dd62fda6
AB
266522012-03-27 Anton Blanchard <anton@samba.org>
26653
26654 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26655 MAP_HUGETLB.
26656 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26657 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26658 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26659
1e3cdfda
AJ
266602012-03-27 David S. Miller <davem@davemloft.net>
26661
b855ab85
DM
26662 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26663
1e3cdfda
AJ
26664 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26665 have-as-vis3 check.
26666
266672012-03-27 Andreas Jaeger <aj@suse.de>
26668
26669 * sysdeps/x86_64/elf/configure.in: Moved to ...
26670 * sysdeps/x86_64/configure.in: ... here.
26671 * sysdeps/x86_64/elf/start.S: Moved to ...
26672 * sysdeps/x86_64/start.S: ... here.
26673 * sysdeps/x86_64/elf/configure: Delete.
26674
26675 * sysdeps/x86_64/configure.in: Merge contents from
26676 sysdeps/i386/configure.in (without i686 check).
26677
26678 * sysdeps/i386/elf/Versions: Merge into ...
26679 * sysdeps/i386/Versions: ... this.
26680 * sysdeps/i386/elf/Versions: Delete file.
26681 * sysdeps/i386/elf/start.S: Moved to ...
26682 * sysdeps/i386/start.S: ...here.
26683 * sysdeps/i386/elf/configure.in: Merge into...
26684 * sysdeps/i386/configure.in: ...here.
26685 * sysdeps/i386/elf/configure.in: Delete file.
26686 * sysdeps/i386/elf/configure: Delete file.
26687
26688 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26689 * debug/backtracesyms.c: ... here.
26690 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26691 * debug/backtracesymsfd.c: ... here.
26692 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26693 * sysdeps/generic/ifunc-sel.h: ... here.
26694
26695 * sysdeps/unix/i386/start.c: Delete file.
26696 * sysdeps/unix/sparc/start.c: Delete file.
26697 * sysdeps/unix/start.c: Delete file.
26698
26699 * sysdeps/sh/elf/configure.in: Moved to ...
26700 * sysdeps/sh/configure.in: ... here.
26701 * sysdeps/sh/elf/start.S: Moved to ...
26702 * sysdeps/sh/start.S: ... here.
26703 * sysdeps/sh/elf/configure: Delete file.
26704
26705 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26706 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26707 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26708 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26709 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26710 * sysdeps/powerpc/powerpc64/start.S: here.
26711 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26712 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26713 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26714 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26715 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26716
26717 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26718 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26719 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26720 * sysdeps/powerpc/powerpc32/start.S: ... here.
26721 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26722 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26723 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26724
26725 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26726 * sysdeps/powerpc/ifunc-sel.h: ... here.
26727 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26728 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26729
26730 * sysdeps/sparc/elf/configure.in: Moved to ...
26731 * sysdeps/sparc/configure.in: ... here.
26732 * sysdeps/sparc/elf/configure: Delete file.
26733 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26734 * sysdeps/sparc/sparc32/start.S: ... here.
26735 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26736 * sysdeps/sparc/sparc64/start.S: ... here.
26737 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26738 * sysdeps/sparc/sparc32/Makefile: ... this.
26739 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26740 * sysdeps/sparc/sparc64/Makefile: ... this.
26741
26742 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26743 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26744 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26745 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26746 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26747 * sysdeps/s390/s390-32/setjmp.S: ... here.
26748 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26749 * sysdeps/s390/s390-32/configure.in: ... here.
26750 * sysdeps/s390/s390-32/elf/configure: Delete file.
26751 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26752 * sysdeps/s390/s390-32/start.S: ... here.
26753
26754 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26755 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26756 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26757 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26758 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26759 * sysdeps/s390/s390-64/setjmp.S: ... here.
26760 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26761 * sysdeps/s390/s390-64/configure.in: ... here
26762 * sysdeps/s390/s390-64/elf/configure: Delete file.
26763 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26764 * sysdeps/s390/s390-64/start.S: ... here.
26765 * sysdeps/s390/s390-64/elf/configure: Delete.
26766
26767 * configure.in: Remove support for elf directories in sysdeps.
26768
26769 * configure: Regenerated.
26770 * sysdeps/i386/configure: Regenerated.
26771 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26772 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26773 * sysdeps/s390/s390-32/configure: Regenerated.
26774 * sysdeps/s390/s390-64/configure: Regenerated.
26775 * sysdeps/sh/configure: Regenerated.
26776 * sysdeps/sparc/configure: Regenerated.
26777 * sysdeps/x86_64/configure: Regenerated.
26778
a3f61311
AS
267792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26780
c876e002
AS
26781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26782
a3f61311
AS
26783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26784 denormal result into account.
26785
ac4c54f0
RM
267862012-03-25 Roland McGrath <roland@hack.frob.com>
26787
26788 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26789 Reported by Allan McRae <allan@archlinux.org>.
26790
6a9b9c02
JL
267912012-03-23 Jeff Law <law@redhat.com>
26792
26793 * nss/getnssent.c (__nss_getent): Fix typo.
26794
4c42a0c1
DM
267952012-03-23 David S. Miller <davem@davemloft.net>
26796
26797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26798
1532c7ac
L
267992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26800
26801 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26802 to pad to uint64_t for each field.
26803 (dl_tls_index): Replace unsigned long with uint64_t.
26804
3ff42526
PP
268052012-03-23 Daniel Jacobowitz <dmj@google.com>
26806 Paul Pluzhnikov <ppluzhnikov@google.com>
26807
26808 [BZ #6528]
26809 * grp/Makefile (otherlibs): Don't set it.
26810 * inet/Makefile (otherlibs): Likewise.
26811 * login/Makefile (otherlibs): Likewise.
26812 * nscd/Makefile (otherlibs): Likewise.
26813 * posix/Makefile (otherlibs): Likewise.
26814 * pwd/Makefile (otherlibs): Likewise.
26815 * rt/Makefile (otherlibs): Likewise.
26816 * sunrpc/Makefile (otherlibs): Likewise.
26817 * nss/Makefile (otherlibs): Likewise.
26818 Add libnss_files to routines and static-only-routines.
26819 ($(objpfx)getent): Remove rule.
26820 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26821 static-only-routines.
26822
7c69cd14
JM
268232012-03-22 Joseph Myers <joseph@codesourcery.com>
26824
26825 [BZ #13892]
26826 * math/s_cexp.c: Include <float.h>.
26827 (__cexp): Handle exp result overflowing not necessarily
26828 overflowing both real and imaginary parts of result.
26829 * math/s_cexpf.c: Likewise.
26830 * math/s_cexpl.c: Likewise.
26831 * math/libm-test.inc (cexp_test): Add more tests.
26832 * sysdeps/i386/fpu/libm-test-ulps: Update.
26833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26834
81b035fe
L
268352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26836
26837 * include/link.h (ELFW): New macro.
26838 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26839 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26840
1da7940c
L
268412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26842
26843 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26844 with uint64_t.
26845
b749dbb9
L
268462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26847
26848 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26849 declaration.
26850 (struct La_x32_retval): Likewise.
26851
2ff87f3f
L
268522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26853
26854 * sysdeps/x86_64/preconfigure.in: New file.
26855 * sysdeps/x86_64/preconfigure: New generated file.
26856
c0df8e69
JM
268572012-03-22 Joseph Myers <joseph@codesourcery.com>
26858
48e44791
JM
26859 [BZ #13824]
26860 * math/e_exp2l.c: Include <float.h>.
26861 (__ieee754_exp2l): Handle overflow and underflow cases
26862 separately. Only pass fractional part of argument to
26863 __ieee754_expl.
26864 * math/libm-test.inc (exp2_test): Add more tests.
26865
c0df8e69
JM
26866 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26867 negating x to take absolute value.
26868 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26869 Likewise.
26870 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26872 Likewise.
26873 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26874 computing low part if x was negated.
26875 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26876
c8e43ba7
L
268772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26878
26879 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26880 la_x32_gnu_pltexit.
26881 (pltexit): Cast int_retval to ptrdiff_t.
26882 * elf/tst-auditmod3b.c: Likewise.
26883 * elf/tst-auditmod4b.c: Likewise.
26884 * elf/tst-auditmod5b.c: Likewise.
26885 * elf/tst-auditmod6b.c: Likewise.
26886 * elf/tst-auditmod6c.c: Likewise.
26887 * elf/tst-auditmod7b.c: Likewise.
26888
26889 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26890 and x32_gnu_pltexit.
26891
26892 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26893 __ELF_NATIVE_CLASS.
26894 (La_x32_regs): New macro.
26895 (La_x32_retval): Likewise.
26896 (la_x32_gnu_pltenter): New function prototype.
26897 (la_x32_gnu_pltexit): Likewise.
26898
7998fa78
AS
268992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26900
dcb33988
AS
26901 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26902 exponent.
26903
233fc563
AS
26904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26905
7998fa78
AS
26906 * configure.in (libc_cv_cc_nofma): Check for option to disable
26907 generation of FMA instructions.
26908 * configure: Regenerate.
26909 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26910 * sysdeps/ieee754/dbl-64/Makefile: New file.
26911 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26912 Remove brandred-fma4.
26913 (CFLAGS-brandred-fma4.c): Remove.
26914 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26915 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26916 define.
26917 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26918 define.
26919
8e95c99a
L
269202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26921
26922 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26923 LLONG_MAX != LONG_MAX.
26924 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26925 (_fitoa_word): Likewise.
26926 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26927 LLONG_MAX != LONG_MAX.
26928 * stdio-common/_itowa.h: Include <_itoa.h>.
26929 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26930 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26931 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26932 only if not defined.
26933 (_ITOA_WORD_TYPE): Likewise.
26934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26935 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26936
6f4db457
DM
269372012-03-21 David S. Miller <davem@davemloft.net>
26938
26939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26940
7785fe5a
L
269412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26942
26943 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26944 of x86_64 when setting libc_cv_slibdir, libdir and
26945 libc_cv_localedir.
26946 * sysdeps/unix/sysv/linux/configure: Regenerated.
26947
4535cd55
JM
269482012-03-21 Joseph Myers <joseph@codesourcery.com>
26949
26950 * manual/lang.texi (Old Varargs): Remove section.
26951 (How Variadic): Update menu.
26952 (va_start): Do not mention varargs.h.
26953
17228132
TS
269542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26955 Joseph Myers <joseph@codesourcery.com>
26956
26957 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26958 link test.
26959 * configure: Regenerated.
26960
8149f976
TS
269612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26962
05f3d1f6
UD
26963 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26964 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26965 conformtest.pl
8149f976 26966
1a4ac776
JM
269672012-03-21 Joseph Myers <joseph@codesourcery.com>
26968
be22ce65
JM
26969 * NOTES: Remove.
26970 * Makefile (files-for-dist): Remove NOTES.
26971 (NOTES): Remove rule.
26972 * README: Don't refer to NOTES.
26973 * manual/creature.texi: Don't include macros.texi.
26974 * manual/intro.texi (creature.texi): Remove comment referring to
26975 NOTES.
26976
40b601fb
JM
26977 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26978 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26979 * configure: Regenerated.
26980 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26981 LIBC_TRY_CC_OPTION.
26982 (libc_cv_as_i686): Likewise.
26983 (libc_cv_cc_avx): Likewise.
26984 (libc_cv_cc_sse2avx): Likewise.
26985 (libc_cv_cc_fma4): Likewise.
26986 (libc_cv_cc_novzeroupper): Likewise.
26987 * sysdeps/i386/configure: Regenerated.
26988
1a4ac776
JM
26989 [BZ #13883]
26990 * sysdeps/i386/fpu/s_cexp.S: Remove.
26991 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26992 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26993 * math/libm-test.inc (cexp_test): Add more tests.
26994 * sysdeps/i386/fpu/libm-test-ulps: Update.
26995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26996
a458e7fe
AM
269972012-03-21 Allan McRae <allan@archlinux.org>
26998
26999 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27000
0cb7efc5
JM
270012012-03-21 Joseph Myers <joseph@codesourcery.com>
27002
27003 [BZ #13871]
27004 * math/w_exp2.c: Do not include <float.h>.
27005 (o_threshold, u_threshold): Remove.
27006 (__exp2): Calculate result before checking finiteness and calling
27007 __kernel_standard.
27008 * math/w_exp2f.c: Likewise.
27009 * math/w_exp2l.c: Likewise.
27010 * math/libm-test.inc (exp2_test): Require overflow exception for
27011 1e6 input.
2460d3aa
JM
27012
27013 [BZ #3866]
27014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27015 range of signed 64-bit integers before using fistpll. Remove
27016 checks for whether integers fit in mantissa bits.
27017 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27018 the range of signed 32-bit integers before using fistpl. Remove
27019 checks for whether integers fit in mantissa bits.
27020 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27021 (__ieee754_powl): Test for y outside the range of signed 64-bit
27022 integers before using fistpll. Reduce 64-bit values to 63-bit
27023 ones as needed.
27024 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27025 divide-by-zero is raised for zero to large negative powers.
27026 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27027 (__ieee754_powl): Test for y outside the range of signed 64-bit
27028 integers before using fistpll. Reduce 64-bit values to 63-bit
27029 ones as needed.
27030 * math/libm-test.inc (pow_test): Add more tests.
27031
eb96ffb0
L
270322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27033
27034 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27035 <stdio-common/_itoa.h>.
27036 * debug/segfault.c: Likewise.
27037 * elf/dl-cache.c: Likewise.
27038 * elf/dl-minimal.c: Likewise.
27039 * elf/dl-misc.c: Likewise.
27040 * elf/dl-sysdep.c: Likewise.
27041 * elf/dl-version.c: Likewise.
27042 * elf/rtld.c: Likewise.
27043 * hurd/hurdsock.c: Likewise.
27044 * hurd/lookup-retry.c: Likewise.
27045 * malloc/malloc.c: Likewise.
27046 * malloc/mtrace.c: Likewise.
27047 * nscd/nscd_getgr_r.c: Likewise.
27048 * nscd/nscd_getpw_r.c: Likewise.
27049 * nscd/nscd_getserv_r.c: Likewise.
27050 * posix/getopt_init.c: Likewise.
27051 * posix/wordexp.c: Likewise.
27052 * stdio-common/_itoa.c: Likewise.
27053 * stdio-common/printf_fphex.c: Likewise.
27054 * stdio-common/vfprintf.c: Likewise.
27055 * string/_strerror.c: Likewise.
27056 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27057 * sysdeps/i386/i686/hp-timing.h: Likewise.
27058 * sysdeps/mach/_strerror.c: Likewise.
27059 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27060 * sysdeps/mach/hurd/sethostid.c: Likewise.
27061 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27062 * sysdeps/mach/xpg-strerror.c: Likewise.
27063 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27065 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27066 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27067 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27068 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27069 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27070 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27071 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27072 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27073 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27074 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27075 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27076 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27077 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27078 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27079 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27080 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27081 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27082 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27083 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27084
27085 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27086
27087 * stdio-common/_itoa.h: Moved to ...
27088 * sysdeps/generic/_itoa.h: Here.
27089
27090 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27091
27092 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27093 instead of "_itoa.h" and "_itowa.h".
27094 * stdio-common/vfprintf.: Likewise.
27095
d1af992d
L
270962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27097
27098 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27099 <bits/wordsize.h>.
27100 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27101 (__signbit): Likwise.
27102 (llrintf): Likwise.
27103 (llrint): Likwise.
27104
114883e0
L
271052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27106
27107 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27108 __WORDSIZE != 64.
27109
c135cc1b
JM
271102012-03-20 Joseph Myers <joseph@codesourcery.com>
27111
27112 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27113 OVERFLOW_EXCEPTION_OK.
27114 * math/libm-test.inc ("Philosophy"): Update comment about
27115 exception testing.
27116 (OVERFLOW_EXCEPTION): Define.
27117 (OVERFLOW_EXCEPTION_OK): Likewise.
27118 (INVALID_EXCEPTION_OK): Renumber.
27119 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27120 (IGNORE_ZERO_INF_SIGN): Likewise.
27121 (test_exceptions): Handle FE_OVERFLOW.
27122 (exp10_test): Expect overflow exceptions.
27123 (exp2_test): Likewise.
27124 (expm1_test): Likewise.
27125 (nextafter_test): Likewise.
27126 (pow_test): Likewise.
27127 (scalbn_test): Likewise.
27128 (scalbln_test): Likewise.
27129
95443d88
L
271302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27131
27132 * sysdeps/x86_64/bits/atomic.h
27133 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27134 64bit integer.
27135 (atomic_exchange_acq): Likewise.
27136 (__arch_exchange_and_add_body): Likewise.
27137 (__arch_add_body): Likewise.
27138 (atomic_add_negative): Likewise.
27139 (atomic_add_zero): Likewise.
27140
490df6c4
L
271412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27142
c2722551 27143 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27144 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27145
5e52b189
L
271462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27147
27148 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27149 Check __x86_64__ instead of __WORDSIZE.
27150
a9879d4c
L
271512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27152
27153 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27154
5df98260
DM
271552012-03-19 David S. Miller <davem@davemloft.net>
27156
e1497744
DM
27157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27158
5df98260
DM
27159 * sysdeps/sparc/fpu/fenv_private.h: New file.
27160 * sysdeps/sparc/fpu/math_private.h: Use it.
27161 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27162 Remove.
27163 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27164 (libc_feholdexcept_setroundl): Remove.
27165 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27166 Remove.
27167 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27168 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27169
b4c35121
L
271702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27171
27172 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27173 int64_t instead of long int.
27174 (INSERT_WORDS64): Likwise.
27175
56965fd7
L
271762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27177
27178 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27179 _Unwind_GetCFA return to _Unwind_Ptr first.
27180
83d1aec8
JM
271812012-03-19 Joseph Myers <joseph@codesourcery.com>
27182
1897ad44
JM
27183 [BZ #13629]
27184 * math/s_clog.c: Include <float.h>.
27185 (__clog): Scale large or subnormal inputs.
27186 * math/s_clogf.c: Likewise.
27187 * math/s_clogl.c: Likewise.
27188 * math/s_clog10.c: Include <float.h>.
27189 (M_LOG10_2): Define.
27190 (__clog10): Scale large or subnormal inputs.
27191 * math/s_clog10f.c: Likewise.
27192 * math/s_clog10l.c: Likewise.
27193 * math/libm-test.inc (clog_test): Add more tests.
27194 (clog10_test): Likewise.
27195 * sysdeps/i386/fpu/libm-test-ulps: Update.
27196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27197
7726d6a9
JM
27198 [BZ #11451]
27199 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27200 x and y.
27201 * math/libm-test.inc (atan2_test): Add another test.
27202
83d1aec8
JM
27203 * Makerules (common-objdir-compile): Remove.
27204 * sysdeps/unix/Makefile (config-generated): Do not add
27205 $(unix-generated) to variable.
27206 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27207 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27208 Remove rule.
27209 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27210 Likewise.
27211 [generic bits/local_lim.h] (before-compile): Do not append to
27212 variable.
27213 [generic bits/local_lim.h] (common-generated): Likewise.
27214 [generic sys/param.h] (before-compile): Do not append to variable.
27215 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27216 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27217 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27218 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27219 include.
27220 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27221 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27222 [generic sys/param.h] ($(addprefix
27223 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27224 [generic sys/param.h] (common-generated): Do not append to
27225 variable.
27226 [generic sys/param.h] (sysdep_headers): Likewise.
27227 [generic bits/errno.h] (before-compile): Do not append to
27228 variable.
27229 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27230 rule.
27231 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27232 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27233 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27234 [generic bits/errno.h] (common-generated): Do not append to
27235 variable.
27236 [generic bits/ioctls.h] (before-compile): Do not append to
27237 variable.
27238 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27239 rule.
27240 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27241 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27242 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27243 rule.
27244 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27245 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27246 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27247 [generic bits/ioctls.h] (common-generated): Do not append to
27248 variable.
27249 [generic sys/syscall.h] (syscall.h): Remove variable.
27250 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27251 rule.
27252 [generic sys/syscall.h] (before-compile): Do not append to
27253 variable.
27254 [generic sys/syscall.h] (common-generated): Likewise.
27255 * sysdeps/unix/errnos-tmpl.c: Remove file.
27256 * sysdeps/unix/errnos.awk: Likewise.
27257 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27258 * sysdeps/unix/ioctls.awk: Likewise.
27259 * sysdeps/unix/mk-local_lim.c: Likewise.
27260 * sysdeps/unix/snarf-ioctls: Likewise.
27261
4851a949
RH
272622012-03-19 Richard Henderson <rth@twiddle.net>
27263
bd37f2ee
RH
27264 * sysdeps/i386/fpu/fenv_private.h: New file.
27265 * sysdeps/i386/fpu/math_private.h: Use it.
27266 (math_opt_barrier, math_force_eval): Remove.
27267 (libc_feholdexcept_setround_53bit): Remove.
27268 (libc_feupdateenv_53bit): Remove.
27269 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27270 (math_opt_barrier, math_force_eval): Remove.
27271 (libc_feholdexcept): Remove.
27272 (libc_feholdexcept_setround): Remove.
27273 (libc_fetestexcept, libc_fesetenv): Remove.
27274 (libc_feupdateenv_test): Remove.
27275 (libc_feupdateenv, libc_feholdsetround): Remove.
27276 (libc_feresetround): Remove.
27277
d0adc922
RH
27278 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27279 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27280
0fe0f1f8
RH
27281 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27282 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27283 (libc_feupdateenv_testl): New.
27284 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27285 (libc_feupdateenv_testf): New.
27286 (libc_feupdateenv): Use libc_feupdateenv_test.
27287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27289
eb92c487
RH
27290 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27291 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27292 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27293 (libc_feresetround_noex): New.
27294 (libc_feresetround_noexf): New.
27295 (libc_feresetround_noexl): New.
27296 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27297 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27298 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27299 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27300 SET_RESTORE_ROUND.
27301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27303 (__cos): Likewise.
27304 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27305 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27306 SET_RESTORE_ROUND_NOEX.
27307 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27308 SET_RESTORE_ROUND_NOEXF.
27309 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27310 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27311 (libc_feholdsetroundf): New.
27312 (libc_feresetround, libc_feresetroundf): New.
27313
7d2e8012
RH
27314 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27315 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27316 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27317
b4dabbb4
RH
27318 * sysdeps/generic/math_private.h: Include <fenv.h>.
27319 (default_libc_feholdexcept): New.
27320 (default_libc_feholdexcept_setround): New.
27321 (default_libc_fesetenv, default_libc_feupdateenv): New.
27322 (libc_feholdexcept): Only define if undefined.
27323 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27324 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27325 (libc_feholdexcept_setroundl): Likewise.
27326 (libc_feholdexcept_setround_53bit): Likewise.
27327 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27328 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27329 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27330 (libc_feupdateenv_53bit): Likewise.
27331 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27332 (libc_feholdexcept): Convert from macro to inline function.
27333 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27334 (libc_fesetenv, libc_feupdateenv): Likewise.
27335
4851a949
RH
27336 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27337 not previously defined.
27338 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27339 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27340 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27341 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27342 * sysdeps/ieee754/flt-32/math_private.h: New file.
27343 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27344 math_private.h below SET_FLOAT_WORD.
27345 (__isnan, __isinf_ns, __finite): Remove.
27346 (__isnanf, __isinf_nsf, __finitef): Remove.
27347
e79d442e
AS
273482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27349
27350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27351
90b80344
DM
273522012-03-17 David S. Miller <davem@davemloft.net>
27353
27354 [BZ #6471]
27355 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27356 for 2.16.
27357
edc21804
DM
273582012-03-16 David S. Miller <davem@davemloft.net>
27359
77e927af
DM
27360 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27361 warnings.
27362
374976dd
DM
27363 [BZ #6471]
27364 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27365 properly.
27366 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27367 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27368 sysdep_routines when subdir is sysvipc.
27369 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27370 __getshmlba helper.
27371
edc21804
DM
27372 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27373
473c3ef3
L
273742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27375
27376 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27377 [__LP64__].
27378
eb0f39b6
L
273792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27380
27381 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27382 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27383 (__lround): Renamed to ...
27384 (__llround): This. Replace long int with long long int.
27385 Define lround functions as aliases of llround functions.
27386 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27387
6b6cd74b
L
273882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27389
27390 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27391 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27392 adresses to uintptr_t. Replace "long int" and "unsigned long
27393 int" with "greg_t" on va_arg.
27394
f1a77b01
L
273952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27396
27397 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27398 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27399
27400 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27401 Move e_machine check before EI_CLASS check. Handle x32
27402 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27403 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27404 SKIP_EM_IA_64 and include
27405 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27406
27407 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27408 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27409 (add_system_dir): New macro.
27410
27411 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27412 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27413
11b90b9f
JM
274142012-03-16 Joseph Myers <joseph@codesourcery.com>
27415
c36e1d23
JM
27416 [BZ #2551]
27417 [BZ #2552]
27418 [BZ #2553]
27419 [BZ #2554]
27420 [BZ #2562]
27421 [BZ #2563]
27422 [BZ #2565]
27423 [BZ #2566]
27424 [BZ #2576]
27425 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27426 (y0): Likewise.
27427 * math/w_j0f.c (j0f): Likewise.
27428 (y0f): Likewise.
27429 * math/w_j0l.c (__j0l): Likewise.
27430 (__y0l): Likewise.
27431 * math/w_j1.c (j1): Likewise.
27432 (y1): Likewise.
27433 * math/w_j1f.c (j1f): Likewise.
27434 (y1f): Likewise.
27435 * math/w_j1l.c (__j1l): Likewise.
27436 (__y1l): Likewise.
27437 * math/w_jn.c (jn): Likewise.
27438 (yn): Likewise.
27439 * math/w_jnf.c (jnf): Likewise.
27440 (ynf): Likewise.
27441 * math/w_jnl.c (__jnl): Likewise.
27442 (__ynl): Likewise.
27443 * math/libm-test.inc (j0_test): Add more tests.
27444 (j1_test): Likewise.
27445 (jn_test): Likewise. Add trailing semicolon to existing test.
27446 (y0_test): Likewise.
27447 (y1_test): Likewise.
27448 * sysdeps/i386/fpu/libm-test-ulps: Update.
27449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27450
11b90b9f
JM
27451 [BZ #13851]
27452 [BZ #13854]
27453 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27454 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27455 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27456 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27457 (__tanl): Set errno for infinite argument.
27458 * sysdeps/i386/fpu/mptan.c: Remove.
27459 * sysdeps/i386/fpu/s_tan.S: Likewise.
27460 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27461 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27462 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27463 * math/libm-test.inc (tan_test): Add more tests and enable more
27464 tests for double and long double.
27465 * sysdeps/i386/fpu/libm-test-ulps: Update.
27466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27467
6a1bd2a1
JK
274682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27469
27470 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27471 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27472
10a803e0
RM
274732012-03-16 Roland McGrath <roland@hack.frob.com>
27474
27475 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27476 * configure.in: Use it for both main tree and add-ons.
27477 * configure: Regenerated.
27478
f196c7f7
L
274792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27480
27481 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27482
8848d99d
JM
274832012-03-16 Joseph Myers <joseph@codesourcery.com>
27484
96cbe7f4
JM
27485 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27486 in comment.
27487
8848d99d
JM
27488 [BZ #13851]
27489 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27490 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27494 infinite argument.
27495 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27496 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27497 != 0 for prec == 2.
27498 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27499 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27500 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27501 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27502 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27503 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27504 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27505 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27506 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27507 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27508 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27509 * math/libm-test.inc (cos_test): Add more tests and enable more
27510 tests for long double.
27511 (sin_test): Likewise.
27512 (sincos_test): Likewise.
27513 * sysdeps/i386/fpu/libm-test-ulps: Update.
27514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27515
dd7f4703
DM
275162012-03-16 David S. Miller <davem@davemloft.net>
27517
27518 * sysdeps/sparc/fpu/math_private.h: New file.
27519
006f1daa
DM
275202012-03-15 David S. Miller <davem@davemloft.net>
27521
c0c83bc8
DM
27522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27523 file.
e6a62e18 27524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27526 file.
e6a62e18
DM
27527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27533 sysdep routines.
27534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27535
88cb87d9
DM
27536 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27537 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27538
006f1daa 27539 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27541 sparc-ifunc.h
006f1daa 27542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27544 Likewise.
27545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27546 Likewise.
006f1daa
DM
27547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27551 Likewise.
006f1daa
DM
27552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27557 Likewise.
27558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27559 Likewise.
006f1daa
DM
27560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27582 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27584
11e0098e
AS
275852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27586
27587 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27588 scaling.
27589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27590
e85b09d0
AJ
275912012-03-15 Andreas Jaeger <aj@suse.de>
27592
27593 [BZ #13852]
27594 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27595 ieee754/flt-32 implementation for sin, cos and sincos.
27596 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27597 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27598 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27599 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27600 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27601 ieee754/flt-32 implementation for tan.
27602
27603 * math/libm-test.inc (cos_test): Enable some large input tests for
27604 float as well
27605 (sin_test): Likewise.
27606 (sincos_test): Likewise.
27607 (tan_test): Add tests for large input.
27608
27609 * sysdeps/i386/fpu/libm-test-ulps: Update.
27610
81c64153
AJ
276112012-03-15 Andreas Jaeger <aj@suse.de>
27612
27613 [BZ #13658]
27614 * math/libm-test.inc (cos_test): Add more test cases.
27615 (sin_test): Likewise.
27616 (sincos_test): Likewise.
27617
7bbfa5c6
AJ
276182012-03-15 Andreas Jaeger <aj@suse.de>
27619
27620 [BZ #13837]
27621 * math/libm-test.inc (cos_test): Add a test case for large input
27622 value.
27623 (sin_test): Likewise.
27624 (sincos_test): Likewise.
27625
276262012-03-15 Andreas Jaeger <aj@suse.de>,
27627 Joseph Myers <joseph@codesourcery.com>
27628
27629 [BZ #13658]
0671f479 27630 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27631 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27632 * sysdeps/i386/fpu/branred.c: Likewise.
27633 * sysdeps/i386/fpu/dosincos.c: Likewise.
27634 * sysdeps/i386/fpu/mpa.c: Likewise.
27635 * sysdeps/i386/fpu/s_cos.S: Likewise.
27636 * sysdeps/i386/fpu/s_sin.S: Likewise.
27637 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27638 * sysdeps/i386/fpu/sincos32.c: Likewise.
27639
27640 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27641 Define.
27642 (libc_feupdateenv_53bit): Define.
27643 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27644 Define.
27645 (libc_feupdateenv_53bit): Define.
27646
27647 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27648 53 bit (without extend i386 double precision).
27649
27650 * math/libm-test.inc (sincos_test): Add tests for large input.
27651 (sin): Likewise.
27652 (cos): Likewise.
27653
27654 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27655
9cad04ea
AS
276562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27657
27658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27659
f7062b9a
DM
276602012-03-15 David S. Miller <davem@davemloft.net>
27661
27662 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27663 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27664 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27665 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27678 file.
f7062b9a 27679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27681 file.
f7062b9a 27682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27684 file.
f7062b9a 27685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27687 file.
f7062b9a
DM
27688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27690 fmin/fmax sysdep routines.
27691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27692
7bd951ff
DM
276932012-03-14 David S. Miller <davem@davemloft.net>
27694
559398ab
DM
27695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27724 routines.
27725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27726 file.
559398ab 27727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27729 file.
559398ab 27730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27732 file.
559398ab 27733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27735 file.
559398ab 27736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27738 file.
559398ab 27739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27741 file.
27742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27743 file.
27744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27745 file.
27746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27747 file.
27748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27749 New file.
27750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27751 file.
27752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27753 file.
559398ab 27754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27756 file.
559398ab 27757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27759 file.
559398ab 27760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27762 file.
559398ab 27763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27765 VIS3 routines.
559398ab
DM
27766
27767 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27768 New file.
27769
5a1c1e32
DM
27770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27771
eae47a36
DM
27772 * sysdeps/sparc/configure.in: New file.
27773 * sysdeps/sparc/configure: Generate.
27774 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27775 * configure: Regenerate.
27776 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27777 * config.make.in (have-as-vis3): New.
27778 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27779 available use -Av9d instead of -Av9a.
27780 * sysdeps/sparc/sparc64/Makefile: Likewise.
27781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27783 New file.
27784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27785 file.
27786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27787 New file.
27788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27789 file.
eae47a36
DM
27790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27795
c0c83bc8
DM
27796 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27797 fzeros/fnegs to load 0x80000000 into a float register instead of
27798 using the stack.
7bd951ff
DM
27799 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27800
bd951ccb
JM
278012012-03-14 Joseph Myers <joseph@codesourcery.com>
27802
27803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27804 bits/syscall.h.
27805 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27806 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27807 ($(inst_includedir)/bits/syscall.h): Remove rule.
27808 ($(objpfx)bits/syscall.d): Include instead of
27809 $(objpfx)syscall-list.d.
27810 (generated): Change syscall-list.h and syscall-list.d to
27811 bits/syscall.h and bits/syscall.d.
27812
bb4e6db2
RM
278132012-03-14 Roland McGrath <roland@hack.frob.com>
27814
27815 [BZ #13846]
27816 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27817
aa4a2ae1
JM
278182012-03-14 Joseph Myers <joseph@codesourcery.com>
27819
e456826d
JM
27820 [BZ #13841]
27821 * math/s_csqrt.c: Include <float.h>.
27822 (__csqrt): Scale large or subnormal inputs.
27823 * math/s_csqrtf.c: Likewise.
27824 * math/s_csqrtl.c: Likewise.
27825 * math/libm-test.inc (csqrt_test): Add more tests.
27826 * sysdeps/i386/fpu/libm-test-ulps: Update.
27827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27828
aa4a2ae1
JM
27829 [BZ #13840]
27830 * math/libm-test.inc (hypot_test): Add more tests.
27831
7c10fd35
DM
278322012-03-13 David S. Miller <davem@davemloft.net>
27833
27834 [BZ #13840]
27835 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27836 double-precision for the calculation instead of scaling.
27837
f453b98b
JM
278382012-03-13 Joseph Myers <joseph@codesourcery.com>
27839
27840 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27841 manipulate bits before adding and subtracting TWO52[sx].
27842 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27843 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27844 Likewise.
27845 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27846
09a3453f
DM
278472012-03-13 David S. Miller <davem@davemloft.net>
27848
8e59da90
DM
27849 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27850 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27852 rtld-global-offsets.h
27853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27854
2a8ab7f2
DM
27855 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27856 large parameters.
27857
10f62770
DM
27858 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27859
5f0bdb18
DM
27860 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27861 'err' in the ifdef scope in which it is actually used.
27862
09a3453f
DM
27863 * nss/nss_db/db-init.c: Include string.h
27864
b4b2eb5e
DM
278652012-03-12 David S. Miller <davem@davemloft.net>
27866
98bb2f1c
DM
27867 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27868 masking out of the most significant byte of random value used.
27869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27870 Fix coding style in previous change.
27871
b4b2eb5e
DM
27872 * sysdeps/unix/sysv/linux/kernel-features.h
27873 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27874 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27875 expression.
27876 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27877 later.
27878
6e226b09
DM
278792012-03-11 David S. Miller <davem@davemloft.net>
27880
a1bcbd40
DM
27881 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27882 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27883 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27884 for 'resultvar' otherwise things get truncated on 64-bit.
27885
cb9d6174
DM
27886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27887 Fix masking out of the most significant byte of random value used.
27888
6e226b09
DM
27889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27890
058c132d
AS
278912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27892
27893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27894
2d2cd515
DM
278952012-03-09 David S. Miller <davem@davemloft.net>
27896
27897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27898 variables with appropriate CPP guards.
27899 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27900 frame pointer, not the stack pointer. Correct layout comments. Fix test
27901 on resulting framesize and the management of the outregs buffer for pltexit.
27902 Preserve floating point return values across _dl_call_pltexit call.
27903 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27904 framesize and the management of the outregs buffer for pltexit.
27905 Preserve floating point return values across _dl_call_pltexit
27906 call.
27907 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27908 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27909 (print_exit): Fix format string for return register value.
27910
9a07f9d0
JM
279112012-03-10 Joseph Myers <joseph@codesourcery.com>
27912
27913 * sunrpc/Makefile (others): Add rpcgen.
27914 ($(objpfx)rpcgen): Remove special build rule and dependency on
27915 libc.
27916 * sunrpc/rpcgen.c: New file.
27917
547b5e30
PE
279182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27919
c524201a
PE
27920 [BZ #13673]
27921 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27922 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27923 * sysdeps/i386/crti.S: Likewise.
27924 * sysdeps/i386/crtn.S: Likewise.
27925 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27926 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27927 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27928 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27929 * sysdeps/sh/crti.S: Likewise.
27930 * sysdeps/sh/crtn.S: Likewise.
27931 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27932
7b6235f2
PE
27933 [BZ #13673]
27934 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27935 with URL.
27936 * locale/programs/locfile-kw.gperf: Likewise.
27937 * locale/programs/charmap-kw.h: Regenerated.
27938 * locale/programs/locfile-kw.h: Likewise.
27939
547b5e30
PE
27940 [BZ #13673]
27941 * intl/plural.y: Replace FSF snail mail address with URL.
27942 * intl/plural.c: Regenerated.
27943
5f0a5dae
RH
279442012-03-09 Richard Henderson <rth@twiddle.net>
27945
27946 * include/math_private.h: Remove file.
27947 * math/math_private.h: Move file ...
27948 * sysdeps/generic/math_private.h: ... here.
27949
b8c03620
RH
27950 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27951 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27952 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27953
4e234f5d 27954 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27955 and <math_private.h>.
27956 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27957 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27958 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27959 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27960 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27962 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27964 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27965 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27967 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27968 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27970 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27971 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27972 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27973 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27974 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27975 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27978 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27981 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27982 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27986 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27987 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27988 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27989 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27990 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27991 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27992 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27993 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27994 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27995 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27996 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27998 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27999 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28000 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28001 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28002 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28003 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28014 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28015 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28016 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28021 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28023 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28024 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28025 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28026 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28027 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28028 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28030 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28036 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28040 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28043 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28044 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28047 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28049 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28050 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28051 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28052 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28053 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28054 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28055 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28056 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28057 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28058 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28059 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28060 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28061 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28062 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28063 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28068 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28069 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28070 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28071 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28072 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28073 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28075 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28076 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28077 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28078 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28079 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28080 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28081 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28082 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28083 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28084 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28085 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28086 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28087 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28088 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28089 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28090 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28091 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28092 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28093 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28094 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28095 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28096 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28097 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28098 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28099 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28100 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28101 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28102 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28103 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28104 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28105 * sysdeps/ieee754/k_standard.c: Likewise.
28106 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28107 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28108 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28110 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28112 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28113 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28114 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28115 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28117 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28118 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28119 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28120 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28121 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28122 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28123 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28125 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28126 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28127 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28128 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28129 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28130 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28131 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28136 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28137 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28138 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28139 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28140 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28141 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28142 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28144 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28145 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28146 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28147 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28148 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28149 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28150 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28152 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28154 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28155 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28157 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28158 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28159 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28161 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28162 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28163 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28164 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28165 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28166 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28167 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28168 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28171 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28173 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28178 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28179 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28182 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28183 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28185 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28186 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28187 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28194 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28196 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28197 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28198 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28199 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28202 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28203 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28204 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28205 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28207 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28208 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28210 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28213 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28214 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28215 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28216 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28217 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28218 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28219 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28220 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28221 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28222 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28224 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28225 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28227 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28229 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28231 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28232 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28233 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28234 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28236 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28237 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28238 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28239 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28242 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28243 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28244 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28245 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28246 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28248 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28249 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28250 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28251 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28252 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28253 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28254 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28255 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28257 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28260 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28261 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28262 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28263 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28264 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28265 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28266 * sysdeps/ieee754/s_lib_version.c: Likewise.
28267 * sysdeps/ieee754/s_matherr.c: Likewise.
28268 * sysdeps/ieee754/s_signgam.c: Likewise.
28269 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28270 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28271 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28272 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28273 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28274 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28275 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28276 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28277 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28278 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28279 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28280 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28281 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28282 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28283 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28284 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28285 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28286 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28287 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28290
1991fa03
JM
282912012-03-09 Joseph Myers <joseph@codesourcery.com>
28292
28293 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28294 * sunrpc/rpc_main.c: Likewise.
28295 * sunrpc/rpc_svcout.c: Likewise.
28296
60d6f5a6
DM
282972012-03-09 David S. Miller <davem@davemloft.net>
28298
28299 * include/math_private.h: New file.
28300
4962050e
JM
283012012-03-09 Joseph Myers <joseph@codesourcery.com>
28302
02a6f887
JM
28303 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28304 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28305 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28306 from <bits/socket_type.h>.
28307 (enum __socket_type): Don't define here.
28308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28310 bits/socket_type.h.
28311
c6e013c1
JM
28312 [BZ #13566]
28313 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28314 checking __USE_GNU.
28315
4962050e
JM
28316 * Makerules ($(inst_includedir)/%.h): New rule.
28317 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28318 (install-others): Remove variable setting.
28319 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28320
38842f45
RH
283212012-03-08 Richard Henderson <rth@twiddle.net>
28322
67bb6da6
RH
28323 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28324 from macro to inline function; merge with the
28325 !__LIBC_INTERNAL_MATH_INLINES version.
28326 (__ieee754_sqrtf): Likewise.
28327
15194b4b
RH
28328 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28329 to inline function.
28330 (__rintf, __floor, __floorf): Likewise.
28331
64e21ede
RH
28332 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28333 macro to inline function.
28334 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28335
38842f45
RH
28336 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28337 not <math/math_private.h>.
28338
c64bf5fe
DM
283392012-03-08 David S. Miller <davem@davemloft.net>
28340
28341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28342 copyright year.
28343 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28344
82d86f28
TS
283452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28346
28347 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28348 normalization.
28349 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28350 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28351
aea5d727
UD
283522012-03-08 Ulrich Drepper <drepper@gmail.com>
28353
28354 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28355 be defined individually, they must be defined as a block. Define
28356 S for printing a string instead of hidint the different by using a
28357 macro for adding the 'l'.
28358 * stdio-common/tst-fphex-wide.c: Adjust.
28359
70bca0a3
MP
283602012-03-07 Marek Polacek <polacek@redhat.com>
28361
28362 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28363
65b81130
MP
283642012-03-08 Marek Polacek <polacek@redhat.com>
28365
28366 [BZ #13806]
28367 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28368 * stdio-common/tst-fphex.c: Define a few macros to make the
28369 test reusable. Use them.
28370 * stdio-common/tst-fphex-wide.c: New file.
28371
07037eeb
JM
283722012-03-08 Joseph Myers <joseph@codesourcery.com>
28373
a7a93d50
JM
28374 [BZ #6911]
28375 * manual/macros.texi (gnusystems): New macro.
28376 (nongnusystems): Likewise.
28377 (gnulinuxhurdsystems): Likewise.
28378 (gnuhurdsystems): Likewise..
28379 (gnulinuxsystems): Likewise.
28380 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28381 variants of the GNU system, not "GNU system".
28382 * manual/conf.texi: Likewise.
28383 * manual/errno.texi: Likewise. Update example of errno macro
28384 expansion.
28385 * manual/filesys.texi: Likewise.
28386 (getumask): Document as specific to GNU/Hurd.
28387 * manual/install.texi: Likewise. Reword some references to
28388 GNU/Linux.
28389 * manual/intro.texi: Likewise.
28390 * manual/io.texi: Likewise.
28391 (File Name Portability): Detail which constraints are inapplicable
28392 to all GNU systems and which are only inapplicable to GNU/Hurd.
28393 * manual/job.texi: Likewise.
28394 * manual/llio.texi: Likewise.
28395 (O_NOCTTY): Document as present on GNU/Linux.
28396 * manual/maint.texi: Likewise.
28397 * manual/memory.texi: Likewise.
28398 * manual/pattern.texi: Likewise.
28399 * manual/pipe.texi: Likewise.
28400 * manual/process.texi: Likewise.
28401 * manual/resource.texi: Likewise.
28402 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28403 child on GNU/Hurd.
28404 * manual/setjmp.texi: Likewise.
28405 * manual/signal.texi: Likewise.
28406 * manual/startup.texi: Likewise.
28407 * manual/stdio.texi: Likewise.
28408 * manual/terminal.texi: Likewise.
28409 (ONLCR): Document as POSIX.
28410 (OXTABS): Document availability on GNU/Linux as XTABS.
28411 (ONOEOT): Document availability separately from other bits.
28412 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28413 * manual/time.texi: Likewise.
28414 * manual/users.texi: Likewise.
28415 * INSTALL: Regenerated.
28416 * sysdeps/gnu/errlist.c: Regenerated.
28417
07037eeb
JM
28418 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28419 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28420 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28421 puts.
28422 * configure: Regenerated.
28423
d1d3431a
JM
284242012-03-07 Joseph Myers <joseph@codesourcery.com>
28425
af6a1e37
JM
28426 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28427 default includes instead of AC_HEADER_CHECK.
28428 * sysdeps/i386/configure: Regenerated.
28429
d1d3431a
JM
28430 [BZ #10716]
28431 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28432 * math/s_cacoshf.c (__cacoshf): Likewise.
28433 * math/s_cacoshl.c (__cacoshl): Likewise.
28434 * math/s_casinh.c (__casinh): Set signs of result from argument.
28435 * math/s_casinhf.c (__casinhf): Likewise.
28436 * math/s_casinhl.c (__casinhl): Likewise.
28437 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28438 (casinh_test): Add more tests.
28439 * sysdeps/i386/fpu/libm-test-ulps: Update.
28440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28441
482ff4da
UD
284422012-03-07 Ulrich Drepper <drepper@gmail.com>
28443
872fda05
UD
28444 * po/zh_TW.po: Update from translation team.
28445
a4300c7a
UD
28446 * login/Makefile (distribute): Remove variable.
28447 * catgets/Makefile: Likewise.
28448 * mach/Makefile: Likewise.
28449 * malloc/Makefile: Likewise.
28450 * misc/Makefile: Likewise.
28451 * iconv/Makefile: Likewise.
28452 * nscd/Makefile: Likewise.
28453 * hurd/Makefile: Likewise.
28454 * manual/Makefile: Likewise.
28455 * locale/Makefile: Likewise.
28456 * intl/Makefile: Likewise.
28457 * conform/Makefile: Likewise.
28458 * nss/Makefile: Likewise.
28459 * time/Makefile: Likewise.
28460 * soft-fp/Makefile: Likewise.
28461 * dirent/Makefile: Likewise.
28462 * gmon/Makefile: Likewise.
28463 * po/Makefile: Likewise.
28464 * rt/Makefile: Likewise.
28465 * socket/Makefile: Likewise.
28466 * math/Makefile: Likewise.
28467 * signal/Makefile: Likewise.
28468 * debug/Makefile: Likewise.
28469 * elf/Makefile: Likewise.
28470 * timezone/Makefile: Likewise.
28471 * stdlib/Makefile: Likewise.
28472 * iconvdata/Makefile: Likewise.
28473 * sunrpc/Makefile: Likewise.
28474 * io/Makefile: Likewise.
28475 * argp/Makefile: Likewise.
28476 * inet/Makefile: Likewise.
28477 * hesiod/Makefile: Likewise.
28478 * grp/Makefile: Likewise.
28479 * csu/Makefile: Likewise.
28480 * wctype/Makefile: Likewise.
28481 * crypt/Makefile: Likewise.
28482 * libio/Makefile: Likewise.
28483 * string/Makefile: Likewise.
28484 * nis/Makefile: Likewise.
28485 * resolv/Makefile: Likewise.
28486 * stdio-common/Makefile: Likewise.
28487 * wcsmbs/Makefile: Likewise.
28488 * dlfcn/Makefile: Likewise.
28489 * posix/Makefile: Likewise.
28490
3b7c4e74 28491 [BZ #6959]
482ff4da
UD
28492 * timezone/Makefile: Don't install timezone files, just the programs
28493 and scripts.
28494
f72ed77d
UD
284952012-03-06 Ulrich Drepper <drepper@gmail.com>
28496
a000466f
UD
28497 * nss/databases.def: Add missing gshadow entry.
28498
f72ed77d
UD
28499 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28500
a53b7a4e
MP
285012012-03-06 Marek Polacek <polacek@redhat.com>
28502
28503 [BZ #13726]
28504 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28505 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28506 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28507 * stdio-common/tst-long-dbl-fphex.c: New file.
28508
e9258400
DM
285092012-03-06 David S. Miller <davem@davemloft.net>
28510
28511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28512 (set_obp_int): New function.
28513 (get_obp_int): New function.
28514 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28515 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28516 Avoid unused variable warnings on 'val' and use builtin_expect.
28517 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28518 __builtin_expect.
e9258400
DM
28519 (INLINE_CLONE_SYSCALL): Likewise.
28520
3bd2c723
DM
285212012-03-05 David S. Miller <davem@davemloft.net>
28522
28523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28524
bbb78d03
AS
285252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28526
884c5db4
AS
28527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28528
bbb78d03
AS
28529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28530 only for |x| >= 40.
28531 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28532
1c9f702a 285332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28534
28535 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28536 Replace gettimeofday with __vdso_gettimeofday.
28537
7be16f82
RM
28538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28539 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28540 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28541
28542 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28543 time with __vdso_time.
28544
ed58a00f
JM
285452012-03-05 Joseph Myers <joseph@codesourcery.com>
28546
28547 * manual/lang.texi (size_t): Note types to which size_t may be
28548 equivalent with the GNU C Library, but do not describe when
28549 differences between them are significant.
28550
30ee4ced
AJ
285512012-03-05 Andreas Jaeger <aj@suse.de>
28552
28553 * sysdeps/i386/fpu/libm-test-ulps: Update.
28554
b7cd39e8
JM
285552012-03-05 Joseph Myers <joseph@codesourcery.com>
28556
28557 [BZ #3976]
28558 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28559 (__ieee754_pow): Save and restore rounding mode and use
28560 round-to-nearest for main computations.
28561 * math/libm-test.inc (pow_test_tonearest): New function.
28562 (pow_test_towardzero): Likewise.
28563 (pow_test_downward): Likewise.
28564 (pow_test_upward): Likewise.
28565 (main): Call the new functions.
28566 * sysdeps/i386/fpu/libm-test-ulps: Update.
28567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28568
28569 [BZ #3976]
28570 * math/libm-test.inc (cosh_test_tonearest): New function.
28571 (cosh_test_towardzero): Likewise.
28572 (cosh_test_downward): Likewise.
28573 (cosh_test_upward): Likewise.
28574 (sinh_test_tonearest): Likewise.
28575 (sinh_test_towardzero): Likewise.
28576 (sinh_test_downward): Likewise.
28577 (sinh_test_upward): Likewise.
28578 (main): Call the new functions.
28579 * sysdeps/i386/fpu/libm-test-ulps: Update.
28580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28581
6c6a98c9
TV
285822012-03-05 Tom de Vries <tom@codesourcery.com>
28583
28584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28585 default stack guard is set in last bytes.
28586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28587
21bb2d2e 285882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28589
21bb2d2e 28590 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28591
21bb2d2e
AJ
28592 [BZ #13656]
28593 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28594 possibly allocate from heap instead of stack.
28595 * stdio-common/bug-vfprintf-nargs.c: New file.
28596 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28597
c6922934
AS
285982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28599
28600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28601
bc957d53
MP
286022012-03-03 Marek Polacek <polacek@redhat.com>
28603
28604 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28605 * math/math_private.h: Likewise.
28606 * stdlib/tst-strtod.c: Likewise.
28607 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28608 * sysdeps/x86_64/bits/atomic.h: Likewise.
28609
6358490d
DM
286102012-03-02 David S. Miller <davem@davemloft.net>
28611
28612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28616 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28617 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28618 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28619 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28620
01ae168d
RM
286212012-03-02 Roland McGrath <roland@hack.frob.com>
28622
d9a17c07
RM
28623 [BZ #13792]
28624 * manual/examples/README: New file, says the example source files
28625 can be used under GPL>=2.
28626 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28627 line containing just "*/".
28628 * manual/examples/add.c: Add copyright header (GPL>=2).
28629 * manual/examples/argp-ex1.c: Likewise.
28630 * manual/examples/argp-ex2.c: Likewise.
28631 * manual/examples/argp-ex3.c: Likewise.
28632 * manual/examples/argp-ex4.c: Likewise.
28633 * manual/examples/atexit.c: Likewise.
28634 * manual/examples/db.c: Likewise.
28635 * manual/examples/dir.c: Likewise.
28636 * manual/examples/dir2.c: Likewise.
28637 * manual/examples/execinfo.c: Likewise.
28638 * manual/examples/filecli.c: Likewise.
28639 * manual/examples/filesrv.c: Likewise.
28640 * manual/examples/fmtmsgexpl.c: Likewise.
28641 * manual/examples/genpass.c: Likewise.
28642 * manual/examples/inetcli.c: Likewise.
28643 * manual/examples/inetsrv.c: Likewise.
28644 * manual/examples/isockad.c: Likewise.
28645 * manual/examples/longopt.c: Likewise.
28646 * manual/examples/memopen.c: Likewise.
28647 * manual/examples/memstrm.c: Likewise.
28648 * manual/examples/mkfsock.c: Likewise.
28649 * manual/examples/mkisock.c: Likewise.
28650 * manual/examples/mygetpass.c: Likewise.
28651 * manual/examples/pipe.c: Likewise.
28652 * manual/examples/popen.c: Likewise.
28653 * manual/examples/rprintf.c: Likewise.
28654 * manual/examples/search.c: Likewise.
28655 * manual/examples/select.c: Likewise.
28656 * manual/examples/setjmp.c: Likewise.
28657 * manual/examples/sigh1.c: Likewise.
28658 * manual/examples/sigusr.c: Likewise.
28659 * manual/examples/stpcpy.c: Likewise.
28660 * manual/examples/strdupa.c: Likewise.
28661 * manual/examples/strftim.c: Likewise.
28662 * manual/examples/strncat.c: Likewise.
28663 * manual/examples/subopt.c: Likewise.
28664 * manual/examples/swapcontext.c: Likewise.
28665 * manual/examples/termios.c: Likewise.
28666 * manual/examples/testopt.c: Likewise.
28667 * manual/examples/testpass.c: Likewise.
28668 * manual/examples/timeval_subtract.c: Likewise.
28669
01ae168d
RM
28670 [BZ #13792]
28671 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28672 function to ...
28673 * manual/timeval_subtract.c.texi: ... here, new file.
28674
49efa33d
DM
286752012-03-02 David S. Miller <davem@davemloft.net>
28676
28677 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28678
28afd92d
JM
286792012-03-02 Joseph Myers <joseph@codesourcery.com>
28680
804360ed
JM
28681 [BZ #3976]
28682 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28683 (__sin): Save and restore rounding mode and use round-to-nearest
28684 for all computations.
28685 (__cos): Save and restore rounding mode and use round-to-nearest
28686 for all computations.
28687 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28688 <fenv.h>.
28689 (tan): Save and restore rounding mode and use round-to-nearest for
28690 all computations.
28691 * math/libm-test.inc (cos_test_tonearest): New function.
28692 (cos_test_towardzero): Likewise.
28693 (cos_test_downward): Likewise.
28694 (cos_test_upward): Likewise.
28695 (sin_test_tonearest): Likewise.
28696 (sin_test_towardzero): Likewise.
28697 (sin_test_downward): Likewise.
28698 (sin_test_upward): Likewise.
28699 (tan_test_tonearest): Likewise.
28700 (tan_test_towardzero): Likewise.
28701 (tan_test_downward): Likewise.
28702 (tan_test_upward): Likewise.
28703 (main): Call the new functions.
28704 * sysdeps/i386/fpu/libm-test-ulps: Update.
28705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28706
a6d06d7b
JM
28707 [BZ #10135]
28708 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28709 small n, then large n, before computing and testing k+n.
28710 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28712 Likewise.
28713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28714 Likewise.
28715 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28716 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28721 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28722 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28723 * math/libm-test.inc (scalbn_test): Add more tests.
28724 (scalbln_test): Likewise.
28725
07e12bb3
JM
28726 * manual/filesys.texi (mode_t): Describe constraints on size and
28727 signedness, not exact equivalence to a particular type.
28728 (ino_t): Likewise.
28729 (ino64_t): Likewise.
28730 (dev_t): Likewise.
28731 (nlink_t): Likewise.
28732 (blkcnt_t): Likewise.
28733 (blkcnt64_t): Likewise.
28734 * manual/llio.texi (off_t): Likewise.
28735
28afd92d
JM
28736 [BZ #3976]
28737 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28738 (__ieee754_exp): Save and restore rounding mode and use
28739 round-to-nearest for all computations.
28740 * math/libm-test.inc (exp_test_tonearest): New function.
28741 (exp_test_towardzero): Likewise.
28742 (exp_test_downward): Likewise.
28743 (exp_test_upward): Likewise.
28744 (main): Call the new functions.
28745 * sysdeps/i386/fpu/libm-test-ulps: Update.
28746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28747
b1eeb65d
CD
287482012-03-01 Chris Demetriou <cgd@google.com>
28749
28750 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28751 have predictable order.
28752
53362a4b
DM
287532012-03-01 David S. Miller <davem@davemloft.net>
28754
3c969083
DM
28755 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28756
759707de
DM
28757 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28758 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28759 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28760 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28761
dfdb8ff2
DM
28762 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28763 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28764 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28766 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28767 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28768 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28769 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28770 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28771
ead89f96
DM
28772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28773
7f66bd07
DM
28774 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28775 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28776 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28777
53362a4b
DM
28778 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28779 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28780 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28781 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28782 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28785 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28786 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28787 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28788 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28792 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28794 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28795 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28796 * sysdeps/sparc/elf/configure: Regenerated.
28797
7b1902cb
JM
287982012-03-01 Joseph Myers <joseph@codesourcery.com>
28799
bec039bc
JM
28800 * configure.in (AS, LD): Require binutils 2.20 or later.
28801 * configure: Regenerated.
28802 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28803 as required minimum version.
28804 * INSTALL: Regenerated.
28805
7b1902cb
JM
28806 [BZ #2541]
28807 [BZ #4108]
28808 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28809 before squaring exponent.
28810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28811 bottom long double and 27 bits of top long double before squaring
28812 exponent.
28813 * math/libm-test.inc (erfc_test): Add more tests.
28814 * sysdeps/i386/fpu/libm-test-ulps: Update.
28815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28817
f775c276
KT
288182012-03-01 Kai Tietz <ktietz@redhat.com>
28819
28820 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28821 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28822 containing bit-fields.
28823 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28824 * soft-fp/single.h (_FP_UNION_S): Likewise.
28825 * soft-fp/double.h (_FP_UNION_D): Likewise.
28826
5b8a4d4a
JM
288272012-02-29 Joseph Myers <joseph@codesourcery.com>
28828
0bab47b6
JM
28829 [BZ #13786]
28830 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28831 not include ../strcmp.S.
28832 [USE_AS_STRNCASECMP_L]: Likewise.
28833 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28834 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28835 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28836 (__strncasecmp_l_ia32): Define as alias to
28837 __strncasecmp_l_nonascii.
28838
0fcad3e2
JM
28839 [BZ #5794]
28840 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28841 * sysdeps/i386/fpu/libm-test-ulps: Update.
28842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28843
5b8a4d4a
JM
28844 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28846
8fdceb2e
JL
288472012-02-29 Jeff Law <law@redhat.com>
28848
28849 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28850 out of bounds read.
28851
1f393a11
MP
288522012-02-29 Marek Polacek <polacek@redhat.com>
28853
28854 [BZ #13706]
28855 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28856 * elf/Makefile: Add rules to run tst-unused-dep.out.
28857
8847f037
DM
288582012-02-28 David S. Miller <davem@davemloft.net>
28859
28860 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28861 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28864 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28865 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28866
169d7f11
JM
288672012-02-29 Joseph Myers <joseph@codesourcery.com>
28868
28869 * math/libm-test.inc (llround_test): Move one test from
28870 lround_test. Use TEST_f_L in moved test.
28871 (lround_test): Move misplaced test to llround_test. Add testcase
28872 from bug 2561.
28873
39adf059
UD
288742012-02-28 Ulrich Drepper <drepper@gmail.com>
28875
28876 * sysdeps/x86_64/fpu/e_expf.S: New file.
28877 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28878
71b5d1c5
SB
288792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28880
28881 [BZ #13637]
28882 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28883 of remain_len that may cause incomplete multi-byte character and
28884 false match.
28885 * posix/bug-regex33.c: New file.
28886 * posix/Makefile (tests): Add bug-regex33.
28887
1f77f049
JM
288882012-02-28 Joseph Myers <joseph@codesourcery.com>
28889
28890 * manual/macros.texi: New file.
28891 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28892 * manual/libc.texinfo: Include macros.texi.
28893 * manual/creatute.texi: Likewise.
28894 * manual/install.texi: Likewise.
28895 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28896 @glibcadj{} in references to the GNU C Library.
28897 * manual/charset.texi: Likewise.
28898 * manual/conf.texi: Likewise.
28899 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28900 when not using those macros.
28901 * manual/creature.texi: Likewise.
28902 * manual/crypt.texi: Likewise.
28903 * manual/errno.texi: Likewise.
28904 * manual/filesys.texi: Likewise.
28905 * manual/header.texi: Likewise.
28906 * manual/install.texi: Likewise.
28907 * manual/intro.texi: Likewise.
28908 * manual/io.texi: Likewise.
28909 * manual/job.texi: Likewise.
28910 * manual/lang.texi: Likewise.
28911 * manual/libc.texiinfo: Likewise.
28912 * manual/llio.texi: Likewise.
28913 * manual/locale.texi: Likewise.
28914 * manual/maint.texi: Likewise.
28915 * manual/math.texi: Likewise.
28916 * manual/memory.texi: Likewise.
28917 * manual/message.texi: Likewise.
28918 * manual/nss.texi: Likewise.
28919 * manual/pattern.texi: Likewise.
28920 * manual/process.texi: Likewise.
28921 * manual/resource.texi: Likewise.
28922 * manual/search.texi: Likewise.
28923 * manual/setjmp.texi: Likewise.
28924 * manual/signal.texi: Likewise.
28925 * manual/socket.texi: Likewise.
28926 * manual/startup.texi: Likewise.
28927 * manual/stdio.texi: Likewise.
28928 * manual/string.texi: Likewise.
28929 * manual/sysinfo.texi: Likewise.
28930 * manual/syslog.texi: Likewise.
28931 * manual/terminal.texi: Likewise.
28932 * manual/time.texi: Likewise.
28933 * manual/users.texi: Likewise.
28934 * INSTALL: Regenerated.
28935 * NOTES: Regenerated.
d40c5d54 28936 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28937
450bf206
AS
289382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28939
28940 * include/dirent.h: Include <dirstream.h> before
28941 <dirent/dirent.h>.
28942
741a235b
DM
289432012-02-28 David S. Miller <davem@davemloft.net>
28944
28945 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28946 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28947 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28948 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28949
d6b5aa58
DM
289502012-02-27 David S. Miller <davem@davemloft.net>
28951
1aff59a3
DM
28952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28954 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28955 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28956
d6b5aa58
DM
28957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28958 frame pointer instead of stack pointer relative arg slot.
28959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28962
433f48bf
CD
289632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28964
28965 [BZ #3992]
28966 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28967
d674b76d
DM
289682012-02-27 David S. Miller <davem@davemloft.net>
28969
28970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28976 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28977 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28978
0e7727f7
JM
289792012-02-27 Joseph Myers <joseph@codesourcery.com>
28980
28981 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28982 later. Allow versions 5-9.
43be4ca2 28983 * configure: Regenerated.
0e7727f7
JM
28984 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28985 required minimum version and 4.6 as recommended version. Do not
28986 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28987 * INSTALL: Regenerated.
0e7727f7 28988
a78bc654
DM
289892012-02-27 David S. Miller <davem@davemloft.net>
28990
428d5830
DM
28991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28995 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28996 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28997 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28998 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28999
a78bc654
DM
29000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29001 manipulate bits before adding and subtracting TWO112[sx].
29002 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29003
4579f81c
RM
290042012-02-27 Roland McGrath <roland@hack.frob.com>
29005
36c8acb4
RM
29006 [BZ #13775]
29007 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29008 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29009 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29010 being in POSIX, because they are in 1003.1-2008.
29011
84ad622b
RM
29012 * rt/tst-aio.c: Include <fcntl.h>.
29013 * rt/tst-aio7.c: Likewise.
29014 * rt/tst-aio64.c: Likewise.
29015
4579f81c
RM
29016 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29017
abd923db
JM
290182012-02-27 Joseph Myers <joseph@codesourcery.com>
29019
29020 * manual/install.texi (--with-headers): Describe headers as
29021 interface headers, not private headers.
29022 (Specific advice for GNU/Linux systems): Describe use of headers
29023 from "make headers_install", not private headers from older
29024 kernels.
43be4ca2 29025 * INSTALL: Regenerated.
abd923db
JM
29026 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29027 Change to 2.6.19.
29028 * sysdeps/unix/sysv/linux/configure: Regenerated.
29029
6664049b
JM
29030 * manual/llio.texi (fclean): Remove documentation.
29031
bb8b6697
JM
29032 * manual/Makefile (libc-texi-generated): New variable. Include
29033 version.texi.
29034 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29035 $(libc-texi-generated), not duplicated list of files.
29036 (version.texi, stamp-version): New rules.
29037 (realclean): Remove $(libc-texi-generated), not individual files
29038 from that list. Do not remove dir-add.texinfo.
29039 * manual/libc.texinfo: Comment out uses of edition numbers and
29040 references to printed manual. Remove last-updated dates.
29041 (EDITION): Comment out.
29042 (ISBN): Likewise.
29043 (VERSION, UPDATED): Remove.
29044 (version.texi): Include.
29045
12e5c3b9
AS
290462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29047
29048 * sysdeps/posix/spawni.c: Include <signal.h>.
29049 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29050 * sysdeps/pthread/aio_fsync.c: Likewise.
29051
4efeffc1 290522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29053
ba63ba08
UD
29054 * conform/Makefile (tests): Run only when not cross-compiling and
29055 when fast-check is not defined.
29056
d94a4670
UD
29057 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29058 * conform/data/limits.h-data: Fixes for POSIX2008.
29059 * conform/run-conformtest.sh: Run all tests.
29060 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29061 headers.
29062 * include/bits/dlfcn.h: Likewise.
29063 * include/langinfo.h: Likewise.
29064 * include/monetary.h: Likewise.
29065 * include/sys/poll.h: Likewise.
29066
29067 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29068 for __USE_GNU.
29069 * posix/spawn.h: Define __need_sigset_t.
29070 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29071 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29072 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29073 to get sigevent_t only.
29074 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29075 only for __USE_GNU.
29076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29077 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29078 process_vm_writev only for __USE_GNU.
29079 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29080
29081 * conform/Makefile: For now ignore errors from run-conformtest.
29082 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29083 POSIX to avoid namespace pollution. Don't prepend headers.
29084 * conform/data/aio.h-data: Fixes for POSIX testing.
29085 * conform/data/fcntl.h-data: Likewise.
29086 * conform/data/glob.h-data: Likewise.
29087 * conform/data/grp.h-data: Likewise.
29088 * conform/data/pthread.h-data: Likewise.
29089 * conform/data/pwd.h-data: Likewise.
29090 * conform/data/signal.h-data: Likewise.
29091 * conform/data/spawn.h-data: Likewise.
29092 * conform/data/stdio.h-data: Likewise.
29093 * conform/data/stdlib.h-data: Likewise.
29094 * conform/data/stropts.h-data: Likewise.
29095 * conform/data/sys/mman.h-data: Likewise.
29096 * conform/data/sys/stat.h-data: Likewise.
29097 * conform/data/sys/types.h-data: Likewise.
29098 * conform/data/sys/wait.h-data: Likewise.
29099 * conform/data/time.h-data: Likewise.
29100 * conform/data/unistd.h-data: Likewise.
29101 * conform/data/utime.h-data: Likewise.
29102
29103 * io/sys/stat.h: fchmod was always in POSIX.
29104 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29105 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29106 * rt/aio.h: Define __need_timespec before including <time.h>.
29107 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29108 struct. Add forward declaration of pthread_attr_t and use it in
29109 sigevent.
29110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29112 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29113 always remove CLK_TCK definition.
29114
c20105c3
AS
291152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29116
29117 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29118
7a270350
UD
291192012-02-25 Ulrich Drepper <drepper@gmail.com>
29120
31341567
UD
29121 * conform/run-conformtest.sh: New file.
29122 * conform/Makefile: Run run-conformtest for tests.
29123 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29124 support.
29125
29126 * conform/data/uchar.h-data: New file.
29127 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29128 * conform/data/arpa/inet.h-data: Likewise.
29129 * conform/data/assert.h-data: Likewise.
29130 * conform/data/complex.h-data: Likewise.
29131 * conform/data/cpio.h-data: Likewise.
29132 * conform/data/ctype.h-data: Likewise.
29133 * conform/data/dirent.h-data: Likewise.
29134 * conform/data/dlfcn.h-data: Likewise.
29135 * conform/data/errno.h-data: Likewise.
29136 * conform/data/fcntl.h-data: Likewise.
29137 * conform/data/float.h-data: Likewise.
29138 * conform/data/fmtmsg.h-data: Likewise.
29139 * conform/data/fnmatch.h-data: Likewise.
29140 * conform/data/ftw.h-data: Likewise.
29141 * conform/data/glob.h-data: Likewise.
29142 * conform/data/grp.h-data: Likewise.
29143 * conform/data/iconv.h-data: Likewise.
29144 * conform/data/inttypes.h-data: Likewise.
29145 * conform/data/langinfo.h-data: Likewise.
29146 * conform/data/libgen.h-data: Likewise.
29147 * conform/data/limits.h-data: Likewise.
29148 * conform/data/locale.h-data: Likewise.
29149 * conform/data/math.h-data: Likewise.
29150 * conform/data/monetary.h-data: Likewise.
29151 * conform/data/mqueue.h-data: Likewise.
29152 * conform/data/ndbm.h-data: Likewise.
29153 * conform/data/net/if.h-data: Likewise.
29154 * conform/data/netdb.h-data: Likewise.
29155 * conform/data/netinet/in.h-data: Likewise.
29156 * conform/data/nl_types.h-data: Likewise.
29157 * conform/data/poll.h-data: Likewise.
29158 * conform/data/pthread.h-data: Likewise.
29159 * conform/data/pwd.h-data: Likewise.
29160 * conform/data/regex.h-data: Likewise.
29161 * conform/data/sched.h-data: Likewise.
29162 * conform/data/search.h-data: Likewise.
29163 * conform/data/semaphore.h-data: Likewise.
29164 * conform/data/setjmp.h-data: Likewise.
29165 * conform/data/signal.h-data: Likewise.
29166 * conform/data/spawn.h-data: Likewise.
29167 * conform/data/stdarg.h-data: Likewise.
29168 * conform/data/stdio.h-data: Likewise.
29169 * conform/data/stdlib.h-data: Likewise.
29170 * conform/data/string.h-data: Likewise.
29171 * conform/data/strings.h-data: Likewise.
29172 * conform/data/stropts.h-data: Likewise.
29173 * conform/data/sys/ipc.h-data: Likewise.
29174 * conform/data/sys/mman.h-data: Likewise.
29175 * conform/data/sys/msg.h-data: Likewise.
29176 * conform/data/sys/resource.h-data: Likewise.
29177 * conform/data/sys/select.h-data: Likewise.
29178 * conform/data/sys/sem.h-data: Likewise.
29179 * conform/data/sys/shm.h-data: Likewise.
29180 * conform/data/sys/socket.h-data: Likewise.
29181 * conform/data/sys/stat.h-data: Likewise.
29182 * conform/data/sys/statvfs.h-data: Likewise.
29183 * conform/data/sys/time.h-data: Likewise.
29184 * conform/data/sys/timeb.h-data: Likewise.
29185 * conform/data/sys/times.h-data: Likewise.
29186 * conform/data/sys/types.h-data: Likewise.
29187 * conform/data/sys/uio.h-data: Likewise.
29188 * conform/data/sys/un.h-data: Likewise.
29189 * conform/data/sys/utsname.h-data: Likewise.
29190 * conform/data/sys/wait.h-data: Likewise.
29191 * conform/data/syslog.h-data: Likewise.
29192 * conform/data/tar.h-data: Likewise.
29193 * conform/data/termios.h-data: Likewise.
29194 * conform/data/utime.h-data: Likewise.
29195 * conform/data/utmpx.h-data: Likewise.
29196 * conform/data/varargs.h-data: Likewise.
29197 * conform/data/wchar.h-data: Likewise.
29198 * conform/data/wctype.h-data: Likewise.
29199 * conform/data/wordexp.h-data: Likewise.
29200
29201 * include/stropts.h: New file.
29202 * include/uchar.h: New file.
29203 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29204 * include/assert.h: Likewise.
29205 * include/ctype.h: Likewise.
29206 * include/dirent.h: Likewise.
29207 * include/dlfcn.h: Likewise.
29208 * include/fcntl.h: Likewise.
29209 * include/fnmatch.h: Likewise.
29210 * include/glob.h: Likewise.
29211 * include/grp.h: Likewise.
29212 * include/libio.h: Likewise.
29213 * include/locale.h: Likewise.
29214 * include/math.h: Likewise.
29215 * include/net/if.h: Likewise.
29216 * include/netdb.h: Likewise.
29217 * include/netinet/in.h: Likewise.
29218 * include/pthread.h: Likewise.
29219 * include/pwd.h: Likewise.
29220 * include/regex.h: Likewise.
29221 * include/sched.h: Likewise.
29222 * include/search.h: Likewise.
29223 * include/setjmp.h: Likewise.
29224 * include/signal.h: Likewise.
29225 * include/stdio.h: Likewise.
29226 * include/stdlib.h: Likewise.
29227 * include/string.h: Likewise.
29228 * include/sys/cdefs.h: Likewise.
29229 * include/sys/mman.h: Likewise.
29230 * include/sys/msg.h: Likewise.
29231 * include/sys/resource.h: Likewise.
29232 * include/sys/select.h: Likewise.
29233 * include/sys/socket.h: Likewise.
29234 * include/sys/stat.h: Likewise.
29235 * include/sys/statvfs.h: Likewise.
29236 * include/sys/time.h: Likewise.
29237 * include/sys/times.h: Likewise.
29238 * include/sys/uio.h: Likewise.
29239 * include/sys/utsname.h: Likewise.
29240 * include/sys/wait.h: Likewise.
29241 * include/termios.h: Likewise.
29242 * include/time.h: Likewise.
29243 * include/ulimit.h: Likewise.
29244 * include/unistd.h: Likewise.
29245 * include/utime.h: Likewise.
29246 * include/wchar.h: Likewise.
29247 * include/wctype.h: Likewise.
29248 * include/wordexp.h: Likewise.
29249
29250 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29251
7a270350
UD
29252 * time/time.h: TIME_UTC must be a macro.
29253 Make timespec_get available for ISO C11 only as well.
29254
7724defc
UD
292552012-02-24 Ulrich Drepper <drepper@gmail.com>
29256
29257 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29258 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29259
6b1d1d46
JM
292602012-02-24 Joseph Myers <joseph@codesourcery.com>
29261
29262 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29263
0f8bbd69
JM
292642012-02-24 Joseph Myers <joseph@codesourcery.com>
29265
29266 * manual/texinfo.tex: Update to version 2012-01-19.16.
29267
66ab80bc
JM
292682012-02-24 Joseph Myers <joseph@codesourcery.com>
29269
29270 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29271
74981cc5
RM
292722012-02-24 Roland McGrath <roland@hack.frob.com>
29273
ee968201
RM
29274 [BZ #13738]
29275 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29276 * manual/fdl-1.3.texi: New file.
29277 * manual/fdl-1.1.texi: File removed.
29278
74981cc5
RM
29279 [BZ #13738]
29280 * manual/libc.texinfo (FDL_VERSION): New @set.
29281 Use it for mention of FDL in cover text.
29282 (Documentation License): Use it in @include file name.
29283
7bb764bc
JM
292842012-02-22 Joseph Myers <joseph@codesourcery.com>
29285 Roland McGrath <roland@hack.frob.com>
29286
29287 [BZ #5461]
29288 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29289 not LONG_LONG_MAX and LONG_LONG_MIN.
29290 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29291 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29292 name.
29293 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29294
6cbeae47
JM
292952012-02-22 Joseph Myers <joseph@codesourcery.com>
29296
29297 [BZ #2547]
29298 [BZ #11365]
29299 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29300 manipulate bits before adding and subtracting TWO23[sx].
29301 * math/libm-test.inc (nearbyint_test): Add more tests.
29302
fe45ce09
JM
293032012-02-22 Joseph Myers <joseph@codesourcery.com>
29304
29305 [BZ #2548]
29306 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29307 bits before adding and subtracting TWO23[sx].
29308 * math/libm-test.inc (rint_test): Add more tests.
29309 (rint_test_tonearest): Likewise.
29310 (rint_test_towardzero): Likewise.
29311 (rint_test_downward): Likewise.
29312 (rint_test_upward: Likewise.
29313
ff3b3d82
JM
293142012-02-22 Joseph Myers <joseph@codesourcery.com>
29315
29316 [BZ #10110]
29317 * include/stdc-predef.h: New file. Extracted from features.h.
29318 * include/features.h: Include stdc-predef.h.
29319 * Makefile (headers): Add stdc-predef.h.
29320 * CONFORMANCE (Compiler limitations): Update.
29321
ef0aab35
JM
293222012-02-22 Joseph Myers <joseph@codesourcery.com>
29323
29324 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29325
58639409
DM
293262012-02-21 David S. Miller <davem@davemloft.net>
29327
29328 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29329 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29330
c0e70b25
DM
293312012-02-20 David S. Miller <davem@davemloft.net>
29332
29333 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29334 using a normal save/restore sequence, rather than allocating a
29335 dummy stack frame just to store a frame pointer and restore.
29336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29337
fb06851d
JM
293382012-02-21 Joseph Myers <joseph@codesourcery.com>
29339
29340 * manual/install.texi: Fix stray word in line-wrapped comment.
29341
7a8b71c3
DM
293422012-02-20 David S. Miller <davem@davemloft.net>
29343
d510c123
DM
29344 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29345 both binutils and gcc support GOTDATA.
29346
0722d7c2
DM
29347 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29348 "rd %pc" in the PIC register setup sequences.
29349
3d2b3019
DM
29350 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29351 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29352 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29353 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29354 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29359 (SYSCALL_ERROR_HANDLER): Likewise.
29360 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29361 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29363 (SYSCALL_ERROR_HANDLER): Likewise.
29364
c80098a9
DM
29365 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29366 (HAVE_GCC_GOTDATA): New.
29367 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29368 relocation support in both binutils and gcc.
29369 * sysdeps/sparc/elf/configure: Regenerate.
29370
3a2545a0
DM
29371 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29372 * sysdeps/sparc/sparc32/elf/configure: Delete.
29373 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29374 * sysdeps/sparc/sparc64/elf/configure: Delete.
29375 * sysdeps/sparc/elf/configure.in: New file.
29376 * sysdeps/sparc/elf/configure: Generate.
29377
7a8b71c3
DM
29378 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29379 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29380 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29381 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29382 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29383
f1e86fca
JM
293842012-02-21 Joseph Myers <joseph@codesourcery.com>
29385
29386 * manual/install.texi: Do not mention specific glibc version
29387 numbers.
29388 * manual/libc.texinfo (VERSION, UPDATED): Update.
29389 (@copying): Use @copyright{} and range of years.
29390
0e7dfaef
JM
293912012-02-21 Joseph Myers <joseph@codesourcery.com>
29392
29393 [BZ #13695]
29394 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29395 [crti.S not in sysdirs] (generated): Do not append.
29396 [crti.S not in sysdirs] (omit-deps): Likewise.
29397 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29398 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29399 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29400 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29401 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29402 Likewise.
29403 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29404 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29405 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29406 * csu/defs.awk: Remove file.
29407 * sysdeps/generic/initfini.c: Likewise.
29408 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29409 variable.
29410 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29411 Likewise.
29412
599af3ca
JM
294132012-02-20 Joseph Myers <joseph@codesourcery.com>
29414
29415 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29416 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29417 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29419 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29420 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29421 <bits/epoll.h>.
29422 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29423 (__EPOLL_PACKED): Define to empty if not defined by
29424 <bits/epoll.h>.
29425 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29427 bits/epoll.h.
29428
0e499750
JM
294292012-02-20 Joseph Myers <joseph@codesourcery.com>
29430
29431 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29432 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29433 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29434 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29435 <bits/timerfd.h>.
29436 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29438 bits/timerfd.h.
29439
5ad91f6e
JM
294402012-02-20 Joseph Myers <joseph@codesourcery.com>
29441
29442 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29443 in C locale.
29444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29445 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29446 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29448
06b99b02
AJ
294492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29450
29451 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29452 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29453
7638c0fd
AS
294542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29455
29456 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29457 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29458 defined.
29459 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29460 Likewise.
29461 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29462 entry for 2.16.
29463
92221550
AJ
294642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29465
29466 * math/w_acos.c: Use non-signaling floating-point comparisons.
29467 * math/w_acosf.c: Likewise.
29468 * math/w_acosh.c: Likewise.
29469 * math/w_acoshf.c: Likewise.
29470 * math/w_acoshl.c: Likewise.
29471 * math/w_acosl.c: Likewise.
29472 * math/w_asin.c: Likewise.
29473 * math/w_asinf.c: Likewise.
29474 * math/w_asinl.c: Likewise.
29475 * math/w_atanh.c: Likewise.
29476 * math/w_atanhf.c: Likewise.
29477 * math/w_atanhl.c: Likewise.
29478 * math/w_exp2.c: Likewise.
29479 * math/w_exp2f.c: Likewise.
29480 * math/w_exp2l.c: Likewise.
29481 * math/w_j0.c: Likewise.
29482 * math/w_j0f.c: Likewise.
29483 * math/w_j0l.c: Likewise.
29484 * math/w_j1.c: Likewise.
29485 * math/w_j1f.c: Likewise.
29486 * math/w_j1l.c: Likewise.
29487 * math/w_jn.c: Likewise.
29488 * math/w_jnf.c: Likewise.
29489 * math/w_log.c: Likewise.
29490 * math/w_log10.c: Likewise.
29491 * math/w_log10f.c: Likewise.
29492 * math/w_log10l.c: Likewise.
29493 * math/w_log2.c: Likewise.
29494 * math/w_log2f.c: Likewise.
29495 * math/w_log2l.c: Likewise.
29496 * math/w_logf.c: Likewise.
29497 * math/w_logl.c: Likewise.
29498 * math/w_sqrt.c: Likewise.
29499 * math/w_sqrtf.c: Likewise.
29500 * math/w_sqrtl.c: Likewise.
29501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29502 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29503 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29504 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29505 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29506
ebaf36eb
JM
295072012-02-19 Joseph Myers <joseph@codesourcery.com>
29508
29509 [BZ #9739]
29510 * manual/string.texi (strnlen): Use correct parameter name in
29511 equivalent expression.
29512
71c254a6
JM
295132012-02-19 Joseph Myers <joseph@codesourcery.com>
29514
29515 [BZ #11174]
29516 * manual/users.texi (seteuid): Consistently use neweuid for
29517 argument name.
29518
16d2c631
JM
295192012-02-19 Joseph Myers <joseph@codesourcery.com>
29520
29521 [BZ #13704]
29522 * manual/nss.texi (Services in the NSS configuration): Correct
29523 list of services in example configuration file.
29524
cd837b09
NB
295252012-02-19 Nick Bowler <nbowler@draconx.ca>
29526
29527 [BZ #11322]
29528 * manual/arith.texi: Remove statements about negative zero
29529 behaving identically to zero.
29530
02c4bbad
JM
295312012-02-18 Joseph Myers <joseph@codesourcery.com>
29532
29533 [BZ #5993]
29534 * manual/install.texi: Do not document upgrading from libc5.
29535
366842e7
JM
295362012-02-18 Joseph Myers <joseph@codesourcery.com>
29537
29538 [BZ #4596]
29539 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29540
dd54084d
DM
295412012-02-18 David S. Miller <davem@davemloft.net>
29542
29543 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29544 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29545 %o7 across the call.
29546 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29547 instead.
29548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29549 SETUP_PIC_REG_LEAF.
29550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29551 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29552 * sysdeps/sparc/crtn.S: Likewise.
29553
2bcc53a3
UD
295542012-02-17 Ulrich Drepper <drepper@gmail.com>
29555
29556 * aout/Makefile: Remove.
29557
09c093b5
RK
295582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29559
29560 [BZ #13058]
29561 * manual/examples/argp-ex1.c (main): Format definition in GNU
29562 style.
29563 * manual/examples/argp-ex2.c (main): Likewise.
29564 * manual/examples/argp-ex3.c (main): Likewise.
29565 * manual/examples/argp-ex4.c (main): Likewise.
29566 * manual/examples/longopt.c (main): Use new-style prototype
29567 definition.
29568 * manual/examples/strncat.c (main): Specify return type and use
29569 (void) for arguments.
29570 * manual/examples/subopt.c (main): Use char **argv argument.
29571
2ee633a2
JM
295722012-02-17 Joseph Myers <joseph@codesourcery.com>
29573
29574 [BZ #5077]
29575 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29576 rounding modes.
29577
0520adde
FB
295782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29579
29580 [BZ #6907]
29581 * manual/string.texi (strchr): Change when strchrnul is
29582 recommended.
29583
3f4081cd
DGM
295842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29585
29586 [BZ #174]
29587 * manual/locale.texi (setlocale): Document LOCPATH.
29588
d1b10e78
JM
295892012-02-17 Joseph Myers <joseph@codesourcery.com>
29590
29591 [BZ #10210]
29592 * manual/process.texi (execle): Move @dots{} before last argument.
29593
79c6869c
PB
295942012-02-17 Paul Bolle <pebolle@tiscali.nl>
29595
29596 [BZ #12047]
29597 * manual/charset.texi (Generic Charset Conversion): Fix typo
29598 (LC_TYPE -> LC_CTYPE).
29599
cc6e48bc
NB
296002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29601
29602 [BZ #5805]
29603 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29604 (scalbnf): Likewise.
29605 (scalbnl): Likewise.
29606 (scalbln): Likewise.
29607 (scalblnf): Likewise.
29608 (scalblnl): Likewise.
29609 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29610 (vwarnx): Likewise.
29611 (verr): Likewise.
29612 (verrx): Likewise.
29613 * manual/filesys.texi (telldir): Use braces around return type.
29614 * manual/llio.texi (mmap): Add space after comma.
29615 (mmap64): Likewise.
29616 * manual/math.texi (jn): Use @var{} on parameter names.
29617 (jnf): Likewise.
29618 (jnl): Likewise.
29619 (yn): Likewise.
29620 (ynf): Likewise.
29621 (ynl): Likewise.
29622 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29623 line.
29624 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29625 "...".
29626 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29627 (sched_get_priority_max): Likewise.
29628 * manual/signal.texi (sigvec): Add space after comma.
29629 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29630 names.
29631 (if_indextoname): Likewise.
29632 (if_freenameindex): Likewise.
29633 (sendto): Use ',' instead of '.' in prototype.
29634 * manual/startup.texi (syscall): Use @dots{} instead of literal
29635 "...".
29636 * manual/stdio.texi (__fpending): Separate initial words of
29637 paragraph from @deftypefun line.
29638 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29639 "...".
29640 (vsyslog): Use @var{} on parameter names.
29641 * manual/terminal.texi (stty): Use @var{} on parameter names.
29642 * manual/users.texi (getutmp): Use @var{} on parameter names.
29643 (getutmpx): Likewise.
29644
5b23062f
JM
296452012-02-17 Joseph Myers <joseph@codesourcery.com>
29646
29647 [BZ #6884]
29648 * manual/stdio.texi (fopen): Fix typos in description of
29649 ",ccs=STRING".
29650
8dee4833
AJ
296512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29652
29653 [BZ #4026]
29654 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29655 get clock_id definition.
29656
9078ce93
TS
296572012-02-17 Thomas Schwinge <thomas@schwinge.name>
29658
29659 [BZ #4822]
29660 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29661 (madvise): Cast every argument to void on its own.
29662
3835c55f
JM
296632012-02-17 Joseph Myers <joseph@codesourcery.com>
29664
29665 [BZ #9902]
29666 * manual/startup.texi (Exit Status): Fix typo.
29667
35c47e37
JM
296682012-02-17 Joseph Myers <joseph@codesourcery.com>
29669
29670 [BZ #10140]
29671 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29672 * manual/examples/argp-ex2.c: Likewise.
29673 * manual/examples/argp-ex3.c: Likewise.
29674
e3b69ca7
RH
296752012-02-16 Richard Henderson <rth@redhat.com>
29676
29677 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29678 * sysdeps/s390/s390-32/initfini.c: Remove.
29679 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29680 * sysdeps/s390/s390-64/initfini.c: Remove.
29681
df83af67
KK
296822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29683
29684 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29685 compiler output for sysdeps/generic/initfini.c.
29686 * sysdeps/sh/elf/initfini.c: Remove file.
29687
f63f3380
DM
296882012-02-16 David S. Miller <davem@davemloft.net>
29689
fb59b3a4
DM
29690 [BZ #11494]
29691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29692
f63f3380
DM
29693 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29694 * sysdeps/sparc/crti.S: New file.
29695 * sysdeps/sparc/crtn.S: New file.
29696 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29697 * sysdeps/sparc/sparc64/Makefile: Likewise.
29698
df6a4a4a
MF
296992012-02-15 Mike Frysinger <vapier@gentoo.org>
29700
6dd8f3dc 29701 [BZ #3335]
df6a4a4a
MF
29702 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29703
1cac7236
RM
297042012-02-15 Roland McGrath <roland@hack.frob.com>
29705
d2c736f8
RM
29706 [BZ #4822]
29707 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29708
1cac7236
RM
29709 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29710 (write, read, close): Likewise.
29711 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29712
8e475601
JM
297132012-02-15 Joseph Myers <joseph@codesourcery.com>
29714
29715 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29716 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29717 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29718 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29719 <bits/signalfd.h>.
29720 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29722 bits/signalfd.h.
29723
ed656b40
MP
297242012-02-14 Marek Polacek <polacek@redhat.com>
29725
29726 * sysdeps/x86_64/crti.S: New file.
29727 * sysdeps/x86_64/crtn.S: New file.
29728 * sysdeps/x86_64/elf/initfini.c: Remove file.
29729
2a979d3a
JM
297302012-02-13 Joseph Myers <joseph@codesourcery.com>
29731
29732 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29733 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29734 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29735 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29736 <bits/inotify.h>.
29737 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29739 bits/inotify.h.
29740
2a418ac3
JM
297412012-02-13 Joseph Myers <joseph@codesourcery.com>
29742
29743 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29744 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29745 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29746 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29747 <bits/eventfd.h>.
29748 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29750 bits/eventfd.h.
29751
fb779be7
TS
297522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29753
e19e83c5
RM
29754 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29755 __feraiseexcept instead of feraiseexcept.
7c35ffed 29756
fb779be7
TS
29757 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29758 nanosleep invocations.
29759 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29760 strings, and add error checking for a nanosleep invocations.
29761
59ba27a6
PE
297622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29763
29764 Replace FSF snail mail address with URLs, as per GNU coding standards.
29765 Most of the snail mail addresses were wrong anyway, and omitting
29766 them makes the source code easier to maintain. Almost all of the
29767 changes are to license notices and to locale LC_IDENTIFICATION
29768 addresses, except for this one:
29769 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29770 not its snail mail address.
29771
57b957eb
RH
297722012-02-09 Richard Henderson <rth@twiddle.net>
29773
af850b1c
RH
29774 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29775 of kernel-features.h.
29776
57b957eb
RH
29777 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29778
6b73181a
MP
297792012-02-08 Marek Polacek <polacek@redhat.com>
29780
29781 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29782 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29783 * sysdeps/gnu/_G_config.h: Likewise.
29784 * sysdeps/generic/_G_config.h: Likewise.
29785
26ecc33a
AS
297862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29787
6c6dbc63
AS
29788 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29789 tests.
29790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29791
e216c012
AS
29792 * sysdeps/powerpc/powerpc32/crti.S: New file.
29793 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29794 * sysdeps/powerpc/powerpc64/crti.S: New file.
29795 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29796
26ecc33a
AS
29797 * Makeconfig (have-initfini): Don't set.
29798 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29799 * configure.in (nopic_initfini): Don't substitute.
29800 * config.h.in (HAVE_INITFINI): Don't #undef.
29801 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29802 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29803
3add8e13
JM
298042012-02-08 Joseph Myers <joseph@codesourcery.com>
29805
29806 Support crti.S and crtn.S provided directly by architectures.
29807 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29808 [crti.S in sysdirs] (omit-deps): Likewise.
29809 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29810 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29811 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29812 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29813 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29814 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29815 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29816 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29817 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29818 compiler output for sysdeps/generic/initfini.c.
29819 * sysdeps/i386/elf/Makefile: Remove file.
29820 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29821
a22f12b4
MP
298222012-02-07 Marek Polacek <polacek@redhat.com>
29823
29824 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29825 * sysdeps/gnu/_G_config.h: Likewise.
29826 * sysdeps/mach/hurd/_G_config.h: Likewise.
29827
148cf100
MP
298282012-02-07 Marek Polacek <polacek@redhat.com>
29829
29830 * math/Makefile (tests): Add tst-CMPLX2.
29831 * math/tst-CMPLX2.c: New file.
29832
cfdc0dd7
AS
298332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29834
84ba42c4
AS
29835 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29836
cfdc0dd7
AS
29837 * math/libm-test.inc (jn_test): Add missing L suffix.
29838
622c86f4
MP
298392012-02-06 Marek Polacek <polacek@redhat.com>
29840
29841 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29842 * sysdeps/i386/fpu/e_powf.S: Likewise.
29843 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29844 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29845 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29846 * sysdeps/i386/fpu/e_pow.S: Likewise.
29847 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29848 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29849 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29850 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29851 * sysdeps/i386/fpu/e_log2.S: Likewise.
29852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29853 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29854 * sysdeps/i386/fpu/e_powl.S: Likewise.
29855 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29856 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29857 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29858 * sysdeps/i386/fpu/e_logl.S: Likewise.
29859 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29860 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29861 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29862 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29863 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29865 * sysdeps/i386/fpu/e_log.S: Likewise.
29866 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29867 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29868 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29869 * sysdeps/i386/fpu/e_logf.S: Likewise.
29870 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29871 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29872 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29873 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29874 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29875 * sysdeps/i386/fpu/e_log10.S: Likewise.
29876 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29877 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29878 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29879 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29880 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29881 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29882 * sysdeps/i386/asm-syntax.h: Likewise.
29883 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29884 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29885 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29886 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29887 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29888 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29889 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29890 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29891 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29892 * sysdeps/powerpc/sysdep.h: Likewise.
29893 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29895
d4a54ac6
JM
298962012-02-06 Joseph Myers <joseph@codesourcery.com>
29897
29898 [BZ #411]
29899 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29900
314054ea
JM
299012012-02-06 Joseph Myers <joseph@codesourcery.com>
29902
29903 * sysdeps/i386/sysdep.h: Include <features.h>.
29904 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29905 version.
29906
d8e0ca50
JM
299072012-02-05 Joseph Myers <joseph@codesourcery.com>
29908
29909 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29910 Define.
29911 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29912 LOAD_PIC_REG_STR.
29913
b1da7dd9
JM
299142012-02-03 Joseph Myers <joseph@codesourcery.com>
29915
29916 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29917 (SETUP_PIC_REG): Use GET_PC_THUNK.
29918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29919 macro.
29920
9a1d9254
JM
299212012-02-03 Joseph Myers <joseph@codesourcery.com>
29922
29923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29924 for non-PIC compilation.
29925 (SETUP_PIC_REG): Add .p2align directive.
29926 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29927 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29928 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29929 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29931 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29932 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29933 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29934 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29935 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29936 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29937 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29938 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29939 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29940 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29941 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29942 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29943 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29944 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29945 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29946 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29947 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29948 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29949 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29952 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29954 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29955 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29956 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29957 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29958 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29959 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29960 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29961 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29962 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29963 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29964 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29965 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29966 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29967
65dc3b75
JM
299682012-02-03 Joseph Myers <joseph@codesourcery.com>
29969
29970 * math/tst-CMPLX.c: Include <stdio.h>.
29971
d55bf177
JM
299722012-01-31 Joseph Myers <joseph@codesourcery.com>
29973
29974 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29975 float.
29976 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29977 * sysdeps/sparc/bits/mathdef.h: Likewise.
29978
69db4f8f
MP
299792012-01-31 Marek Polacek <polacek@redhat.com>
29980
29981 * libio/libio.h: Don't define _PARAMS.
29982 * locale/programs/config.h: Don't define PARAMS.
29983 * stdlib/strtol_l.c: Likewise.
29984 (__strtol_l): Remove PARAMS from the prototype.
29985
41b81892
UD
299862012-01-31 Ulrich Drepper <drepper@gmail.com>
29987
3b49edc0
UD
29988 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29989 names. Just use the correct names. Remove unnecessary wrapper
29990 functions.
29991 * malloc/arena.c: Likewise.
29992 * malloc/hooks.c: Likewise.
29993
41b81892
UD
29994 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29995 ARENA_TEST says not to. Simplify test for creation of a new arena.
29996 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29997
27a25b6e
UD
299982012-01-30 Ulrich Drepper <drepper@gmail.com>
29999
30000 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30001 into tail calls.
30002 (update_get_addr): New function.
30003 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30004 GET_ADDR_MODULE parameter.
30005
c8a89e7d
JM
300062012-01-30 Joseph Myers <joseph@codesourcery.com>
30007
30008 * crypt/cert.c: Remove __STDC__ conditionals.
30009 * crypt/crypt-entry.c: Likewise.
30010 * crypt/crypt_util.c: Likewise.
30011 * libio/filedoalloc.c: Likewise.
30012 * libio/fileops.c: Likewise.
30013 * libio/genops.c: Likewise.
30014 * libio/iofclose.c: Likewise.
30015 * libio/iofdopen.c: Likewise.
30016 * libio/iofopen.c: Likewise.
30017 * libio/iofopen64.c: Likewise.
30018 * libio/iogetdelim.c: Likewise.
30019 * libio/iopopen.c: Likewise.
30020 * libio/obprintf.c: Likewise.
30021 * libio/oldfileops.c: Likewise.
30022 * libio/oldiofclose.c: Likewise.
30023 * libio/oldiofdopen.c: Likewise.
30024 * libio/oldiofopen.c: Likewise.
30025 * libio/oldiopopen.c: Likewise.
30026 * libio/wfiledoalloc.c: Likewise.
30027 * libio/wgenops.c: Likewise.
30028 * locale/programs/xmalloc.c: Likewise.
30029 * misc/syslog.c: Likewise.
30030 * stdio-common/xbug.c: Likewise.
30031 * string/memchr.c: Likewise.
30032 * string/memcmp.c: Likewise.
30033 * string/memrchr.c: Likewise.
30034 * string/rawmemchr.c: Likewise.
30035 * sysdeps/posix/getcwd.c: Likewise.
30036 * time/strftime_l.c: Likewise.
30037
3b100462
JM
300382012-01-30 Joseph Myers <joseph@codesourcery.com>
30039
30040 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30041 * config.make.in (config-cflags-sse2avx): Define.
30042 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30043 Fix typo.
30044
607998af
CM
300452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30046
30047 * scripts/config.guess: Update from upstream config git repository.
30048 * scripts/config.sub: Likewise.
30049
3601428f
CM
300502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30051
3ac8b282
CM
30052 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30053 (EM_NUM): Update.
30054 (R_TILEPRO_*, R_TILEGX_*): New macros.
30055
e034841e
CM
30056 * scripts/firstversions.awk: Fix bug in version range handling.
30057
540d7568
CM
30058 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30059
3601428f
CM
30060 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30061
463de862
CM
30062 * include/sys/epoll.h: New file.
30063 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30064 libc_hidden_def.
30065
73139a76
UD
300662012-01-28 Ulrich Drepper <drepper@gmail.com>
30067
96bc5b45
UD
30068 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30069 Avoid unnecessary __WORDSIZE == 64 test.
30070 (fmaxf): Use VEX format if possible.
30071 (fmax): Likewise.
30072 (fminf): Likewise.
30073 (fmin): Likewise.
30074
56f6f6a2
UD
30075 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30076 * math/math_private.h: Remove libc_fegetround* and
30077 libc_fesetround*.
30078 * sysdeps/i386/configure.in: Check for -msse2avx.
30079 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30080 also if SSE2AVX is defined.
30081 Remove libc_fegetround* and libc_fesetround*.
30082 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30083 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30085 of HAS_YMM_USABLE.
30086 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30087 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30088 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30089 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30091
73139a76
UD
30092 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30093
d73f93a4
AZ
300942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30095
30096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30097 size is not set.
30098 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30099
6ee65ed6
UD
301002012-01-27 Ulrich Drepper <drepper@gmail.com>
30101
30102 [BZ #13618]
30103 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30104 relocation.
30105 * Makeconfig (libm): Define.
30106 * elf/Makefile: Add rules to build and run tst-relsort1.
30107 * elf/tst-relsort1.c: New file.
30108 * elf/tst-relsort1mod1.c: New file.
30109 * elf/tst-relsort1mod2.c: New file.
30110
8db21882
JM
301112012-01-27 Joseph Myers <joseph@codesourcery.com>
30112
30113 * math/s_ldexp.c: Remove __STDC__ conditionals.
30114 * math/s_ldexpf.c: Likewise.
30115 * math/s_ldexpl.c: Likewise.
30116 * math/s_nextafter.c: Likewise.
30117 * math/s_nexttowardf.c: Likewise.
30118 * math/s_significand.c: Likewise.
30119 * math/s_significandf.c: Likewise.
30120 * math/s_significandl.c: Likewise.
30121 * math/w_jnl.c: Likewise.
30122 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30123 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30124 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30125 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30126 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30127 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30128 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30129 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30130 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30134 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30136 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30137 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30138 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30141 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30142 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30144 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30146 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30147 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30148 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30149 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30150 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30151 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30152 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30153 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30154 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30155 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30156 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30157 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30158 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30159 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30160 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30161 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30162 * sysdeps/ieee754/k_standard.c: Likewise.
30163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30164 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30165 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30166 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30168 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30170 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30171 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30172 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30173 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30174 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30175 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30176 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30177 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30179 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30181 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30182 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30183 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30184 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30185 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30186 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30187 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30188 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30192 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30194 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30195 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30198 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30199 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30202 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30203 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30205 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30206 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30207 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30208 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30209 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30211 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30212 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30213 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30217 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30218 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30219 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30220 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30222 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30230 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30231 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30233 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30234 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30235 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30236 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30237 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30238 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30239 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30240 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30242 * sysdeps/ieee754/s_matherr.c: Likewise.
30243 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30244 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30247
965a54a4
JM
302482012-01-26 Joseph Myers <joseph@codesourcery.com>
30249
30250 * crypt/md5.h: Remove __STDC__ conditionals.
30251 * libio/libioP.h: Likewise.
30252 * locale/programs/config.h: Likewise.
30253 * sysdeps/generic/sysdep.h: Likewise.
30254 * sysdeps/i386/asm-syntax.h: Likewise.
30255 * sysdeps/s390/asm-syntax.h: Likewise.
30256 * sysdeps/unix/sysdep.h: Likewise.
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30259
7071ad79
JM
302602012-01-26 Joseph Myers <joseph@codesourcery.com>
30261
30262 * libio/libio.h: Remove __STDC__ conditionals.
30263 * malloc/obstack.h: Likewise.
30264 * math/complex.h: Likewise.
30265 * math/math.h: Likewise.
30266 * sysdeps/generic/_G_config.h: Likewise.
30267 * sysdeps/gnu/_G_config.h: Likewise.
30268 * sysdeps/mach/hurd/_G_config.h: Likewise.
30269 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30270 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30271 * sysdeps/sparc/bits/mathdef.h: Likewise.
30272
afc5ed09
UD
302732012-01-26 Ulrich Drepper <drepper@gmail.com>
30274
30275 [BZ #13583]
30276 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30277 Clean up HAS_* macros.
afc5ed09 30278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30279 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30280 possible.
30281 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30282 HAS_AVX.
30283 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30284 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30285 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30286 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30287 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30288
bdb6de1d
JM
302892012-01-25 Joseph Myers <joseph@codesourcery.com>
30290
30291 * elf/tst-unique3.cc (gets): Remove declaration.
30292 * elf/tst-unique3lib.cc (gets): Likewise.
30293 * elf/tst-unique3lib2.cc (gets): Likewise.
30294 * elf/tst-unique4.cc (gets): Likewise.
30295
b15549e6
UD
302962012-01-24 Ulrich Drepper <drepper@gmail.com>
30297
30298 * include/stdio.h: Add C++ protection. Add gets declarations and
30299 definitions.
30300 * debug/tst-chk1.c: Don't declare gets here.
30301 * stdio-common/tst-gets.c: Likewise.
30302
a037381f
JM
303032012-01-24 Joseph Myers <joseph@codesourcery.com>
30304
30305 * posix/glob: Remove directory.
30306
f1d4aa75
JM
303072012-01-24 Joseph Myers <joseph@codesourcery.com>
30308
30309 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30310
81c0c964
PT
303112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30312
30313 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30314 of the non-standard EPFNOSUPPORT.
30315
0ea698ae
ST
303162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30317
30318 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30319 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30320 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30321
d220b117
UD
303222012-01-21 Ulrich Drepper <drepper@gmail.com>
30323
30324 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30325
3e1aa84e
UD
303262012-01-20 Ulrich Drepper <drepper@gmail.com>
30327
30328 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30329 transient errors.
30330 * nscd/grpcache.c (cache_addgr): Likewise.
30331 * nscd/hstcache.c (cache_addhst): Likewise.
30332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30333 * nscd/pwdcache.c (cache_addpw): Likewise.
30334 * nscd/servicescache.c (cache_addserv): Likewise.
30335
400aa020
UD
303362012-01-16 Ulrich Drepper <drepper@gmail.com>
30337
d77e7869
UD
30338 * malloc/malloc.c: Various cleanups.
30339 * malloc/hooks.c: Likewise.
30340
400aa020
UD
30341 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30342 * stdlib/bug-fmtmsg1.c: New file.
30343
30344 * stdlib/fmtmsg.c (init): Add missing unlock.
30345 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30346
e0a309cf
MP
303472012-01-12 Marek Polacek <polacek@redhat.com>
30348
30349 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30350 and _GNU_SOURCE.
30351
929d11c7
WS
303522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30353
30354 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30355 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30356 macro to ensure uniqueness of label name.
30357 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30358 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30359
41d0e869
UD
303602012-01-11 Ulrich Drepper <drepper@gmail.com>
30361
0cc5ed3b
UD
30362 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30363
41d0e869
UD
30364 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30365 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30366 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30367 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30368
a47a831a
UD
303692012-01-10 Ulrich Drepper <drepper@gmail.com>
30370
daa891c0
UD
30371 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30372
30373 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30374 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30375 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30376
e58ef0f2
UD
30377 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30378
a47a831a 30379 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30380 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30381 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30383
30384 * math/bits/math-finite.h: Add ldexp support.
30385
a0bfc9c7
MP
303862012-01-10 Marek Polacek <polacek@redhat.com>
30387
30388 * locale/programs/localedef.h (show_archive_content): Add noreturn
30389 attribute.
30390
d6e97a1d
UD
303912012-01-09 Ulrich Drepper <drepper@gmail.com>
30392
30393 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30394
d5835c26
UD
303952012-01-08 Ulrich Drepper <drepper@gmail.com>
30396
e5f484c6
UD
30397 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30398
d5835c26
UD
30399 * io/Makefile (headers): Add bits/poll2.h.
30400
d1f741e9
WS
304012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30402
30403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30404 typo #include statement.
30405
ec09c1c4
UD
304062012-01-08 Ulrich Drepper <drepper@gmail.com>
30407
30408 * include/sys/cdefs.h: Define __attribute_alloc_size.
30409 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30410 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30411 * elf/pldd.c: Likewise.
30412 * iconv/iconv_charmap.c: Likewise.
30413 * iconv/iconvconfig.c: Likewise.
30414 * iconv/strtab.c: Likewise.
30415 * locale/programs/locale.c: Likewise.
30416 * locale/programs/localedef.h: Likewise.
30417 * locale/programs/simple-hash.c: Likewise.
30418 * nscd/nscd.h: Likewise.
30419 * nss/makedb.c: Likewise.
30420 * sysdeps/generic/ldconfig.h: Likewise.
30421 * locale/programs/localedef.c: Remove xmalloc prototype.
30422 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30423
20b38e03
PP
304242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30425
30426 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30427 appropriate.
30428
a0da5fe1
UD
304292012-01-08 Ulrich Drepper <drepper@gmail.com>
30430
1d5a644a 30431 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30432 * math/tst-CMPLX.c: New file.
1d5a644a 30433
8784a6db
UD
30434 * math/complex.h (CMPLXL): Fix typo.
30435
d9a216c0
UD
30436 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30437 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30438 GLIBC_2.16.
30439 * debug/tst-chk1.c: Add poll and ppoll tests.
30440 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30441 * include/sys/poll.h: Add hidden proto for ppoll.
30442 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30443 * sysdeps/mach/hurd/ppoll.c: Likewise.
30444 * io/ppoll.c: Likewise.
30445 * debug/poll_chk.c: New file.
30446 * debug/ppoll_chk.c: New file.
30447 * include/bits/poll2.h: New file.
30448 * io/bits/poll2.h: New file.
30449
ac097f5c
UD
30450 [BZ #1350]
30451 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30452
2119dcfa
UD
30453 * configure.in: static is always set to yes. Remove.
30454 * config.make.in: Don't set build-static.
30455 * Makeconfig: Remove use of build-static.
30456 * dlfcn/Makefile: Likewise.
30457 * elf/Makefile: Likewise.
30458 * math/Makefile: Likewise.
30459 * misc/Makefile: Likewise.
30460 * nptl/Makefile: Likewise.
30461 * sysdeps/mach/hurd/Makefile: Likewise.
30462
121766a9
UD
30463 * configure.in: PWD_P is not used anymore.
30464 * config.make.in: Remove PWD_P entry.
30465
51a1d39c 30466 * configure.in: Remove last remnants of RANLIB.
8720d066 30467 No need to check for signed size_t anymore.
215f4bdc
UD
30468 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30469 and IA-64.
3857022a 30470 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30471 * aclocal.m4: Likewise.
30472
d3ed7225
UD
30473 * wcsmbs/mbrtoc16.c: Implement using towc function.
30474 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30475 * wcsmbs/wcsmbsload.c: Likewise.
30476 * iconv/gconv_simple.c: Likewise.
30477 * iconv/gconv_int.h: Likewise.
30478 * iconv/gconv_builtin.h: Likewise.
30479 * iconv/iconv_prog.c: Remove CHAR16 handling.
30480
30481 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30482
30483 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30484
a0da5fe1
UD
30485 * configure.in: Remove --with-elf and --enable-bounded options.
30486 Dont set base_machine for ia64. More non-ELF conditions removed.
30487 Remove testing and setting of leading underscore information.
30488 * config.make.in (build-bounded): Set to no.
30489 * config.h.in: Remove NO_UNDERSCORES entry.
30490 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30491 them.
30492 * csu/start.c: Remove !NO_UNDERSCORE code.
30493 * locale/localeinfo.h: Likewise.
30494 * sysdeps/generic/machine-gmon.h: Likewise.
30495 * sysdeps/generic/sysdep.h: Likewise.
30496 * sysdeps/i386/sysdep.h: Likewise.
30497 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30498 * sysdeps/mach/sysdep.h: Likewise.
30499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30500 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30501 * sysdeps/sh/sysdep.h: Likewise.
30502 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30503 * sysdeps/unix/i386/sysdep.S: Likewise.
30504 * sysdeps/unix/sparc/start.c: Likewise.
30505 * sysdeps/unix/sparc/sysdep.S: Likewise.
30506 * sysdeps/unix/sparc/sysdep.h: Likewise.
30507 * sysdeps/unix/start.c: Likewise.
30508 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30509 * sysdeps/x86_64/sysdep.h: Likewise.
30510
df78418a
UD
305112012-01-07 Ulrich Drepper <drepper@gmail.com>
30512
a784e502
UD
30513 [BZ #13553]
30514 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30515 for non-gcc.
30516 * argp/argp-fmtstream.h: Use const instead __const.
30517 * argp/argp.h: Likewise.
30518 * assert/assert.h: Likewise.
30519 * bits/fenv.h: Likewise.
30520 * bits/sched.h: Likewise.
30521 * bits/sigset.h: Likewise.
30522 * bits/sigthread.h: Likewise.
30523 * catgets/nl_types.h: Likewise.
30524 * conform/data/pthread.h-data: Likewise.
30525 * crypt/crypt-private.h: Likewise.
30526 * crypt/crypt.h: Likewise.
30527 * crypt/crypt_util.c: Likewise.
30528 * ctype/ctype.h: Likewise.
30529 * debug/execinfo.h: Likewise.
30530 * debug/mbsnrtowcs_chk.c: Likewise.
30531 * debug/mbsrtowcs_chk.c: Likewise.
30532 * debug/wcsnrtombs_chk.c: Likewise.
30533 * debug/wcsrtombs_chk.c: Likewise.
30534 * debug/wcstombs_chk.c: Likewise.
30535 * dirent/dirent.h: Likewise.
30536 * dlfcn/dlfcn.h: Likewise.
30537 * elf/neededtest4.c: Likewise.
30538 * grp/grp.h: Likewise.
30539 * gshadow/gshadow.h: Likewise.
30540 * iconv/gconv.h: Likewise.
30541 * iconv/gconv_int.h: Likewise.
30542 * iconv/gconv_simple.c: Likewise.
30543 * iconv/iconv.h: Likewise.
30544 * iconv/loop.c: Likewise.
30545 * iconv/skeleton.c: Likewise.
30546 * include/aio.h: Likewise.
30547 * include/aliases.h: Likewise.
30548 * include/argz.h: Likewise.
30549 * include/arpa/inet.h: Likewise.
30550 * include/assert.h: Likewise.
30551 * include/dirent.h: Likewise.
30552 * include/dlfcn.h: Likewise.
30553 * include/execinfo.h: Likewise.
30554 * include/fcntl.h: Likewise.
30555 * include/fenv.h: Likewise.
30556 * include/glob.h: Likewise.
30557 * include/grp.h: Likewise.
30558 * include/libintl.h: Likewise.
30559 * include/mntent.h: Likewise.
30560 * include/netdb.h: Likewise.
30561 * include/pwd.h: Likewise.
30562 * include/rpc/netdb.h: Likewise.
30563 * include/sched.h: Likewise.
30564 * include/search.h: Likewise.
30565 * include/shadow.h: Likewise.
30566 * include/signal.h: Likewise.
30567 * include/stdio.h: Likewise.
30568 * include/stdlib.h: Likewise.
30569 * include/string.h: Likewise.
30570 * include/sys/socket.h: Likewise.
30571 * include/sys/stat.h: Likewise.
30572 * include/sys/statfs.h: Likewise.
30573 * include/sys/statvfs.h: Likewise.
30574 * include/sys/syslog.h: Likewise.
30575 * include/sys/time.h: Likewise.
30576 * include/sys/uio.h: Likewise.
30577 * include/time.h: Likewise.
30578 * include/unistd.h: Likewise.
30579 * include/utmp.h: Likewise.
30580 * include/wchar.h: Likewise.
30581 * include/wctype.h: Likewise.
30582 * inet/aliases.h: Likewise.
30583 * inet/arpa/inet.h: Likewise.
30584 * inet/netinet/ether.h: Likewise.
30585 * inet/netinet/in.h: Likewise.
30586 * intl/libintl.h: Likewise.
30587 * io/bits/fcntl2.h: Likewise.
30588 * io/fcntl.h: Likewise.
30589 * io/ftw.h: Likewise.
30590 * io/sys/poll.h: Likewise.
30591 * io/sys/stat.h: Likewise.
30592 * io/sys/statfs.h: Likewise.
30593 * io/sys/statvfs.h: Likewise.
30594 * io/utime.h: Likewise.
30595 * libio/bits/stdio.h: Likewise.
30596 * libio/bits/stdio2.h: Likewise.
30597 * libio/libio.h: Likewise.
30598 * libio/libioP.h: Likewise.
30599 * libio/stdio.h: Likewise.
30600 * locale/lc-ctype.c: Likewise.
30601 * locale/locale.h: Likewise.
30602 * login/utmp.h: Likewise.
30603 * malloc/arena.c: Likewise.
30604 * malloc/malloc.c: Likewise.
30605 * malloc/malloc.h: Likewise.
30606 * malloc/mcheck.c: Likewise.
30607 * malloc/mtrace.c: Likewise.
30608 * math/bits/mathcalls.h: Likewise.
30609 * math/fenv.h: Likewise.
30610 * math/math_private.h: Likewise.
30611 * misc/bits/error.h: Likewise.
30612 * misc/bits/syslog.h: Likewise.
30613 * misc/err.h: Likewise.
30614 * misc/error.h: Likewise.
30615 * misc/fstab.h: Likewise.
30616 * misc/mntent.h: Likewise.
30617 * misc/regexp.h: Likewise.
30618 * misc/search.h: Likewise.
30619 * misc/sgtty.h: Likewise.
30620 * misc/sys/mman.h: Likewise.
30621 * misc/sys/syslog.h: Likewise.
30622 * misc/sys/uio.h: Likewise.
30623 * misc/sys/xattr.h: Likewise.
30624 * misc/ttyent.h: Likewise.
30625 * nis/rpcsvc/ypclnt.h: Likewise.
30626 * nss/nss.h: Likewise.
30627 * posix/bits/unistd.h: Likewise.
30628 * posix/fnmatch.h: Likewise.
30629 * posix/glob.h: Likewise.
30630 * posix/sched.h: Likewise.
30631 * posix/spawn.h: Likewise.
30632 * posix/sys/wait.h: Likewise.
30633 * posix/unistd.h: Likewise.
30634 * posix/wordexp.h: Likewise.
30635 * pwd/pwd.h: Likewise.
30636 * resolv/netdb.h: Likewise.
30637 * resource/sys/resource.h: Likewise.
30638 * rt/aio.h: Likewise.
30639 * rt/bits/mqueue2.h: Likewise.
30640 * rt/mqueue.h: Likewise.
30641 * shadow/shadow.h: Likewise.
30642 * signal/signal.h: Likewise.
30643 * socket/send.c: Likewise.
30644 * socket/sendto.c: Likewise.
30645 * socket/sys/socket.h: Likewise.
30646 * stdio-common/printf.h: Likewise.
30647 * stdlib/bits/stdlib.h: Likewise.
30648 * stdlib/fmtmsg.h: Likewise.
30649 * stdlib/monetary.h: Likewise.
30650 * stdlib/stdlib.h: Likewise.
30651 * stdlib/ucontext.h: Likewise.
30652 * streams/stropts.h: Likewise.
30653 * string/argz.h: Likewise.
30654 * string/bits/string2.h: Likewise.
30655 * string/string.h: Likewise.
30656 * string/strings.h: Likewise.
30657 * sunrpc/rpc/auth.h: Likewise.
30658 * sunrpc/rpc/auth_des.h: Likewise.
30659 * sunrpc/rpc/clnt.h: Likewise.
30660 * sunrpc/rpc/netdb.h: Likewise.
30661 * sunrpc/rpc/pmap_clnt.h: Likewise.
30662 * sunrpc/rpc/xdr.h: Likewise.
30663 * sysdeps/generic/inttypes.h: Likewise.
30664 * sysdeps/generic/net/if.h: Likewise.
30665 * sysdeps/generic/sys/swap.h: Likewise.
30666 * sysdeps/gnu/net/if.h: Likewise.
30667 * sysdeps/gnu/utmpx.h: Likewise.
30668 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30669 * sysdeps/i386/i486/bits/string.h: Likewise.
30670 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30671 * sysdeps/s390/bits/string.h: Likewise.
30672 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30673 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30674 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30675 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30676 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30677 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30678 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30679 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30680 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30681 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30682 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30683 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30684 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30685 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30686 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30687 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30688 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30690 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30692 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30694 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30695 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30696 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30697 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30698 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30699 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30700 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30701 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30702 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30703 * sysvipc/sys/ipc.h: Likewise.
30704 * sysvipc/sys/msg.h: Likewise.
30705 * sysvipc/sys/sem.h: Likewise.
30706 * sysvipc/sys/shm.h: Likewise.
30707 * termios/termios.h: Likewise.
30708 * time/sys/time.h: Likewise.
30709 * time/time.h: Likewise.
30710 * wcsmbs/bits/wchar2.h: Likewise.
30711 * wcsmbs/uchar.h: Likewise.
30712 * wcsmbs/wchar.h: Likewise.
30713 * wctype/wctype.h: Likewise.
30714
0269750c
UD
30715 [BZ #13551]
30716 * Makeconfig: Remove all but ELF support including AIX support.
30717 * Makerules: Likewise.
30718 * config.h.in: Likewise.
30719 * config.make.in: Likewise.
30720 * configure: Likewise.
30721 * configure.in: Likewise.
30722 * csu/Makefile: Likewise.
30723 * csu/version.c: Likewise.
30724 * debug/Makefile: Likewise.
30725 * dlfcn/Makefile: Likewise.
30726 * elf/Makefile: Likewise.
30727 * extra-lib.mk: Likewise.
30728 * iconv/Makefile: Likewise.
30729 * include/libc-symbols.h: Likewise.
30730 * include/shlib-compat.h: Likewise.
30731 * resolv/Makefile: Likewise.
30732 * resolv/res_libc.c: Likewise.
30733 * rt/Makefile: Likewise.
30734 * sysdeps/i386/asm-syntax.h: Likewise.
30735 * sysdeps/i386/sysdep.h: Likewise.
30736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30737 * sysdeps/mach/sysdep.h: Likewise.
30738 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30739 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30740 * sysdeps/s390/asm-syntax.h: Likewise.
30741 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30743 * sysdeps/sh/sysdep.h: Likewise.
30744 * sysdeps/unix/sparc/sysdep.h: Likewise.
30745 * sysdeps/wordsize-32/divdi3.c: Likewise.
30746 * sysdeps/x86_64/sysdep.h: Likewise.
30747
00bbd29b
UD
30748 * argp/Versions: Remove _argp_unlock_xxx.
30749
30750 [BZ #13559]
30751 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30752 * abilist/libBrokenLocale.abilist: Likewise.
30753 * abilist/libanl.abilist: Likewise.
30754 * abilist/libc.abilist: Likewise.
30755 * abilist/libcrypt.abilist: Likewise.
30756 * abilist/libdl.abilist: Likewise.
30757 * abilist/libm.abilist: Likewise.
30758 * abilist/libnsl.abilist: Likewise.
30759 * abilist/libpthread.abilist: Likewise.
30760 * abilist/libresolv.abilist: Likewise.
30761 * abilist/librt.abilist: Likewise.
30762 * abilist/libthread_db.abilist: Likewise.
30763 * abilist/libutil.abilist: Likewise.
30764 * abilist/libnss_db.abilist: New file.
30765
30766 * scripts/abilist.awk: Add support for indirect functions.
30767
a2693a0e
UD
30768 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30769
3f05895f
UD
30770 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30771
ecb6fb48
UD
30772 * shlib-versions: Remove entries for ports architectures.
30773
664f8cb9
UD
30774 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30775 files in ports.
30776 * elf/stackguard-macros.h: Remove support for IA-64.
30777 * elf/tst-auditmod1.c: Likewise.
30778 * sysdeps/generic/ldsodefs.h: Likewise.
30779
7ae81d88
UD
30780 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30781 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30782 configure files.
30783
bdeba135
UD
30784 [BZ #13552]
30785 * configure.in: Remove --enable-omitfp support.
30786 * FAQ.in: Adjust.
30787 * config.make.in: Likewise.
30788 * Makeconfig: Likewise.
30789 * manual/install.texi: Likewise.
30790
d75a0a62
UD
30791 In case anyone cares, the IA-64 architecture could move to ports.
30792 * sysdeps/ia64/*: Removed.
30793 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30794 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30795
dcc9756b
UD
30796 [BZ #13555]
30797 * configure.in: Remove entries for unsupported architectures.
30798
d3761ebc 30799 [BZ #13533]
9954432e
UD
30800 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30801 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30802 routines.
30803 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30804 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30805 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30806 fall back to using wcrtomb.
30807 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30808 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30809 renaming.
30810 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30811 * wcsmbs/tst-c16c32-1.c: New file.
30812
30813 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30814 local variable.
30815
c3a87236
UD
30816 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30817
28926a1b
UD
30818 * elf/tst-unique3.cc: Add explicit declaration of gets.
30819 * elf/tst-unique3lib.cc: Likewise.
30820 * elf/tst-unique3lib2.cc: Likewise.
30821 * elf/tst-unique4.cc: Likewise.
30822
df78418a
UD
30823 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30824
8ecd6b2a
JM
308252012-01-06 Joseph Myers <joseph@codesourcery.com>
30826
30827 [BZ #13566]
30828 * assert/assert.h (static_assert): Don't define for C++.
30829 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30830 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30831
9f115170
UD
308322012-01-03 Ulrich Drepper <drepper@gmail.com>
30833
5e0d0300
UD
30834 * iconv/loop.c (single loop): Fix assertion in storing of
30835 remaining bytes.
30836
9f115170
UD
30837 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30838
81fb02b0
UD
308392012-01-01 Ulrich Drepper <drepper@gmail.com>
30840
30841 * posix/getconf.c: Update copyright year.
30842 * nss/getent.c: Likewise.
a316c1f6 30843 * nss/makedb.c: Likewise.
81fb02b0
UD
30844 * iconv/iconvconfig.c: Likewise.
30845 * iconv/iconv_prog.c: Likewise.
30846 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30847 * elf/pldd.c: Likewise.
30848 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30849 * catgets/gencat.c: Likewise.
30850 * csu/version.c: Likewise.
30851 * elf/ldd.bash.in: Likewise.
30852 * elf/sprof.c (print_version): Likewise.
30853 * locale/programs/locale.c: Likewise.
30854 * locale/programs/localedef.c: Likewise.
a316c1f6 30855 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30856 * nscd/nscd.c (print_version): Likewise.
30857 * debug/xtrace.sh: Likewise.
30858 * malloc/memusage.sh: Likewise.
30859 * malloc/mtrace.pl: Likewise.
30860 * debug/catchsegv.sh: Likewise.
30861
2ba92745
JJ
308622011-12-30 Jakub Jelinek <jakub@redhat.com>
30863
30864 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30865 pure attribute.
30866
dadebdae
UD
308672011-12-24 Ulrich Drepper <drepper@gmail.com>
30868
d3761ebc 30869 [BZ #13533]
db6af3eb
UD
30870 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30871 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30872 transformations.
30873 * iconv/gconv_int.h: Likewise.
30874 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30875 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30876 from libc for GLIBC_2.16.
30877 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30878 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30879 * wcsmbs/uchar.h: Really define mbstate_t.
30880 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30881 * wcsmbs/c16rtomb.c: New file.
30882 * wcsmbs/mbrtoc16.c: New file.
30883 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30884 for C/POSIX locale.
30885 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30886 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30887
dadebdae
UD
30888 * wcsmbs/wchar.h: Add missing __restrict.
30889
67371b56
UD
308902011-12-23 Ulrich Drepper <drepper@gmail.com>
30891
74033a25
UD
30892 [BZ #13532]
30893 * time/Makefile (routines): Add timespec_get.
30894 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30895 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30896 timespec for ISO C11.
30897 * time/timespec_get.c: New file.
30898 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30899 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30900
380d7e87
UD
30901 [BZ #13531]
30902 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30903 * stdlib/stdlib.h: Declare aligned_alloc.
30904 * Versions.def: Add GLIBC_2.16 for libc.
30905 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30906
4e9e7a35
UD
30907 [BZ 13527]
30908 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30909 ISO C11.
30910
380d7e87 30911 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30912 code.
30913
03a71829
UD
30914 [BZ #13528]
30915 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30916
839e283e
UD
30917 [BZ #13529]
30918 * assert/assert.h (static_assert): Define.
30919
ce5294e2 30920 * version.h: Update for 2.16 development version.
90fa7312 30921
8d44e150 30922 [BZ #13526]
d7809905
UD
30923 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30924 _ISOC11_SOURCE.
30925
c0da14cd
UD
30926 * version.h (RELEASE): Bump for 2.15 release.
30927 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30928
530a3249
MP
30929 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30930 Patch by Marek Polacek <mpolacek@redhat.com>.
30931
67371b56
UD
30932 * bits/byteswap.h: Protect long long constants with __extension__.
30933 * sysdeps/i386/bits/byteswap.h: Likewise.
30934 * sysdeps/ia64/bits/byteswap.h: Likewise.
30935 * sysdeps/s390/bits/byteswap.h: Likewise.
30936 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30937
15db4de1
LD
309382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30939
30940 [BZ #13540]
bbe315ea
LD
30941 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30942 destination buffer.
15db4de1
LD
30943 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30944
2b2596b1
MP
309452011-12-23 Marek Polacek <polacek@redhat.com>
30946
30947 * elf/dl-addr.c (determine_info): Add inline keyword.
30948 * elf/tst-auditmod4b.c (check_avx): Likewise.
30949 * elf/tst-auditmod6b.c (check_avx): Likewise.
30950 * elf/tst-auditmod6c.c (check_avx): Likewise.
30951 * elf/tst-auditmod7b.c (check_avx): Likewise.
30952
70c6c246
UD
309532011-12-23 Ulrich Drepper <drepper@gmail.com>
30954
30955 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30956 !__SSE_MATH__.
30957
c044cf14
LD
309582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30959
15db4de1 30960 [BZ #13540]
c044cf14
LD
30961 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30962 processing for last bytes.
30963
6b13d9d9
BH
309642011-08-06 Bruno Haible <bruno@clisp.org>
30965
d455f537
BH
30966 [BZ #13061]
30967 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30968 U+0385, not to U+1FEE.
30969
6b13d9d9
BH
30970 [BZ #13062]
30971 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30972 entry for U+00A5 U+0301.
30973
db910efd
UD
309742011-12-22 Ulrich Drepper <drepper@gmail.com>
30975
27deeafc
UD
30976 [BZ #13166]
30977 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30978 buffer for the output is too small.
30979
aed9d171
UD
30980 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30981 optimization.
30982
db910efd
UD
30983 [BZ #13185]
30984 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30985 SSE flags if possible.
30986
2bd779ae
LD
309872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30988
e7f9dac3 30989 [BZ #13540]
2bd779ae
LD
30990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30991 processing for last bytes.
30992
154bfc16
JM
309932011-12-22 Joseph Myers <joseph@codesourcery.com>
30994
30995 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30996 (syscall-list-default-options, syscall-list-default-condition)
30997 (syscall-list-includes): Define.
30998 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30999 list of ABIs and options and #if conditions for each ABI. Do not
31000 handle common syscalls between ABIs specially.
31001 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31002 Remove.
31003 (syscall-list-variants, syscall-list-32bit-options)
31004 (syscall-list-32bit-condition, syscall-list-64bit-options)
31005 (syscall-list-64bit-condition): Define.
31006 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31007 (syscall-list-variants, syscall-list-32bit-options)
31008 (syscall-list-32bit-condition, syscall-list-64bit-options)
31009 (syscall-list-64bit-condition): Define.
31010 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31011 Remove.
31012 (syscall-list-variants, syscall-list-32bit-options)
31013 (syscall-list-32bit-condition, syscall-list-64bit-options)
31014 (syscall-list-64bit-condition): Define.
31015 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31016 Remove.
31017 (syscall-list-variants, syscall-list-32bit-options)
31018 (syscall-list-32bit-condition, syscall-list-64bit-options)
31019 (syscall-list-64bit-condition): Define.
31020
21eaf3a5
UD
310212011-12-22 Ulrich Drepper <drepper@gmail.com>
31022
16c6f992
UD
31023 * locale/iso-639.def: Add brx entry.
31024
41043168
UD
31025 [BZ #13328]
31026 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31027 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31028
21eaf3a5
UD
31029 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31030 __feraiseexcept_renamed.
31031
e3a851a2
UD
310322011-12-21 Ulrich Drepper <drepper@gmail.com>
31033
4920765e
UD
31034 [BZ #13538]
31035 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31036 EPOLLET with unsigned values.
31037 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31039
e3a851a2
UD
31040 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31041 to large cancellation.
31042 * math/s_cacoshf.c: Likewise.
31043 * math/s_cacoshl.c: Likewise.
31044
b27e24b8
RK
310452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31046
31047 [BZ #13305]
aebefeee 31048 [BZ #12786]
b27e24b8
RK
31049 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31050 * math/s_cacoshf.c: Likewise.
31051 * math/s_cacoshl.c: Likewise.
31052
ee190f67
UD
310532011-12-21 Ulrich Drepper <drepper@gmail.com>
31054
31055 [BZ #13439]
31056 * iconv/gconv.h: Define __GCONV_SWAP.
31057 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31058 * iconvdata/utf-16.c: Likewise.
31059 * iconvdata/utf-32.c: Likewise.
31060
707f25df
AS
310612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31062
31063 [BZ #13524]
31064 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31065 numerator after shifting it by one limb.
31066
d2daaa1e
RÁE
310672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31068
31069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31070 under [__USE_EXTERN_INLINES].
31071
a4647e72
UD
310722011-12-17 Ulrich Drepper <drepper@gmail.com>
31073
31074 [BZ #13446]
31075 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31076
f0b264f1
AZ
310772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31078
31079 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31080 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31081 optimized code.
31082 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31083 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31084 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31085 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31086 for strncasecmp/strncasecmp_l compilation.
31087 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31088 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31089
8ef4f244
MP
310902011-12-08 Marek Polacek <mpolacek@redhat.com>
31091
31092 [BZ #13484]
31093 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31094 of __asm__.
31095
97ac2654
UD
310962011-12-17 Ulrich Drepper <drepper@gmail.com>
31097
31098 [BZ #13506]
31099 * time/tzfile.c (__tzfile_read): Check values from file header.
31100
91d2a845
WS
311012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31102
31103 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31104 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31105 * powerpc/powerpc32/dl-start.S: Likewise.
31106 * powerpc/powerpc32/elf/start.S: Likewise.
31107 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31108 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31109 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31110 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31111 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31112 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31113 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31114 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31115 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31116 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31117 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31118 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31119 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31120 * powerpc/powerpc32/memset.S: Likewise.
31121 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31122 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31123 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31124 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31125 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31126 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31127 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31128 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31129 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31130 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31131 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31132 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31133 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31134
a1267ba1
AZ
311352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31136
31137 * math/libm-test.inc: Added more nearbyint tests.
31138 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31140 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31142
ad8ac1bd
RL
311432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31144
31145 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31146 FD_CLOEXEC.
31147
1d3e4b61
UD
311482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31149
31150 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31151 Add wcscpy-ssse3 wcscpy-c.
31152 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31153 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31154 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31155 * sysdeps/x86_64/wcschr.S: New file.
31156 * sysdeps/x86_64/wcsrchr.S: New file.
31157 * string/test-strcmp.c: Remove checking of wcscmp function for
31158 wrong alignments.
31159 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31160 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31161 wcsrchr-sse2 wcsrchr-c.
31162 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31163 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31164 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31165 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31166 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31167 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31168 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31169 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31170 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31171 * wcsmbc/wcschr.c (WCSCHR): New macro.
31172
5b330a2d
UD
311732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31174
31175 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31176 * wcsmbs/test-wcsrchr.c: New file.
31177 * string/test-strrchr.c: Add wcsrchr support.
31178 (WIDE): New macro.
31179 * wcsmbs/test-wcscpy.c: New file.
31180 * string/test-strcpy.c: Add wcscpy support.
31181 (WIDE): New macro.
26428b7c 31182
f039c043
UD
311832011-12-10 Ulrich Drepper <drepper@gmail.com>
31184
31185 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31186 the inner loop.
31187
850fb039
AS
311882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31189
31190 [BZ #13472]
31191 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31192
4efbd5cb
UD
311932011-12-04 Ulrich Drepper <drepper@gmail.com>
31194
52ff5dd0 31195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31196 Minor optimizations.
52ff5dd0 31197
4efbd5cb
UD
31198 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31199 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31200 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31201
8a426e12
UD
312022011-12-03 Ulrich Drepper <drepper@gmail.com>
31203
aff2453d
UD
31204 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31205 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31206 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31207 for gcc to avoid warnings.
31208 * inet/Makefile (tests): Add tst-checks.
31209 * inet/tst-checks.c: New file.
31210
31211 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31212 warning.
31213
31214 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31215 __wmemcmp_sse2.
31216
31217 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31218 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31219
8a426e12
UD
31220 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31221
9bea3473
UD
312222011-12-02 Ulrich Drepper <drepper@gmail.com>
31223
3a965496
UD
31224 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31225 problem.
31226
9bea3473
UD
31227 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31228
f101631b
UD
312292011-11-29 Joseph Myers <joseph@codesourcery.com>
31230
31231 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31232 conditional on GCC version.
31233 (__arch_compare_and_exchange_val_8_acq)
31234 (__arch_compare_and_exchange_val_16_acq)
31235 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31236 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31237 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31238
a98275aa
UD
312392011-12-02 Joseph Myers <joseph@codesourcery.com>
31240
31241 * sysdeps/sh/backtrace.c: New file.
31242
d4cc29a2
AS
312432011-12-02 Andreas Schwab <schwab@redhat.com>
31244
31245 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31246 parenthesis.
31247
6257af2d
AS
312482011-12-01 Andreas Schwab <schwab@redhat.com>
31249
31250 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31251 falling back to utime.
31252
b5f44c1a
AS
312532011-11-30 Andreas Schwab <schwab@redhat.com>
31254
31255 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31256 expectations for float.
31257
f3a6cc0a
AS
312582011-11-29 Andreas Schwab <schwab@redhat.com>
31259
31260 * locale/weight.h (findidx): Add parameter len.
31261 * locale/weightwc.h (findidx): Likewise.
31262 * posix/fnmatch_loop.c (FCT): Adjust caller.
31263 * posix/regcomp.c (build_equiv_class): Likewise.
31264 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31265 * posix/regexec.c (check_node_accept_bytes): Likewise.
31266 * string/strcoll_l.c (STRCOLL): Likewise.
31267 * string/strxfrm_l.c (STRXFRM): Likewise.
31268
9d65ea3a
UD
312692011-11-17 Ulrich Drepper <drepper@gmail.com>
31270
31271 * Makefile.in: Remove CVSOPT handling.
31272 * configure.in: Remove use of AC_REVISION.
31273 * iconvdata/Makefile (distribute): No need to filter out CVS.
31274 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31275 handling.
31276
5583a086
AS
312772011-11-16 Andreas Schwab <schwab@redhat.com>
31278
31279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31280 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31281 [USE_AS_STRNCASECMP_L]: Likewise.
31282 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31283 NO_TLS_DIRECT_SEG_REFS.
31284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31285 Fix argument offsets for non-PIC.
31286 [USE_AS_STRNCASECMP_L]: Likewise.
31287 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31288 NO_TLS_DIRECT_SEG_REFS.
31289
d62a8200
UD
312902011-11-15 Ulrich Drepper <drepper@gmail.com>
31291
9d65ea3a 31292 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31293 O_CLOEXEC.
31294 * locale/loadlocale.c (_nl_load_locale): Likewise.
31295
09f93bd3
AS
312962011-11-15 Andreas Schwab <schwab@redhat.com>
31297
446514f9
AS
31298 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31299 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31300 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31301 (SYSCALL_GETTIME): Set errno on error.
31302
09f93bd3
AS
31303 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31304 count references to noai6ai_cached.
31305
312be3f9
UD
313062011-11-15 Ulrich Drepper <drepper@gmail.com>
31307
31308 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31309
31310 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31311 FD_CLOEXEC for /proc/self/maps.
31312
31313 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31314 FD_CLOEXEC for /proc/meminfo.
31315
31316 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31317 gai.conf.
31318
31319 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31320 FD_CLOEXEC for given file.
31321
31322 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31323
31324 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31325 FD_CLOEXEC for /etc/hosts.
31326 (_gethtent): Likewise.
31327
31328 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31329
31330 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31331 cancellation and set FD_CLOEXEC for /etc/netgroup.
31332
31333 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31334 reading /etc/publickey.
31335
31336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31337 allow cancellation when reading /etc/group.
31338
31339 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31340 cancellation.
31341 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31342
31343 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31344 when using data file.
31345
31346 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31347
31348 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31349 (write_nis_obj): Use "c" and "e" in fopen.
31350
31351 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31352
31353 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31354
31355 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31356
31357 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31358
31359 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31360 locale.alias.
31361
31362 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31363
31364 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31365
31366 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31367
31368 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31369 file parsing and set FD_CLOEXEC.
31370
82af0fa8
UD
313712011-11-14 Ulrich Drepper <drepper@gmail.com>
31372
31373 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31374
a5fb313c
AS
313752011-11-14 Andreas Schwab <schwab@redhat.com>
31376
31377 * malloc/arena.c (arena_get2): Don't call reused_arena when
31378 _int_new_arena failed.
31379
6abf3465
UD
313802011-11-14 Ulrich Drepper <drepper@gmail.com>
31381
31382 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31383 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31385 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31388 to compile strcasecmp and strncasecmp.
31389 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31390 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31391
31392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31393
76e3966e
UD
313942011-11-13 Ulrich Drepper <drepper@gmail.com>
31395
31396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31397 locale-defines.sym to gen-as-const-headers.
31398 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31399 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31401 to compile strcasecmp and strncasecmp.
31402 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31403 strcasecmp_l and strncasecmp_l.
31404 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31405 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31406 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31407 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31408 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31409 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31410 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31411 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31412 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31413 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31414 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31415
ab26144e
UD
314162011-11-12 Ulrich Drepper <drepper@gmail.com>
31417
7edb22ef
UD
31418 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31419 result of SYSDEP_GETTIME_CPU to retval.
31420 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31421 parameter list to macro. Remove trailing semicolon. Adjust users.
31422
9694fc44
UD
31423 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31424 variable.
31425
8ad89ef8
UD
31426 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31427 mantissa words.
31428 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31429
0c822ef9
UD
31430 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31431 from unused variable.
31432
874e0564
UD
31433 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31434 DWARF definitions.
31435 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31436 for assembling.
31437
3a2edc79
UD
31438 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31439 over namespaces.
31440
f3c2577f
UD
31441 * sunrpc/rpc_prot.c (rejected): Fix case value.
31442
294ce126
UD
31443 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31444 unsigned long long int to avoid warnings in shift.
31445
5e2b63c6
UD
31446 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31447 of use of trans.
31448 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31449 variable tmp.
31450
e7f4b08e
UD
31451 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31452 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31454
ab26144e
UD
31455 * nis/nis_table.c (nis_list): Use variable of correct type for
31456 result of __follow_path call.
31457
8a6d5255
AZ
314582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31459
31460 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31461 of math functions ceil, trunc, floor, round, and sqrt, when
31462 avaliable on the platform.
31463 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31464 name clash.
31465 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31466 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31467 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31468
aaddc98c
MP
314692011-10-30 Marek Polacek <mpolacek@redhat.com>
31470
31471 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31473
95b7042b
RM
314742011-11-11 Roland McGrath <roland@hack.frob.com>
31475
31476 * include/unistd.h: Fix __readlink return type.
31477 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31478
57769839
UD
314792011-11-11 Ulrich Drepper <drepper@gmail.com>
31480
31481 * stdlib/ucontext.h: Undo last change for makecontext.
31482
edc5984d
AS
314832011-11-11 Andreas Schwab <schwab@redhat.com>
31484
98591e58
AS
31485 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31486
edc5984d
AS
31487 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31488 * setjmp/setjmp.h: Mark functions as non-leaf.
31489 * setjmp/bits/setjmp2.h: Likewise.
31490 * stdlib/ucontext.h: Likewise.
31491
77cdc054
AS
314922011-11-10 Andreas Schwab <schwab@redhat.com>
31493
31494 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31495 (reused_arena): Don't check arena limit.
31496 (arena_get2): Atomically check arena limit.
31497
fe72eebd
UD
314982011-11-08 Ulrich Drepper <drepper@gmail.com>
31499
5f078c32
UD
31500 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31501 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31502
fe72eebd
UD
31503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31504 instructions.
31505
ae1bc2fa
AS
315062011-11-07 Andreas Schwab <schwab@redhat.com>
31507
7583a88d
AS
31508 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31509 handler when locking.
31510
ae1bc2fa
AS
31511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31512 Fix size of allocated buffer.
31513
10fb0bfa
AS
315142011-11-04 Andreas Schwab <schwab@redhat.com>
31515
998832a4
AS
31516 [BZ #10103]
31517 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31518 declarations for long double functions.
31519 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31520
10fb0bfa
AS
31521 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31522
3d7ba52b
AS
315232011-11-03 Andreas Schwab <schwab@redhat.com>
31524
a9ae54a1
AS
31525 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31526 installed.
31527
3d7ba52b
AS
31528 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31529 is disabled.
31530
bc8db248
ST
315312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31532
31533 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31534
45b96dd6
AS
315352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31536
647776f6
AS
31537 * include/alloca.h (stackinfo_alloca_round): Define.
31538 (extend_alloca): Use it.
31539 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31540 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31541 here.
31542
d91a8b93
AS
31543 * scripts/check-local-headers.sh: Ignore libaudit.h.
31544
45b96dd6
AS
31545 * nscd/Makefile (extra-objs): Make recursively expanded.
31546
432d41ce
UD
315472011-11-01 Ulrich Drepper <drepper@gmail.com>
31548
34372fc6
UD
31549 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31551
fadb59f8
UD
31552 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31553 * posix/tst-rfc3484-2.c: Likewise.
31554 * posix/tst-rfc3484-3.c: Likewise.
31555
78239589
UD
31556 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31557 process_vm_writev.
31558 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31559 process_vm_writev.
31560 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31561 process_vm_writev from libc using GLIBC_2.15 version.
31562
432d41ce
UD
31563 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31564
02f9c6cf
PP
315652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31566
31567 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31568 stack usage.
31569
3a2c0242
UD
315702011-10-31 Ulrich Drepper <drepper@gmail.com>
31571
f4ec4833
UD
31572 [BZ #13367]
31573 * nss/getent.c (initgroups_keys): Show error message in case no group
31574 names are given.
31575
3a2c0242
UD
31576 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31577 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31578 __bump_nl_timestamp.
31579 * nscd/connections (nscd_init): When host database is served open
31580 netlink socket and request notification about configuration changes.
31581 (main_loop_poll): Track netlink file descriptor and bump timestamp
31582 in case data becomes available.
31583 (main_loop_epoll): Likewise.
31584 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31585 (database_pers_head): Add extra_data fileds.
31586 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31587 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31588 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31589 Adjust caller.
31590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31591 in6ai data, call __free_in6ai.
31592 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31593 Add -DHAVE_NETLINK.
31594 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31595 interface information. Reuse previous data if netlink timestamp
31596 is not changed.
31597 (__bump_nl_timestamp): New function.
31598 (__free_in6ai): New function.
31599
636064eb
UD
316002011-10-30 Ulrich Drepper <drepper@gmail.com>
31601
31602 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31603 close_not_cancel_no_status here.
31604 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31605
9beb2334
UD
316062011-10-29 Ulrich Drepper <drepper@gmail.com>
31607
6ef76f3b
UD
31608 [BZ #13276]
31609 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31610 return value.
31611
0ffc4f3e 31612 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31613 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31614 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31615
cb95113e
UD
316162011-07-03 Andreas Jaeger <aj@suse.de>
31617
31618 [BZ #10709]
31619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31620 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31621 * math/libm-test.inc (sin_test): Add test case.
31622
a1b560ff
UD
316232011-10-29 Ulrich Drepper <drepper@gmail.com>
31624
c9aaface
UD
31625 [BZ #13337]
31626 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31627 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31628
d272e7f1
UD
31629 * elf/chroot_canon.c (chroot_canon): Cleanups.
31630
1bc33071
UD
31631 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31632
1760874d
TJ
31633 [BZ #13335]
31634 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31635 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31636
51d91b18
UD
31637 * string/test-strchr.c: Make usable for strchrnul testing.
31638 * string/test-strchrnul.c: New file.
31639 * string/Makefile (strop-tests): Add strchrnul.
31640
a1b560ff 31641 * po/it.po: Update from translation team.
b611fb81 31642 * po/es.po: Likewise.
a1b560ff 31643
a5b81e1f
UD
316442011-10-28 Ulrich Drepper <drepper@gmail.com>
31645
fd52bc6d
UD
31646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31647 the three constants needed as parameters. Drop the others.
31648 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31649 __m128i_strloadu_tolower.
52e4b9eb
UD
31650 Create and initialize variable zero and use it in all the places
31651 where _mm_setzero_si128 was used.
fd52bc6d 31652
a5b81e1f
UD
31653 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31654 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31655 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31656 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31657 anymore.
31658 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31659 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31660 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31661 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31662 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31663 __mpranred, __mptan.
31664 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31665 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31666 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31667 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31668 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31669 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31671 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31672 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31673
b4343346
AS
316742011-10-28 Andreas Schwab <schwab@redhat.com>
31675
0c92d8a8
AS
31676 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31677 redefine if SHARED.
31678 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31679
b4343346
AS
31680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31681 wide char related routines to wcsmbs subdir.
31682
3871f58f
AS
316832011-10-27 Andreas Schwab <schwab@redhat.com>
31684
31685 [BZ #13344]
31686 * misc/sys/cdefs.h (__THROWNL): Define.
31687 * posix/unistd.h: Use __THREADNL instead of __THREAD
31688 for memory synchronization functions.
31689
94d44d9f
RM
316902011-10-26 Roland McGrath <roland@hack.frob.com>
31691
21b64b15 31692 [BZ #13349]
94d44d9f
RM
31693 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31694 doesn't exist.
31695 * manual/stdio.texi (Obstack Streams): Node removed.
31696
f6ce9294
AS
316972011-10-26 Andreas Schwab <schwab@redhat.com>
31698
80479147
AS
31699 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31700 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31701 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31702
f6ce9294
AS
31703 * math/math_private.h (math_force_eval): Allow non-addressable
31704 arguments.
31705 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31706
618280a1
UD
317072011-10-25 Ulrich Drepper <drepper@gmail.com>
31708
e0016b11
UD
31709 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31710 file is not needed.
31711
31712 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31714 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31715 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31716 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31717 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31718 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31719 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31720 Add AVX variants.
31721 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31722 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31723 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31724 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31725 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31726 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31727 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31728 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31729 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31730 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31731 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31732 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31734 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31735 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31736 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31738 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31739 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31740
31741 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31742 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31743
618280a1
UD
31744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31745 place. Use VEX encoding when compiling for AVX.
31746
37822576
AS
317472011-10-25 Andreas Schwab <schwab@redhat.com>
31748
1f1e1947
AS
31749 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31750 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31751
37822576
AS
31752 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31753
31ea014d
UD
317542011-10-25 Ulrich Drepper <drepper@gmail.com>
31755
d7826aa1 31756 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31757 useless if() expression.
d7826aa1
UD
31758 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31759 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31761 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31763 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31766 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31768 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31769 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31771 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31772 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31773 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31774 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31777
31ea014d
UD
31778 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31779
16437fec
AS
317802011-10-25 Andreas Schwab <schwab@redhat.com>
31781
31782 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31783 condition.
31784 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31785
31d3cc00
UD
317862011-10-25 Ulrich Drepper <drepper@gmail.com>
31787
31788 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31789 .text section. Avoid duplicate constants.
31790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31796 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31799 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31800 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31801 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31802 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31803 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31804 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31806 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31807 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31808 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31810 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31811 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31812 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31813 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31814 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31815 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31816 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31817 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31818 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31819 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31820 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31821 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31822 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31823 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31824 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31825 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31826 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31827 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31828 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31829 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31830 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31831 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31832 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31833 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31834 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31835
58985aa9
UD
318362011-10-24 Ulrich Drepper <drepper@gmail.com>
31837
202c9deb
UD
31838 * sysdeps/x86_64/dla.h: Move to ...
31839 * sysdeps/x86_64/fpu/dla.h: ...here.
31840 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31841 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31842
af968f62
UD
31843 * config.make.in: Add have-mfma4 entry.
31844 * configure.in: Substitute libc_cv_cc_fma4.
31845 * math/Makefile (dbl-only-routines): Add sincostab.
31846 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31847 Use __sincostab not sincos.
31848 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31849 name is a macro.
31850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31854 using __copysign.
31855 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31856 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31857 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31858 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31859 and __inv.
31860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31861 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31862 __copysign.
31863 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31864 define aliases when function name is a macro.
31865 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31866 sysdeps/ieee754/dbl-64/sincos.tbl.
31867 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31868 fma4-enabled routines.
31869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31870 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31873 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31874 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31875 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31876 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31877 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31879 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31880 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31881 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31882 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31884 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31885 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31886 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31887 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31889 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31890 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31892 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31895 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31896 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31897 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31898 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31899
58985aa9
UD
31900 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31901 rename.
31902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31910
a201fbcf
AS
319112011-10-24 Andreas Schwab <schwab@redhat.com>
31912
31913 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31914
fc2ee42a
LD
319152011-10-23 Ulrich Drepper <drepper@gmail.com>
31916
bb3129bd
UD
31917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31918
0275fff8
UD
31919 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31920 prediction.
31921 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31922
2fa2ae85
UD
31923 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31924 Remove unused variable magic_bits.
31925 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31926
fc2ee42a
LD
31927 * string/strnlen.c: Define and use STRNLEN macro.
31928 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31929 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31931 * wcsmbs/wcslen.c: Define and use WCSLEN.
31932 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31933 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31934 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31935 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31936 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31937 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31938 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31939
ce7dd29f
LD
319402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31941
31942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31943 strnlen-sse2-no-bsf.
31944 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31946 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31947 Add strnlen support.
31948 (USE_AS_STRNLEN): New macro.
31949 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31950 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31951 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31952 * sysdeps/x86_64/wcslen.S: New file.
31953
979c70a3
MZ
319542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31955
31956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31957 XMM-moves are used for copying on small sizes.
31958
2d09f82f
LD
319592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31960
31961 * wcsmbs/Makefile (strop-tests): Add wcschr.
31962 * wcsmbs/test-wcschr.c: New file.
31963 * string/test-strchr.c: Update.
31964 Add wcschr support.
31965 (WIDE): New macro.
31966
619fccca
LD
319672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31968
2d09f82f 31969 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31970 * wcsmbs/test-wcslen.c: New file.
31971 * string/test-strlen.c: Update.
31972 Add wcslen support.
31973 (WIDE): New macro.
31974
09f699ea
UD
319752011-10-23 Ulrich Drepper <drepper@gmail.com>
31976
31977 * po/it.po: Update from translation team.
31978
95584d3b
LD
319792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31980
31981 * sysdeps/x86_64/wcscmp.S: Update.
31982 Fix wrong comparison semantics.
31983 wcscmp shall use signed comparison not unsigned.
31984 Don't use substraction to avoid overflow bug.
31985 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31986 * wcsmbc/wcscmp.c: Likewise.
31987 * string/test-strcmp.c: Likewise.
31988 Add new tests to check cases with negative values.
31989
c8b3296b
UD
319902011-10-23 Ulrich Drepper <drepper@gmail.com>
31991
31992 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31993 * sysdeps/x86_64/dla.h: ...here. New file.
31994 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32003
246ad57a
AS
320042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32005
32006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32007 __ynl_finite aliases.
32008
a1a87169
UD
320092011-10-22 Ulrich Drepper <drepper@gmail.com>
32010
0d355eb7
UD
32011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32012
a1a87169
UD
32013 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32014 define DLA_FMA.
32015 [DLA_FMA] (EMULV): Use DLA_FMA.
32016 [DLA_FMA] (MUL12): Use EMULV.
32017 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32018 that are not needed.
32019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32024 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32026
ee2aafe0
AS
320272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32028
32029 * math/s_nan.c: Undef __nan.
32030 * math/s_nanf.c: Undef __nanf.
32031 * math/s_nanl.c: Undef __nanl.
32032 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32033 "math_private.h".
32034
bc62c2fb
UD
320352011-10-22 Ulrich Drepper <drepper@gmail.com>
32036
77425c63
UD
32037 * math/s_catan.c: Add branch predictions.
32038 * math/s_catanf.c: Likewise.
32039 * math/s_catanh.c: Likewise.
32040 * math/s_catanhf.c: Likewise.
32041 * math/s_catanhl.c: Likewise.
32042 * math/s_catanl.c: Likewise.
32043 * math/s_cexp.c: Likewise.
32044 * math/s_cexpf.c: Likewise.
32045 * math/s_cexpl.c: Likewise.
32046 * math/s_clog.c: Likewise.
32047 * math/s_clog10.c: Likewise.
32048 * math/s_clog10f.c: Likewise.
32049 * math/s_clog10l.c: Likewise.
32050 * math/s_clogf.c: Likewise.
32051 * math/s_clogl.c: Likewise.
32052 * math/s_csqrt.c: Likewise.
32053 * math/s_csqrtf.c: Likewise.
32054 * math/s_csqrtl.c: Likewise.
32055 * math/s_ctanf.c: Likewise.
32056 * math/s_ctanh.c: Likewise.
32057 * math/s_ctanhf.c: Likewise.
32058 * math/s_ctanhl.c: Likewise.
32059 * math/s_ctanl.c: Likewise.
32060
bc62c2fb
UD
32061 * math/math_private.h: Define __nan, __nanf, __nanl.
32062 * math/s_cacosh.c: Include <math_private.h>.
32063 * math/s_cacoshl.c: Likewise.
32064 * math/s_casinh.c: Likewise.
32065 * math/s_casinhf.c: Likewise.
32066 * math/s_casinhl.c: Likewise.
32067 * math/s_ccos.c: Rely entire on ccosh.
32068 * math/s_ccosf.c: Rely entire on ccoshf.
32069 * math/s_ccosl.c: Rely entirely on ccoshl.
32070 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32071 Remove tests for FE_INVALID.
32072 * math/s_ccoshf.c: Likewise.
32073 * math/s_ccoshl.c: Likewise.
32074 * math/s_csin.c: Likewise.
32075 * math/s_csinf.c: Likewise.
32076 * math/s_csinh.c Likewise.
32077 * math/s_csinhf.c: Likewise.
32078 * math/s_csinhl.c: Likewise.
32079 * math/s_csinl.c: Likewise.
32080 * math/s_ctan.c: Likewise.
32081 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32082 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32083 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32084
8ec250a4
UD
320852011-10-21 Ulrich Drepper <drepper@gmail.com>
32086
c196fed8
UD
32087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32088 compilation problems.
32089
8ec250a4
UD
32090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32091 __builtin_expect.
32092
8d4f46c6
UD
320932011-10-20 Ulrich Drepper <drepper@gmail.com>
32094
ed72b654
UD
32095 * sysdeps/i386/configure.in: Test for -mfma4 option.
32096 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32097 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32098 COMMON_CPUID_INDEX_80000001.
32099 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32100 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32101 use it if FMA3 is not supported.
32102 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32103
8d4f46c6
UD
32104 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32105 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32106
d45c60c2
AS
321072011-10-20 Andreas Schwab <schwab@redhat.com>
32108
32109 [BZ #12892]
32110 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32111 it would create a cycle with a link time dependency.
32112
d9a4d2ab
UD
321132011-10-19 Ulrich Drepper <drepper@gmail.com>
32114
855d1560
UD
32115 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32116 instruction.
32117 * string/Makefile (strop-tests): Add rawmemchr.
32118 * string/test-rawmemchr.c: New file.
32119
d9a4d2ab
UD
32120 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32122 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32123 when compiling str{,n}casecmp and when AVX is available. Hook up
32124 new optimized code in initializers.
32125
8f3b1ffe
AS
321262011-10-19 Andreas Schwab <schwab@redhat.com>
32127
32128 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32129 __feraiseexcept instead of feraiseexcept.
32130
d38f1dba
UD
321312011-10-18 Ulrich Drepper <drepper@gmail.com>
32132
d9a8d0ab
UD
32133 * math/math_private.h: Define defaults for libc_fetestexcept and
32134 libc_feupdateenv.
32135 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32136 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32137 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32139 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32140 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32141 libc_fetestexcept and libc_feupdateenv.
32142
4855e3dd
UD
32143 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32144 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32145 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32146 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32147 libc_feholdexcept_setround.
32148
581d30e3
UD
32149 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32150 Add s_nearbyint-c and s_nearbyintf-c.
32151 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32152 nearbyintf inlines.
32153 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32154 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32155 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32156 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32157
d38f1dba
UD
32158 * math/math_private.h: Define defaults for libc_fegetround,
32159 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32160 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32161 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32163 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32164 standard functions.
32165 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32166 Remove comments and hacks for old compiler versions.
32167 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32168 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32169 libc_feholdexceptl.
32170
caa6c9d8
AS
321712011-10-18 Andreas Schwab <schwab@redhat.com>
32172
32173 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32174 (__feraiseexcept_renamed): Add __NTH.
32175 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32176 namespace violations.
32177
97c066e6
UD
321782011-10-17 Ulrich Drepper <drepper@gmail.com>
32179
99ce7b04
UD
32180 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32181
1004d182
UD
32182 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32183
228a984d
UD
32184 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32185 recently added interfaces.
32186 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32187
c8553a6a
UD
32188 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32189 about macro parameter expansion.
32190
ed22dcf6
UD
32191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32192 __NO_MATH_INLINES is defined. Cleanups.
32193
32194 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32195 and __floorf is target has SSE4.1.
32196 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32197 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32198 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32199 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32200
b171c137
UD
32201 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32202 name.
32203 (floorf): Likewise.
32204
97c066e6
UD
32205 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32206
629f62ef
AS
322072011-10-17 Andreas Schwab <schwab@redhat.com>
32208
49a43d80
AS
32209 * misc/sys/cdefs.h: Fix last change.
32210
629f62ef
AS
32211 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32212 database lookup.
32213
e453f6cd
UD
322142011-10-16 Ulrich Drepper <drepper@gmail.com>
32215
aa78043a
UD
32216 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32217
ad0f5cad
UD
32218 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32220 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32221 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32222 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32223 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32224 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32226 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32227 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32228 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32229 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32230 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32231 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32232 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32233 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32234 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32235 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32236 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32237 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32238 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32239 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32240
32241 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32242 ceil, ceilf, floor, floorf.
32243
32244 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32245 Perform IRELATIVE relocations last.
32246
e453f6cd
UD
32247 * elf/do-rel.h: Add another parameter nrelative, replacing the
32248 local variable with the same name. Change name of the function
32249 to end in Rel or Rela (uppercase).
32250 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32251 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32252 elf_dynamic_do_##reloc function.
32253
fd5bdc09
UD
322542011-10-15 Ulrich Drepper <drepper@gmail.com>
32255
79b195b5
UD
32256 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32257 is sufficient, at least on modern CPUs.
32258
d4a28569
UD
32259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32260
b61099b5
UD
32261 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32262 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32263
bcf01e6d
UD
32264 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32265 __expl_finite.
32266 * math/bits/math-finite.h: Add entries for exp.
32267 * math/e_expl.c: Add __*_finite alias.
32268 * sysdeps/i386/fpu/e_exp.S: Likewise.
32269 * sysdeps/i386/fpu/e_expf.S: Likewise.
32270 * sysdeps/i386/fpu/e_expl.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32272 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32273 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32275 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32276 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32277 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32278
ba1a0d59
UD
32279 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32280 is sufficient, at least on modern CPUs.
32281
fd5bdc09
UD
32282 * ctype/ctype-info.c (__ctype_init): Define.
32283 * include/ctype.h (__ctype_init): Declare.
32284 (__ctype_b_loc): The variable is always initialized.
32285 (__ctype_toupper_loc): Likewise.
32286 (__ctype_tolower_loc): Likewise.
32287 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32288 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32289
7872cfb0
AS
322902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32291
b468825a
AS
32292 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32293
7872cfb0
AS
32294 * configure.in: Also look in $cxxmachine/include for C++ system
32295 headers.
32296
be13f7bf
LD
322972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32298
32299 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32300 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32301 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32302 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32304 (USE_AS_WMEMCMP): New macro.
32305 Fixing indents.
32306 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32307 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32308 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32309 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32311 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32312 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32313 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32314 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32315 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32317 (USE_AS_WMEMCMP): New macro.
32318 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32319 * sysdeps/string/test-memcmp.c: Update.
32320 Fix simple_wmemcmp.
32321 Add new tests.
32322 * wcsmbs/wmemcmp.c: Update.
32323 (WMEMCMP): New macro.
32324 Fix overflow bug.
32325
556a2007
AJ
323262011-10-12 Andreas Jaeger <aj@suse.de>
32327
32328 [BZ #13268]
32329 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32330
538faaa7
UD
323312011-10-15 Ulrich Drepper <drepper@gmail.com>
32332
ab6737ff
UD
32333 * libio/iofwide.c (do_length): Avoid warning.
32334
538faaa7
UD
32335 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32336
396a21b1
UD
323372011-10-14 Ulrich Drepper <drepper@gmail.com>
32338
cdf2901f
UD
32339 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32340
38ad40ce
UD
32341 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32342 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32343 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32344 * sysdeps/i386/i686/fpu/e_log.S: New file.
32345 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32346 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32347
396a21b1
UD
32348 * ctype/ctype.h: Add support for inlined isXXX functions when
32349 compiling C++ code.
32350
6b1f68c9
AS
323512011-10-14 Andreas Schwab <schwab@redhat.com>
32352
349290c0
AS
32353 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32354
6b1f68c9
AS
32355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32356
f2282d42
RM
323572011-10-13 Roland McGrath <roland@hack.frob.com>
32358
32359 [BZ #13291]
32360 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32361
5298ffa8
AS
323622011-10-13 Andreas Schwab <schwab@redhat.com>
32363
714fad23
AS
32364 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32365 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32366 feraiseexcept.
32367
81dcc7fb
AS
32368 * sysdeps/x86_64/memrchr.S: Check for zero size.
32369
5298ffa8
AS
32370 * string/stratcliff.c: Add memrchr tests.
32371
951fbcec
LD
323722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32373
32374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32375 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32376 rawmemchr-sse2 rawmemchr-sse2-bsf.
32377 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32378 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32379 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32380 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32381 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32382 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32383 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32384 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32385 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32386 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32387 * string/memrchr.c (MEMRCHR): New macro.
32388
0ac5ae23
UD
323892011-10-12 Ulrich Drepper <drepper@gmail.com>
32390
32391 Add integration with gcc's -ffinite-math-only and optimize wrapper
32392 functions in libm.
32393 * Versions.def: Define GLIBC_2.15 version for libm.
32394 * math/Makefile (headers): Add bits/math-finite.h.
32395 * math/bits/math-finite.h: New file.
32396 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32397 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32398 * math/e_acoshl.c: Add __*_finite alias.
32399 * math/e_acosl.c: Likewise.
32400 * math/e_asinl.c: Likewise.
32401 * math/e_atan2l.c: Likewise.
32402 * math/e_atanhl.c: Likewise.
32403 * math/e_coshl.c: Likewise.
32404 * math/e_exp10.c: Likewise.
32405 * math/e_exp10f.c: Likewise.
32406 * math/e_exp10l.c: Likewise.
32407 * math/e_exp2l.c: Likewise.
32408 * math/e_fmodl.c: Likewise.
32409 * math/e_gammal_r.c: Likewise.
32410 * math/e_hypotl.c: Likewise.
32411 * math/e_j0l.c: Likewise.
32412 * math/e_j1l.c: Likewise.
32413 * math/e_jnl.c: Likewise.
32414 * math/e_lgammal_r.c: Likewise.
32415 * math/e_log10l.c: Likewise.
32416 * math/e_log2l.c: Likewise.
32417 * math/e_logl.c: Likewise.
32418 * math/e_powl.c: Likewise.
32419 * math/e_sinhl.c: Likewise.
32420 * math/e_sqrtl.c: Likewise.
32421 * math/e_scalb.c: Completely rewritten and optimized.
32422 * math/e_scalbf.c: Likewise.
32423 * math/e_scalbl.c: Likewise.
32424 * math/w_acos.c: Likewise.
32425 * math/w_acosf.c: Likewise.
32426 * math/w_acosl.c: Likewise.
32427 * math/w_acosh.c: Likewise.
32428 * math/w_acoshf.c: Likewise.
32429 * math/w_acoshl.c: Likewise.
32430 * math/w_asin.c: Likewise.
32431 * math/w_asinf.c: Likewise.
32432 * math/w_asinl.c: Likewise.
32433 * math/w_atan2.c: Likewise.
32434 * math/w_atan2f.c: Likewise.
32435 * math/w_atan2l.c: Likewise.
32436 * math/w_atanh.c: Likewise.
32437 * math/w_atanhf.c: Likewise.
32438 * math/w_atanhl.c: Likewise.
32439 * math/w_exp10.c: Likewise.
32440 * math/w_exp10f.c: Likewise.
32441 * math/w_exp10l.c: Likewise.
32442 * math/w_fmod.c: Likewise.
32443 * math/w_fmodf.c: Likewise.
32444 * math/w_fmodl.c: Likewise.
32445 * math/w_j0.c: Likewise.
32446 * math/w_j0f.c: Likewise.
32447 * math/w_j0l.c: Likewise.
32448 * math/w_j1.c: Likewise.
32449 * math/w_j1f.c: Likewise.
32450 * math/w_j1l.c: Likewise.
32451 * math/w_jn.c: Likewise.
32452 * math/w_jnf.c: Likewise.
32453 * math/w_log.c: Likewise.
32454 * math/w_logf.c: Likewise.
32455 * math/w_logl.c: Likewise.
32456 * math/w_log10.c: Likewise.
32457 * math/w_log10f.c: Likewise.
32458 * math/w_log10l.c: Likewise.
32459 * math/w_log2.c: Likewise.
32460 * math/w_log2f.c: Likewise.
32461 * math/w_log2l.c: Likewise.
32462 * math/w_pow.c: Likewise.
32463 * math/w_powf.c: Likewise.
32464 * math/w_powl.c: Likewise.
32465 * math/w_remainder.c: Likewise.
32466 * math/w_remainderf.c: Likewise.
32467 * math/w_remainderl.c: Likewise.
32468 * math/w_scalb.c: Likewise.
32469 * math/w_scalbf.c: Likewise.
32470 * math/w_scalbl.c: Likewise.
32471 * math/w_sqrt.c: Likewise.
32472 * math/w_sqrtf.c: Likewise.
32473 * math/w_sqrtl.c: Likewise.
32474 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32475 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32476 used.
32477 * math/math_private.h: Declare __kernel_standard_f.
32478 * math/w_cosh.c: Remove cruft and optimize a bit.
32479 * math/w_coshf.c: Likewise.
32480 * math/w_coshl.c: Likewise.
32481 * math/w_exp2.c: Likewise.
32482 * math/w_exp2f.c: Likewise.
32483 * math/w_exp2l.c: Likewise.
32484 * math/w_hypot.c: Likewise.
32485 * math/w_hypotf.c: Likewise.
32486 * math/w_hypotl.c: Likewise.
32487 * math/w_lgamma.c: Likewise.
32488 * math/w_lgamma_r.c: Likewise.
32489 * math/w_lgammaf.c: Likewise.
32490 * math/w_lgammaf_r.c: Likewise.
32491 * math/w_lgammal.c: Likewise.
32492 * math/w_lgammal_r.c: Likewise.
32493 * math/w_sinh.c: Likewise.
32494 * math/w_sinhf.c: Likewise.
32495 * math/w_sinhl.c: Likewise.
32496 * math/w_tgamma.c: Likewise.
32497 * math/w_tgammaf.c: Likewise.
32498 * math/w_tgammal.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32501 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32502 Minor optimizations. Pretty printing. Remove cruft.
32503 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32504 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32505 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32506 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32507 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32508 * sysdeps/i386/fpu/e_asin.S: Likewise.
32509 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32510 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32511 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32512 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32513 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32514 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32515 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32516 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32517 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32518 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32519 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32520 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32521 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32522 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32523 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32524 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32525 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32526 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32527 * sysdeps/i386/fpu/e_log.S: Likewise.
32528 * sysdeps/i386/fpu/e_log10.S: Likewise.
32529 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32530 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32531 * sysdeps/i386/fpu/e_log2.S: Likewise.
32532 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32533 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32534 * sysdeps/i386/fpu/e_logf.S: Likewise.
32535 * sysdeps/i386/fpu/e_logl.S: Likewise.
32536 * sysdeps/i386/fpu/e_pow.S: Likewise.
32537 * sysdeps/i386/fpu/e_powf.S: Likewise.
32538 * sysdeps/i386/fpu/e_powl.S: Likewise.
32539 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32540 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32541 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32542 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32543 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32544 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32545 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32546 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32547 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32554 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32556 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32562 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32564 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32566 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32568 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32569 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32572 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32573 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32574 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32575 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32576 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32577 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32579 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32580 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32581 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32582 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32583 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32584 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32585 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32586 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32587 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32588 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32589 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32590 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32591 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32593 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32594 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32595 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32596 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32597 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32598 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32600 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32603 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32604 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32605 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32606 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32607 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32608 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32609 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32610 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32612 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32613 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32614 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32617 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32618 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32619 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32622 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32623 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32624 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32625 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32626 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32627 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32628 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32629 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32630 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32631 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32632 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32633 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32634 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32635 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32636 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32637 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32638 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32639 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32640 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32641 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32642 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32643 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32644 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32645 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32646 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32647 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32648 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32649 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32650 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32651 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32652 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32653 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32654 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32655 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32656 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32657 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32658 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32659 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32660 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32661 (__isnanf): Likewise.
32662 (__isinf_ns): Likewise.
32663 (__isinf_nsf): Likewise.
32664 (__finite): Likewise.
32665 (__finitef): Likewise.
32666 (__ieee754_sqrt): Define as macro.
32667 (__ieee754_sqrtf): Define as macro.
32668 (__ieee754_sqrtl): Define as macro.
32669 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32670 inlined copy.
32671 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32672 __FINITE_MATH_ONLY__ consistent.
32673 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32674
12cc2fcd
AS
326752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32676
a843a204
AS
32677 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32678 of rawmemchr.
32679
12cc2fcd
AS
32680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32681
c853acd5
UD
326822011-10-09 Ulrich Drepper <drepper@gmail.com>
32683
32684 * po/ja.po: Update from translation team.
32685
c658d255
RM
326862011-10-08 Roland McGrath <roland@hack.frob.com>
32687
110946e4
RM
32688 * locale/programs/locarchive.c (prepare_address_space): New function.
32689 (create_archive, enlarge_archive, open_archive): Use it.
32690
50604220
RM
32691 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32692 inside [SHARED], where it is used.
32693
c658d255
RM
32694 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32695
32696 * nss/getent.c (netgroup_keys): Remove unused variable.
32697 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32698
6a621eb7
UD
326992011-10-08 Ulrich Drepper <drepper@gmail.com>
32700
7edb55ce
UD
32701 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32702 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32704 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32705 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32706 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32707 * math/Makefile (libm-calls): Add s_isinf_ns.
32708 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32709 * math/multc3.c: Likewise.
32710 * math/s_casin.c: Likewise.
32711 * math/s_casinf.c: Likewise.
32712 * math/s_casinl.c: Likewise.
32713 * math/s_ccos.c: Likewise.
32714 * math/s_ccosf.c: Likewise.
32715 * math/s_ccosl.c: Likewise.
32716 * math/s_ctan.c: Likewise.
32717 * math/s_ctanf.c: Likewise.
32718 * math/s_ctanh.c: Likewise.
32719 * math/s_ctanhf.c: Likewise.
32720 * math/s_ctanhl.c: Likewise.
32721 * math/s_ctanl.c: Likewise.
32722 * math/w_fmod.c: Likewise.
32723 * math/w_fmodf.c: Likewise.
32724 * math/w_fmodl.c: Likewise.
32725 * math/w_remainder.c: Likewise.
32726 * math/w_remainderf.c: Likewise.
32727 * math/w_remainderl.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32729 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32730 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32732 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32733 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32734 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32735 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32736
187da0ae
UD
32737 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32738 of the number.
32739 * stdio-common/printf_fphex.c: Likewise.
32740 * stdio-common/printf_size.c: Likewise.
32741
9277c064
UD
32742 * math/e_exp10.c: Include math_private.h using <...> not "...".
32743 * math/e_exp10f.c: Likewise.
32744 * math/e_exp10l.c: Likewise.
32745 * math/e_exp2l.c: Likewise.
32746 * math/e_j0l.c: Likewise.
32747 * math/e_j1l.c: Likewise.
32748 * math/e_jnl.c: Likewise.
32749 * math/e_lgammal_r.c: Likewise.
32750 * math/e_rem_pio2l.c: Likewise.
32751 * math/e_scalb.c: Likewise.
32752 * math/e_scalbf.c: Likewise.
32753 * math/e_scalbl.c: Likewise.
32754 * math/k_cosl.c: Likewise.
32755 * math/k_sinl.c: Likewise.
32756 * math/k_tanl.c: Likewise.
32757 * math/s_cacoshf.c: Likewise.
32758 * math/s_catan.c: Likewise.
32759 * math/s_catanf.c: Likewise.
32760 * math/s_catanh.c: Likewise.
32761 * math/s_catanhf.c: Likewise.
32762 * math/s_catanhl.c: Likewise.
32763 * math/s_catanl.c: Likewise.
32764 * math/s_ccosh.c: Likewise.
32765 * math/s_ccoshf.c: Likewise.
32766 * math/s_ccoshl.c: Likewise.
32767 * math/s_cexp.c: Likewise.
32768 * math/s_cexpf.c: Likewise.
32769 * math/s_cexpl.c: Likewise.
32770 * math/s_clog.c: Likewise.
32771 * math/s_clog10.c: Likewise.
32772 * math/s_clog10f.c: Likewise.
32773 * math/s_clog10l.c: Likewise.
32774 * math/s_clogf.c: Likewise.
32775 * math/s_clogl.c: Likewise.
32776 * math/s_csin.c: Likewise.
32777 * math/s_csinf.c: Likewise.
32778 * math/s_csinh.c: Likewise.
32779 * math/s_csinhf.c: Likewise.
32780 * math/s_csinhl.c: Likewise.
32781 * math/s_csinl.c: Likewise.
32782 * math/s_csqrt.c: Likewise.
32783 * math/s_csqrtf.c: Likewise.
32784 * math/s_csqrtl.c: Likewise.
32785 * math/s_ctan.c: Likewise.
32786 * math/s_ctanf.c: Likewise.
32787 * math/s_ctanh.c: Likewise.
32788 * math/s_ctanhf.c: Likewise.
32789 * math/s_ctanhl.c: Likewise.
32790 * math/s_ctanl.c: Likewise.
32791 * math/s_ldexp.c: Likewise.
32792 * math/s_ldexpf.c: Likewise.
32793 * math/s_ldexpl.c: Likewise.
32794 * math/s_significand.c: Likewise.
32795 * math/s_significandf.c: Likewise.
32796 * math/s_significandl.c: Likewise.
32797 * math/w_acos.c: Likewise.
32798 * math/w_acosf.c: Likewise.
32799 * math/w_acosh.c: Likewise.
32800 * math/w_acoshf.c: Likewise.
32801 * math/w_acoshl.c: Likewise.
32802 * math/w_acosl.c: Likewise.
32803 * math/w_asin.c: Likewise.
32804 * math/w_asinf.c: Likewise.
32805 * math/w_asinl.c: Likewise.
32806 * math/w_atan2.c: Likewise.
32807 * math/w_atan2f.c: Likewise.
32808 * math/w_atan2l.c: Likewise.
32809 * math/w_atanh.c: Likewise.
32810 * math/w_atanhf.c: Likewise.
32811 * math/w_atanhl.c: Likewise.
32812 * math/w_cosh.c: Likewise.
32813 * math/w_coshf.c: Likewise.
32814 * math/w_coshl.c: Likewise.
32815 * math/w_dremf.c: Likewise.
32816 * math/w_exp10.c: Likewise.
32817 * math/w_exp10f.c: Likewise.
32818 * math/w_exp10l.c: Likewise.
32819 * math/w_exp2.c: Likewise.
32820 * math/w_exp2f.c: Likewise.
32821 * math/w_fmod.c: Likewise.
32822 * math/w_fmodf.c: Likewise.
32823 * math/w_fmodl.c: Likewise.
32824 * math/w_hypot.c: Likewise.
32825 * math/w_hypotf.c: Likewise.
32826 * math/w_hypotl.c: Likewise.
32827 * math/w_j0.c: Likewise.
32828 * math/w_j0f.c: Likewise.
32829 * math/w_j0l.c: Likewise.
32830 * math/w_j1.c: Likewise.
32831 * math/w_j1f.c: Likewise.
32832 * math/w_j1l.c: Likewise.
32833 * math/w_jn.c: Likewise.
32834 * math/w_jnf.c: Likewise.
32835 * math/w_jnl.c: Likewise.
32836 * math/w_lgamma.c: Likewise.
32837 * math/w_lgamma_r.c: Likewise.
32838 * math/w_lgammaf.c: Likewise.
32839 * math/w_lgammaf_r.c: Likewise.
32840 * math/w_lgammal.c: Likewise.
32841 * math/w_lgammal_r.c: Likewise.
32842 * math/w_log.c: Likewise.
32843 * math/w_log10.c: Likewise.
32844 * math/w_log10f.c: Likewise.
32845 * math/w_log10l.c: Likewise.
32846 * math/w_log2.c: Likewise.
32847 * math/w_log2f.c: Likewise.
32848 * math/w_log2l.c: Likewise.
32849 * math/w_logf.c: Likewise.
32850 * math/w_logl.c: Likewise.
32851 * math/w_pow.c: Likewise.
32852 * math/w_powf.c: Likewise.
32853 * math/w_powl.c: Likewise.
32854 * math/w_remainder.c: Likewise.
32855 * math/w_remainderf.c: Likewise.
32856 * math/w_remainderl.c: Likewise.
32857 * math/w_scalb.c: Likewise.
32858 * math/w_scalbf.c: Likewise.
32859 * math/w_scalbl.c: Likewise.
32860 * math/w_sinh.c: Likewise.
32861 * math/w_sinhf.c: Likewise.
32862 * math/w_sinhl.c: Likewise.
32863 * math/w_sqrt.c: Likewise.
32864 * math/w_sqrtf.c: Likewise.
32865 * math/w_sqrtl.c: Likewise.
32866 * math/w_tgamma.c: Likewise.
32867 * math/w_tgammaf.c: Likewise.
32868 * math/w_tgammal.c: Likewise.
32869
6a621eb7
UD
32870 * po/ja.po: Update from translation team.
32871
bf582445
AJ
328722011-09-29 Andreas Jaeger <aj@suse.de>
32873
f9efbf3a
AJ
32874 [BZ #13179]
32875 * sunrpc/netname.c (netname2host): Fix logic.
32876
bf582445
AJ
32877 [BZ #6779]
32878 [BZ #6783]
32879 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32880 correctly.
32881 * math/w_remainder.c (__remainder): Likewise.
32882 * math/w_remainderf.c (__remainderf): Likewise.
32883 * math/libm-test.inc (remainder_test): Add test cases.
32884
48693bea
AK
328852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32886
32887 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32888 sdiv_qrnnd.
32889
42622229
LD
328902011-10-07 Ulrich Drepper <drepper@gmail.com>
32891
32892 * string/test-memcmp.c: Avoid unncessary #defines.
32893 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32894
093ecf92
LD
328952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32896
32897 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32898 Use new sse2 version for core i3 - i7 as it's faster
32899 than sse42 version.
32900 (bit_Prefer_PMINUB_for_stringop): New.
32901 * sysdeps/x86_64/rawmemchr.S: Update.
32902 Replace with faster SSE2 version.
32903 * sysdeps/x86_64/memrchr.S: New file.
32904 * sysdeps/x86_64/memchr.S: Update.
32905 Replace with faster SSE2 version.
32906
fde56e5c
MP
329072011-09-12 Marek Polacek <mpolacek@redhat.com>
32908
32909 * elf/dl-load.c (lose): Add cast to avoid warning.
32910
21fd49a9
UD
329112011-10-07 Ulrich Drepper <drepper@gmail.com>
32912
5a06e643
UD
32913 * po/ca.po: Update from translation team.
32914
684ae515
UD
32915 * inet/getnetgrent_r.c: Hook up nscd.
32916 * nscd/Makefile (routines): Add nscd_netgroup.
32917 (nscd-modules): Add netgroupcache.
32918 (CFLAGS-netgroupcache.c): Define.
32919 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32920 (cache_search): Add const to second parameter.
32921 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32922 INNETGR.
32923 (dbs): Add netgrdb entry.
32924 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32925 (verify_persistent_db): Handle netgrdb.
32926 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32927 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32928 GETFDNETGR.
32929 (netgroup_response_header): Define.
32930 (innetgroup_response_header): Define.
32931 (datahead): Add netgroup_response_header and innetgroup_response_header
32932 elements.
32933 * nscd/nscd.conf: Add entries for netgroup cache.
32934 * nscd/nscd.h (dbtype): Add netgrdb.
32935 (_PATH_NSCD_NETGROUP_DB): Define.
32936 (netgroup_iov_disabled): Declare.
32937 (xmalloc, xcalloc, xrealloc): Move declarations here.
32938 (cache_search): Adjust prototype.
32939 Add netgroup-related prototypes.
32940 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32941 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32942 (__nscd_innetgr): Declare.
32943 * nscd/selinux.c (perms): Use access_vector_t as element type and
32944 add netgroup-related initializers.
32945 * nscd/netgroupcache.c: New file.
32946 * nscd/nscd_netgroup.c: New file.
32947 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32948 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32949 For four parameters use innetgr.
32950 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32951 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32952 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32953 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32954
21fd49a9
UD
32955 * nscd/connections.c (register_traced_file): Don't register file
32956 for disabled databases.
32957
054c0457
UD
329582011-10-06 Ulrich Drepper <drepper@gmail.com>
32959
32b63198
UD
32960 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32961
054c0457
UD
32962 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32963 from tree and freeing node.
32964
64031225
JO
329652011-09-25 Jiri Olsa <jolsa@redhat.com>
32966
32967 * nss/nsswitch.c (__nss_database_lookup): Handle
32968 nss_parse_service_list out of memory case.
32969
0490345c
JO
329702011-09-15 Jiri Olsa <jolsa@redhat.com>
32971
32972 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32973 out of memory case.
32974
3a62d00d
AS
329752011-10-04 Andreas Schwab <schwab@redhat.com>
32976
32977 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32978 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32979 pass it down.
32980 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32981 elf_machine_rela, elf_machine_lazy_rel.
32982 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32983 (ELF_DYNAMIC_DO_REL): Likewise.
32984 (ELF_DYNAMIC_DO_RELA): Likewise.
32985 (ELF_DYNAMIC_RELOCATE): Likewise.
32986 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32987 to ELF_DYNAMIC_DO_REL.
32988 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32989 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32990 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32991 elf_machine_rela.
32992 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32993 skip_ifunc, don't call ifunc function if non-zero.
32994 (elf_machine_rela): Likewise.
32995 (elf_machine_lazy_rel): Likewise.
32996 (elf_machine_lazy_rela): Likewise.
32997 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32998 (elf_machine_lazy_rel): Likewise.
32999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33000 Likewise.
33001 (elf_machine_lazy_rel): Likewise.
33002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33003 Likewise.
33004 (elf_machine_lazy_rel): Likewise.
33005 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33006 (elf_machine_lazy_rel): Likewise.
33007 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33008 (elf_machine_lazy_rel): Likewise.
33009 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33010 (elf_machine_lazy_rel): Likewise.
33011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33012 (elf_machine_lazy_rel): Likewise.
33013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33014 (elf_machine_lazy_rel): Likewise.
33015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33016 (elf_machine_lazy_rel): Likewise.
33017
68577918
UD
330182011-09-28 Ulrich Drepper <drepper@gmail.com>
33019
33020 * nss/nss_files/files-init.c (_nss_files_init): Use static
33021 initialization for all the *_traced_file variables.
33022
68822d74
AS
330232011-09-28 Andreas Schwab <schwab@redhat.com>
33024
33025 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33026
2056100b
RM
330272011-09-27 Roland McGrath <roland@hack.frob.com>
33028
33029 [BZ #13226]
33030 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33031
32c76b63
AS
330322011-09-27 Andreas Schwab <schwab@redhat.com>
33033
33034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33035 Reread the line before reparsing it.
33036
bf972c9d
AS
330372011-09-26 Andreas Schwab <schwab@redhat.com>
33038
33039 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33040
e057a1b5
JM
330412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33042 Maxim Kuvyrkov <maxim@codesourcery.com>
33043 Joseph Myers <joseph@codesourcery.com>
33044
33045 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33046 if needed for __stack_chk_guard.
33047
bc7e1c36
RM
330482011-09-19 Roland McGrath <roland@hack.frob.com>
33049
ecb1482f
RM
33050 * sysdeps/posix/spawni.c (script_execute): Always define it.
33051 It will be optimized away if unused.
33052 (maybe_script_execute): New function.
33053 (__spawni): Call it.
33054
bc7e1c36
RM
33055 * Makerules: Don't include tls.make.
33056 (config-tls): Always set to thread.
33057 * tls.make.c: File removed.
33058
1c3b002b
MF
330592011-09-19 Mike Frysinger <vapier@gentoo.org>
33060
33061 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33062 * config.make.in (CPPFLAGS-config): New substituted variable.
33063
2840865d
UD
330642011-09-15 Ulrich Drepper <drepper@gmail.com>
33065
88738eb6
UD
33066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33067
cbf645a6 33068 [BZ #13192]
2840865d
UD
33069 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33070 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33071
b402e91a
RM
330722011-09-15 Roland McGrath <roland@hack.frob.com>
33073
33074 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33075 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33077 (CALL_FAIL): Likewise.
33078 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33079 (CALL_FAIL): Macro removed.
33080 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33081
4c1a1f71
UD
330822011-09-15 Ulrich Drepper <drepper@gmail.com>
33083
33084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33085 for __FINITE_MATH_ONLY__ == 1.
33086
edc121be
AS
330872011-09-15 Andreas Schwab <schwab@redhat.com>
33088
33089 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33090 __ieee754_sqrt instead of sqrt.
33091 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33092 __ieee754_sqrtf instead of sqrtf.
33093 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33094 __floorf instead of floorf.
33095 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33096 __floorf, __truncf instead of floorf, truncf.
33097
cd205654
UD
330982011-09-14 Ulrich Drepper <drepper@gmail.com>
33099
ee4d0315
UD
33100 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33101
cd205654
UD
33102 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33103 __extern_always_inline.
33104 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33105 32-bit.
33106
48b67d71
AS
331072011-09-14 Andreas Schwab <schwab@redhat.com>
33108
33109 * elf/rtld.c (dl_main): Also relocate in dependency order when
33110 doing symbol dependency testing.
33111
1ae12c75
AS
331122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33113
33114 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33115 Always define `refsym'.
33116
995a80df
AS
331172011-09-13 Andreas Schwab <schwab@redhat.com>
33118
e529793b
AS
33119 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33120 (__FD_ELT): Renamed from __FDELT.
33121 * misc/bits/select2.h (__FD_ELT): Likewise.
33122 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33123 __FD_MASK instead of __FDELT, __FDMASK.
33124 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33125 Likewise.
33126 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33127 Likewise.
33128
52d4fef8
AS
33129 * elf/Makefile (gen-ldd): Fix pattern.
33130
995a80df
AS
33131 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33132 (init_tls): Likewise.
33133
8682f8b0
UD
331342011-09-12 Ulrich Drepper <drepper@gmail.com>
33135
33136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33137
de82006d
AS
331382011-09-12 Andreas Schwab <schwab@redhat.com>
33139
a7c8e6a1
AS
33140 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33141 `struct cmsghdr *' instead of `void *'.
33142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33143 Likewise.
33144
0f31fe77
AS
331452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33146
33147 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33148 if non-absolute.
33149 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33150 ldd_rewrite_script.
0f31fe77 33151
32b4c839
UD
331522011-09-11 Ulrich Drepper <drepper@gmail.com>
33153
83cd1420
UD
33154 * configure.in: Remove --with-tls option.
33155 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33156 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33157 out in case it is missing.
33158 * sysdeps/ia64/elf/configure.in: Likewise.
33159 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33160 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33161 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33162 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33163 * sysdeps/sh/elf/configure.in: Likewise.
33164 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33165 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33166 * sysdeps/x86_64/elf/configure.in: Likewise.
33167 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33168 * sysdeps/mach/hurd/tls.h: Likewise.
33169
633f745d
UD
33170 [BZ #13067]
33171 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33172
f318beb8
UD
33173 [BZ #13090]
33174 * configure.in: Fix use of AC_INIT.
33175
32b4c839
UD
33176 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33177
3ce1f295
UD
331782011-09-10 Ulrich Drepper <drepper@gmail.com>
33179
bb016596
UD
33180 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33181 __set_errno.
8e58439c
UD
33182 * malloc/hooks.c: Likewise.
33183
aebae053 33184 [BZ #11929]
02d46fc4
UD
33185 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33186 variables statically.
33187 (narenas): Initialize.
33188 (list_lock): Initialize.
bb016596
UD
33189 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33190 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33191 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33192 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33193 Add initializers to main_arena and mp_.
33194 (malloc_state): Remove pagesize member. Change all users to use
33195 GLRO(dl_pagesize).
33196
33197 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33198 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33199 is always initialized.
33200
22a89187
UD
33201 * malloc/malloc.c: Removed unused configurations and dead code.
33202 * malloc/arena.c: Likewise.
33203 * malloc/hooks.c: Likewise.
02d46fc4 33204 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33205
d063d164
UD
33206 * include/tls.h: Removed. USE___THREAD must always be defined.
33207 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33208 * elf/dl-libc.c: Likewise.
33209 * elf/dl-tsd.c: Likewise.
33210 * include/errno.h: Likewise.
33211 * include/netdb.h: Likewise.
33212 * include/resolv.h: Likewise.
33213 * inet/herrno-loc.c: Likewise.
33214 * inet/herrno.c: Likewise.
33215 * malloc/arena.c: Likewise.
33216 * malloc/hooks.c: Likewise.
33217 * malloc/malloc.c: Likewise.
33218 * resolv/res-state.c: Likewise.
33219 * resolv/res_libc.c: Likewise.
33220 * sysdeps/i386/dl-machine.h: Likewise.
33221 * sysdeps/ia64/dl-machine.h: Likewise.
33222 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33223 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33224 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33225 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33226 * sysdeps/sh/dl-machine.h: Likewise.
33227 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33228 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33229 * sysdeps/unix/i386/sysdep.S: Likewise.
33230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33231 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33236 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33241 * sysdeps/x86_64/dl-machine.h: Likewise.
33242 * tls.make.c: Likewise.
33243
3ce1f295
UD
33244 * configure.in: Remove --with-__thread option. Make tests for
33245 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33246 tls_model attribute fail if no support is available. Remove
33247 USE_IN_LIBIO.
33248 * Makeconfig: Adjust for dropped configure option. All features are
33249 now mandatory.
33250 * Makerules: Likewise.
33251 * Versions.def: Likewise.
33252 * argp/argp-fmtstream.c: Likewise.
33253 * argp/argp-fmtstream.h: Likewise.
33254 * argp/argp-help.c: Likewise.
33255 * assert/assert.c: Likewise.
33256 * config.h.in: Likewise.
33257 * config.make.in: Likewise.
33258 * configure: Likewise.
33259 * configure.in: Likewise.
33260 * csu/Versions: Likewise.
33261 * csu/init.c: Likewise.
33262 * elf/tst-audit2.c: Likewise.
33263 * elf/tst-tls10.c: Likewise.
33264 * elf/tst-tls10.h: Likewise.
33265 * elf/tst-tls11.c: Likewise.
33266 * elf/tst-tls12.c: Likewise.
33267 * elf/tst-tls14.c: Likewise.
33268 * elf/tst-tlsmod11.c: Likewise.
33269 * elf/tst-tlsmod12.c: Likewise.
33270 * elf/tst-tlsmod13.c: Likewise.
33271 * elf/tst-tlsmod13a.c: Likewise.
33272 * elf/tst-tlsmod14a.c: Likewise.
33273 * elf/tst-tlsmod15b.c: Likewise.
33274 * elf/tst-tlsmod16a.c: Likewise.
33275 * elf/tst-tlsmod16b.c: Likewise.
33276 * elf/tst-tlsmod7.c: Likewise.
33277 * elf/tst-tlsmod8.c: Likewise.
33278 * elf/tst-tlsmod9.c: Likewise.
33279 * gmon/gmon.c: Likewise.
33280 * grp/fgetgrent_r.c: Likewise.
33281 * grp/putgrent.c: Likewise.
33282 * hurd/fopenport.c: Likewise.
33283 * include/libc-symbols.h: Likewise.
33284 * include/tls.h: Likewise.
33285 * intl/gettextP.h: Likewise.
33286 * intl/loadinfo.h: Likewise.
33287 * locale/global-locale.c: Likewise.
33288 * locale/localeinfo.h: Likewise.
33289 * mach/devstream.c: Likewise.
33290 * malloc/arena.c: Likewise.
33291 * malloc/set-freeres.c: Likewise.
33292 * misc/err.c: Likewise.
33293 * misc/getttyent.c: Likewise.
33294 * misc/mntent_r.c: Likewise.
33295 * posix/getopt.c: Likewise.
33296 * posix/wordexp.c: Likewise.
33297 * pwd/fgetpwent_r.c: Likewise.
33298 * resolv/Versions: Likewise.
33299 * resolv/res_hconf.c: Likewise.
33300 * shadow/fgetspent_r.c: Likewise.
33301 * shadow/putspent.c: Likewise.
33302 * stdio-common/printf_fphex.c: Likewise.
33303 * stdio-common/tmpfile.c: Likewise.
33304 * stdlib/abort.c: Likewise.
33305 * stdlib/fmtmsg.c: Likewise.
33306 * sunrpc/auth_unix.c: Likewise.
33307 * sunrpc/clnt_perr.c: Likewise.
33308 * sunrpc/clnt_tcp.c: Likewise.
33309 * sunrpc/clnt_udp.c: Likewise.
33310 * sunrpc/clnt_unix.c: Likewise.
33311 * sunrpc/openchild.c: Likewise.
33312 * sunrpc/svc_simple.c: Likewise.
33313 * sunrpc/svc_tcp.c: Likewise.
33314 * sunrpc/svc_udp.c: Likewise.
33315 * sunrpc/svc_unix.c: Likewise.
33316 * sunrpc/xdr.c: Likewise.
33317 * sunrpc/xdr_array.c: Likewise.
33318 * sunrpc/xdr_rec.c: Likewise.
33319 * sunrpc/xdr_ref.c: Likewise.
33320 * sunrpc/xdr_stdio.c: Likewise.
33321
1248c1c4
PB
333222011-09-09 Ulrich Drepper <drepper@gmail.com>
33323
33324 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33325
333262011-07-03 Andreas Jaeger <aj@suse.de>
33327
33328 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33329 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33330 regenerate with gen-libm-tests.pl.
33331
333322010-05-12 Petr Baudis <pasky@suse.cz>
33333
33334 [BZ #11589]
33335 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33336 around j0() zero points by switching to j1().
33337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33338 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33340 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33341
f22e1074
UD
333422011-09-09 Ulrich Drepper <drepper@gmail.com>
33343
f19009c1
UD
33344 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33345 instead of 0.
33346 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33347 instead of 0.
f19009c1
UD
33348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33349 Patch in part by Pavel Roskin <proski@gnu.org>.
33350
3f8cc204
UD
33351 [BZ #13138]
33352 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33353 realloc.
33354 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33355 Free memory block if necessary.
33356
f22e1074
UD
33357 [BZ #12847]
33358 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33359 be NULL. Don't lock in this case.
33360
0a2349f9
RM
333612011-09-09 Roland McGrath <roland@hack.frob.com>
33362
33363 * elf/elf.h (ELFOSABI_GNU): New macro.
33364 (ELFOSABI_LINUX): Define to that.
33365
f3cdd467
DZ
333662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33367
33368 * string/strncat.c (strncat): Undef the symbol in case it has been
33369 defined in bits/string.h.
33370
74718d13
UD
333712011-09-09 Ulrich Drepper <drepper@gmail.com>
33372
633e9e0f
UD
33373 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33374
0a2349f9 33375 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33376 link map.
33377
f9924780
AJ
333782011-08-17 Andreas Jaeger <aj@suse.de>
33379
33380 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33381
7f5517aa
PP
333822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33383 Ian Lance Taylor <iant@google.com>
33384
33385 * math/libm-test.inc (lround_test): New testcase.
33386 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33387
762011fe
UD
333882011-09-08 Ulrich Drepper <drepper@gmail.com>
33389
92963737
UD
33390 * Makefile: Remove support for automatic cvs check-ins.
33391 * Makerules: Likewise.
33392 * config.make.in: Likewise.
33393 * configure.in: Likewise.
33394 * intl/Makefile: Likewise.
33395 * locale/Makefile: Likewise.
33396 * po/Makefile: Likewise.
33397 * posix/Makefile: Likewise.
33398 * sysdeps/gnu/Makefile: Likewise.
33399 * sysdeps/mach/hurd/Makefile: Likewise.
33400 * sysdeps/sparc/sparc32/Makefile: Likewise.
33401
b0727fd8
JS
33402 [BZ #13118]
33403 * posix/Makefile (bug-regex32-ENV): Define.
33404 Patch by John Stanley <jpsinthemix@verizon.net>.
33405
a0f33f99
UD
33406 * misc/Makefile (headers): Add bits/select2.h.
33407 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33408 * misc/bits/select2.h: New file.
33409 * include/bits/select2.h: New file.
33410 * debug/Makefile (routines): Add fdelt_chk.
33411 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33412 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33413 FD_ISSET.
33414 * debug/fdelt_chk.c: New file.
33415
762011fe
UD
33416 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33417 * wcsmbs/test-wmemcmp.c: Likewise.
33418 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33419 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33420
334212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33422
33423 * string/Makefile (strop-tests): Add memcmp.
33424 * string/test-wmemcmp.c: New file.
33425 * string/test-memcmp.c: Add wmemcmp support.
33426
7f513ec8
RM
334272011-09-08 Roland McGrath <roland@hack.frob.com>
33428
0442afb4
RM
33429 [BZ #13153]
33430 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33431 2011-07-19 change.
33432
7f513ec8
RM
33433 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33434 garbage value in a __mach_port_mod_refs call in the cases of the
33435 task-self and thread-self ports.
33436
a12b2239
ST
334372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33438
33439 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33440
610f9ab4
AS
334412011-09-08 Andreas Schwab <schwab@redhat.com>
33442
7f513ec8 33443 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33444
48882a1a
LD
334452011-09-07 Ulrich Drepper <drepper@gmail.com>
33446
b49865be
UD
33447 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33448
fdc86bc9
UD
33449 * elf/dl-libc.c (dlerror_run): Pass back error code from
33450 dl_catch_error.
33451
c966526a
UD
33452 [BZ #13123]
33453 * elf/dl-load.c (lose): Free l_origin if it is valid.
33454
48882a1a
LD
33455 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33456 names.
33457 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33458 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33461 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33462 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33463
77a2a8b4
AZ
334642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33465
33466 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33467 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33468 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33469 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33470 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33471 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33472 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33473 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33474 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33475 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33476
24f579d8
AM
334772011-08-15 Alan Modra <amodra@gmail.com>
33478
33479 [BZ #13092]
33480 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33481 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33482 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33483 ppc_mcount to static-only-routines.
33484 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33485 __mcount_internal.
33486 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33487 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33488
3d4837df
UD
334892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33490
33491 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33492 for finite and infinity parameters.
33493
22700377
WS
334942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33495
33496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33497 and add nop instructions for throughput optimization.
33498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33499
5025581e
WS
335002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33501
33502 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33503 aligned copy for power7 with vector-scalar instructions.
33504 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33505
08a300c9
L
335062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33507
33508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33509 AVX check.
33510
59178ef9
AS
335112011-09-07 Andreas Schwab <schwab@redhat.com>
33512
33513 [BZ #13144]
33514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33515 last change.
33516
e38ba7ab
UD
335172011-09-07 Ulrich Drepper <drepper@gmail.com>
33518
33519 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33520 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33521 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33522 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33523 clock_gettime.
33524
d53a73ac
UD
335252011-09-06 Ulrich Drepper <drepper@gmail.com>
33526
fc8bffcc
UD
33527 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33528 Forgot to demangle the pointer.
33529
ceaa0c5d
UD
33530 * sysdeps/i386/sysdep.h: Define atom_text_section.
33531 * sysdeps/x86_64/sysdep.h: Likewise.
33532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33533 section with atom_text_section.
33534 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33536 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33538 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33539
a77d3c17
UD
33540 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33541 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33542 already be defined. Change to take two parameters and don't assign
33543 result to variable. Adjust all users.
33544 Define INTERNAL_GETTIME if not already defined.
33545 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33546 call.
33547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33548 HAVE_CLOCK_GETTIME_VSYSCALL.
33549 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33550
d53a73ac
UD
33551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33552 gettimeofday vsyscall, just use time.
33553
a8f84144
AS
335542011-09-06 Andreas Schwab <schwab@redhat.com>
33555
33556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33557 <errno.h>.
33558
ef606249
UD
335592011-09-06 Ulrich Drepper <drepper@gmail.com>
33560
33561 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33562 syscall on x86-64.
33563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33564 syscall.
33565 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33567 syscall if possible.
33568
6585cb60
UD
335692011-09-05 Ulrich Drepper <drepper@gmail.com>
33570
33571 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33572 e_ident. Don't pass to find_mapsXX.
33573 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33574
a5f524e4
LD
335752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33576
33577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33578 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33579 * sysdeps/x86_64/multiarch/strchr.S: Update.
33580 Check bit_slow_BSF bit.
33581 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33582 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33583 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33584
554881ef
UD
335852011-09-05 Ulrich Drepper <drepper@gmail.com>
33586
d96de963
UD
33587 [BZ #13134]
33588 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33589 before glibc 2.15.
33590 (tryshell): Define.
33591 (__spawni): Change last parameter to be flag. Test
33592 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33593 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33594 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33595 * posix/spawni.c: Likewise.
33596 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33597 * posix/spawnp.c: Likewise. Change normal version to use
33598 SPAWN_XFLAGS_USE_PATH.
33599 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33600 SPAWN_XFLAGS_TRY_SHELL.
33601
d48e5868
UD
33602 [BZ #13150]
33603 * posix/glob.h: Remove gcc 1.x support.
33604
554881ef
UD
33605 [BZ #13068]
33606 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33607
693fb948
LD
336082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33609
33610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33611 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33612 strrchr-sse2-bsf
33613 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33614 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33615 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33616 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33617 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33619
1b48c537
UD
336202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33621
49d42c37
UD
33622 * sysdeps/x86_64/wcscmp.S: New file.
33623
1b48c537
UD
33624 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33625 wcscmp-c wcscmp-sse2
33626 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33627 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33628 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33629 * wcsmbs/wcscmp.c: Allow renaming.
33630
15c95c5d
DM
336312011-09-05 David S. Miller <davem@davemloft.net>
33632
33633 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33634 stack slot, rather than the struct return pointer slot.
33635 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33636 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33638 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33639
2f0ad8f3
UD
336402011-09-05 Ulrich Drepper <drepper@gmail.com>
33641
d88ae418
UD
33642 * po/ja.po: Update from translation team.
33643
2f0ad8f3
UD
33644 [BZ #13144]
33645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33646 kernel in 64-bit binaries.
33647
5f4318d1
DM
336482011-09-01 David S. Miller <davem@davemloft.net>
33649
33650 * elf/elf.h (HWCAP_SPARC_*): Move to..
33651 * sysdeps/sparc/sysdep.h: this new file and add new values.
33652 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33653 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33654 _DL_HWCAP_COUNT to 24.
33655 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33656 entries.
33657 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33658 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33659 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33661 instead of magic constants.
33662 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33663
3ba57516
DM
336642011-08-31 David S. Miller <davem@davemloft.net>
33665
33666 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33668 Reimplement to do errno handling inline.
33669 (SYSCALL_ERROR_HANDLER): New macro.
33670 (__SYSCALL_STRING): Do not do errno handling in asm.
33671 (__CLONE_SYSCALL_STRING): Delete.
33672 (__INTERNAL_SYSCALL_STRING): Delete.
33673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33674 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33675 (PSEUDO): Reimplement to do errno handling inline.
33676 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33677 (SYSCALL_ERROR_HANDLER): New macro.
33678 (__SYSCALL_STRING): Do not do errno handling in asm.
33679 (__CLONE_SYSCALL_STRING): Delete.
33680 (__INTERNAL_SYSCALL_STRING): Delete.
33681 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33682 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33683 i386.
33684 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33685 (inline_syscall*): Add 'err' argument.
33686 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33687 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33688 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33689 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33690
33691 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33692 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33693
2bc17433
AS
336942011-08-30 Andreas Schwab <schwab@redhat.com>
33695
33696 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33697
fbeb5f4d
JO
336982011-08-29 Jiri Olsa <jolsa@redhat.com>
33699
33700 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33701 directive.
33702
ad69cc26
DM
337032011-08-24 David S. Miller <davem@davemloft.net>
33704
33705 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33706
39dd69df
AS
337072011-08-24 Andreas Schwab <schwab@redhat.com>
33708
33709 * elf/Makefile: Add rules to build and run unload8 test.
33710 * elf/unload8.c: New file.
33711 * elf/unload8mod1.c: New file.
33712 * elf/unload8mod1x.c: New file.
33713 * elf/unload8mod2.c: New file.
33714 * elf/unload8mod3.c: New file.
33715
33716 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33717 it wasn't used.
33718
2c0b250a
DM
337192011-08-23 David S. Miller <davem@davemloft.net>
33720
33721 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33722 subtract stack bias.
33723 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33724 %sp not %fp in calculations.
33725 (_JMPBUF_UNWINDS_ADJ): Likewise.
33726
22044b48
DM
33727 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33728 (aio_suspend): Call it to force an exception region around the
33729 AIO_MISC_WAIT() invocation.
33730
2cae4995
AS
337312011-08-23 Andreas Schwab <schwab@redhat.com>
33732
33733 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33734 backslash.
33735
873a772e
AJ
337362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33737
33738 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33739 protection macro.
33740 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33741 and <dl-machine.h>.
33742 (Elf64_FuncDesc): Remove.
33743
25ad0df1
DM
337442011-08-22 David S. Miller <davem@davemloft.net>
33745
33746 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33747 sigaltstack check, add missing cfi directives.
33748 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33749 missing cfi directives, and sigaltstack handling.
33750
e888bcbe
AS
337512011-08-16 Andreas Schwab <schwab@redhat.com>
33752
33753 [BZ #11724]
33754 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33755 object is seen twice.
33756 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33757
33758 * elf/Makefile (distribute): Add tst-initorder2.c.
33759 (tests): Add tst-initorder2.
33760 (modules-names): Add tst-initorder2a tst-initorder2b
33761 tst-initorder2c tst-initorder2d. Add rules to build them.
33762 ($(objpfx)tst-initorder2.out): New rule.
33763 * elf/tst-initorder2.c: New file.
33764 * elf/tst-initorder2.exp: New file.
33765
87162f46
AS
337662011-08-22 Andreas Schwab <schwab@redhat.com>
33767
70538b7f
AS
33768 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33769
f55ffe58
AS
33770 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33771 dependencies back to end of function.
33772
87162f46
AS
33773 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33774 $(elfobjdir)/ld.so.
33775
91b392a4
UD
337762011-08-21 Ulrich Drepper <drepper@gmail.com>
33777
33778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33779 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33781 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33782 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33783 of __vdso_gettimeofday.
33784 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33785 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33786 attribute_hidden.
33787 (_libc_vdso_platform_setup): Remove initialization of
33788 __vdso_gettimeofday and __vdso_time.
33789
5c43483f
UD
337902011-08-20 Ulrich Drepper <drepper@gmail.com>
33791
775a77e7
UD
33792 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33793 and fgetc_unlocked.
33794 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33795 getc_unlocked.
89f447ed 33796
49c74ba9
UD
33797 * elf/dl-open.c (add_to_global): Report additions to the global scope
33798 for LD_DEBUG=scopes.
33799 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33800 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33801
5c43483f
UD
33802 [BZ #13114]
33803 * stdio-common/Makefile (tests): Add bug24.
33804 * stdio-common/bug24.c: New file.
33805
a101b025
AJ
338062011-08-19 Andreas Jaeger <aj@suse.de>
33807
33808 [BZ #13114]
33809 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33810 non-existant file when using close-on-exec mode.
33811
c88f1766
UD
338122011-08-20 Ulrich Drepper <drepper@gmail.com>
33813
0276a718
UD
33814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33815 the very first instruction.
33816
c88f1766
UD
33817 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33818 the CFI state in the end.
33819 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33820 inclusion of dl-trampoline.h.
33821 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33822
51ccffa0
AS
338232011-08-19 Andreas Schwab <schwab@redhat.com>
33824
94d7165f
AS
33825 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33826 expectations for long double.
33827
51ccffa0
AS
33828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33829 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33830
fd708658 338312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33832
33833 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33834 artificual limit depends upon the system page size.
33835
44f0a71e
UD
338362011-08-17 Ulrich Drepper <drepper@gmail.com>
33837
33838 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33839 * resolv/Makefile: Define CFLAGS-libresolv.
33840
8de79a24
AS
338412011-08-17 Andreas Schwab <schwab@redhat.com>
33842
33843 * nss/makedb.c (compute_tables): Make variables used in nested
33844 function static.
33845
27724598
UD
338462011-08-17 Ulrich Drepper <drepper@gmail.com>
33847
c5305d88
UD
33848 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33849 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33850 if buffer was too small.
33851
27724598
UD
33852 * elf/pldd.c (main): Attach to all threads in the process.
33853 Rewrite /proc handling to use *at functions.
33854
076fe015
UD
338552011-08-16 Ulrich Drepper <drepper@gmail.com>
33856
174baab3
UD
33857 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33858 specifies first scope to show.
33859 (dl_open_worker): Update callers. Move printing scope of new
33860 object to before the relocation.
44f0a71e 33861 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33862 * sysdeps/generic/ldsodefs.h: Update declaration.
33863
076fe015
UD
33864 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33865 string for the scope number.
33866
a60df2c3
UD
338672011-08-14 Ulrich Drepper <drepper@gmail.com>
33868
33869 * nscd/servicescache.c (cache_addserv): Make sure written is always
33870 initialized.
33871
5e4287d1
RM
338722011-08-14 Roland McGrath <roland@hack.frob.com>
33873
85ae0589
RM
33874 * sysdeps/i386/i486/bits/atomic.h
33875 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33876 statement expression, so as to suppress "set but not used" warning.
33877 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33878
69f63097
RM
33879 * string/strncat.c (STRNCAT): Use prototype definition.
33880
675456ef
RM
33881 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33882 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33883 -Iprograms here.
33884 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33885 (localedef-modules): Add localedef.
33886 (locale-modules): Add locale.
33887
5e4287d1
RM
33888 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33889 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33890 to avoid a warning.
33891
9c96ff23
DM
338922011-08-14 David S. Miller <davem@davemloft.net>
33893
33894 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33895 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33896
f9ddf089
UD
338972011-08-13 Ulrich Drepper <drepper@gmail.com>
33898
44f0a71e 33899 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33900 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33901 * elf/rtld.c (dl_main): Set l_name of vDSO.
33902 Call _dl_show_scope when DL_DEBUG_SCOPES.
33903 (process_dl_debug): Recognize scopes flag and also set it for all.
33904 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33905 Declare _dl_show_scope.
33906
1dc27704
UD
33907 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33908 (do_dlopen): Pass caller_dlopen to dl_open.
33909 (__libc_dlopen_mode): Initialize caller_dlopen.
33910
f9ddf089
UD
33911 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33912 of libc. Make tolower call locale-independent. Optimize a bit by
33913 using isdigit instead of isalnum.
33914 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33915
9ac533d3
UD
339162011-08-12 Ulrich Drepper <drepper@gmail.com>
33917
33918 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33919 was a dependency or dynamically loaded.
33920
89edf2e9
UD
339212011-08-11 Ulrich Drepper <drepper@gmail.com>
33922
8e999d29
UD
33923 * intl/l10nflist.c: Allow architecture-specific pop function.
33924 * sysdeps/x86_64/l10nflist.c: New file.
33925
89edf2e9
UD
33926 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33927 classification.
33928
14d96785
AS
339292011-08-10 Andreas Schwab <schwab@redhat.com>
33930
33931 * include/dirent.h: Add libc_hidden_proto for scandirat and
33932 scandirat64. Don't declare __scandirat64.
33933 * dirent/scandirat.c: Add libc_hidden_def.
33934 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33935 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33936
6761ac04
DM
339372011-08-10 David S. Miller <davem@davemloft.net>
33938
33939 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33940 enum.
33941 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33944
c55fbd1e
UD
339452011-08-09 Ulrich Drepper <drepper@gmail.com>
33946
33947 * Versions.def [libc]: Add GLIBC_2.15.
33948 * dirent/Makefile (routines): Add scandirat and scandirat64.
33949 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33950 GLIBC_2.15.
33951 * dirent/dirent.h: Declare scandirat and scandirat64.
33952 * dirent/scandirat.c: New file.
33953 * dirent/scandirat64.c: New file.
33954 * sysdeps/wordsize-64/scandirat.c: New file.
33955 * sysdeps/wordsize-64/scandirat64.c: New file.
33956 * dirent/opendir.c: Define opendirat.
33957 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33958 using scandirat.
33959 * dirent/scandir64.c: Adjust for scandir.c change.
33960 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33961 __scandirat64, and __scandir_cancel_handler.
33962 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33963 additional parameter and use openat instead of open (outside of ld.so).
33964 Add new __opendir as wrapper around __opendirat.
33965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33966 here without requiring old scandirat implementation.
33967
879165f2
UD
339682011-08-08 Ulrich Drepper <drepper@gmail.com>
33969
33970 * dirent/scandir.c (cancel_handler): Renamed to
33971 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33972 defined. Adjust users.
33973 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33975
cb7e923b
UD
339762011-08-04 Ulrich Drepper <drepper@gmail.com>
33977
16292edd
UD
33978 * string/test-string.h (IMPL): Use __STRING to expand name and then
33979 stringify it.
33980
cb7e923b
UD
33981 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33982 of cleanups.
33983
cff82933
LD
339842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33985
33986 * string/Makefile: Update.
33987 (strop-tests): Append strncat.
33988 * string/test-wcscmp.c: New file.
33989 New comprehensive test for wcscmp.
33990 * string/test-strcmp.c: Update.
33991 (WIDE): New define.
33992
9be9bfcc
AS
339932011-07-22 Andreas Schwab <schwab@redhat.com>
33994
33995 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33996 line.
33997
2e96f1c7
AS
339982011-07-26 Andreas Schwab <schwab@redhat.com>
33999
34000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34001 encoding to ACE if AI_IDN.
34002
85188888
JJ
340032011-08-01 Jakub Jelinek <jakub@redhat.com>
34004
34005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34006 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34007
5fa16e9b
LD
340082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34009
34010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34011 Fix overflow bug in strncat.
34012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34013
34014 * string/test-strncat.c: Update.
34015 Add new tests for checking overflow bugs.
34016
340172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34018
34019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34020 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34021 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34022 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34024 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34025 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34026 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34027 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34028
34029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34030 (USE_AS_STRCAT): Define.
34031 Add strcat and strncat support.
34032 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34033
8c1a459f
AS
340342011-07-25 Andreas Schwab <schwab@redhat.com>
34035
34036 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34037 __n bigger than INT_MAX+1.
34038 (__strncmp_g): Likewise.
34039
bba33c28
UD
340402011-07-23 Ulrich Drepper <drepper@gmail.com>
34041
798be72d
UD
34042 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34043 * libio/stido.h: Likewise.
34044
8accd4dc
UD
34045 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34046 (AF_NFC): Define.
34047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34048 (AF_NFC): Define.
34049
cbff0d96
UD
34050 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34052 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34055
9191c04a
UD
34056 [BZ #13021]
34057 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34058 installed.
34059
bba33c28
UD
34060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34061 typo.
34062 (_dl_x86_64_save_sse): Likewise.
34063
90f139dd
UD
340642011-07-22 Ulrich Drepper <drepper@gmail.com>
34065
1aae088a
UD
34066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34067 OSXSAVE.
34068 (_dl_x86_64_save_sse): Likewise.
34069
8e2045f5
UD
34070 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34071
90f139dd
UD
34072 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34073
1d002f25
AS
340742011-07-21 Andreas Schwab <schwab@redhat.com>
34075
34076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34077 change.
34078 (_dl_x86_64_save_sse): Use correct AVX check.
34079
21137f89
UD
340802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34081
34082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34083 bug in strncpy/strncat.
34084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34085
a65c0b7a
UD
340862011-07-21 Ulrich Drepper <drepper@gmail.com>
34087
34088 * string/tester.c (test_strcat): Add tests for different alignments
34089 of source and destination.
34090 (test_strncat): Likewise.
34091
6986b98a
UD
340922011-07-20 Ulrich Drepper <drepper@gmail.com>
34093
90bb2039
UD
34094 [BZ #12852]
34095 * posix/glob.c (glob): Check passed in values before using them in
34096 expressions to avoid some overflows.
34097 (glob_in_dir): Likewise.
34098
5644ef54
UD
34099 [BZ #13007]
34100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34101 check for AVX enablement so that we don't crash with old kernels and
34102 new hardware.
34103 * elf/tst-audit4.c: Add same checks here.
34104 * elf/tst-audit6.c: Likewise.
34105
34106 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34107
bfc9dc9b
AS
341082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34109
34110 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34111
702e64bb
UD
341122011-07-20 Ulrich Drepper <drepper@gmail.com>
34113
34114 * po/cs.po: Update from translation team.
34115 * po/bg.po: Likewise.
34116
295e904f
MP
341172011-07-12 Marek Polacek <mpolacek@redhat.com>
34118
34119 * misc/sys/cdefs.h: Add support for const attribute.
34120 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34121 to gnu_dev_{major,minor,makedev} functions.
34122
3ff94596
MP
341232011-07-20 Marek Polacek <mpolacek@redhat.com>
34124
34125 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34126
28b59fca
AS
341272011-07-20 Andreas Schwab <schwab@redhat.com>
34128
34129 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34130 strlen results.
34131
19df733e
AK
341322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34133
34134 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34135 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34136 register in order to avoid conflicts with the soft frame pointer
34137 being held in r11 when necessary.
34138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34139 (INTERNAL_VSYSCALL_NCS): Likewise.
34140
c8835729
MP
341412011-07-14 Marek Polacek <mpolacek@redhat.com>
34142
34143 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34144 * elf/dl-fini.c (_dl_fini): Adjust caller.
34145 * elf/dl-close.c (_dl_close_worker): Likewise.
34146 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34147
b902330c
MP
341482011-07-15 Marek Polacek <mpolacek@redhat.com>
34149
8991e135
MP
34150 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34151 "aux_cache->nlibs < 0".
34152
b902330c
MP
34153 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34154 in the reload-count case.
34155
99710781
LD
341562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34157
34158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34159 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34160 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34161 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34162 * sysdeps/x86_64/multiarch/strcat.S: New file.
34163 * sysdeps/x86_64/multiarch/strncat.S: New file.
34164 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34165 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34166 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34167 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34169 (USE_AS_STRCAT): Define.
34170 Add strcat and strncat support.
34171 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34173 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34174 * string/strncat.c: Update.
34175 (USE_AS_STRNCAT): Define.
34176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34177 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34178 and i7.
34179 * sysdeps/x86_64/multiarch/init-arch.h
34180 (bit_Prefer_PMINUB_for_stringop): New.
34181 (index_Prefer_PMINUB_for_stringop): Likewise.
34182 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34183 bit_Prefer_PMINUB_for_stringop.
34184
7dc6bd90
UD
341852011-07-19 Ulrich Drepper <drepper@gmail.com>
34186
34187 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34188 buffer64.
34189 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34190 of casting of buffer.
34191 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34192 buffer32 and buffer64.
34193 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34194 writes instead of casting of buffer.
34195 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34196 buffer32.
34197 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34198 casting of buffer.
34199
e0e72284
AS
342002011-07-19 Andreas Schwab <schwab@redhat.com>
34201
34202 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34203
feb1eb0b
UD
342042011-07-19 Ulrich Drepper <drepper@gmail.com>
34205
34206 * nscd/nscd.c (termination_handler): Don't do anything for a database
34207 if it has not yet been initialized.
34208
298711ff
UD
342092011-07-18 Ulrich Drepper <drepper@gmail.com>
34210
34211 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34212
342132011-07-15 Marek Polacek <mpolacek@redhat.com>
34214
34215 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34216
f9d68389
UD
342172011-07-18 Ulrich Drepper <drepper@gmail.com>
34218
34219 * po/nl.po: Update from translation team.
34220 * po/sv.po: Likewise.
34221
db290cf5
RM
342222011-07-16 Roland McGrath <roland@hack.frob.com>
34223
34224 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34225 now disallowed by GCC.
5c550700 34226
fd5e21c7
RM
34227 * configure.in (use-default-link): Default to yes if a test -shared
34228 link meets our qualifications.
34229 * configure: Regenerated.
34230
5c550700
RM
34231 * config.make.in (output-format): New variable.
34232 * configure.in: Check for ld --print-output-format support.
34233 * configure: Regenerated.
34234 * Makerules ($(common-objpfx)format.lds)
34235 [$(output-format) != unknown]: Just use $(output-format),
34236 instead of the linker-script munging.
34237
9fa2c032
RM
342382011-07-14 Roland McGrath <roland@hack.frob.com>
34239
a6928d51
RM
34240 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34241 of $(common-objpfx)shlib.lds.
34242 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34243
661607b3
RM
34244 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34245 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34246
9fa2c032
RM
34247 * configure.in (-z relro check): Adjust test code to add a large
34248 writable data section after it.
34249 * configure: Regenerated.
34250
defe9061
RM
342512011-07-11 Roland McGrath <roland@hack.frob.com>
34252
34253 * configure.in (-z relro check): Fix test code to make the variable
34254 truly const.
34255 * configure: Regenerated.
34256
319b9ad4
UD
342572011-07-11 Ulrich Drepper <drepper@gmail.com>
34258
34259 * nscd/nscd.h (struct traced_file): Define.
34260 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34261 elements. Add traced_files.
34262 (inotify_fd): Declare.
34263 (register_traced_file): Declare.
34264 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34265 (inotify_fd): Export.
34266 (resolv_conf_descr): Remove.
34267 (nscd_init): Move inotify descriptor creation to main.
34268 Don't register files for notification here.
34269 (register_traced_file): New function.
34270 (invalidate_cache): Don't use reset_res to determine whether to call
34271 res_init, go through the list of registered files.
34272 (main_loop_poll): The inotify descriptors are now stored in the
34273 structures for the traced files.
34274 (main_loop_epoll): Likewise
34275 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34276 to __nss_disable_nscd.
34277 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34278 for a database anymore. Check the records for all the registered
34279 files instead.
34280 * nss/Makefile (libnss_files-routines): Add files-init.
34281 (libnss_db-routines): Add db-init.
34282 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34283 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34284 * nss/nss_db/db-init.c: New file.
34285 * nss/nss_files/files-init.c: New file.
34286 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34287 __nss_lookup_function.
34288 (__nss_lookup_function): Call nss_load_library.
34289 (nss_load_all_libraries): New function.
34290 (__nss_disable_nscd): Take parameter with callback function for files
34291 to register. Set is_nscd. Load all the DSOs for the NSS modules
34292 used for the cached services.
34293 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34294 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34295 options for features to all the files in nscd.
34296
34297 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34298
23bee3e8
RM
342992011-07-10 Roland McGrath <roland@hack.frob.com>
34300
34301 * csu/elf-init.c (__libc_csu_init): Comment typo.
34302
46a5b7f0
UD
343032011-07-09 Ulrich Drepper <drepper@gmail.com>
34304
34305 * po/pl.po: Update from translation team.
34306 * po/ja.po: Likewise.
34307 * po/ru.po: Likewise.
34308 * po/ko.po: Likewise.
34309 * po/fr.po: Likewise.
34310
d30cf5bb
RM
343112011-07-09 Roland McGrath <roland@hack.frob.com>
34312
113ddea4
RM
34313 * configure.in (.ctors/.dtors header and trailer check):
34314 Use an empirical test on a built program.
34315 * configure: Regenerated.
34316
574920b4
RM
34317 * configure.in (-z relro check): Use an empirical test on a built DSO.
34318 Detect, but do not require, on ia64.
34319 * configure: Regenerated.
34320
d30cf5bb
RM
34321 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34322 Update tests that use readelf to use $READELF instead.
34323 * configure: Regenerated.
34324
8538fdb3
UD
343252011-07-08 Ulrich Drepper <drepper@gmail.com>
34326
34327 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34328 if the result is not used.
34329
04d08991
AJ
343302011-07-05 Andreas Jaeger <aj@suse.de>
34331
34332 [BZ#9696]
34333 * stdlib/tst-strtod.c: Add testcase.
34334
de283087
AD
343352011-07-07 Ulrich Drepper <drepper@gmail.com>
34336
4e5f31c8 34337 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34338 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34339 The latter has a higher limit. Take additional parameter to pass to
34340 the new function.
34341 (__pathconf): Pass file to __statfs_link_max.
34342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34343 __statfs_link_max.
34344 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34345 __statfs_link_max.
34346
de283087
AD
34347 [BZ #12868]
34348 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34350 Handle Lustre.
34351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34352 (__statfs_filesize_max): Likewise.
34353 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34354
c75fa153
AJ
343552011-07-05 Andreas Jaeger <aj@suse.de>
34356
34357 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34358
1a544854
UD
343592011-07-06 Marek Polacek <mpolacek@redhat.com>
34360
34361 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34362 `status' variable.
34363 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34364 Likewise.
34365
6f0eec67
UD
343662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34367
34368 * Makefile (strop-tests): Add strncat.
34369 * string/test-strncat.c: New file.
34370
aae30307
UD
343712011-06-30 Marek Polacek <mpolacek@redhat.com>
34372
34373 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34374
c0cfb5eb
UD
343752011-06-21 Andreas Jaeger <aj@suse.de>
34376
34377 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34378 Copy rule from iconvdata/Makefile.
34379
01636b21
UD
343802011-07-06 Ulrich Drepper <drepper@gmail.com>
34381
34382 [BZ #12922]
34383 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34384 but no long options are defined, just return 'W'.
34385
9895c8bc
UD
343862011-06-22 Marek Polacek <mpolacek@redhat.com>
34387
34388 [BZ #9696]
34389 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34390
5d4cf042
UD
343912011-07-06 Ulrich Drepper <drepper@gmail.com>
34392
34393 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34394 netgroups to read.
960e5535 34395 (innetgr): Likewise.
5d4cf042 34396
751eb97e
RM
343972011-07-05 Roland McGrath <roland@hack.frob.com>
34398
34399 * config.make.in (install_root): Default to $(DESTDIR).
34400
f15f1e45
UD
344012011-07-05 Ulrich Drepper <drepper@gmail.com>
34402
34403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34404
4e34ac6a
RM
344052011-07-02 Roland McGrath <roland@hack.frob.com>
34406
5e9b6af4
RM
34407 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34408
84f9ea0f
RM
34409 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34410 containing directory rather than embedding absolute directory names.
34411
ea5ee9f7
RM
34412 * scripts/check-local-headers.sh: Rewritten using awk.
34413 Match by word, not by line. Print error messages for matches.
34414 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34415
1b74661a
RM
34416 * Makerules [shlib-lds-flags empty]:
34417 ($(common-objpfx)libc_pic.opts): New target.
34418 ($(common-objpfx)libc_pic.os.clean): New target.
34419 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34420
34421 * config.make.in (OBJCOPY): New variable.
34422 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34423 * configure: Regenerated.
34424
f781ef40
RM
34425 * config.make.in (use-default-link): New variable.
34426 * configure.in (use_default_link): Grok --with-default-link to set it.
34427 * configure: Regenerated.
34428 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34429 (shlib-lds, shlib-lds-flags): Define to empty.
34430
2d4fa81e
RM
34431 * Makerules (shlib-lds): New variable.
34432 (shlib-lds-flags): New variable.
34433 (build-shlib, build-moduile, build-module-asneeded): Use it.
34434 ($(common-objpfx)libc.so): Use $(shlib-lds).
34435 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34436 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34437
31fffa6b
RM
34438 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34439 DT_FLAGS/DT_FLAGS_1 with zero flags.
34440
4e34ac6a
RM
34441 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34442 linker script munging.
34443
fcfc776b
UD
344442011-07-02 Ulrich Drepper <drepper@gmail.com>
34445
34446 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34447 as 128-bit value.
34448 * crypt/sha512.c (sha512_process_block): Perform total addition using
34449 128-bit if possible.
34450 (__sha512_finish_ctx): Likewise.
34451 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34452 as 64-bit value.
34453 * crypt/sha256.c (SWAP64): Define.
34454 (sha256_process_block): Perform total addition using 64-bit if
34455 possible.
34456 (__sha256_finish_ctx): Likewise.
34457
99231d9a
UD
344582011-07-01 Ulrich Drepper <drepper@gmail.com>
34459
34460 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34462 * nscd/hstcache.c (cache_addhst): Likewise.
34463 * nscd/grpcache.c (cache_addgr): Likewise.
34464 * nscd/aicache.c (addhstaiX): Likewise
34465 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34466
445b4a53
TK
344672011-07-01 Thorsten Kukuk <kukuk@suse.de>
34468
34469 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34471 * nscd/hstcache.c (cache_addhst): Likewise.
34472 * nscd/grpcache.c (cache_addgr): Likewise.
34473 * nscd/aicache.c (addhstaiX): Likewise
34474
6d4d8e8e
AS
344752011-07-01 Andreas Schwab <schwab@redhat.com>
34476
34477 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34478 domain only when needed.
34479
89f654c5
AS
344802011-06-30 Andreas Schwab <schwab@redhat.com>
34481
34482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34483 is always restored.
34484
cf3b23ff
UD
344852011-06-29 Ulrich Drepper <drepper@gmail.com>
34486
34487 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34488 are re-adding the entry.
34489 * nscd/servicescache.c (cache_addserv): Likewise.
34490
751626f9
AJ
344912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34492
34493 * sysdeps/generic/dl-irel.h: fix protection against multiple
34494 inclusions.
34495 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34496
9113ea1f
UD
344972011-06-28 Ulrich Drepper <drepper@gmail.com>
34498
5c0b8d90
UD
34499 [BZ #12935]
34500 * malloc/memusage.sh: Fix quoting in message.
34501 * debug/xtrace.sh: Likewise.
34502
9113ea1f
UD
34503 * configure.in: Remove support for --experimental-malloc option, make
34504 it the default.
34505 * config.make.in: Likewise.
34506 * malloc/Makefile: Likewise.
34507
a4172181
AS
345082011-06-27 Andreas Schwab <schwab@redhat.com>
34509
34510 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34511 two-byte characters.
34512
78a7eee7
RM
345132011-06-27 Roland McGrath <roland@hack.frob.com>
34514
62bede13
RM
34515 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34516 AC_CACHE_CHECK invocation.
34517 * configure: Regenerated.
34518
78a7eee7
RM
34519 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34520
5ce33a62
UD
345212011-06-27 Ulrich Drepper <drepper@gmail.com>
34522
034807a9
UD
34523 [BZ #12350]
34524 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34525 bit from old_res_options.
34526
4902da17
UD
34527 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34528
5ce33a62
UD
34529 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34530 value type for setfct.
34531
c2344f56
L
345322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34533
34534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34535 __gettimeofday instead of gettimeofday.
34536
68468076
UD
345372011-06-26 Ulrich Drepper <drepper@gmail.com>
34538
34539 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34540
acb0d739
L
345412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34542
34543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34544
34545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34546 info.
34547
8912479f
L
345482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34549
34550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34551 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34552 strcpy-sse2-unaligned strncpy-sse2-unaligned
34553 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34554 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34555 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34556 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34557 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34558 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34559 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34560 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34561 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34562 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34563 (STRCPY): Support SSE2 and SSSE3 versions.
34564
d5495a11
UD
345652011-06-24 Ulrich Drepper <drepper@gmail.com>
34566
34567 [BZ #12874]
34568 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34569 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34570 kernels which artificially limit size of requests.
34571
0b1cbaae
L
345722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34573
34574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34575 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34576 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34577 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34578 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34579 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34580 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34581 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34584 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34585 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34586 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34587 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34588 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34590 Enable unaligned load optimization for Intel Core i3, i5 and i7
34591 processors.
34592 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34593 Define.
34594 (index_Fast_Unaligned_Load): Define.
34595 (HAS_FAST_UNALIGNED_LOAD): Define.
34596
07f494a0
MP
345972011-06-23 Marek Polacek <mpolacek@redhat.com>
34598
34599 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34600
fa3fc0fe
UD
346012011-06-22 Ulrich Drepper <drepper@gmail.com>
34602
34603 [BZ #12907]
34604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34605 until it is clear that the information is realy needed.
34606 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34607
e12df166
AS
346082011-06-22 Andreas Schwab <schwab@redhat.com>
34609
34610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34611
852eb34d
UD
346122011-06-22 Ulrich Drepper <drepper@gmail.com>
34613
84e2a551
UD
34614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34615 /sys/devices/system/cpu/online if it is usable.
34616
852eb34d
UD
34617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34618 reading the information from the /proc filesystem to once a second.
34619
6e502e19
UD
346202011-06-21 Andreas Jaeger <aj@suse.de>
34621
34622 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34623 NULL after inclusion of kernel headers.
34624
75d39ff2
UD
346252011-06-21 Ulrich Drepper <drepper@gmail.com>
34626
51f9aa6a
UD
34627 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34628 calls to internal_setent.
34629
c0244a9d
UD
34630 [BZ #12885]
34631 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34632 addresses using gethostbyname4_r ignore IPv4 addresses.
34633
c5e3c2ae
UD
34634 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34635 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34636
75d39ff2
UD
34637 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34638
42675c6f
DM
346392011-06-20 David S. Miller <davem@davemloft.net>
34640
34641 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34642 inclusions.
34643 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34644
34645 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34646 (elf_irel): Use it.
34647 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34648 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34649 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34650 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34651 * sysdeps/x86_64/dl-irel.h: Likewise.
34652
34653 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34654 * elf/dl-sym.c: Likewise.
34655
57912a71
UD
346562011-06-15 Ulrich Drepper <drepper@gmail.com>
34657
34658 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34659 need to dereference resplen2.
34660
ee22793d
AS
346612011-06-14 Andreas Schwab <schwab@redhat.com>
34662
34663 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34664
a9e836b0
UD
346652011-06-15 Ulrich Drepper <drepper@gmail.com>
34666
77fb9117
UD
34667 * Makeconfig: Define vardbdir and inst_vardbdir.
34668 * nss/Makefile: Add rules to install db-Makefile.
34669
40c1b22c
UD
34670 * nss/nss_db/db-XXX.c: Cleanup.
34671
9f2da732
UD
34672 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34673 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34674 GLIBC_PRIVATE.
34675 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34676 * nss/makedb.c: Implement -g option to specify that value strings
34677 are generated and should not be added to table iterated over for
34678 get*ent calls.
34679 * nss/nss_db/db-initgroups.c: New file.
34680
82e9a1f7
UD
34681 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34682 interface.
34683
c41af17e
UD
34684 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34685 (internal_getgrouplist): Adjust to name change.
34686 Update use_initgroups_entry if this is not the first call.
34687 * nss/databases.def: Add initgroups entry.
34688
a9e836b0
UD
34689 * nss/makedb.c (compute_tables): Check result of multiple hash table
34690 sizes to minimize maximum chain length.
34691
2666d441
UD
346922011-06-14 Ulrich Drepper <drepper@gmail.com>
34693
34694 * Versions.def: Add entry for libnss_db.
34695 * shlib-versions: Likewise.
34696 * nss/Makefile: Add rules to build libnss_db.
34697 * nss/Versions: Add libnss_db information. Organize libnss_files
34698 entries better.
34699 * nss/db-Makefile: Add gshadow support. Change rules for the new
34700 makedb progra. Some minor improvements to generate smaller files.
34701 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34702 here from...
34703 * nss/makedb.c: ...here.
34704 Improve database format to be smaller and require less memory at
34705 runtime.
34706 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34707 db anymore.
34708 * nss/nss_db/db-netgrp.c: Likewise.
34709 * nss/nss_db/db-open.c: Likewise.
34710 * nss/nss_files/flies-XXX.x: Adjust comments.
34711 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34712 * nss/nss_files/files-grp.c: Likewise.
34713 * nss/nss_files/files-hosts.c: Likewise.
34714 * nss/nss_files/files-network.c: Likewise.
34715 * nss/nss_files/files-proto.c: Likewise.
34716 * nss/nss_files/files-pwd.c: Likewise.
34717 * nss/nss_files/files-rpc.c: Likewise.
34718 * nss/nss_files/files-service.c: Likewise.
34719 * nss/nss_files/files-sgrp.c: Likewise.
34720 * nss/nss_files/files-spwd.c: Likewise.
34721 * nss/nss_db/db-alias.c: Removed.
34722 * nss/nss_db/dummy-db.h: Removed.
34723
9ee76b5a
UD
347242011-06-02 Ulrich Drepper <drepper@gmail.com>
34725
34726 * nss/makedb.c: Rewritten to not use database library.
34727 * nss/Makefile: Update to build new makedb program.
34728
c71ca1f8
AJ
347292011-06-14 Andreas Jaeger <aj@suse.de>
34730
34731 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34732 memset declaration.
34733
3154bfb8
UD
347342011-06-10 Andreas Schwab <schwab@redhat.com>
34735
34736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34737 tmpbuf.
34738
b350afab
RM
347392011-06-10 Roland McGrath <roland@hack.frob.com>
34740
decd4e50
RM
34741 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34742 * elf/Makefile ($(objpfx)ld.so): Likewise.
34743
5615eaf2
RM
34744 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34745 Don't list ld.so twice in dependencies.
34746
34747 * posix/bug-regex31.c: Include <stdlib.h>.
34748
34749 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34750
34751 * nis/nss_compat/compat-spwd.c
34752 (getspent_next_nss_netgr): Remove unused variable.
34753 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34754
34755 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34756 nonmembers" output to use the right array.
34757
34758 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34759
34760 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34761
34762 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34763 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34764 * catgets/gencat.c (read_input_file): Likewise.
34765 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34766
34767 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34768 variable definition inside #if's controlling its use.
34769
34770 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34771
34772 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34773
34774 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34775
34776 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34777 unreachable code.
34778
34779 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34780
b68e08db
RM
34781 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34782 * configure: Regenerated.
34783
b350afab
RM
34784 * Makerules: Revert last change.
34785 * elf/Makefile: Likewise.
34786
28368601
RM
347872011-06-09 Roland McGrath <roland@hack.frob.com>
34788
34789 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34790 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34791 (reloc-link): Likewise.
34792
11988f8f
UD
347932011-06-09 Ulrich Drepper <drepper@gmail.com>
34794
34795 * elf/Makefile: Add rules to build pldd.
34796 * elf/pldd.c: New file.
34797 * elf/pldd-xx.c: New file.
34798
e80fab37
UD
347992011-06-07 Ulrich Drepper <drepper@gmail.com>
34800
34801 * version.h: Update for 2.15 development version.
34802
9b849836
DM
348032011-06-07 David S. Miller <davem@davemloft.net>
34804
34805 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34806 ifuncs.
34807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34808 elf_machine_lazy_rel): Likewise.
34809 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34811 elf_machine_lazy_rel): Likewise.
34812 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34813 dl_hwcap via passed in argument.
34814 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34815 Likewise.
34816
5a31b283
AK
348172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34818
34819 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34820
069e52f8
RM
348212011-06-06 Roland McGrath <roland@hack.frob.com>
34822
34823 [BZ #12849]
34824 * manual/fdl-1.1.texi: New file, verbatim from:
34825 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34826 * manual/lgpl-2.1.texi: New file, verbatim from:
34827 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34828 * manual/Makefile (licenses): New variable, list those new file names.
34829 (texis): Use it.
34830 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34831
34832 * manual/fdl.texi: File removed.
34833 * manual/lesser.texi: File removed.
34834 * manual/libc.texinfo (Copying, Documentation License):
34835 Use new @include file names, put @appendix directive before @include.
34836
f16846a5
JJ
348372011-06-04 Jakub Jelinek <jakub@redhat.com>
34838
34839 [BZ #12841]
34840 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34841 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34842 (mq_open): Add __NTH.
34843
3d29045b
L
348442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34845
34846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34847 Assume Intel Core i3/i5/i7 processor if AVX is available.
34848
8c297311
UD
348492011-05-31 Ulrich Drepper <drepper@gmail.com>
34850
34851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34852 typo.
34853
c8fc0c91
UD
348542011-05-31 Andreas Schwab <schwab@redhat.com>
34855
34856 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34857 memory. Use alloca_account. Fix memory leak when retrying.
34858
5b27a807
UD
348592011-05-31 Ulrich Drepper <drepper@gmail.com>
34860
356f8bc6
UD
34861 * version.h (RELEASE): Bump for 2.14 release.
34862 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34863
5b27a807
UD
34864 * config.make.in (RANLIB): Remove entry.
34865
01f16ab0
UD
348662011-05-30 Ulrich Drepper <drepper@gmail.com>
34867
41fce8bd
UD
34868 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34869 (libc.pot): Work around missing support for .ksh extension in xgettext.
34870
4769ae77
UD
34871 [BZ #12684]
34872 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34873 if both request failed.
34874 (send_dg): In case of server errors clear resplen or *resplen2.
34875
6b1e7d19
UD
34876 [BZ #12454]
34877 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34878 when there are multiple maps.
34879 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34880 (_dl_fini): Remove test here.
34881
01f16ab0
UD
34882 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34883
b1ebd700
UD
348842011-05-29 Ulrich Drepper <drepper@gmail.com>
34885
7ae22829
UD
34886 [BZ #12350]
34887 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34888 bit from old_res_options.
34889 (gaih_inet): Likewise.
34890
553149f6 34891 [BZ #11099]
18a84741 34892 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34893 as signed.
34894
652ffab1
UD
34895 * resolv/res_init.c (res_setoptions): Make the code more compact.
34896
16985fd0
UD
34897 [BZ #11558]
34898 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34899 set RES_USEVC.
34900
0464f746
UD
34901 [BZ #11634]
34902 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34903
7d17596c
UD
34904 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34905
cf6bbbd7
UD
34906 [BZ #11781]
34907 * malloc/malloc.h: Declare malloc hook variables as volatile.
34908
13f1ab36
UD
34909 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34910 in last patch.
34911
b1ebd700
UD
34912 [BZ #11799]
34913 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34914 raise in the comment.
80e2212d
UD
34915 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34916 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34917 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34918
ce67228d
UD
349192011-05-28 Ulrich Drepper <drepper@gmail.com>
34920
8887a920
UD
34921 [BZ #12811]
34922 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34923 grow the buffers more if it already has to be sufficient.
34924 (build_wcs_upper_buffer): Likewise.
34925 * posix/regexec.c (check_matching): Likewise.
34926 (clean_state_log_if_needed): Likewise.
34927 (extend_buffers): Don't enlarge buffers beyond size of the input
34928 buffer.
34929 Patches mostly by Emil Wojak <emil@wojak.eu>.
34930 * posix/bug-regex32.c: New file.
34931 * posix/Makefile (tests): Add bug-regex32.
34932
4f031072
UD
34933 * locale/findlocale.c (_nl_find_locale): Return right away if
34934 _nl_explode_name failed.
34935 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34936
d0478f0c
UD
34937 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34938
de81b246
UD
34939 * debug/xtrace.sh: Unify messages.
34940 * malloc/memusage.sh: Likewise.
34941
c738465a
UD
34942 [BZ #12813]
34943 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34944 time symbol from vDSO. Substitute with vsyscall if not available.
34945 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34946 __vdso_time.
34947
f1f929d7
UD
34948 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34949 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34950 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34951 Add sendmmsg and internal_sendmmsg.
34952 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34953 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34954 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34955
ce67228d
UD
34956 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34957 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34958 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34959
e57420c6
UD
349602011-05-27 Ulrich Drepper <drepper@gmail.com>
34961
a8509ca5
UD
34962 [BZ #12813]
34963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34964 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34965 available.
34966 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34967 __vdso_getcpu.
34968
e57420c6
UD
34969 [BZ #12814]
34970 * iconvdata/Makefile (tests): Add bug-iconv9.
34971 * iconvdata/bug-iconv9.c: New file.
34972
4d07db15
AS
349732011-05-27 Andreas Schwab <schwab@redhat.com>
34974
34975 [BZ #12814]
34976 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34977
ea486f69
JJ
349782011-05-25 Jakub Jelinek <jakub@redhat.com>
34979
34980 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34981 (struct user_regs_struct): Change intcs field back to cs.
34982
6f038433
UD
349832011-05-25 Ulrich Drepper <drepper@gmail.com>
34984
34985 * po/ja.po: Update from translation team.
34986
67f86a25
UD
349872011-05-23 Ulrich Drepper <drepper@gmail.com>
34988
34989 [BZ #12795]
34990 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34991 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34992
def7fbd6
AS
349932011-05-20 Andreas Schwab <schwab@redhat.com>
34994
34995 * stdlib/longlong.h: Update from GCC.
34996
f50ef8f1
AS
349972011-05-23 Andreas Schwab <schwab@redhat.com>
34998
34999 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35000 parameter name.
35001 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35002 Add parameter name.
35003 (__sysconf): Pass it down.
35004
de7ce8f1
UD
350052011-05-22 Ulrich Drepper <drepper@gmail.com>
35006
f2962a71
UD
35007 [BZ #12671]
35008 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35009 some situations.
35010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35011 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35012 add in in __libc_use_alloca calls. Adjust callers.
35013 (glob): Use malloc in some situations.
35014
de7ce8f1
UD
35015 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35016 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35017 pltexit.
35018
aec84f53
UD
350192011-05-21 Ulrich Drepper <drepper@gmail.com>
35020
05bb4a68
UD
35021 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35022 and CLOCK_BOOTTIME_ALARM.
35023
7ea72f99
UD
35024 [BZ #12782]
35025 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35026 is returned.
35027
7e4afad5
UD
35028 * string/_strerror.c (__strerror_r): Print negative errors as signed
35029 numbers.
35030
8e211fec
UD
35031 [BZ #12777]
35032 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35033 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35034 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35035
f7d82dc9
UD
35036 * configure.in: Fix typo in redirection and correct removal of test
35037 files in two cases.
35038
cc9e536d
UD
35039 [BZ #12788]
35040 * locale/setlocale.c (new_composite_name): Fix test to check for
35041 identical name of all categories.
35042
aec84f53
UD
35043 [BZ #12792]
35044 * libio/filedoalloc.c (local_isatty): New function.
35045 (_IO_file_doallocate): Use local_isatty.
35046 * stdio-common/perror.c (perror): In case a new stream is used
35047 forward the stream error.
35048 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35049 error flag.
35050
78e64fdc
RT
350512011-05-20 Ulrich Drepper <drepper@gmail.com>
35052
34a9094f
UD
35053 [BZ #11869]
35054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35055 alloca.
35056 * include/alloca.h (extend_alloca_account): Define.
35057
78e64fdc
RT
35058 [BZ #11857]
35059 * posix/regex.h: Fix comments with documentation of user-accessible
35060 fields after compilation and describe correct free'ing of pattern
35061 after re_compile_pattern.
35062 Patch by Reuben Thomas <rrt@sc3d.org>.
35063
457bddfc
RA
350642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35065
35066 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35067 and -mno-altivec to prevent the compiler from using Altivec and/or
35068 VSX instructions when the corresponding registers are not available.
35069
a4527b51
AS
350702011-05-19 Andreas Schwab <schwab@redhat.com>
35071
35072 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35073
ed690b2f
UD
350742011-05-19 Ulrich Drepper <drepper@gmail.com>
35075
35076 * libio/freopen.c (freopen): Use __dup2, not dup2.
35077 * libio/freopen64.c (freopen64): Likewise.
35078
8db73634
L
350792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35080
35081 [BZ #12775]
35082 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35083 * math/Makefile (tests): Add test-powl.
35084 (CFLAGS-test-powl.c): Define.
35085 * math/test-powl.c: New file.
35086
0a197a9d
L
350872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35088
35089 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35090
ee30c380
UD
350912011-05-17 Ulrich Drepper <drepper@gmail.com>
35092
35093 [BZ #11837]
35094 * iconvdata/gb18030.c: Update to GB18020-2005.
35095
6ce75379
UD
350962011-05-16 Ulrich Drepper <drepper@gmail.com>
35097
a4b89fd8
AR
35098 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35099 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35100 Patch by Aharon Robbins <arnold@skeeve.com>.
35101
ea389b12
UD
35102 [BZ #11892]
35103 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35104 on the stack.
35105
68a3f91f
UD
35106 [BZ #11895]
35107 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35108 through underflows.
35109
15cc7dd1
UD
35110 [BZ #12766]
35111 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35112 point to strings before performing equality test for error_one_per_line
35113 mode.
35114
f3799213
UD
35115 [BZ #11697]
35116 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35117
d79a9c94
UD
35118 [BZ #11820]
35119 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35120 (struct user_fpregs_struct): Avoid __uint*_t types.
35121
56e5eb46
UD
35122 [BZ #6420]
35123 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35124 symbol info. Use it instead of calling _dl_addr locally.
35125 (lock_and_info): New function.
35126 (tr_freehook): Call lock_and_info and pass symbol info as additional
35127 parameter to tr_where.
35128 (tr_mallochook): Likewise.
35129 (tr_reallochook): Likewise.
35130 (tr_memalignhook): Likewise.
35131
6ce75379
UD
35132 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35133 used and couldn't be at all thread-safe.
35134
f8a3b5bf
UD
351352011-05-15 Ulrich Drepper <drepper@gmail.com>
35136
94b7cc37
UD
35137 * libio/freopen.c (freopen): Don't close old file descriptor
35138 before the new one is opened. Instead dup the new file descriptor
35139 to the old one after the new stream is created.
35140 * libio/freopen64.c (freopen64): Likewise.
35141 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35142 * libio/fileops.c (_IO_new_file_close_it): Handle new
35143 _IO_FLAGS2_NOCLOSE flag.
35144 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35145 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35146 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35147 _IO_FLAGS2_NOCLOSE flag.
35148 * include/unistd.h: Add hidden_proto for dup3.
35149 Define __have_dup3.
35150 * io/dup3.c: Define hidden symbol.
35151 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35152
bd25564e
UD
35153 [BZ #7101]
35154 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35155 when an incomplete long option is used.
35156 * posix/tst-getopt_long1.c: New file.
35157 * posix/Makefile (tests): Add tst-getopt_long1.
35158
c84cfef4
UD
35159 [BZ #10138]
35160 * scripts/config.guess: Update from autoconf-2.68.
35161 * scripts/config.sub: Likewise.
35162
3b85df27
UD
35163 [BZ #10157]
35164 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35165 tests into ...
35166 (has_cpuclock): ...this. New function.
35167 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35168 macro here based on has_cpuclock code.
35169
15a856b1
UD
35170 [BZ #10149]
35171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35172 First byte (not low byte) is now always NUL.
35173 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35174
05f399e6
UD
35175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35176 Use non-cancelable interfaces.
35177
10a52685 35178 [BZ #9809]
94ecc67d
UD
35179 * locale/iso-639.def: Add entry for Sorani.
35180
f8a3b5bf
UD
35181 [BZ #11901]
35182 * include/stdlib.h: Move include protection to the right place.
35183 Define abort_msg_s. Declare __abort_msg with it.
35184 * stdlib/abort.c (__abort_msg): Adjust type.
35185 * assert/assert.c (__assert_fail_base): New function. Majority
35186 of code from __assert_fail. Allocate memory for __abort_msg with
35187 mmap.
35188 (__assert_fail): Now call __assert_fail_base.
35189 * assert/assert-perr.c: Remove bulk of implementation. Use
35190 __assert_fail_base.
35191 * include/assert.hL Declare __assert_fail_base.
35192 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35193 mmap.
35194 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35195
1af4e298
UD
351962011-05-14 Ulrich Drepper <drepper@gmail.com>
35197
f8a3b5bf 35198 [BZ #11952]
d26dfc60
MG
35199 [BZ #12453]
35200 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35201 until all modules are registered in the DTV.
35202 * elf/Makefile: Add rules to build and run tst-tls19.
35203 * elf/tst-tls19.c: New file.
35204 * elf/tst-tls19mod1.c: New file.
35205 * elf/tst-tls19mod2.c: New file.
35206 * elf/tst-tls19mod3.c: New file.
35207 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35208
2fc54d6f
UD
35209 [BZ #12083]
35210 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35211 correctly.
35212
98d76b46
UD
35213 [BZ #12601]
35214 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35215 two-byte sequence errors.
35216 * iconvdata/Makefile (tests): Add bug-iconv8.
35217 * iconvdata/bug-iconv8.c: New file.
35218
da3c19ef
UD
35219 [BZ #12626]
35220 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35221 buf2 definition.
35222
ca408c15
UD
35223 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35224
d6f67f7d
UD
35225 [BZ #12432]
35226 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35227 (dummy_getcfa): New function.
35228 (init): Get _Unwind_GetCFA address, use dummy if not found.
35229 (backtrace_helper): In recursion check, also check whether CFA changes.
35230 (__backtrace): Completely initialize arg.
35231
1af4e298 35232 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35233 storing incomplete byte sequence in state object. Avoid testing for
35234 guaranteed too small input if we know there is enough data available.
1af4e298 35235
da62f81b
AS
352362011-05-11 Andreas Schwab <schwab@redhat.com>
35237
35238 * Makeconfig (+link-pie): Indent.
35239 * Rules (binaries-pie): Define if $(have-fpie) and
35240 $(build-shared).
35241 (binaries-shared): Also filter out $(binaries-pie).
35242 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35243 * nscd/Makefile (others-pie): Add nscd.
35244 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35245 ($(objpfx)nscd): Remove command override.
35246 * login/Makefile (others-pie): Add pt_chown.
35247 ($(objpfx)pt_chown): Remove command override.
35248 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35249 remove command overrides.
35250
fcabc0f8
UD
352512011-05-13 Ulrich Drepper <drepper@gmail.com>
35252
20030ae6
UD
35253 * libio/tst_putwc.c: Fix error messages.
35254
fcabc0f8
UD
35255 [BZ #12724]
35256 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35257 currently writing and seek to current position when not.
35258 * libio/Makefile (tests): Add bug-fclose1.
35259 * libio/bug-fclose1.c: New file.
35260
320a5dc0
PB
352612011-05-12 Ulrich Drepper <drepper@gmail.com>
35262
35263 [BZ #12511]
35264 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35265 don't set DF_1_NODELETE here.
35266 (do_lookup_x): When entering new entry test for copy relocation
35267 and if necessary set DF_1_NODELETE flag.
35268 * elf/tst-unique4.cc: New file.
35269 * elf/tst-unique4.h: New file.
35270 * elf/tst-unique4lib.cc: New file.
35271 * elf/Makefile: Add rules to build and run tst-unique4.
35272 Patch by Piotr Bury <pbury@goahead.com>.
35273
22836f52
UD
352742011-05-11 Ulrich Drepper <drepper@gmail.com>
35275
f574184a
UD
35276 [BZ #12052]
35277 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35278
e1fb097f
UD
35279 [BZ #12625]
35280 * misc/mntent_r.c (addmntent): Flush the stream after the output
35281
22836f52
UD
35282 [BZ #12393]
35283 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35284 (is_trusted_path_normalize): Skip initial colon. Append slash
35285 to empty buffer. Duplicate is_trusted_path code but allow
35286 constructed patch to be prefix.
35287 (is_dst): Allow $ORIGIN followed by /.
35288 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35289 Correct testing of result of is_trusted_path_normalize
35290 (decompose_rpath): Fix warning.
35291
7b3b0b2a
UD
352922011-05-10 Ulrich Drepper <drepper@gmail.com>
35293
35294 [BZ #11257]
35295 * grp/initgroups.c (internal_getgrouplist): When we found the service
35296 list through the initgroups entry in nsswitch.conf do not always
35297 continue on a successful lookup. Don't always use the
eac80ce2 35298 __nss_group_database value if it is set.
7b3b0b2a
UD
35299 * nss/nsswitch.conf (initgroups): Change action for successful db
35300 lookup to continue for compatibility.
35301
2a81eaa5
UD
353022011-05-09 Ulrich Drepper <drepper@gmail.com>
35303
be97a69e
UD
35304 [BZ #11532]
35305 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35306 and CP774 modules.
35307 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35308 and CP774 modules.
35309 * iconvdata/tst-tables.sh: Likewise.
35310 * iconvdata/cp770.c: New file.
35311 * iconvdata/cp771.c: New file.
35312 * iconvdata/cp772.c: New file.
35313 * iconvdata/cp773.c: New file.
35314 * iconvdata/cp774.c: New file.
35315 * iconvdata/testdata/CP770: New file.
35316 * iconvdata/testdata/CP770..UTF8: New file.
35317 * iconvdata/testdata/CP771: New file.
35318 * iconvdata/testdata/CP771..UTF8: New file.
35319 * iconvdata/testdata/CP772: New file.
35320 * iconvdata/testdata/CP772..UTF8: New file.
35321 * iconvdata/testdata/CP773: New file.
35322 * iconvdata/testdata/CP773..UTF8: New file.
35323 * iconvdata/testdata/CP774: New file.
35324 * iconvdata/testdata/CP774..UTF8: New file.
35325
35326 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35327 END CHARMAP line.
35328 * iconvdata/gen-8bit-gap.sh: Likewise.
35329 * iconvdata/gen-8bit.sh: Likewise.
35330
c1e9e399
UD
35331 * locale/iso-639.def: Add ary entry.
35332
24c55fb3 35333 [BZ #11258]
96b4b1b0
UD
35334 * locale/C-translit.h.in: Add U20A1 transliteration.
35335
bdc2f971
KB
35336 [BZ #12178]
35337 * locale/iso-639.def: Add wae entry.
35338 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35339
2952b117
UD
35340 [BZ #12545]
35341 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35342 for n.
35343
2a81eaa5
UD
35344 [BZ #12711]
35345 * locale/C-translit.h.in: Add entry for U20B9.
35346 Patch by pravin.d.s@gmail.com.
35347
28377d1b
UD
353482011-05-08 Ulrich Drepper <drepper@gmail.com>
35349
7fb90fb8
UD
35350 [BZ #12713]
35351 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35352 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35353 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35354 in rtld. Use *stat64.
7fb90fb8 35355 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35356 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35357 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35358 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35359 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35360 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35361 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35362 __fstatat64 macros.
7fb90fb8
UD
35363 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35364 * dirent/rewinddir.c: Add libc_hidden_def.
35365 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35366 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35367
28377d1b
UD
35368 * include/dirent.h (__alloc_dir): Add flags parameter.
35369 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35370 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35371 __alloc_dir.
35372 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35373 from fdopendir if O_CLOEXEC is already set.
35374
66bdbaa4
AM
353752011-03-15 Alan Modra <amodra@gmail.com>
35376
35377 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35378 l_tls_firstbyte_offset non-zero. Save padding offset in
35379 l_tls_firstbyte_offset for later use.
35380 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35381 freeing static tls block.
35382
95721191
JN
353832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35384
35385 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35386 where #ifdef was intended. The intent is to prevent ARG_MAX from
35387 being defined by the kernel headers.
35388
f87dfb1f
UD
353892011-05-07 Ulrich Drepper <drepper@gmail.com>
35390
35391 [BZ #12734]
35392 * resolv/resolv.h: Define RES_NOTLDQUERY.
35393 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35394 no-tld-query and set RES_NOTLDQUERY.
35395 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35396 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35397 modern BIND to search name as TLD unless forbidden.
35398
47c3cd7a
UD
353992011-05-07 Petr Baudis <pasky@suse.cz>
35400 Ulrich Drepper <drepper@gmail.com>
35401
35402 [BZ #12393]
35403 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35404 (is_trusted_path): ...to here.
c1e9ea35 35405 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35406 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35407 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35408
8a35c912
PP
354092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35410
35411 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35412 __BEGIN/__END_DECLS.
35413
acd41f47
UD
354142011-05-06 Ulrich Drepper <drepper@gmail.com>
35415
35416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35417 NSS_STATUS_NOTFOUND if no record was found.
35418
597df647
AS
354192011-05-05 Andreas Schwab <schwab@redhat.com>
35420
35421 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35422 (headers-not-in-tirpc): Remove rpc/netdb.h
35423 * resolv/netdb.h: Revert last change.
35424
b9af1301
PP
354252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35426
35427 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35428 circular dependency between libgcc.a and libc.a.
35429
4e34d5f5
AS
354302011-05-05 Andreas Schwab <schwab@redhat.com>
35431
35432 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35433 * nis/Makefile: Don't install rpcsvc/*.
35434 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35435 instead of <rpc/types.h>.
35436 (MAXHOSTNAMELEN): Define.
35437
00ee369c
AS
354382011-05-03 Andreas Schwab <schwab@redhat.com>
35439
35440 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35441
0b592a30
MB
354422011-04-28 Maciej Babinski <mbabinski@google.com>
35443
35444 [BZ #12714]
35445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35446 gethostbyname4_r when IPv6 results are possible.
35447
6e04cbbe
UD
354482011-05-02 Ulrich Drepper <drepper@gmail.com>
35449
35450 [BZ #12723]
35451 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35452 _PC_PIPE_BUF handling.
35453
e4ecafe0
BH
354542011-04-30 Bruno Haible <bruno@clisp.org>
35455
35456 [BZ #12717]
35457 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35458 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35459 to 'int'.
35460 * inet/getnameinfo.c (getnameinfo): Likewise.
35461
125ee683
UD
354622011-04-29 Ulrich Drepper <drepper@gmail.com>
35463
35464 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35465 to groups setting in database lookup.
35466 * nss/nsswitch.conf: Add initgroups entry.
35467
b722481a
EB
354682011-04-22 Ulrich Drepper <drepper@gmail.com>
35469
35470 [BZ #12685]
35471 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35472 mode string.
35473 Patch by Eric Blake <eblake@redhat.com>.
35474
4df46dbd
L
354752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35476
35477 * sunrpc/Makefile (need-export-routines): Add svc_run.
35478 (routines): Remove svc_run.
35479 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35480 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35481 * sunrpc/svc_run.c (svc_run): Likewise.
35482 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35483
e84142d2
UD
354842011-04-21 Ulrich Drepper <drepper@gmail.com>
35485
35486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35487 problem in reallocation in last patch.
35488
877175d8
UD
354892011-04-20 Ulrich Drepper <drepper@gmail.com>
35490
35491 * sunrpc/Makefile: Move inclusion of Rules.
35492
ab8eed78
UD
354932011-04-19 Ulrich Drepper <drepper@gmail.com>
35494
35495 * nss/nss_files/files-initgroups.c: New file.
35496 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35497 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35498 _nss_files_initgroups_dyn.
35499
e3d8f584
RS
355002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35501
35502 * elf/elf.h (R_ARM_IRELATIVE): Define.
35503
af190f45
UD
355042011-04-19 Ulrich Drepper <drepper@gmail.com>
35505
35506 * po/ru.po: Update from translation team.
35507
53cf59ef
UD
355082011-04-17 Ulrich Drepper <drepper@gmail.com>
35509
35510 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35511 dependencies.
35512
4c559bcd
MF
355132011-02-06 Mike Frysinger <vapier@gentoo.org>
35514
35515 [BZ #12653]
35516 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35517 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35519 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35521
4420675c
AS
355222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35523
35524 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35525 differing bytes.
35526 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35529
75ea32ab
UD
355302011-04-17 Ulrich Drepper <drepper@gmail.com>
35531
35532 [BZ #12420]
35533 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35534 storing it.
35535 * stdlib/bug-getcontext.c: New file.
35536 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35537
27390476
AK
355382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35539
35540 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35541 instructions into .machine "z9-109".
35542 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35543 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35544
10442705
AK
355452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35546
35547 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35548 between environment variables and auxiliary vector.
35549
7b57bfe5
UD
355502011-04-16 Ulrich Drepper <drepper@gmail.com>
35551
35552 * Makefile: Add rules to build linkobj/libc.so.
35553 * include/libc-symbols.h: Define libc_hidden_nolink.
35554 * include/rpc/auth.h: Mark functions which are to be hidden.
35555 * include/rpc/auth_des.h: Likewise.
35556 * include/rpc/auth_unix.h: Likewise.
35557 * include/rpc/clnt.h: Likewise.
35558 * include/rpc/des_crypt.h: Likewise.
35559 * include/rpc/key_prot.h: Likewise.
35560 * include/rpc/pmap_clnt.h: Likewise.
35561 * include/rpc/pmap_prot.h: Likewise.
35562 * include/rpc/pmap_rmt.h: Likewise.
35563 * include/rpc/rpc_msg.h: Likewise.
35564 * include/rpc/svc.h: Likewise.
35565 * include/rpc/svc_auth.h: Likewise.
35566 * include/rpc/xdr.h: Likewise.
35567 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35568 * nss/Makefile: Likewise.
35569 * sunrpc/Makefile: Don't install headers. Build library with normal
35570 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35571 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35572 for the compat linking library. Remove use of INTDEF/INTUSE.
35573 * sunrpc/auth_none.c: Likewise.
35574 * sunrpc/auth_unix.c: Likewise.
35575 * sunrpc/authdes_prot.c: Likewise.
35576 * sunrpc/authuxprot.c: Likewise.
35577 * sunrpc/clnt_gen.c: Likewise.
35578 * sunrpc/clnt_perr.c: Likewise.
35579 * sunrpc/clnt_raw.c: Likewise.
35580 * sunrpc/clnt_simp.c: Likewise.
35581 * sunrpc/clnt_tcp.c: Likewise.
35582 * sunrpc/clnt_udp.c: Likewise.
35583 * sunrpc/clnt_unix.c: Likewise.
35584 * sunrpc/des_crypt.c: Likewise.
35585 * sunrpc/des_soft.c: Likewise.
35586 * sunrpc/get_myaddr.c: Likewise.
35587 * sunrpc/key_call.c: Likewise.
35588 * sunrpc/key_prot.c: Likewise.
35589 * sunrpc/netname.c: Likewise.
35590 * sunrpc/pm_getmaps.c: Likewise.
35591 * sunrpc/pm_getport.c: Likewise.
35592 * sunrpc/pmap_clnt.c: Likewise.
35593 * sunrpc/pmap_prot.c: Likewise.
35594 * sunrpc/pmap_prot2.c: Likewise.
35595 * sunrpc/pmap_rmt.c: Likewise.
35596 * sunrpc/publickey.c: Likewise.
35597 * sunrpc/rpc_cmsg.c: Likewise.
35598 * sunrpc/rpc_common.c: Likewise.
35599 * sunrpc/rpc_dtable.c: Likewise.
35600 * sunrpc/rpc_prot.c: Likewise.
35601 * sunrpc/rpc_thread.c: Likewise.
35602 * sunrpc/rtime.c: Likewise.
35603 * sunrpc/svc.c: Likewise.
35604 * sunrpc/svc_auth.c: Likewise.
35605 * sunrpc/svc_authux.c: Likewise.
35606 * sunrpc/svc_raw.c: Likewise.
35607 * sunrpc/svc_run.c: Likewise.
35608 * sunrpc/svc_simple.c: Likewise.
35609 * sunrpc/svc_tcp.c: Likewise.
35610 * sunrpc/svc_udp.c: Likewise.
35611 * sunrpc/svc_unix.c: Likewise.
35612 * sunrpc/svcauth_des.c: Likewise.
35613 * sunrpc/xcrypt.c: Likewise.
35614 * sunrpc/xdr.c: Likewise.
35615 * sunrpc/xdr_array.c: Likewise.
35616 * sunrpc/xdr_float.c: Likewise.
35617 * sunrpc/xdr_intXX_t.c: Likewise.
35618 * sunrpc/xdr_mem.c: Likewise.
35619 * sunrpc/xdr_rec.c: Likewise.
35620 * sunrpc/xdr_ref.c: Likewise.
35621 * sunrpc/xdr_sizeof.c: Likewise.
35622 * sunrpc/xdr_stdio.c: Likewise.
35623
e6c61494
UD
356242011-04-10 Ulrich Drepper <drepper@gmail.com>
35625
35626 [BZ #12650]
35627 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35628 * sysdeps/ia64/dl-tls.h: Likewise.
35629 * sysdeps/powerpc/dl-tls.h: Likewise.
35630 * sysdeps/s390/dl-tls.h: Likewise.
35631 * sysdeps/sh/dl-tls.h: Likewise.
35632 * sysdeps/sparc/dl-tls.h: Likewise.
35633 * sysdeps/x86_64/dl-tls.h: Likewise.
35634 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35635
34fe483e
AS
356362011-03-14 Andreas Schwab <schwab@redhat.com>
35637
35638 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35639 rpath element also skip the following colon.
35640 (expand_dynamic_string_token): Add is_path parameter and pass
35641 down to DL_DST_REQUIRED and _dl_dst_substitute.
35642 (decompose_rpath): Call expand_dynamic_string_token with
35643 non-zero is_path. Ignore empty rpaths.
35644 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35645 with zero is_path.
35646
f12a32e6
AS
356472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35648
35649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35650 Make cancelable.
35651
38a7d692
UD
356522011-04-09 Ulrich Drepper <drepper@gmail.com>
35653
35654 [BZ #12655]
35655 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35656 Patch by Filipe David Manana <fdmanana@apache.org>.
35657
e451d22b
AS
356582011-04-07 Andreas Schwab <schwab@redhat.com>
35659
35660 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35661 Maintain aligned stack.
35662 (CHECK_RSP): Remove unused macro.
35663
dedc7c7b
UD
356642011-04-03 Ulrich Drepper <drepper@gmail.com>
35665
35666 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35668
94521213
UD
356692011-04-02 Ulrich Drepper <drepper@gmail.com>
35670
35671 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35672
8cb700c0 35673 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35674
0354e355
L
356752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35676
35677 [BZ #12518]
35678 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35679 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35680 * sysdeps/x86_64/memmove.c: New file.
35681 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35682 (memcpy): Renamed to ...
35683 (__new_memcpy): This.
35684 (memcpy): Provide GLIBC_2_14 memcpy.
35685 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35686 (memcpy): Provide GLIBC_2_2_5 memcpy.
35687
8593482f
UD
356882011-04-01 Ulrich Drepper <drepper@gmail.com>
35689
35690 [BZ #12631]
35691 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35692
81a5726b
AS
356932011-03-30 Andreas Schwab <schwab@redhat.com>
35694
35695 * misc/syncfs.c: New file.
35696 * misc/Makefile (routines): Add syncfs.
35697 * posix/unistd.h: Declare syncfs.
35698 * sysdeps/unix/syscalls.list: Add syncfs.
35699
00e5419f
AS
357002011-04-01 Andreas Schwab <schwab@redhat.com>
35701
35702 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35703 open_by_handle_at.
35704 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35709 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35711
748876bf
UD
357122011-04-01 Ulrich Drepper <drepper@gmail.com>
35713
658e451d
UD
35714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35716 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35721
748876bf
UD
35722 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35723 sync_file_range.c with -fexceptions.
35724 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35725 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35726 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35727 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35728 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35729 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35731 sync_file_range as cancellation point
35732 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35733 now a wrapper around __call_sync_file_range with cancellation handling.
35734 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35735 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35736 function name to __call_sync_file_range.
35737 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35738 Add call_sync_file_range.
748876bf 35739
6e63d5e1
AS
357402011-04-01 Andreas Schwab <schwab@redhat.com>
35741
35742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35743 bits/timex.h.
6e63d5e1 35744
46998f74
UD
357452011-04-01 Ulrich Drepper <drepper@gmail.com>
35746
4c1423ed
UD
35747 * iconv/iconv.h: Fix typo in comment.
35748 * io/fcntl.h: Likewise.
35749 * libio/stdio.h: Likewise.
35750 * posix/spawn.h: Likewise.
35751 * posix/unistd.h: Likewise.
35752 * stdlib/stdlib.h: Likewise.
35753 * time/time.h: Likewise.
35754 * wcsmbs/wchar.h: Likewise.
35755
158648c0
UD
35756 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35757 open_by_handle): Add.
35758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35759 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35760 Augment a few comments.
35761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35766 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35767 open_by_handle.
35768
46998f74
UD
35769 * io/fcntl.h (AT_EMPTY_PATH): Define.
35770
83fe108b
UD
357712011-03-30 Ulrich Drepper <drepper@gmail.com>
35772
35773 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35774 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35775 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35776 to...
35777 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35778 * Versions.def: Add GLIBC_2.14.
35779 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35780 Export.
83fe108b 35781
bb242059
UD
357822011-03-22 Ulrich Drepper <drepper@gmail.com>
35783
35784 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35785 round counter.
35786 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35787
c97a1282
L
357882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35789
35790 [BZ #12597]
35791 * string/test-strncmp.c (do_page_test): New function.
35792 (check2): Likewise.
35793 (test_main): Call check2.
35794 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35795
2a115601
UD
357962011-03-20 Ulrich Drepper <drepper@gmail.com>
35797
35798 [BZ #12587]
35799 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35800 Handle cache information in CPU leaf 4.
35801 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35802
8126d904
UD
358032011-03-18 Ulrich Drepper <drepper@gmail.com>
35804
042c49c6 35805 [BZ #12583]
8126d904
UD
35806 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35807 character representation.
35808 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35809
ccfe366e
RA
358102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35811
35812 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35813 END(__isnan) to END(__isnanf) to match function entry point/label
35814 EALIGN(__isnanf,...).
35815
c6e13027
JJ
358162011-03-10 Jakub Jelinek <jakub@redhat.com>
35817
35818 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35819
33f85a3f
UD
358202011-03-10 Ulrich Drepper <drepper@gmail.com>
35821
028478fa
UD
35822 [BZ #12510]
35823 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35824 copy from the symbol referenced in the relocation to initialize the
35825 used variable.
35826 Patch by Piotr Bury <pbury@goahead.com>.
35827 * elf/Makefile: Add rules to build and tst-unique3.
35828 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35829 * elf/tst-unique3.cc: New file.
35830 * elf/tst-unique3.h: New file.
35831 * elf/tst-unique3lib.cc: New file.
35832 * elf/tst-unique3lib2.cc: New file.
35833
33f85a3f
UD
35834 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35835
03592fc7
MF
358362011-03-10 Mike Frysinger <vapier@gentoo.org>
35837
35838 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35839 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35840 to _start.
03592fc7 35841
6a5ee102
UD
358422011-03-06 Ulrich Drepper <drepper@gmail.com>
35843
35844 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35845 to-be-loaded object along a path to loader is ld.so.
35846
7e4ba49c
HJ
358472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35848 Ulrich Drepper <drepper@gmail.com>
35849
35850 * sysdeps/x86_64/memset.S: After aligning destination, code
35851 branches to different locations depending on the value of
35852 misalignment, when multiarch is enabled. Fix this.
35853
358542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35855
35856 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35857 Set _x86_64_preferred_memory_instruction for AMD processsors.
35858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35859 Set bit_Prefer_SSE_for_memop for AMD processors.
35860
13a804de
UD
358612011-03-04 Ulrich Drepper <drepper@gmail.com>
35862
35863 * libio/fmemopen.c (fmemopen): Optimize a bit.
35864
9d25c392
AS
358652011-03-03 Andreas Schwab <schwab@redhat.com>
35866
35867 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35868
a5543c6a
RM
358692011-03-03 Roland McGrath <roland@redhat.com>
35870
35871 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35872
012d35f7
DM
358732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35874
7e4ba49c 35875 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35876 __bzero_ultra1 instead of __memset_ultra1.
35877
4bff6e01
AS
358782011-02-23 Andreas Schwab <schwab@redhat.com>
35879 Ulrich Drepper <drepper@gmail.com>
35880
35881 [BZ #12509]
35882 * include/link.h (struct link_map): Add l_orig_initfini.
35883 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35884 returning unsuccessfully.
35885 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35886 close of a file loaded at startup, restore the original l_initfini
35887 list.
35888 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35889 list, store the pointer.
35890 * elf/Makefile ($(objpfx)noload-mem): New rule.
35891 (noload-ENV): Define.
35892 (tests): Add $(objpfx)noload-mem.
35893 * elf/noload.c: Include <memcheck.h>.
35894 (main): Call mtrace. Close all opened handles.
35895
f2092faf
AS
358962011-02-17 Andreas Schwab <schwab@redhat.com>
35897
35898 [BZ #12454]
35899 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35900 dependencies are missing.
35901
6c8a2e88
ST
359022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35903
f2092faf 35904 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35905 Hurd needs munmap.
35906 * sysdeps/mach/hurd/ifreq.h: New file.
35907
84a42118
PB
359082011-01-27 Petr Baudis <pasky@suse.cz>
35909 Ulrich Drepper <drepper@gmail.com>
35910
071f805e 35911 [BZ 12445]#
84a42118
PB
35912 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35913 to extend_alloca().
35914 * stdio-common/bug23.c: New file.
35915 * stdio-common/Makefile (tests): Add bug23.
35916
e23fe25b
AS
359172010-09-28 Andreas Schwab <schwab@redhat.com>
35918 Ulrich Drepper <drepper@gmail.com>
35919
35920 [BZ #12489]
35921 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35922 before performing relro protection. At old place add assertion
35923 to make sure nothing changed.
35924
d3f02e10
NS
359252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35926 Glauber de Oliveira Costa <glommer@gmail.com>
35927
35928 * elf/elf.h: Add new ARM TLS relocs.
35929
d55fd7a5
RA
359302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35931
35932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35933 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35934 cast from r3.
35935 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35936 'tests' variable.
35937 * sysdeps/wordsize-64/tst-writev.c: New file.
35938
2206397e
RA
359392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35940
35941 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35942 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35943 insns in _dl_start to prevent a TOC reference before relocs are
35944 resolved.
35945
e9433893
UD
359462011-02-15 Ulrich Drepper <drepper@gmail.com>
35947
35948 [BZ #12469]
35949 * Makeconfig: Remove RANLIB definition.
35950 * Makerules: Don't use RANLIB.
35951 * aclocal.m4: Remove ranlib test.
35952 * configure.in: No need to check for ranlib.
35953 * elf/rtld-Rules: Don't use RANLIB.
35954
f75286c6
ST
359552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35956
8e31c82d
ST
35957 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35958 protection macro.
35959 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35960 inclusion protection macro.
35961
f75286c6
ST
35962 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35963 SIGRTMIN and SIGRTMAX and print information in that case only when
35964 SIGRTMIN is defined.
35965
c1d0e639
JJ
359662011-02-11 Jakub Jelinek <jakub@redhat.com>
35967
35968 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35969 arginfo fn returning -1.
35970
35971 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35972 and thousands string is zero terminated.
35973
edf9294e
AS
359742011-02-03 Andreas Schwab <schwab@redhat.com>
35975
35976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35977 sysdeps/unix/sysv/linux/bits/socket.h.
35978
2b7e92df
ST
359792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35980
edf9294e
AS
35981 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35982 (__CPU_COUNT): Remove old macros.
35983 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35984 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35985 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35986 (__sched_cpualloc, __sched_cpufree): Add declarations.
35987
a4c7ea7b
UD
359882011-02-05 Ulrich Drepper <drepper@gmail.com>
35989
35990 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35991 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35992 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35993 (readdhstai): Return value of addhstaiX call.
35994 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35995 (addgrbyX): Return value returned by cache_addgr.
35996 (readdgrbyname): Return value returned by addgrbyX.
35997 (readdgrbygid): Likewise.
35998 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35999 (addpwbyX): Return value returned by cache_addpw.
36000 (readdpwbyname): Return value returned by addhstbyX.
36001 (readdpwbyuid): Likewise.
36002 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36003 (addservbyX): Return value returned by cache_addserv.
36004 (readdservbyname): Return value returned by addservbyX:
36005 (readdservbyport): Likewise.
36006 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36007 (addhstbyX): Return value returned by cache_addhst.
36008 (readdhstbyname): Return value returned by addhstbyX.
36009 (readdhstbyaddr): Likewise.
36010 (readdhstbynamev6): Likewise.
36011 (readdhstbyaddrv6): Likewise.
36012 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36013 (readdinitgroups): Return value returned by addinitgroupsX.
36014 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36015 (prune_cache): Keep track of timeout value of re-added entries.
36016 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36017 * nscd/nscd.h: Adjust prototypes of readd* functions.
36018
a0bf67cc
RM
360192011-02-04 Roland McGrath <roland@redhat.com>
36020
36021 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36022 (nis_stats): Likewise.
36023 * nis/nis_modify.c (nis_modify): Likewise.
36024 * nis/nis_remove.c (nis_remove): Likewise.
36025 * nis/nis_add.c (nis_add): Likewise.
36026
36027 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36028
36029 * posix/fnmatch_loop.c: Add some consts.
36030
36031 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36032
435b95eb
L
360332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36034
36035 [BZ #12460]
36036 * config.make.in (config-cflags-novzeroupper): Define.
36037 * configure.in: Substitute libc_cv_cc_novzeroupper.
36038 * elf/Makefile (AVX-CFLAGS): Define.
36039 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36040 (CFLAGS-tst-auditmod4a.c): Likewise.
36041 (CFLAGS-tst-auditmod4b.c): Likewise.
36042 (CFLAGS-tst-auditmod6b.c): Likewise.
36043 (CFLAGS-tst-auditmod6c.c): Likewise.
36044 (CFLAGS-tst-auditmod7b.c): Likewise.
36045 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36046
8517b15e
UD
360472011-02-02 Ulrich Drepper <drepper@gmail.com>
36048
36049 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36050 function to the callback.
36051 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36052
10a656fe
AS
360532011-02-02 Andreas Schwab <schwab@redhat.com>
36054
36055 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36056 of errno.
36057
968dad0a
UD
360582011-01-19 Ulrich Drepper <drepper@gmail.com>
36059
9f94d2ea 36060 [BZ #11724]
968dad0a
UD
36061 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36062 of constructors.
36063 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36064 of destructors.
36065 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36066
36067 [BZ #11724]
36068 * elf/Makefile: Add rules to build and run new test.
36069 * elf/tst-initorder.c: New file.
36070 * elf/tst-initorder.exp: New file.
36071 * elf/tst-initordera1.c: New file.
36072 * elf/tst-initordera2.c: New file.
36073 * elf/tst-initordera3.c: New file.
36074 * elf/tst-initordera4.c: New file.
36075 * elf/tst-initorderb1.c: New file.
36076 * elf/tst-initorderb2.c: New file.
36077 * elf/tst-order-a1.c: New file.
36078 * elf/tst-order-a2.c: New file.
36079 * elf/tst-order-a3.c: New file.
36080 * elf/tst-order-a4.c: New file.
36081 * elf/tst-order-b1.c: New file.
36082 * elf/tst-order-b2.c: New file.
36083 * elf/tst-order-main.c: New file.
36084 New test case by George Gensure <werkt0@gmail.com>.
36085
86e92359
UD
360862010-10-01 Andreas Schwab <schwab@redhat.com>
36087
36088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36089 decoding ACE if AI_CANONIDN.
36090
5d5732b0
UD
360912011-01-18 Ulrich Drepper <drepper@gmail.com>
36092
36093 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36094
a77e8cbc
UD
360952011-01-17 Ulrich Drepper <drepper@gmail.com>
36096
6392473f
UD
36097 * version.h (RELEASE): Bump for 2.13 release.
36098 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36099
620a0529
UD
36100 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36101
18ba70a5
UD
36102 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36103 MADV_NOHUGEPAGE.
32465c3e
UD
36104 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36106 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36107 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36110
c0dafcf1
UD
36111 * posix/getconf.c: Update copyright year.
36112 * catgets/gencat.c: Likewise.
36113 * csu/version.c: Likewise.
36114 * debug/catchsegv.sh: Likewise.
36115 * debug/xtrace.sh: Likewise.
36116 * elf/ldconfig.c: Likewise.
36117 * elf/ldd.bash.in: Likewise.
36118 * elf/sprof.c (print_version): Likewise.
36119 * iconv/iconv_prog.c: Likewise.
36120 * iconv/iconvconfig.c: Likewise.
36121 * locale/programs/locale.c: Likewise.
36122 * locale/programs/localedef.c: Likewise.
36123 * malloc/memusage.sh: Likewise.
36124 * malloc/mtrace.pl: Likewise.
36125 * nscd/nscd.c (print_version): Likewise.
36126 * nss/getent.c: Likewise.
36127
a77e8cbc
UD
36128 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36129 PF_CAIF, and PF_ALG.
36130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36131
77e8bddf
AS
361322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36133
1f20b93a
AS
36134 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36135 (modules-names): Use them.
36136 (ifunc-test-modules, ifunc-pie-tests): Define.
36137 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36138 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36139 (test-extras): Likewise.
36140 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36141 $(compile-command.c).
36142 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36143 (all-built-dso): Define.
36144 (check-textrel.out, check-execstack.out): Depend on it.
36145
77e8bddf
AS
36146 * configure.in: Don't override --enable-multi-arch.
36147
bc425b33
UD
361482011-01-15 Ulrich Drepper <drepper@gmail.com>
36149
36150 [BZ #6812]
36151 * nscd/hstcache.c (tryagain): Define.
36152 (cache_addhst): Return tryagain not notfound for temporary errors.
36153 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36154 failed.
36155
794c3ad3
UD
361562011-01-14 Ulrich Drepper <drepper@gmail.com>
36157
70181fdd
UD
36158 [BZ #10563]
36159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36160 to make the syscall.
36161 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36162
794c3ad3
UD
36163 [BZ #12378]
36164 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36165 and fall back to matching as normal character if the string ends before
36166 the matching ']' is found. This is what POSIX requires.
36167 * posix/testfnm.c: Adjust test result.
36168 * posix/globtest.sh: Adjust test result. Add new test.
36169 * posix/tst-fnmatch.input: Likewise.
36170 * posix/tst-fnmatch2.c: Add new test.
36171
68dc9497
AS
361722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36173
36174 * elf/Makefile (check-execstack): Revert last change. Depend on
36175 check-execstack.h.
36176 (check-execstack.h): New target.
36177 (generated): Add check-execstack.h.
36178 * elf/check-execstack.c: Include "check-execstack.h".
36179 (main): Revert last change.
36180 (handle_file): Return zero if GNU_STACK is absent and
36181 DEFAULT_STACK_PERMS doesn't include PF_X.
36182
451f001b
UD
361832011-01-13 Ulrich Drepper <drepper@gmail.com>
36184
cfa28e56
UD
36185 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36186 in child fails because the descriptor is already closed.
8cf8ce17
UD
36187 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36188 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36189 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36190
1086d70d
UD
36191 [BZ #12397]
36192 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36193 syscall.
36194
451f001b
UD
36195 [BZ #10484]
36196 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36197 temporary buffer used to handle multi lookups locally.
a85b5cb4 36198 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36199
08769175
UD
362002011-01-12 Ulrich Drepper <drepper@gmail.com>
36201
36202 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36203 loader is ld.so.
36204
5e49c52e
UD
362052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36206
36207 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36208 alignment for SSE2.
36209
60522a5f
UD
362102011-01-12 Ulrich Drepper <drepper@gmail.com>
36211
36212 [BZ #12394]
36213 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36214 characters. When rounding increased number of integer digits recompute
36215 number of groups.
36216 * stdio-common/tst-grouping.c: New file.
36217 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36218
f257bbd7
UD
362192011-01-09 Ulrich Drepper <drepper@gmail.com>
36220
36221 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36222 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36223
36224 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36225 void.
36226 * bits/select.h: Likewise.
36227
fa9c15cb
UD
362282011-01-08 Ulrich Drepper <drepper@gmail.com>
36229
36230 * po/ja.po: Update from translation team.
36231
16c2895f
DM
362322011-01-04 David S. Miller <davem@sunset.davemloft.net>
36233
36234 [BZ #11155]
36235 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36236 implementation just like for lxstat, fxstatat, et al.
36237
2543fef2
JM
362382010-12-27 Jim Meyering <meyering@redhat.com>
36239
36240 [BZ #12348]
36241 * posix/regexec.c (build_trtable): Return failure indication upon
36242 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36243
98727dbe
UD
362442010-12-25 Ulrich Drepper <drepper@gmail.com>
36245
5bd6dc5c
UD
36246 [BZ #12201]
36247 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36248 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36249 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36250 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36251
97983464
UD
36252 [BZ #12207]
36253 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36254
98727dbe
UD
36255 [BZ #12204]
36256 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36257 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36258
4a531bb0
L
362592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36260
36261 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36262 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36263 script has SORT_BY_INIT_PRIORITY.
36264 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36265 NO_CTORS_DTORS_SECTIONS is defined.
36266 * elf/soinit.c: Likewise.
36267 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36268 NO_CTORS_DTORS_SECTIONS is defined.
36269 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36270 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36271 * sysdeps/sh/init-first.c: Likewise.
36272 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36273
07eb4b71
UD
362742010-12-24 Ulrich Drepper <drepper@gmail.com>
36275
36276 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36277 always use the slow path.
36278
30950a5f
RA
362792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36280
36281 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36282 similar rule which adds the sysdep directories to the header search in
36283 order to pick up the correct platform stackinfo.h.
36284 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36285 perform test if it is, otherwise return successfully without testing.
36286 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36287 DEFAULT_STACK_PERMS define in stackinfo.h.
36288 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36289 defined in stackinfo.h.
36290 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36291 DEFAULT_STACK_PERMS defined in stackinfo.h.
36292 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36293 * sysdeps/ia64/stackinfo.h: Likewise.
36294 * sysdeps/s390/stackinfo.h: Likewise.
36295 * sysdeps/sh/stackinfo.h: Likewise.
36296 * sysdeps/sparc/stackinfo.h: Likewise.
36297 * sysdeps/x86_64/stackinfo.h: Likewise.
36298 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36299 PF_X for powerpc64. Retain PF_X for powerpc32.
36300
db753e2c
UD
363012010-12-19 Ulrich Drepper <drepper@gmail.com>
36302
14b697f7
UD
36303 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36304 accurately.
db753e2c
UD
36305 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36306 GETDENTS_64BIT_ALIGNED.
36307
28300719
UD
363082010-12-14 Ulrich Drepper <dreper@gmail.com>
36309
14b697f7 36310 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36311
4f197237
AS
363122010-12-10 Andreas Schwab <schwab@redhat.com>
36313
dbb0472f
AS
36314 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36315 _GNU_SOURCE.
36316
4f197237
AS
36317 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36318 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36319 Remove __restrict.
36320 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36321 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36322
fb88ac72
UD
363232010-12-09 Ulrich Drepper <drepper@gmail.com>
36324
36325 [BZ #11655]
36326 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36327 are initialized.
36328
42acbb92
JJ
363292010-12-09 Jakub Jelinek <jakub@redhat.com>
36330
36331 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36332
c038d98d
UD
363332010-12-03 Ulrich Drepper <drepper@gmail.com>
36334
36335 * po/it.po: Update from translation team.
36336
3a4a2499
L
363372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36338
36339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36340 unused codes.
36341
1e24cf6e
UD
363422010-11-30 Ulrich Drepper <drepper@gmail.com>
36343
36344 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36345
a7690819
AS
363462010-11-24 Andreas Schwab <schwab@redhat.com>
36347
36348 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36349 specially.
36350 (gaih_getanswer_slice): Likewise.
36351
3bf8d1b1
JJ
363522010-10-20 Jakub Jelinek <jakub@redhat.com>
36353
36354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36355
6db52fbb
PB
363562010-05-31 Petr Baudis <pasky@suse.cz>
36357
36358 [BZ #11149]
36359 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36360 silently even in the chroot mode.
36361
eaca7569
UD
363622010-11-22 Ulrich Drepper <drepper@gmail.com>
36363
36364 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36365 last patch a bit. Pretty printing
36366
3056dcdb
UD
363672010-05-31 Petr Baudis <pasky@suse.cz>
36368
36369 [BZ #10085]
36370 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36371 initialization of skip_initgroups_dyn.
36372
cf7c9078
UD
363732010-11-19 Ulrich Drepper <drepper@gmail.com>
36374
36375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36377
a1fb5e3e
UD
363782010-11-16 Ulrich Drepper <drepper@gmail.com>
36379
36380 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36381
3540d66b
AS
363822010-11-11 Andreas Schwab <schwab@redhat.com>
36383
36384 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36385 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36386 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36387 ($(objpfx)tst-fnmatch-mem): New rule.
36388 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36389 * posix/tst-fnmatch.c (main): Call mtrace.
36390
13b69574
L
363912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36392
36393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36394 Support Intel processor model 6 and model 0x2c.
36395
da93d214
LM
363962010-11-10 Luis Machado <luisgpm@br.ibm.com>
36397
36398 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36399 signed comparison.
36400
8ca52c6e
L
364012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36402
36403 [BZ #12205]
36404 * string/test-strncasecmp.c (check_result): New function.
36405 (do_one_test): Use it.
36406 (check1): New function.
36407 (test_main): Use it.
36408 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36409 Support strcasecmp and strncasecmp.
36410
69da074d
UD
364112010-11-08 Ulrich Drepper <drepper@gmail.com>
36412
36413 [BZ #12194]
36414 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36416
ff02d528
L
364172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36418
36419 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36420 IFUNC support.
36421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36422 memset-x86-64.
36423 * sysdeps/x86_64/multiarch/bzero.S: New file.
36424 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36425 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36426 * sysdeps/x86_64/multiarch/memset.S: New file.
36427 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36429 Set bit_Prefer_SSE_for_memop for Intel processors.
36430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36431 Define.
36432 (index_Prefer_SSE_for_memop): Define.
36433 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36434
344d0b54
LM
364352010-11-04 Luis Machado <luisgpm@br.ibm.com>
36436
36437 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36438 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36439
c0dde15b
UD
364402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36441
36442 [BZ #12191]
36443 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36444 (__x86_64_raw_data_cache_size_half): Likewise.
36445 (__x86_64_raw_shared_cache_size): Likewise.
36446 (__x86_64_raw_shared_cache_size_half): Likewise.
36447
36448 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36449 (__x86_64_raw_data_cache_size_half): Likewise.
36450 (__x86_64_raw_shared_cache_size): Likewise.
36451 (__x86_64_raw_shared_cache_size_half): Likewise.
36452 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36453 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36454 and __x86_64_raw_shared_cache_size_half. Round
36455 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36456 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36457 to multiple of 256 bytes.
36458
0e516e0e
MS
364592010-11-03 Ulrich Drepper <drepper@gmail.com>
36460
36461 [BZ #12167]
36462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36463 of inacessible symlinks. Verify result of symlink before returning it.
36464 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36465 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36466
0e012e87
ER
364672010-10-28 Erich Ritz <erichritz@gmail.com>
36468
36469 * math/math.h (isinf): Fix typo in comment.
36470
de0ff7bc
UD
364712010-11-01 Ulrich Drepper <drepper@gmail.com>
36472
36473 * po/da.po: Update from translation team.
36474
fa41c84d
UD
364752010-10-26 Ulrich Drepper <drepper@gmail.com>
36476
36477 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36478 is added to the list.
36479
f0967738
AK
364802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36481 Ulrich Drepper <drepper@gmail.com>
36482
36483 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36484 the global list here. Move code to...
36485 (_dl_add_to_namespace_list): ...here. New function.
36486 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36487 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36488 * elf/dl-load.c (lose): Don't remove the element from the list.
36489 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36490 (_dl_map_object): Likewise.
36491
364922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36493
36494 [BZ #12159]
36495 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36496 into all bytes of SSE register.
36497 Patch by Richard Li <richardpku@gmail.com>.
36498
f0967738 364992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36500
36501 [BZ #12140]
36502 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36503 perturbing.
36504
d0b9e94f
MB
365052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36506
36507 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36508 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36509 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36512 submachine.
36513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36514
8e9f92e9
AS
365152010-10-22 Andreas Schwab <schwab@redhat.com>
36516
36517 * include/dlfcn.h (__RTLD_SECURE): Define.
36518 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36519 mode & __RTLD_SECURE instead.
36520 (open_path): Rename preloaded parameter to secure.
36521 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36522 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36523 * elf/dl-deps.c (openaux): Likewise.
36524 * elf/rtld.c (struct map_args): Remove is_preloaded.
36525 (map_doit): Don't use it.
36526 (dl_main): Likewise.
36527 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36528 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36529
bc96fbda
AS
365302010-09-09 Andreas Schwab <schwab@redhat.com>
36531
36532 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36533 (sysd-rules-targets): Remove duplicates.
36534 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36535 rtld-%.$o dependency.
36536
22cd1c9b
AS
365372010-10-18 Andreas Schwab <schwab@redhat.com>
36538
36539 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36540 _dl_map_object do it.
36541
18edac48
UD
365422010-10-19 Ulrich Drepper <drepper@gmail.com>
36543
36544 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36545 fast fma builtins, define the macros in the C99 standard.
36546 (FP_FAST_FMAF): Likewise.
36547 (FP_FAST_FMAL): Likewise.
36548 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36549
36550 * bits/mathdef.h: Update copyright year.
36551 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36552
d2050124
MM
365532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36554
36555 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36556 builtins, define the macros in the C99 standard.
36557 (FP_FAST_FMAF): Likewise.
36558 (FP_FAST_FMAL): Likewise.
36559 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36560 multiply/add.
36561 (FP_FAST_FMAF): Likewise.
36562
475facd1
JJ
365632010-10-15 Jakub Jelinek <jakub@redhat.com>
36564
36565 [BZ #3268]
36566 * math/libm-test.inc (fma_test): Some new testcases.
36567 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36569 y and infinite z. Do multiplication by C already in long double.
36570 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36572 y and infinite z. Do bitwise or of inexact bit into u.d.
36573 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36574 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36575 * sysdeps/i386/fpu/s_fma.S: Removed.
36576 * sysdeps/i386/fpu/s_fmal.S: Removed.
36577
7c08a05c
JJ
365782010-10-16 Jakub Jelinek <jakub@redhat.com>
36579
36580 [BZ #3268]
36581 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36583 computation is not scheduled after fetestexcept. Fix value
36584 of minimum denormal long double.
36585
f3f7372d
JJ
365862010-10-14 Jakub Jelinek <jakub@redhat.com>
36587
36588 [BZ #3268]
36589 * math/libm-test.inc (fma_test): Add some more tests.
36590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36591 correctly.
36592
14d43591
AS
365932010-10-15 Andreas Schwab <schwab@redhat.com>
36594
36595 * scripts/data/localplt-s390-linux-gnu.data: New file.
36596 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36597
5e908464
JJ
365982010-10-13 Jakub Jelinek <jakub@redhat.com>
36599
36600 [BZ #3268]
36601 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36602 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36603 instead of dbl-64.
36604 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36605 inlines.
36606 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36608 if one of x and y is very large and the other is subnormal.
36609 * sysdeps/s390/fpu/s_fmaf.c: New file.
36610 * sysdeps/s390/fpu/s_fma.c: New file.
36611 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36612 * sysdeps/powerpc/fpu/s_fma.S: New file.
36613 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36614 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36615 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36616
366172010-10-12 Jakub Jelinek <jakub@redhat.com>
36618
36619 [BZ #3268]
36620 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36621 fma tests.
36622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36623 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36624 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36625 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36626 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36627 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36628 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36629
b833d51f
UD
366302010-10-12 Ulrich Drepper <drepper@redhat.com>
36631
36632 [BZ #12078]
36633 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36634 * posix/bug-regex31.input: Add test case.
36635
1751705d
UD
366362010-10-11 Ulrich Drepper <drepper@gmail.com>
36637
e9b9cbf5
UD
36638 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36639 * posix/bug-regex31.input: New file.
36640
36641 [BZ #12078]
36642 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36643 (parse_sub_exp): Fix last change, use postorder.
36644
ef06edbe
UD
36645 * posix/bug-regex31.c: New file.
36646 * posix/Makefile: Add rules to build and run bug-regex31.
36647
a129c80d
UD
36648 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36649
36650 [BZ #12078]
36651 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36652
b76b818e
UD
36653 [BZ #12108]
36654 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36655 to have entries in sys_siglist.
36656
1751705d
UD
36657 [BZ #12093]
36658 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36659 be NULL.
36660
9ff8d36f
JJ
366612010-10-07 Jakub Jelinek <jakub@redhat.com>
36662
36663 [BZ #3268]
36664 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36665 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36666 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36667 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36668 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36669 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36670 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36671 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36672 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36673 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36674 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36675 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36676 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36677 * math/ftestexcept.c (fetestexcept): Likewise.
36678 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36679 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36680 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36681 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36682 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36683 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36684 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36685
af325969
UD
366862010-10-11 Ulrich Drepper <drepper@gmail.com>
36687
c579b202 36688 [BZ #12107]
af325969
UD
36689 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36690 newline.
36691
67a67b95
UD
366922010-10-06 Ulrich Drepper <drepper@gmail.com>
36693
36694 * string/bug-strstr1.c: New file.
36695 * string/Makefile: Add rules to build and run bug-strstr1.
36696
5fb308bc
EB
366972010-10-05 Eric Blake <eblake@redhat.com>
36698
36699 [BZ #12092]
36700 * string/str-two-way.h (two_way_long_needle): Always clear memory
36701 when skipping input due to the shift table.
36702
45db99c7
UD
367032010-10-03 Ulrich Drepper <drepper@gmail.com>
36704
3b111893
UD
36705 [BZ #12005]
36706 * malloc/mcheck.c: Handle large requests.
36707
45db99c7
UD
36708 [BZ #12077]
36709 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36710 for strncmp and strncasecmp.
36711 * string/stratcliff.c: Add tests for strcmp and strncmp.
36712 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36713
cf7a1eb8
NI
367142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36715
36716 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36717 __set_fpscr.
36718
6484ba5e
AJ
367192010-09-30 Andreas Jaeger <aj@suse.de>
36720
36721 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36722 (CGROUP_SUPER_MAGIC): Define.
36723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36724 Handle btrfs and cgroup file systems.
36725 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36726 Likewise.
36727
91c42559
LM
367282010-09-27 Luis Machado <luisgpm@br.ibm.com>
36729
36730 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36731 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36732
87a97932
AK
367332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36734
36735 [BZ #12067]
36736 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36737 trying to locate the ELF header.
36738
c21cc9bc
AS
367392010-09-27 Andreas Schwab <schwab@redhat.com>
36740
36741 [BZ #11611]
36742 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36743 Mask out sign-bit copies when constructing f_fsid.
36744
315970f6
PB
367452010-09-24 Petr Baudis <pasky@suse.cz>
36746
36747 * debug/stack_chk_fail_local.c: Add missing licence exception.
36748 * debug/warning-nop.c: Likewise.
36749
1ac7a2c7
JM
367502010-09-15 Joseph Myers <joseph@codesourcery.com>
36751
36752 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36753 implementing getdents64 using getdents syscall, set d_type if
36754 __ASSUME_GETDENTS32_D_TYPE.
36755
56801c50
AS
367562010-09-16 Andreas Schwab <schwab@redhat.com>
36757
36758 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36759 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36760
dda51327
UD
367612010-09-21 Ulrich Drepper <drepper@redhat.com>
36762
36763 [BZ #12037]
36764 * posix/unistd.h: Undo change of feature selection for ftruncate from
36765 2010-01-11.
36766
8ffcee4a
UD
367672010-09-20 Ulrich Drepper <drepper@redhat.com>
36768
a545ecd9 36769 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36770 detection.
36771
e24f0a8b
AS
367722010-09-20 Andreas Schwab <schwab@redhat.com>
36773
36774 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36775 fanotify_mark.
36776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36777
7291c56f
AS
367782010-09-14 Andreas Schwab <schwab@redhat.com>
36779
36780 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36781 variables after CHECK_SP call.
36782 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36783
bc5fb037
AS
367842010-09-13 Andreas Schwab <schwab@redhat.com>
36785 Ulrich Drepper <drepper@redhat.com>
36786
36787 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36788 re-relocationg ld.so.
36789 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36790 _dl_init_paths call.
36791 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36792 here anymore.
36793
e66e7419
UD
367942010-09-14 Ulrich Drepper <drepper@redhat.com>
36795
36796 * resolv/res_init.c (__res_vinit): Count the default server we added.
36797
c044aa75
CLT
367982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36799 Ulrich Drepper <drepper@redhat.com>
36800
36801 [BZ #11968]
36802 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36803 (____longjmp_chk): Use %ebx for saving value across system call.
36804 Add unwind info.
36805
32cf4069
AS
368062010-09-06 Andreas Schwab <schwab@redhat.com>
36807
36808 * manual/Makefile: Don't mix pattern rules with normal rules.
36809
817328ee
AS
368102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36811
36812 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36813 operation.
36814 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36815 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36816 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36817 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36819 Likewise.
36820
29fddf61
UD
368212010-09-04 Ulrich Drepper <drepper@redhat.com>
36822
36823 [BZ #11979]
36824 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36825 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36826
0959ffc9
UD
368272010-09-02 Ulrich Drepper <drepper@redhat.com>
36828
36829 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36830 * sysdeps/x86_64/addmul_1.S: Likewise.
36831 * sysdeps/x86_64/lshift.S: Likewise.
36832 * sysdeps/x86_64/mul_1.S: Likewise.
36833 * sysdeps/x86_64/rshift.S: Likewise.
36834 * sysdeps/x86_64/sub_n.S: Likewise.
36835 * sysdeps/x86_64/submul_1.S: Likewise.
36836
ece29840
ST
368372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36838
0959ffc9
UD
36839 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36840 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36841 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36842 * bits/sched.h [__need_schedparam]
ece29840 36843 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36844 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36845 (__defined_schedparam): Define to 1.
ece29840
ST
36846 (__sched_param): New structure, identical to sched_param.
36847 (__need_schedparam): Undefine.
36848
e53a31fe
MF
368492010-08-31 Mike Frysinger <vapier@gentoo.org>
36850
fdc0c10d
MF
36851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36852 (epoll_create1): Declare.
36853
e53a31fe
MF
36854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36855
a726d796
AS
368562010-08-31 Andreas Schwab <schwab@redhat.com>
36857
36858 [BZ #7066]
36859 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36860 shifting retval into place.
36861
2f3e3dc7
UD
368622010-09-01 Ulrich Drepper <drepper@redhat.com>
36863
f2933da9
UD
36864 * nis/rpcsvc/nis.h: Update copyright notice.
36865 * nis/rpcsvc/nis.x: Likewise.
36866 * nis/rpcsvc/nis_callback.h: Likewise.
36867 * nis/rpcsvc/nis_callback.x: Likewise.
36868 * nis/rpcsvc/nis_object.x: Likewise.
36869 * nis/rpcsvc/nis_tags.h: Likewise.
36870 * nis/rpcsvc/yp.h: Likewise.
36871 * nis/rpcsvc/yp.x: Likewise.
36872 * nis/rpcsvc/ypupd.h: Likewise.
36873 * nis/yp_xdr.c: Likewise.
36874 * nis/ypupdate_xdr.c: Likewise.
36875
2f3e3dc7
UD
36876 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36877 mainly the body of pmap_getport. Add parameters to specify timeouts.
36878 (pmap_getport): Use __libc_rpc_getport.
36879 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36880 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36881 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36882
f3dcc2f9
AS
368832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36884
36885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36886 fanotify_mark.
36887
6d34eb5b
RM
368882010-08-27 Roland McGrath <roland@redhat.com>
36889
36890 * sysdeps/i386/i686/multiarch/Makefile
36891 (CFLAGS-varshift.c): New variable.
36892
9ea3de11
UD
368932010-08-27 Ulrich Drepper <drepper@redhat.com>
36894
c96d23fc
UD
36895 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36896 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36897
9ea3de11
UD
36898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36899
36900 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36901
623aac7f
L
369022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36903
36904 * sysdeps/x86_64/strlen.S: Unroll the loop.
36905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36906 strlen-sse2 strlen-sse2-bsf.
36907 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36908 __strlen_no_bsf if bit_Slow_BSF is set.
36909 (__strlen_sse42): Removed.
36910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36911 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36912
8b2b7715
RM
369132010-08-25 Roland McGrath <roland@redhat.com>
36914
36915 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36916 * sysdeps/x86_64/multiarch/varshift.c: New file.
36917 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36918 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36919 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36920 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36921
e73015f2
L
369222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36923
36924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36925 strlen-sse2 strlen-sse2-bsf.
36926 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36927 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36928 (__strlen_sse2): Removed.
36929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36932 bit_Slow_BSF for Atom.
36933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36934 (index_Slow_BSF): Define.
36935 (HAS_SLOW_BSF): Define.
36936
df24a73e
UD
369372010-08-25 Ulrich Drepper <drepper@redhat.com>
36938
36939 [BZ #10851]
36940 * resolv/res_init.c (__res_vinit): When no server address at all
36941 is given default to loopback.
36942
f2ac4868
RM
369432010-08-24 Roland McGrath <roland@redhat.com>
36944
09055553
RM
36945 * configure.in: Remove config-name.h generation.
36946 * configure: Regenerated.
36947 * config-name.in: File removed.
36948 * scripts/config-uname.sh: New file.
36949 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36950 ($(objdir)config-name.h): New target.
36951
f2ac4868
RM
36952 * sunrpc/rpc_parse.h: Avoid nested comment.
36953
73f27d5e
RH
369542010-08-24 Richard Henderson <rth@redhat.com>
36955 Ulrich Drepper <drepper@redhat.com>
36956 H.J. Lu <hongjiu.lu@intel.com>
36957
36958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36960 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36961 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36962 _mm_alignr_epi8 with _mm_loadu_si128.
36963 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36964 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36965 (__m128i_shift_right): Removed.
36966 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36967 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36968 * sysdeps/x86_64/multiarch/varshift.h: New file.
36969 * sysdeps/x86_64/multiarch/varshift.S: New file.
36970
84b9230c
MF
369712010-08-21 Mike Frysinger <vapier@gentoo.org>
36972
36973 * configure.in: Move assembler checks to before sysdep dir checking.
36974
9bbd0ddc
PB
369752010-08-20 Petr Baudis <pasky@suse.cz>
36976
36977 * LICENSES: Sync the sunrpc license.
36978
9da4bb31
UD
369792010-08-19 Ulrich Drepper <drepper@redhat.com>
36980
a7ab6ec8
UD
36981 * sunrpc/auth_des.c: Update copyright notice once again.
36982 * sunrpc/auth_none.c: Likewise.
36983 * sunrpc/auth_unix.c: Likewise.
36984 * sunrpc/authdes_prot.c: Likewise.
36985 * sunrpc/authuxprot.c: Likewise.
36986 * sunrpc/bindrsvprt.c: Likewise.
36987 * sunrpc/clnt_gen.c: Likewise.
36988 * sunrpc/clnt_perr.c: Likewise.
36989 * sunrpc/clnt_raw.c: Likewise.
36990 * sunrpc/clnt_simp.c: Likewise.
36991 * sunrpc/clnt_tcp.c: Likewise.
36992 * sunrpc/clnt_udp.c: Likewise.
36993 * sunrpc/clnt_unix.c: Likewise.
36994 * sunrpc/des_crypt.c: Likewise.
36995 * sunrpc/des_soft.c: Likewise.
36996 * sunrpc/get_myaddr.c: Likewise.
36997 * sunrpc/getrpcport.c: Likewise.
36998 * sunrpc/key_call.c: Likewise.
36999 * sunrpc/key_prot.c: Likewise.
37000 * sunrpc/openchild.c: Likewise.
37001 * sunrpc/pm_getmaps.c: Likewise.
37002 * sunrpc/pm_getport.c: Likewise.
37003 * sunrpc/pmap_clnt.c: Likewise.
37004 * sunrpc/pmap_prot.c: Likewise.
37005 * sunrpc/pmap_prot2.c: Likewise.
37006 * sunrpc/pmap_rmt.c: Likewise.
37007 * sunrpc/rpc/auth.h: Likewise.
37008 * sunrpc/rpc/auth_unix.h: Likewise.
37009 * sunrpc/rpc/clnt.h: Likewise.
37010 * sunrpc/rpc/des_crypt.h: Likewise.
37011 * sunrpc/rpc/key_prot.h: Likewise.
37012 * sunrpc/rpc/netdb.h: Likewise.
37013 * sunrpc/rpc/pmap_clnt.h: Likewise.
37014 * sunrpc/rpc/pmap_prot.h: Likewise.
37015 * sunrpc/rpc/pmap_rmt.h: Likewise.
37016 * sunrpc/rpc/rpc.h: Likewise.
37017 * sunrpc/rpc/rpc_des.h: Likewise.
37018 * sunrpc/rpc/rpc_msg.h: Likewise.
37019 * sunrpc/rpc/svc.h: Likewise.
37020 * sunrpc/rpc/svc_auth.h: Likewise.
37021 * sunrpc/rpc/types.h: Likewise.
37022 * sunrpc/rpc/xdr.h: Likewise.
37023 * sunrpc/rpc_clntout.c: Likewise.
37024 * sunrpc/rpc_cmsg.c: Likewise.
37025 * sunrpc/rpc_common.c: Likewise.
37026 * sunrpc/rpc_cout.c: Likewise.
37027 * sunrpc/rpc_dtable.c: Likewise.
37028 * sunrpc/rpc_hout.c: Likewise.
37029 * sunrpc/rpc_main.c: Likewise.
37030 * sunrpc/rpc_parse.c: Likewise.
37031 * sunrpc/rpc_parse.h: Likewise.
37032 * sunrpc/rpc_prot.c: Likewise.
37033 * sunrpc/rpc_sample.c: Likewise.
37034 * sunrpc/rpc_scan.c: Likewise.
37035 * sunrpc/rpc_scan.h: Likewise.
37036 * sunrpc/rpc_svcout.c: Likewise.
37037 * sunrpc/rpc_tblout.c: Likewise.
37038 * sunrpc/rpc_util.c: Likewise.
37039 * sunrpc/rpc_util.h: Likewise.
37040 * sunrpc/rpcinfo.c: Likewise.
37041 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37042 * sunrpc/rpcsvc/key_prot.x: Likewise.
37043 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37044 * sunrpc/rpcsvc/mount.x: Likewise.
37045 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37046 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37047 * sunrpc/rpcsvc/rex.x: Likewise.
37048 * sunrpc/rpcsvc/rstat.x: Likewise.
37049 * sunrpc/rpcsvc/rusers.x: Likewise.
37050 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37051 * sunrpc/rpcsvc/spray.x: Likewise.
37052 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37053 * sunrpc/rtime.c: Likewise.
37054 * sunrpc/svc.c: Likewise.
37055 * sunrpc/svc_auth.c: Likewise.
37056 * sunrpc/svc_authux.c: Likewise.
37057 * sunrpc/svc_raw.c: Likewise.
37058 * sunrpc/svc_run.c: Likewise.
37059 * sunrpc/svc_simple.c: Likewise.
37060 * sunrpc/svc_tcp.c: Likewise.
37061 * sunrpc/svc_udp.c: Likewise.
37062 * sunrpc/svc_unix.c: Likewise.
37063 * sunrpc/svcauth_des.c: Likewise.
37064 * sunrpc/xcrypt.c: Likewise.
37065 * sunrpc/xdr.c: Likewise.
37066 * sunrpc/xdr_array.c: Likewise.
37067 * sunrpc/xdr_float.c: Likewise.
37068 * sunrpc/xdr_mem.c: Likewise.
37069 * sunrpc/xdr_rec.c: Likewise.
37070 * sunrpc/xdr_ref.c: Likewise.
37071 * sunrpc/xdr_sizeof.c: Likewise.
37072 * sunrpc/xdr_stdio.c: Likewise.
37073
9da4bb31
UD
37074 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37075 handling.
37076
bdaa77bc
AS
370772010-08-19 Andreas Schwab <schwab@redhat.com>
37078
37079 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37080
fe2f79db
LM
370812010-08-19 Luis Machado <luisgpm@br.ibm.com>
37082
37083 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37084 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37085 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37086 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37087 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37088 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37089 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37090 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37092 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37093 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37094 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37095 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37096 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37097
b9b42ee0
AB
370982010-07-26 Anton Blanchard <anton@samba.org>
37099
37100 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37101 * malloc/arena.c (heap_trim): Likewise.
37102
1c06ba31
UD
371032010-08-16 Ulrich Drepper <drepper@redhat.com>
37104
37105 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37106 here. Not...
37107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37108 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37109
f8392f40
L
371102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37111
37112 * sysdeps/i386/elf/Makefile: New file.
37113
3162f12e
AS
371142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37115
37116 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37117 from fanotify_init.
37118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37120
28c90b2c
UD
371212010-08-15 Ulrich Drepper <drepper@redhat.com>
37122
37123 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37124 of strncasecmp_l.
1feccb6c 37125 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37126
ca6bb004
UD
371272010-08-14 Ulrich Drepper <drepper@redhat.com>
37128
e9f82e0d
UD
37129 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37130 strncase_l-nonascii.
37131 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37132 Add strncase_l-ssse3.
37133 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37134 * sysdeps/x86_64/strcmp.S: Likewise.
37135 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37136 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37137 * sysdeps/x86_64/strncase.S: New file.
37138 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37139 * sysdeps/x86_64/strncase_l.S: New file.
37140 * string/Makefile (strop-tests): Add strncasecmp.
37141 * string/test-strncasecmp.c: New file.
37142
37143 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37144 warning.
37145
ca6bb004
UD
37146 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37148
052fa7b3
AS
371492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37150
37151 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37152
962dba78
UD
371532010-08-12 Ulrich Drepper <drepper@redhat.com>
37154
37155 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37157 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37158
bebff237
AM
371592010-05-01 Alan Modra <amodra@gmail.com>
37160
37161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37162 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37163 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37164 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37165 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37166 tidying. Don't tail-call __sigjmp_save for static lib.
37167 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37168 save location.
37169 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37170 (CALL_MCOUNT): Add eh info, and nop after bl.
37171 (TAIL_CALL_SYSCALL_ERROR): New macro.
37172 (PSEUDO_RET): Use it.
37173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37174 Correct save location of integer regs and cr.
37175 (_dl_profile_resolve): Correct cr save location. Delete nops
37176 after bl when SHARED. Reduce cfi size a little by better
37177 placement of cfi directives.
37178 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37179 make a stack frame. Instead use parm save area as a temp.
37180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37181 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37183 Don't make a stack frame for parent, use parm save area.
37184 Increase child stack frame to 112 bytes. Don't save unused reg,
37185 and adjust reg usage. Set up cfi on error recovery and
37186 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37188 (__makecontext): Add dummy nop after jump to exit.
37189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37190 Use correct parm save area and cr save, reduce stack frame.
37191 Correct cfi for possible PSEUDO_RET frame setup.
37192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37193 Branch to local label emitted by PSEUDO_RET rather than
37194 __syscall_error.
37195
02637374
AS
371962010-08-12 Andreas Schwab <schwab@redhat.com>
37197
37198 [BZ #11904]
37199 * locale/programs/locale.c (print_assignment): New function.
37200 (show_locale_vars): Use it.
37201
c3e2f19b
UD
372022010-08-11 Ulrich Drepper <drepper@redhat.com>
37203
3cdaa6ad
UD
37204 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37205 field.
37206 (struct statfs64): Likewise.
37207 (_STATFS_F_FLAGS): Define.
37208 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37209 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37210 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37211 (ST_VALID): Define locally.
37212 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37213 __statvfs_getflags, use the provided value.
37214 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37215 __ASSUME_STATFS_F_FLAGS.
37216
754f7da3
UD
37217 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37218
10b3bedc
UD
37219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37220 Add sys/fanotify.h.
37221 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37222 fanotify_mask for GLIBC_2.13.
37223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37224 fanotify_init and fanotify_mark.
37225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37226 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37227
c08fb0d7
UD
37228 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37229 Add prlimit.
37230 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37231 prlimit64 for GLIBC_2.13.
37232 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37233 prlimit64.
37234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37235 syscall.
37236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37238 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37239 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37241 add prlimit alias.
37242 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37243
15bac72b
UD
37244 [BZ #11903]
37245 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37246 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37247
c3e2f19b
UD
37248 * nss/Makefile: Add rules to build and run tst-nss-test1.
37249 * shlib-versions: Add entry for libnss_test1.
37250 * nss/nss_test1.c: New file.
37251 * nss/tst-nss-test1.c: New file.
37252
37253 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37254 (__nss_configure_lookup): Set appropriate entry in
37255 __nss_configure_lookup to true.
37256 * nss/nsswitch.h: Define enum with indeces of databases in
37257 databases and __nss_database_custom arrays. Declare
37258 __nss_database_custom.
37259 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37260 to avoid using nscd when custom rules are installed.
37261 * nss/getXXbyYY_r.c: Likewise.
37262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37263
37264 * nss/nss_files/files-parse.c: Whitespace fixes.
37265
f15ce4d8
UD
372662010-08-09 Ulrich Drepper <drepper@redhat.com>
37267
37268 [BZ #11883]
37269 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37270 * posix/fnmatch_loop.c: Likewise.
37271
d22e4cc9
AK
372722010-07-17 Andi Kleen <ak@linux.intel.com>
37273
37274 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37275 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37276 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37277 * Versions.def [GLIBC_2.13]: Add.
37278
805bc17d
UD
372792010-08-06 Ulrich Drepper <drepper@redhat.com>
37280
37281 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37282 Also fail if tpwd after pwuid call is NULL.
37283
5a42321d
ST
372842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37285
37286 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37287 when converting to ms.
37288
fd3ebeda
ST
372892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37290
37291 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37292 EOPNOTSUPP errors with ENOTTY.
37293 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37294 EOPNOTSUPP errors with ENOTTY.
37295
73507d3a
UD
372962010-07-31 Ulrich Drepper <drepper@redhat.com>
37297
37298 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37299 Add strcasecmp_l-ssse3.
37300 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37301 strcasecmp.
37302 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37303 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37304 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37305
fe36dd02
UD
373062010-07-30 Ulrich Drepper <drepper@redhat.com>
37307
66f6765a
UD
37308 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37309
42e08a54
UD
37310 * string/Makefile (strop-tests): Add strcasecmp.
37311 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37312 strcasecmp_l-nonascii.
37313 (gen-as-const-headers): Add locale-defines.sym.
37314 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37315 * sysdeps/x86_64/strcasecmp.S: New file.
37316 * sysdeps/x86_64/strcasecmp_l.S: New file.
37317 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37318 * sysdeps/x86_64/locale-defines.sym: New file.
37319 * string/test-strcasecmp.c: New file.
37320
fe36dd02
UD
37321 * string/test-strcasestr.c: Test both ends of the range of characters.
37322 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37323
48cbc0d6
RM
373242010-07-29 Roland McGrath <roland@redhat.com>
37325
76e6d6bc 37326 [BZ #11856]
48cbc0d6
RM
37327 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37328
880113d9
UD
373292010-07-27 Ulrich Drepper <drepper@redhat.com>
37330
37331 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37332 for ld.so.
37333
deb9cabb
AS
373342010-07-27 Andreas Schwab <schwab@redhat.com>
37335
37336 * manual/memory.texi (Malloc Tunable Parameters): Document
37337 M_PERTURB.
37338
1c7570ff
RM
373392010-07-26 Roland McGrath <roland@redhat.com>
37340
37341 [BZ #11840]
37342 * configure.in (-fgnu89-inline check): Set and substitute
37343 gnu89_inline, not libc_cv_gnu89_inline.
37344 * configure: Regenerated.
37345 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37346
24fb0f88
UD
373472010-07-26 Ulrich Drepper <drepper@redhat.com>
37348
37349 * string/test-strnlen.c: New file.
37350 * string/Makefile (strop-tests): Add strnlen.
37351 * string/tester.c (test_strnlen): Add a few more test cases.
37352 * string/tst-strlen.c: Better error reporting.
37353
37354 * sysdeps/x86_64/strnlen.S: New file.
37355
8e96b93a
UD
373562010-07-24 Ulrich Drepper <drepper@redhat.com>
37357
37358 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37359 lower-latency instructions.
37360
dbc676d4
UD
373612010-07-23 Ulrich Drepper <drepper@redhat.com>
37362
37363 * string/test-strcasestr.c: New file.
37364 * string/test-strstr.c: New file.
37365 * string/Makefile (strop-tests): Add strstr and strcasestr.
37366 * string/str-two-way.h: Don't undefine MAX.
37367 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37368
f6a31e0e
AS
373692010-07-21 Andreas Schwab <schwab@redhat.com>
37370
37371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37372 strcasestr-nonascii.
37373 (CFLAGS-strcasestr-nonascii.c): Define.
37374 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37376 Remove unused attribute.
37377
5dbc3b6c
RM
373782010-07-20 Roland McGrath <roland@redhat.com>
37379
37380 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37381 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37382 ld.so.cache was broken. With it, there is no way to disable dsocaps
37383 like LD_HWCAP_MASK can disable hwcaps.
37384
23d101d8
EPM
373852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37386
37387 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37388
cc9f2e47
UD
373892010-07-16 Ulrich Drepper <drepper@redhat.com>
37390
37391 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37392 call in strcasestr.
37393 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37394 __strcasestr_sse42_nonascii.
37395 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37396 strcasestr-nonascii.c.
37397 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37398
77c1b069
LM
373992010-06-15 Luis Machado <luisgpm@br.ibm.com>
37400
37401 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37402 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37403 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37405
440566c3
UD
374062010-07-09 Ulrich Drepper <drepper@redhat.com>
37407
37408 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37409 fcntl.
37410
5be9d05d
AS
374112010-07-06 Andreas Schwab <schwab@redhat.com>
37412
c30b7ee2 37413 [BZ #11577]
5be9d05d
AS
37414 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37415 dl_signal_cerror.
37416
8a492a67
UD
374172010-07-06 Ulrich Drepper <drepper@redhat.com>
37418
37419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37420 _PC_PIPE_BUF using F_GETPIPE_SZ.
37421
713df3d5
RM
374222010-07-05 Roland McGrath <roland@redhat.com>
37423
37424 * manual/arith.texi (Rounding Functions): Fix rint description
37425 implicit in round description.
37426
702e8f14
UD
374272010-07-02 Ulrich Drepper <drepper@redhat.com>
37428
37429 * elf/Makefile: Fix linking for a few tests to make recent linker
37430 happy.
37431
52ed8be9
AS
374322010-06-30 Andreas Schwab <schwab@redhat.com>
37433
37434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37435 $(common-objpfx)libc_nonshared.a.
37436
f47c9a11
LM
374372010-06-21 Luis Machado <luisgpm@br.ibm.com>
37438
37439 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37440 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37441 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37442 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37443 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37444 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37445 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37446 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37461 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37462 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37463 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37464 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37465 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37466 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37467 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37468 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37469 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37470 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37471 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37472 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37487
6fb8cbcb
L
374882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37489
37490 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37491 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37492 * string/memmove.c (memmove): Renamed to ...
37493 (MEMMOVE): ...this. Default to memmove.
37494 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37495 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37496 (END_CHK): Define.
37497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37498 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37499 mempcpy-ssse3-back memmove-ssse3-back.
37500 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37501 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37502 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37503 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37504 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37505 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37506 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37507 * sysdeps/x86_64/multiarch/memmove.c: New file.
37508 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37509 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37510 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37511 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37512 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37514 Define.
37515 (index_Fast_Copy_Backward): Define.
37516 (HAS_ARCH_FEATURE): Define.
37517 (HAS_FAST_REP_STRING): Define.
37518 (HAS_FAST_COPY_BACKWARD): Define.
37519
4e733bac 375202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37521
37522 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37523 Restore proper fallback handling.
37524
63c4ed22
UD
375252010-06-19 Ulrich Drepper <drepper@redhat.com>
37526
ac2b484c
UD
37527 [BZ #11701]
37528 * posix/group_member.c (__group_member): Correct checking loop.
37529
63c4ed22
UD
37530 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37531 OOM in getpwuid_r correctly. Return error number when the caller
37532 should return, otherwise -1.
37533 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37534 call returning > 0 value.
37535 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37536
765ade4b
AS
375372010-06-07 Andreas Schwab <schwab@redhat.com>
37538
37539 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37540 libc_nonshared.a from targets in modules-names.
37541
80da2e09
KS
375422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37543
37544 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37545 requires it.
37546
158db122
LM
375472010-06-10 Luis Machado <luisgpm@br.ibm.com>
37548
37549 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37550 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37553
caa78cf8
AS
375542010-06-02 Andreas Schwab <schwab@redhat.com>
37555
37556 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37557
b2ef2c01
UD
375582010-06-14 Ulrich Drepper <drepper@redhat.com>
37559
37560 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37561 and F_GETPIPE_SZ.
37562 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37567 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37568
fbd643b6
RM
375692010-06-14 Roland McGrath <roland@redhat.com>
37570
37571 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37572
f32f2869
JJ
375732010-06-07 Jakub Jelinek <jakub@redhat.com>
37574
37575 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37576 __REDIRECT followed by __THROW.
37577 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37578 * posix/getopt.h (getopt): Likewise.
37579
2a50c078
EPM
375802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37581
37582 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37583 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37584 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37585 in AT_FLAGS.
37586 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37587 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37588
eb5ad2eb
LM
375892010-05-28 Luis Machado <luisgpm@br.ibm.com>
37590
37591 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37592
3c88fe1e
L
375932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37594
37595 [BZ #11640]
37596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37597 Properly check family and model.
37598
d2f73151
TY
375992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37600
37601 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37602
ebd2e13d
LM
376032010-05-24 Luis Machado <luisgpm@br.ibm.com>
37604
37605 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37606
b32b8b45
UD
376072010-05-21 Ulrich Drepper <drepper@redhat.com>
37608
37609 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37610 symbol reference.
37611
9acbe24d
AS
376122010-05-19 Andreas Schwab <schwab@redhat.com>
37613
37614 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37615 symbol reference.
37616
f0ccf6ea
AS
376172010-05-21 Andreas Schwab <schwab@redhat.com>
37618
3d04ff3a
AS
37619 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37620 and internal_recvmmsg.
37621 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37622 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37623 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37624 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37625
f0ccf6ea
AS
37626 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37627 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37628 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37629
5b08ac57
AS
376302010-05-20 Andreas Schwab <schwab@redhat.com>
37631
37632 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37633
4828935d
LM
376342010-05-17 Luis Machado <luisgpm@br.ibm.com>
37635
37636 POWER7 optimizations.
37637 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37638 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37639
373d545e
UD
376402010-05-19 Ulrich Drepper <drepper@redhat.com>
37641
37642 * version.h: Update for 2.13 development version.
37643
21a2b1ae
AS
376442010-05-12 Andrew Stubbs <ams@codesourcery.com>
37645
37646 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37647 exceptions. Return 0.
37648
3f7dcb2b
RM
376492010-05-07 Roland McGrath <roland@redhat.com>
37650
37651 * elf/ldconfig.c (main): Add a const.
37652
5f24d53a 376532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37654
a160f8d8
UD
37655 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37656 (args_options): Add no-idn option.
37657 (ahosts_keys_int): Add idn_flags to ai_flags.
37658 (parse_option): Handle 'i' option to clear idn_flags.
37659
5f24d53a
UD
37660 * malloc/malloc.c (_int_free): Possible race in the most recently
37661 added check. Only act on the data if no current modification
37662 happened.
265bb1ce
UD
37663
37664See ChangeLog.17 for earlier changes.
This page took 4.956593 seconds and 5 git commands to generate.