]> sourceware.org Git - glibc.git/blame - ChangeLog
[AArch64] Save and restore q0-q7 on entry to dynamic linker.
[glibc.git] / ChangeLog
CommitLineData
2dec468f
JM
12013-12-18 Joseph Myers <joseph@codesourcery.com>
2
5953eb3a
JM
3 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4 * math/auto-libm-test-out: Regenerated.
5
2dec468f
JM
6 [BZ #16338]
7 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8 to determine exponent and adjust argument to have exponent of -1.
9 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10 log2.
11 * math/auto-libm-test-out: Regenerated.
12 * sysdeps/i386/fpu/libm-test-ulps: Update.
13 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14
4d84e6ad
OB
152013-12-18 Ondřej Bílka <neleai@seznam.cz>
16
17 * manual/probes.texi: Remove cases when per-thread arenas are
18 disabled.
19
1818483b
AS
202013-12-18 Andreas Schwab <schwab@suse.de>
21
22 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26 * sysdeps/i386/i686/multiarch/Makefile: Update.
27 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28
25de95bf
JM
292013-12-17 Joseph Myers <joseph@codesourcery.com>
30
31 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
32 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33
674762d9
PE
342013-12-17 Paul Eggert <eggert@cs.ucla.edu>
35
0748546f
PE
36 Support TZ transition times < 00:00:00.
37 This is needed for version-3 tz-format files; it supports time
38 stamps past 2037 for America/Godthab (the only entry in the tz
39 database for which this change is relevant).
40 * manual/time.texi (TZ Variable): Document transition times
41 from -167:59:59 through -00:00:01.
42 * time/tzset.c (tz_rule): Time of day is now signed.
43 (__tzset_parse_tz): Parse negative time of day.
44
4480e934
PE
45 Document TZ transition times >= 25:00:00.
46 * manual/time.texi (TZ Variable): Document transition times from
47 25:00:00 through 167:59:59. These are already supported, and this
48 support will help with version-3 tz-format files.
49
69947401
PE
50 * manual/time.texi (TZ Variable): Modernize North America example
51 to reflect current (i.e., 2007-and-later) daylight saving rules.
52
674762d9
PE
53 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
54
7011c262
JM
552013-12-17 Joseph Myers <joseph@codesourcery.com>
56
2fc6557e
JM
57 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58 * sysdeps/unix/bsd/bits/stat.h: Likewise.
59 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
60 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
62 * sysdeps/unix/bsd/bsdstat.h: Likewise.
63 * sysdeps/unix/bsd/clock.c: Likewise.
64 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
65 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
66 * sysdeps/unix/bsd/init-posix.c: Likewise.
67 * sysdeps/unix/bsd/poll.c: Likewise.
68 * sysdeps/unix/bsd/ptsname.c: Likewise.
69 * sysdeps/unix/bsd/seekdir.c: Likewise.
70 * sysdeps/unix/bsd/setegid.c: Likewise.
71 * sysdeps/unix/bsd/seteuid.c: Likewise.
72 * sysdeps/unix/bsd/setgid.c: Likewise.
73 * sysdeps/unix/bsd/setrgid.c: Likewise.
74 * sysdeps/unix/bsd/setruid.c: Likewise.
75 * sysdeps/unix/bsd/setsid.c: Likewise.
76 * sysdeps/unix/bsd/setuid.c: Likewise.
77 * sysdeps/unix/bsd/sigaction.c: Likewise.
78 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
79 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
80 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
81 * sysdeps/unix/bsd/telldir.c: Likewise.
82 * sysdeps/unix/bsd/times.c: Likewise.
83 * sysdeps/unix/bsd/usleep.c: Likewise.
84
029c7b25
JM
85 * misc/Makefile (install-lib): Remove libbsd-compat.a.
86 ($(objpfx)libbsd-compat.a): Remove rule.
87
7011c262
JM
88 * include/features.h (__FAVOR_BSD): Do not define.
89 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
90 features conflicting with POSIX.
91 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
92 (_BSD_SOURCE): Remove description of not being a subset of other
93 feature test macros.
94 * manual/job.texi (getpgrp): Do not document BSD version.
95 (getpgid): Do not document by reference to BSD getpgrp.
96 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
97 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
98 * signal/signal.h [__FAVOR_BSD]: Likewise.
99 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
100 instead of making contents conditional on [__FAVOR_BSD].
101 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
102
affb6f78
AZ
1032013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
104
105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
106
c88769dd
JM
1072013-12-17 Joseph Myers <joseph@codesourcery.com>
108
6432a540
JM
109 [BZ #16314]
110 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
111 values below 2**-450, not 2**-500.
112 * math/auto-libm-test-in: Don't allow spurious underflow from
113 hypot.
114 * math/auto-libm-test-out: Regenerated.
115
c88769dd
JM
116 [BZ #16316]
117 [BZ #16330]
118 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
119 values of ha and hb and sort them after adjusting subnormal
120 arguments.
121 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
122 Likewise.
123 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
124 values of ea and eb and sort them after adjusting subnormal
125 arguments.
126 * math/auto-libm-test-in: Do not expect some hypot tests of
127 subnormals to fail. Add more hypot tests.
128 * math/auto-libm-test-out: Regenerated.
129
29618f6b
KK
1302013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
131
132 [BZ #13304]
133 * sysdeps/sh/s_fma.c: New file.
134 * sysdeps/sh/s_fmaf.c: New file.
135 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
136 version.
137 * sysdeps/sh/Implies: Add sh/soft-fp.
138
eacfdfbf
RM
1392013-12-16 Roland McGrath <roland@hack.frob.com>
140
141 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
142 level of indirection to members `objname', `errstring', `malloced'.
143 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
144 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
145 it as the __longjmp argument (just pass 1 instead).
146 (_dl_catch_error): Initialize C with argument pointers and address of
147 volatile local ERRCODE rather than copying values out of C at return.
148
ff362e5b
JM
1492013-12-16 Joseph Myers <joseph@codesourcery.com>
150
151 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
152 * math/auto-libm-test-out: Regenerated.
153 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
154 (hypot_test_data): Likewise.
155 (pow_test_data): Likewise.
156 (pow_tonearest_test_data): Likewise.
157 * math/gen-auto-libm-tests.c (func_calc_method): Add value
158 mpfr_ff_f.
159 (func_calc_desc): Add mpfr_ff_f union field.
160 (FUNC_mpfr_ff_f): New macro.
161 (test_functions): Add atan2, hypot and pow.
162 (special_fill_min): New function.
163 (special_fill_minus_min): Likewise.
164 (special_fill_min_subnorm): Likewise.
165 (special_fill_minus_min_subnorm): Likewise.
166 (special_real_inputs): Add min, -min, min_subnorm and
167 -min_subnorm.
168 (calc_generic_results): Handle mpfr_ff_f.
169 * sysdeps/i386/fpu/libm-test-ulps: Update.
170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
171
5764c27f
WN
1722013-12-16 Will Newton <will.newton@linaro.org>
173
174 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
175 (Aligned Memory Blocks): Add documentation for aligned_alloc
176 and suggest it as an alternative to posix_memalign.
177 (Hooks for Malloc): Document __memalign_hook is also called
178 for aligned_alloc. (Summary of Malloc): Add summary for
179 aligned alloc. Document __memalign_hook is also called
180 for aligned_alloc.
181
0a096e44
WN
1822013-12-16 Will Newton <will.newton@linaro.org>
183
184 * manual/memory.texi (Malloc Examples): Clarify default
185 alignment documentation. Suggest posix_memalign rather
186 than memalign or valloc.
187 (Aligned Memory Blocks): Remove suggestion to use memalign
188 or valloc. Remove obsolete comment about BSD.
189 Document memalign errno values and mark the function obsolete.
190 Document posix_memalign returned error codes. Mark valloc
191 as obsolete. (Hooks for Malloc): __memalign_hook is also
192 called for posix_memalign and valloc.
193 (Summary of Malloc): Add posix_memalign to function summary.
194 __memalign_hook is also called for posix_memalign and valloc.
195
8d561986
SP
1962013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
197
198 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
199 TAYLOR_SIN.
200 (__sin): Adjust.
201 (__cos): Likewise.
202 (sloww): Use mynumber union. Expand ternary operator into
203 if-else statements.
204 (cslow): use mynumber union.
205
73616a74
AM
2062013-12-16 Allan McRae <allan@archlinux.org>
207
9e8ac24b
AM
208 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
209 * configure: Regenerated.
210
6f8e37eb
AM
211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
212
8894bad3
AM
213 [BZ #14120]
214 * configure.ac: Added --enable-maintainer-mode. Check for
215 autoconf when enabled.
216 * configure: Regenerated.
217
73616a74
AM
218 * nscd/nscd.service: New file.
219 * nscd/nscd.tmpfiles: New file.
220
584b18eb
OB
2212013-12-14 Ondřej Bílka <neleai@seznam.cz>
222
223 [BZ #12100]
224 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
225 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
226 * sysdeps/x86_64/multiarch/strstr.c: ... here.
227 (strstr): Add __strstr_sse2_unaligned ifunc.
228 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
229 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
230 (strcasestr): Remove __strcasestr_sse42 ifunc.
231 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
234
8a5c7897
KK
2352013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
236
237 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
238 * sysdeps/sh/bits/fenv.h: ... here.
239 * sysdeps/sh/sh4/fpu/bits: Remove directory.
240
fd712ef3
AZ
2412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242
243 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
244
42fcb46c
AZ
2452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246
247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
248 hypotf multiarch implementations.
249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
250 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
252 multiarch hypot for PPC64.
253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
254 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
256 multiarch hypotf for PPC64.
257
83efded4
AZ
2582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
261 modff multiarch implementations.
262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
265 multiarch modf for PPC64.
266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
269 multiarch modff for PPC64.
270
43e246d2
AZ
2712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272
273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
274 and logl multiarch implementations.
275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
278 multiarch logb for PPC64.
279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
282 multiarch logb for PPC64.
283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
286 multiarch logb for PPC64.
287
8fdad123
AZ
2882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
289
290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
291 isinff multiarch implementation.
292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
293 file.
294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
296 multiarch isinf for PPC64.
297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
298 file.
299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
300 multiarch isinff for PPC64.
301
1481d706
AZ
3022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
303
304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
305 finitef multiarch implementation.
306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
307 file.
308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
310 multiarch finite for PPC64.
311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
312 file.
313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
314 multiarch finitef for PPC64.
315
5ccd5fc8
AZ
3162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
317
318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
319 lrint multiarch implementation.
320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
321 file.
322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
324 multiarch llrint for PPC64.
325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
326 multiarch lrint for PPC64.
327
2568f3fa
AZ
3282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
329
330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
331 copysignf multiarch implementation.
332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
333 file.
334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
335 file.
336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
337 multiarch copysign for PPC64.
338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
339 multiarch copysignf for PPC64.
340
1cb341fd
AZ
3412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342
343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
344 multiarch implementation.
345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
346 file.
347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
348 file.
349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
350 file.
351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
352 file.
353 multiarch llround for PPC64.
354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
355 multiarch trunc for PPC64.
356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
357 multiarch truncf for PPC64.
358
59a3e194
AZ
3592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
360
361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
362 multiarch implementation.
363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
364 file.
365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
366 file.
367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
368 file.
369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
370 file.
371 multiarch llround for PPC64.
372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
373 multiarch round for PPC64.
374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
375 multiarch roundf for PPC64.
376
357fd3b4
AZ
3772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
378
379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
380 multiarch implementation.
381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
382 file.
383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
384 file.
385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
386 file.
387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
388 file.
389 multiarch llround for PPC64.
390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
391 multiarch floor for PPC64.
392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
393 multiarch floorf for PPC64.
394
96770f12
AZ
3952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
396
397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
398 multiarch implementation.
399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
400 file.
401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
402 file.
403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
404 file.
405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
406 file.
407 multiarch llround for PPC64.
408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
409 multiarch ceil for PPC64.
410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
411 multiarch ceilf for PPC64.
412
c3627f6e
AZ
4132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414
415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
416 multiarch implementation.
417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
418 file.
419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
420 file.
421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
422 file.
423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
424 multiarch llround for PPC64.
425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
426 multiarch lround for PPC64.
427
b2284ad7
AZ
4282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429
430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
431 multiarch implementation.
432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
435 file.
436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
439 multiarch isnan for PPC64.
440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
441 multiarch isnanf for PPC64.
442
69bbc63d
AZ
4432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
444
445 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
446 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
447 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
448 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
449 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
451
c24517c9
AZ
4522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
453
454 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
455 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
457 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
458
a52374e8
AZ
4592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
460
461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
462 multiarch implementations.
463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
464 (__libc_ifunc_impl_list): Likewise.
465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
466 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
467 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
468 multiarch stpcpy for PPC64.
469
7f5ec113
AZ
4702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
471
472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
473 multiarch implementations.
474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
475 (__libc_ifunc_impl_list): Likewise.
476 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
477 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
478 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
479 multiarch strcpy for PPC64.
480
e28bcd42
AZ
4812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
482
483 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
484 redefine function name.
485 (_wordcopy_fwd_dest_aligned): Likewise.
486 (_wordcopy_bwd_aligned): Likewise.
487 (_wordcopy_bwd_dest_aligned): Likewise.
488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
489 multiarch implementations.
490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
491 (__libc_ifunc_impl_list): Likewise.
492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
496 multiarch wcscpy for PPC64.
497
92cacfce
AZ
4982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499
500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
501 multiarch implementations.
502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
503 (__libc_ifunc_impl_list): Likewise.
504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
507 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
508 multiarch wcscpy for PPC64.
509
7b714620
AZ
5102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
511
512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
513 multiarch implementations.
514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
515 (__libc_ifunc_impl_list): Likewise.
516 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
517 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
518 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
519 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
520 multiarch wcsrchr for PPC64.
521
16fd2ae3
AZ
5222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
523
524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
525 multiarch implementations.
526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
527 (__libc_ifunc_impl_list): Likewise.
528 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
529 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
530 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
531 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
532 multiarch wcschr for PPC64.
533
9ee2969b
AZ
5342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535
536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
537 multiarch implementations.
538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
539 (__libc_ifunc_impl_list): Likewise.
540 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
541 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
542 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
543 multiarch strchrnul for PPC64.
544
372dc060
AZ
5452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
546
547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
548 implementations.
549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
550 (__libc_ifunc_impl_list): Likewise.
551 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
552 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
553 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
554 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
555 strchr for PPC64.
556
24c2c3b9
AZ
5572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
558
559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
560 implementations.
561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
562 (__libc_ifunc_impl_list): Likewise.
563 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
564 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
566 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
567 strncmp for PPC64.
568
1c92d9a0
AZ
5692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
570
571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
572 multiarch implementations.
573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
574 (__libc_ifunc_impl_list): Likewise.
575 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
576 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
577 strncasecmp for PPC64.
578 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
579 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
580 multiarch strncasecmp_l for PPC64.
581
17de3ee3
AZ
5822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
583
584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
585 multiarch implementations.
586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
587 (__libc_ifunc_impl_list): Likewise.
588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
589 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
590 multiarch strcasecmp for PPC64.
591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
592 file.
593 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
594 multiarch strcasecmp_l for PPC64.
595
62982bf9
AZ
5962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597
598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
599 implementations.
600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
601 (__libc_ifunc_impl_list): Likewise.
602 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
603 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
604 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
605 strnlen for PPC64.
606
a65f4904
AZ
6072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
608
609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
610 implementations.
611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
612 (__libc_ifunc_impl_list): Likewise.
613 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
614 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
615 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
616 strlen for PPC64.
617
1fd005ad
AZ
6182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
619
620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
621 implementations.
622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
623 (__libc_ifunc_impl_list): Likewise.
624 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
625 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
626 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
627 rawmemrchr for PPC64.
628
cd05ba91
AZ
6292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
630
631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
632 implementation.
633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
634 (__libc_ifunc_impl_list): Likewise.
635 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
636 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
637 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
638 memrchr for PPC64.
639
870f8676
AZ
6402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
641
642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
643 implementation.
644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
645 (__libc_ifunc_impl_list): Likewise.
646 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
647 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
648 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
649 memchr for PPC64.
650
f00be62b
AZ
6512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
652
653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
654 implementation.
655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
656 (__libc_ifunc_impl_list): Likewise.
657 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
658 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
659 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
660 mempcpy for PPC64.
661
8a29a3d0
AZ
6622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
663
664 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
665 avoid cretion of __bzero symbol.
666 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
667 Likewise.
668 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
669 Likewise.
670 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
671 Likewise.
672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
673 multiarch implementations.
674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
675 (__libc_ifunc_impl_list): Likewise.
676 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
677 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
678 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
679 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
680 bzero for PPC32.
681 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
682 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
683 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
684 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
685 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
686 memset for PPC64.
687 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
688
07253fcf
AZ
6892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690
691 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
693 implementations.
694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
695 (__libc_ifunc_impl_list): Likewise.
696 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
697 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
698 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
699 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
700 memcmp for PPC64.
701
b5beafbc
AZ
7022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
703
704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
705 multiarch for POWER/PPC64.
706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
707 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
712 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
713 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
714 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
715 memcpy for PPC64.
716
5e6a4d4b
AZ
7172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718
719 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
720 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
721 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
722 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
723 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
724 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
725 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
726 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
727 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
728 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
729 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
730 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
731 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
732 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
733 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
741
ddfab6dc
KK
7422013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
743
744 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
745
19b5525e
SP
7462013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
747
748 * benchtests/Makefile (bench): Add exp2 and log2.
749 (LDLIBS-bench-exp2): Add -lm.
750 (LDLIBS-bench-log2): Likewise.
751 * benchtests/exp2-inputs: New inputs file.
752 * benchtests/log2-inputs: New inputs file.
753 * benchtests/log-inputs: Add new inputs.
754 * benchtests/tan-inputs: Likewise.
755
196f7f5d
SP
7562013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
757
7a74607f
SP
758 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
759 definition...
760 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
761 csloww1, csloww2): ... from here.
762
196f7f5d
SP
763 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
764 instead of structures.
765 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
766 (POLYNOMIAL): Likewise.
767 (TAYLOR_SLOW): Likewise.
768 (__sin): Likewise.
769 (__cos): Likewise.
770 (slow1): Likewise.
771 (slow2): Likewise.
772 (sloww): Likewise.
773 (sloww1); Likewise.
774 (sloww2): Likewise.
775 (bsloww1): Likewise.
776 (bsloww2): Likewise.
777 (cslow2): Likewise.
778 (csloww): Likewise.
779 (csloww1): Likewise.
780 (csloww2): Likewise.
781
0dfa665c
OB
7822013-12-10 Ondřej Bílka <neleai@seznam.cz>
783
784 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
785 (__malloc_assert, __libc_realloc, __libc_calloc,
786 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
787 memcpy and memset.
788 * malloc/hooks.c (realloc_check): Likewise.
789
5782a80f
OB
7902013-12-10 Ondřej Bílka <neleai@seznam.cz>
791
792 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
793 * malloc/arena.c: Remove PER_THREAD conditional.
794 [!PER_THREAD]: Remove code.
795 (ptmalloc_unlock_all2): Likewise.
796 (ptmalloc_init): Likewise.
797 (_int_new_arena): Likewise.
798 (arena_get2): Likewise.
799 * malloc/hooks.c (__malloc_get_state): Likewise.
800 (__malloc_set_state): Likewise.
801 * malloc/malloc.c: Likewise.
802 (struct malloc_state): Likewise.
803 (struct malloc_par): Likewise.
804 (__libc_realloc): Likewise.
805 (__libc_mallopt): Likewise.
806
aeb95445
AZ
8072013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808
809 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
810
e8349efd
OB
8112013-12-09 Ondřej Bílka <neleai@seznam.cz>
812
813 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
814 macro to a function. Check for zero perturb_byte.
815 (_int_malloc, _int_free): Remove zero perturb_byte checks.
816
f3eeb3fc
OB
8172013-12-09 Ondřej Bílka <neleai@seznam.cz>
818
819 * malloc/malloc.c: (force_reg): Remove.
820 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
821 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
822 force_reg by atomic_forced_read.
823 * malloc/arena.c (ptmalloc_init): Likewise.
824 * malloc/hooks.c (top_check): Likewise.
825
be2f9009
AZ
8262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
827
828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
829
e7b914bd
MT
8302013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
831
832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
833
9f0be4f8
JM
8342013-12-08 Joseph Myers <joseph@codesourcery.com>
835
836 * math/auto-libm-test-in: Add tests of lgamma.
837 * math/auto-libm-test-out: Regenerated.
838 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
839 (M_LOG_2_SQRT_PIl): Likewise.
840 (lgamma_test_data): Use AUTO_TESTS_f_f1.
841 * math/gen-auto-libm-tests.c (func_calc_method): Add value
842 mpfr_f_f1.
843 (func_calc_desc): Add mpfr_f_f1 union field.
844 (ARGS1): New macro.
845 (ARGS2): Likewise.
846 (ARGS3): Likewise.
847 (ARGS4): Likewise.
848 (RET1): Likewise.
849 (RET2): Likewise.
850 (CALC): Likewise.
851 (FUNC): Likewise.
852 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
853 (test_functions): Add lgamma.
854 (calc_generic_results): Handle mpfr_f_f1.
855 * sysdeps/i386/fpu/libm-test-ulps: Update.
856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
857
24eeafdb
AZ
8582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
859
860 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
861 __mpn_add_n for PowerPC64/POWER7.
862 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
863 __mpn_sub_n for PowerPC64/POWER7.
864
4a2c0fd4
AZ
8652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
866
867 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
868 __mpn_addmul_1 for PowerPC64.
869 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
870 __mpn_submul_1 for PowerPC64.
871 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
872 for PowerPC64.
873 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
874 for PowerPC64.
875
4b5b548c
FS
8762013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
877
878 [BZ #15089]
879 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
880
0a3ac0aa
AZ
8812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
882
883 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
884
ccdc8438
AZ
8852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
886
887 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
888 add multiarch folders.
889 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
890 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
891 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
892 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
893 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
894 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
895 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
896 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
897 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
898 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
899 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
906
2e973d99
AZ
9072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
908
909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
910 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
912 New file.
913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
914 New file.
915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
916 multiarch __ieee754_hypot for PowerPC32.
917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
918 New file.
919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
920 New file.
921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
922 multiarch __ieee754_hypotf for PowerPC32.
923
2d9470b2
AZ
9242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
925
926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
927 long_double_symbol only if __logbl is defined.
928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
929 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
931 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
933 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
934 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
935 path for implementation.
936 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
937 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
939 logb, and logbl multiarch implementations for PowerPC32.
940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
941 file.
942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
943 file.
944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
945 multiarch logb for PowerPC32.
946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
947 file.
948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
949 file.
950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
951 multiarch logbf for PowerPC32.
952 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
954 file.
955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
956 multiarch logbl implementation for PowerPC32.
957
5212ffce
AZ
9582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
959
960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
961 and modff multiarch implementations.
962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
963 New file.
964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
965 New file.
966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
967 multiarch modf for PowerPC32.
968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
969 New file.
970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
971 New file.
972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
973 multiarch modff for PowerPC32.
974
79dccf31
AZ
9752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
976
977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
978 and lrintf multiarch implementations.
979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
980 New file.
981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
982 New file.
983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
984 multiarch lrint for PowerPC32.
985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
986 file: multiarch lrintf for PowerPC32.
987
deb66480
AZ
9882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989
990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
991 and lroundf multiarch implementations.
992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
993 New file.
994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
995 New file.
996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
997 New file.
998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
999 multiarch lround for PowerPC32.
1000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1001 file: multiarch lroundf for PowerPC32.
1002
264b036b
AZ
10032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1004
1005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1006 copysign and copysignf multiarch implementations.
1007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1008 New file.
1009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1010 New file.
1011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1012 file: multiarch copysign for PowerPC32.
1013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1014 file: multiarch copysignf for PowerPC32.
1015
d47db6c9
AZ
10162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1017
1018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1019 and truncf multiarch implementations.
1020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1021 New file.
1022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1023 file.
1024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1025 multiarch trunc for PowerPC32.
1026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1027 New file.
1028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1029 New file.
1030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1031 multiarch truncf for PowerPC32.
1032
ddb60b5a
AZ
10332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034
1035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1036 and roundf multiarch implementations.
1037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1038 New file.
1039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1040 file.
1041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1042 multiarch round for PowerPC32.
1043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1044 New file.
1045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1046 New file.
1047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1048 multiarch roundf for PowerPC32.
1049
bedcf49b
AZ
10502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1051
1052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1053 and floorf multiarch implementations.
1054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1055 New file.
1056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1057 file.
1058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1059 multiarch floor for PowerPC32.
1060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1061 New file.
1062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1063 New file.
1064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1065 multiarch floorf for PowerPC32.
1066
35ae5b40
AZ
10672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1068
1069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1070 and ceilf multiarch implementations.
1071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1072 New file.
1073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1074 file.
1075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1076 multiarch ceil for PowerPC32.
1077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1078 New file.
1079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1080 file.
1081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1082 multiarch ceilf for PowerPC32.
1083
ae1a4cd9
AZ
10842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1085
1086 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1087 is defined.
1088 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1089 FINITEF is defined.
1090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1091 and finitef multiarch implementations.
1092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1093 New file.
1094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1095 file.
1096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1097 multiarch finite for PowerPC32.
1098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1099 New file.
1100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1101 file: multiarch finitef for PowerPC32.
1102
64fffd65
AZ
11032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104
1105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1106 and isinff multiarch implementations.
1107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1108 file.
1109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1110 file.
1111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1112 multiarch isinf for PowerPC32.
1113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1114 New file.
1115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1116 multiarch isinff for PowerPC32.
1117
8e4e7ba2
AZ
11182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1119
1120 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1121 alias when __isnan is defined.
1122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1123 and isnanf multiarch implementations.
1124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1125 file.
1126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1127 file.
1128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1129 file.
1130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1131 file.
1132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1133 multiarch isnan for PowerPC32.
1134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1135 New file.
1136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1137 New file.
1138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1139 multiarch isnanf for PowerPC32.
1140
ddba588e
AZ
11412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1142
1143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1144 and sqrtf multiarch implementations.
1145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1146 file.
1147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1148 file.
1149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1150 multiarch sqrt for PowerPC32.
1151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1152 file.
1153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1154 file.
1155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1156 multiarch sqrtf for PowerPC32.
1157
0f96a2f0
AZ
11582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159
1160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1161 and llroundf multiarch implementations.
1162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1163 New file.
1164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1165 New file.
1166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1167 New file.
1168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1169 file: multiarch llround for PowerPC32.
1170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1171 file: multiarch llroundf for PowerPC32.
1172
c9b5d79e
AZ
11732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174
1175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1176 multiarch PowerPC32 fpu implementations.
1177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1178 New file.
1179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1180 New file.
1181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1182 multiarch llrint for PowerPC32.
1183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1184 New file.
1185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1186 New file.
1187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1188 file.
1189
9cbb3aab
AZ
11902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1191
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1193
ea5a72f8
AZ
11942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1195
1196 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1197 file.
1198 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1199 file.
1200 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1201 file.
1202 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1203 multiarch wordcopy for PPC32.
1204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1205 wordcopy objects.
1206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1207 (__libc_ifunc_impl_list): Likewise.
1208 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1209 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1210 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1211 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1212 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1213 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1214
93be09e7
AZ
12152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1216
1217 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1219 file.
1220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1221 file.
1222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1223 file.
1224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1225 multiarch wcscpy for PPC32.
1226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1227 multiarch objects.
1228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1229 (__libc_ifunc_impl_list): Likewise.
1230 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1231 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1232 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1233 sysdeps/powerpc/power6/wcscpy.c.
1234
bb04e529
AZ
12352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236
1237 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1239 file.
1240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1241 file.
1242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1243 file.
1244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1245 multiarch wcsrchr for PPC32.
1246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1247 multiarch objects.
1248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1249 (__libc_ifunc_impl_list): Likewise.
1250 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1251 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1252 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1253 sysdeps/powerpc/power6/wcsrchr.c.
1254
05b5cd1c
AZ
12552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1256
1257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1258 file.
1259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1260 file.
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1263 multiarch wcschr for PPc32.
1264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1265 multiarch objects.
1266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1267 (__libc_ifunc_impl_list): Likewise.
1268 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1269 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1270 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1271 sysdeps/powerpc/power6/wcschr.c.
1272
ba964147
AZ
12732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1274
1275 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1276 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1277 file.
1278 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1279 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1280 file: multiarch strchr for PPC32.
1281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1282 multiarch objects.
1283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1284 (__libc_ifunc_impl_list): Likewise.
1285
31c81aaa
AZ
12862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287
1288 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1289 name.
1290 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1291 file.
1292 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1293 file.
1294 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1295 multiarch strchrnul for PPC32.
1296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1297 multiarch objects.
1298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1299 (__libc_ifunc_impl_list): Likewise.
1300
0d0607d9
AZ
13012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1302
1303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1304 file.
1305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1306 multiarch strncasecmp for PPC32.
1307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1308 file.
1309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1310 multiarch strncasecmp_l for PPC32.
1311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1312 strncasecmp multiarch objects.
1313 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1314 (__libc_ifunc_impl_list): Likewise.
1315
4dfd5c86
AZ
13162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1317
1318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1319 file.
1320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1321 multiarch strncasecmp for PPC32.
1322 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1323 New file.
1324 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1325 multiarch strcasecmp_l for PPC32.
1326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1327 multiarch objects.
1328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1329 (__libc_ifunc_impl_list): Likewise.
1330
a19e01a3
AZ
13312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332
1333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1334 file.
1335 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1336 file.
1337 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1338 multiarch strncmp for PPC32.
1339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1340 multiarch objects.
1341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1342 (__libc_ifunc_impl_list): Likewise.
1343
ae9cf7a2
AZ
13442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1345
1346 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1347 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1348 file.
1349 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1350 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1352 multiarch objects.
1353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1354 (__libc_ifunc_impl_list): Likewise.
1355
3148bb7d
AZ
13562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357
1358 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1359 file.
1360 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1361 file.
1362 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1364 multiarch objects.
1365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1366 (__libc_ifunc_impl_list): Likewise.
1367
7af8b946
AZ
13682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1369
1370 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1371 file.
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1373 file.
1374 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1375 multiarch rawmemchr for PPC32.
1376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1377 multiarch objects.
1378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1379 (__libc_ifunc_impl_list): Likewise.
1380
03a6aa6a
AZ
13812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382
1383 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1384 file.
1385 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1386 file.
1387 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1388 file: memrchr multiarch for PPC32.
1389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1390 multiarch objects.
1391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1392 (__libc_ifunc_impl_list): Likewise.
1393
1c62e6d9
AZ
13942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395
1396 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1397 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1398 file.
1399 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1400 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1401 multiarch memchr for PPC32.
1402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1403 multiarch objects.
1404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1405 (__libc_ifunc_impl_list): Likewise.
1406
87da8bdb
AZ
14072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1408
1409 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1410 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1411 file.
1412 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1413 file.
1414 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1415 file: multiarch mempcpy for PPC32.
1416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1417 multiarch objects.
1418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1419 (__libc_ifunc_impl_list): Likewise.
1420
20ed4714
AZ
14212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1422
1423 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1424 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1425 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1426 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1427 multiarch bzero for PPC32.
1428 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1429 file.
1430 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1431 file.
1432 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1433 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1434 file: multiarch memset for PPC32.
1435 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1437 memset multiarch objects.
1438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1439 (__libc_ifunc_impl_list): Likewise.
1440
ab3e3a46
AZ
14412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1442
1443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1444 file.
1445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1447 memcmp for PPC32.
1448 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1450 multiarch objects.
1451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1452 (__libc_ifunc_impl_list): Likewise.
1453
930de6f0
AZ
14542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1455
1456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1457 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1459 file.
1460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1461 file.
1462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1463 file.
1464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1465 multiarch memcpy for PPC32.
1466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1467 multiarch objects.
1468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1469 (__libc_ifunc_impl_list): Likewise.
1470
4c628e00
AZ
14712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1472
1473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1474 support multiarch for POWER/PPC32.
1475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1476 Likewise.
1477 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1479 Implies file to make multiarch folder appers before the fpu and
1480 default folder for power4 configuration.
1481
f4479220
SP
14822013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1483
1484 * scripts/bench.pl: Append volatile keyword to type.
1485
8517800f
KK
14862013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1487
1488 * sysdeps/sh/sotruss-lib.c: New file.
1489 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1490
180138f1
AZ
14912013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492
1493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1494
bbf37bdc
JM
14952013-12-05 Joseph Myers <joseph@codesourcery.com>
1496
e47cc4e0
JM
1497 [BZ #6810]
1498 * math/w_tgamma.c: Include <errno.h>.
1499 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1500 * math/w_tgammaf.c: Include <errno.h>.
1501 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1502 * math/w_tgammal.c: Include <errno.h>.
1503 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1504 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1505 underflow. Add more tgamma tests.
1506 * math/auto-libm-test-out: Regenerated.
1507 * sysdeps/i386/fpu/libm-test-ulps: Update.
1508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1509
bbf37bdc
JM
1510 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1511 sin, sinh, tan, tanh, tgamma, y0 and y1.
1512 * math/auto-libm-test-out: Regenerated.
1513 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1514 (TEST_COND_x86): Likewise.
1515 (M_E2l): Remove macro.
1516 (M_E3l): Likewise.
1517 (M_2_SQRT_PIl): Likewise.
1518 (M_SQRT_PIl): Likewise.
1519 (M_1_DIV_El): Likewise.
1520 (log_test_data): Use AUTO_TESTS_f_f.
1521 (log10_test_data): Likewise.
1522 (log1p_test_data): Likewise.
1523 (log2_test_data): Likewise.
1524 (sin_test_data): Likewise.
1525 (sin_tonearest_test_data): Likewise.
1526 (sin_towardzero_test_data): Likewise.
1527 (sin_downward_test_data): Likewise.
1528 (sin_upward_test_data): Likewise.
1529 (sinh_test_data): Likewise.
1530 (sinh_tonearest_test_data): Likewise.
1531 (sinh_towardzero_test_data): Likewise.
1532 (sinh_downward_test_data): Likewise.
1533 (sinh_upward_test_data): Likewise.
1534 (tan_test_data): Likewise.
1535 (tan_tonearest_test_data): Likewise.
1536 (tan_towardzero_test_data): Likewise.
1537 (tan_downward_test_data): Likewise.
1538 (tan_upward_test_data): Likewise.
1539 (tanh_test_data): Likewise.
1540 (tgamma_test_data): Likewise.
1541 (y0_test_data): Likewise.
1542 (y1_test_data): Likewise.
1543 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1544 (special_real_inputs): Add pi/4.
1545 * sysdeps/i386/fpu/libm-test-ulps: Update.
1546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1547
eb5ad6b9
AZ
15482013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1549
1550 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1551 "longjmp_target" static probes.
1552 (__longjmp): Rename to __longjmp_symbol.
1553 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1554 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1555 on which longjmp to generate.
1556 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1557 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1558 probe.
1559 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1560 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1561 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1562 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1563 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1564 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1566 __longjmp_symbol based on which __longjmp to generate.
1567 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1568 probe.
1569 (setjmp): Rename to setjmp_symbol.
1570 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1571 (_setjmp): Rename to _setjmp_symbol.
1572 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1573 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1574 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1575 which setjmp to generate.
1576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1577 "longjmp_target" static probes.
1578
d136c6dc
SP
15792013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1580
9298ecba
SP
1581 * benchtests/README: Add note about output arguments.
1582 * benchtests/bench-sincos.c: Remove file.
1583 * benchtests/sincos-inputs: New file.
1584 * scripts/bench.pl: Identify output arguments and define
1585 static variables for them.
1586
232983e9
SP
1587 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1588
d136c6dc
SP
1589 [BZ #15941]
1590 * Makefile (INSTALL): Add install-plain.texi as the primary
1591 dependency.
1592 * manual/install-plain.texi: New file.
1593 * manual/install.texi: Include node directive only for
1594 non-plaintext output.
1595
699ff837
JM
15962013-12-04 Joseph Myers <joseph@codesourcery.com>
1597
ab07cea8
JM
1598 * stdlib/longlong.h: Update from GCC.
1599
699ff837
JM
1600 [BZ #6807]
1601 [BZ #15901]
1602 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1603 * math/w_j0f.c (y0f): Likewise.
1604 * math/w_j0l.c (__y0l): Likewise.
1605 * math/w_j1.c (y1): Likewise.
1606 * math/w_j1f.c (y1f): Likewise.
1607 * math/w_j1l.c (__y1l): Likewise
1608 * math/w_jn.c (yn): Likewise.
1609 * math/w_jnf.c (ynf): Likewise.
1610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1611 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1612 value for Bessel function domain errors outside _SVID_ mode.
1613 Adjust sign of return value for yn (negative integer, 0).
1614 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1615 by zero in return for negative x and set sign appropriately for
1616 negative n.
1617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1618 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1619 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1620 expectations in error cases.
1621 (y1_test_data): Likewise.
1622 (yn_test_data): Likewise.
1623 * sysdeps/i386/fpu/libm-test-ulps: Update.
1624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1625
5b118558
UW
16262013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1627
1628 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1629 "64" to "64-v1". Add "64-v2".
1630 (abi-64-options): Rename to ...
1631 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1632 (abi-64-condition): Rename to ...
1633 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1634 (abi-64-ld-soname): Rename to ...
1635 (abi-64-v1-ld-soname): ... this.
1636 (abi-64-v2-options): Define.
1637 (abi-64-v2-condition): Likewise.
1638 (abi-64-v2-ld-soname): Likewise.
1639 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1640 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1644
61cd8fe4
UW
16452013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1646 Alan Modra <amodra@gmail.com>
1647
1648 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1649 New versions for use with the ELFv2 ABI.
1650 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1651 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1652 declaration.
1653 (struct La_ppc64v2_retval): Likewise.
1654 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1655 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1656 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1657 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1658 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1659 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1660 Do not save or restore CR.
1661 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1662 (_dl_profile_resolve): Do no save or restore CR. Support extended
1663 return values for ELFv2 ABI. Fix location of FPR return registers.
1664 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1665 updated values for _CALL_ELF == 2.
1666 (La_regs, La_retval, int_retval): Likewise.
1667
8b8a692c
UW
16682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1669
1670 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1671 (FRAME_MIN_SIZE_PARM): Likewise.
1672 (FRAME_BACKCHAIN): Likewise.
1673 (FRAME_CR_SAVE): Likewise.
1674 (FRAME_LR_SAVE): Likewise.
1675 (FRAME_TOC_SAVE): Likewise.
1676 (FRAME_PARM_SAVE): Likewise.
1677 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1678 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1679 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1680 (call_mcount_parm_offset): New macro.
1681 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1682 (PROF): Use symbolic stack frame offsets.
1683 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1684 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1685 Redefine in terms of FRAME_MIN_SIZE.
1686 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1687 (_dl_profile_resolve): Likewise. Update comment.
1688 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1689 symbols stack frame offsets.
1690 (__sigsetjmp): Likewise.
1691 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1692 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1694 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1695
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1697 (FRAME_BACKCHAIN): Remove.
1698 (FRAME_CR_SAVE): Likewise.
1699 (FRAME_LR_SAVE): Likewise.
1700 (FRAME_COMPILER_DW): Likewise.
1701 (FRAME_LINKER_DW): Likewise.
1702 (FRAME_TOC_SAVE): Likewise.
1703 (FRAME_PARM_SAVE): Likewise.
1704 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1705 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1706 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1708 (CHECK_SP): Use symbolic stack frame offsets.
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1710 zone" instead of caller's parameter save area for temp storage.
1711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1712 Likewise. Also, use symbolic stack frame offsets.
1713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1714 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1715 our own stack frame instead of the caller's.
1716 (__socket): Use symbolic stack frame offsets.
1717
122b66de
UW
17182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1719 Alan Modra <amodra@gmail.com>
1720
1721 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1722 Define.
1723 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1724 PPC64_LOCAL_ENTRY_OFFSET): Define.
1725 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1726 New function.
1727 (elf_machine_fixup_plt): Call it.
1728 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1729 reloc arguments.
1730 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
1731 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1732 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
1733 r2 before calling target.
1734
696caf1d
UW
17352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1736 Alan Modra <amodra@gmail.com>
1737
1738 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1739 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1740 versions of macros to support ELFv2 ABI.
1741 (LOCALENTRY): New macro.
1742 (ENTRY, EALIGN): Use it.
1743 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1744 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1745 fall through into ENTRY entry point.
1746 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1747 Only define if _CALL_ELF != 2.
1748
1749 (elf_machine_matches_host): Verify ABI version matches.
1750 (RTLD_START): Use LOCALENTRY.
1751 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1752 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1753 (PLT_ENTRY_WORDS): New macro.
1754 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1755 (elf_machine_runtime_setup): Support ELFv2 ABI.
1756 (elf_machine_fixup_plt): Likewise.
1757 (elf_machine_plt_conflict): Likewise.
1758 (resolve_ifunc): Likewise.
1759 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1761 Likewise.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1763 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1765 (makecontext): Support ELFv2 ABI.
1766 * elf/elf.h (EF_PPC64_ABI): Define.
1767
d31beafa
UW
17682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1769
1770 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1771 New assembler macro.
1772 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1773 [ASSEMBLER] (ENTRY): ... but instead here ...
1774 [ASSEMBLER] (EALIGN): ... and here.
1775 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1776 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1777 [!ASSEMBLER] (ENTRY_2): Use it.
1778 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1779 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1780 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1781 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1784 Use PPC64_LOAD_FUNCPTR.
1785
b525166b
UW
17862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1787
1788 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1789
7ec07d9a
AM
17902013-12-04 Alan Modra <amodra@gmail.com>
1791
1792 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1793 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1794 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1795 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1796
1797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1798 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1799 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1800 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1801 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1802 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1803
5162e7dd
UW
18042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1805
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1807 (__makecontext): Fix incorrect CFI when backtracing out of
1808 context created via makecontext.
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1810 (__setcontext): Fix incorrect CFI during switch to new context.
1811 (__novec_setcontext): Likewise.
1812
19e3372b
OB
18132013-12-04 Ondřej Bílka <neleai@seznam.cz>
1814
1815 [BZ #4772]
1816 * time/strptime_l.c (__strptime_internal): Allow modifiers
1817 in strptime.
1818 * time/tst-strptime.c (day_tests): Add testcase.
1819
1820
ecaf142d
SP
18212013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1822
1823 * scripts/bench.pl: Skip over blank lines.
1824
fbf964ae
PE
18252013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1826
1827 [BZ #926]
1828 * manual/time.texi (Calendar Time): Clarify what timezone functions
1829 use.
1830
fa60a674
AZ
18312013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832
1833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1834
d674f0ef
OB
18352013-12-04 Ondřej Bílka <neleai@seznam.cz>
1836
1837 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1838 implementation.
1839 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1840 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1841 * debug/memset_chk.c (__memset_chk): Likewise.
1842 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1843 * debug/strncpy_chk.c: Likewise.
1844
17dea188
JM
18452013-12-03 Joseph Myers <joseph@codesourcery.com>
1846
749008ff
JM
1847 [BZ #15268]
1848 [BZ #15425]
1849 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1850 (__ieee754_exp): For possibly underflowing results, check size of
1851 result and force underflow exception if required.
1852 * math/auto-libm-test-in: Add more tests of exp.
1853 * math/auto-libm-test-out: Regenerated.
1854 * sysdeps/i386/fpu/libm-test-ulps: Update.
1855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1856
17dea188
JM
1857 [BZ #16283]
1858 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1859 * math/w_exp2f.c (__exp2f): Likewise.
1860 * math/w_exp2l.c (__exp2l): Likewise.
1861 * math/auto-libm-test-in: Do not allow missing errno on exp2
1862 underflow.
1863 * math/auto-libm-test-out: Regenerated.
1864
b20de2c3
OB
18652013-12-03 Ondřej Bílka <neleai@seznam.cz>
1866
1867 [BZ #16274]
1868 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1869 handle filename validation.
1870 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1871 (do_open): Delete.
1872
d8e2dbe3
JM
18732013-12-03 Joseph Myers <joseph@codesourcery.com>
1874
34e16df5
JM
1875 [BZ #6786]
1876 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1877 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1878 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1879 <float.h>.
1880 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1881 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1882 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1884 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1885 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1886 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1887 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1888 Add more erfc tests.
1889 * math/auto-libm-test-out: Regenerated.
1890 * sysdeps/i386/fpu/libm-test-ulps: Update.
1891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1892
d8e2dbe3
JM
1893 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1894 exp2, expm1, j0 and j1.
1895 * math/auto-libm-test-out: Regenerated.
1896 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1897 (erfc_test_data): Likewise.
1898 (exp_test_data): Likewise.
1899 (exp_tonearest_test_data): Likewise.
1900 (exp_towardzero_test_data): Likewise.
1901 (exp_downward_test_data): Likewise.
1902 (exp_upward_test_data): Likewise.
1903 (exp10_test_data): Likewise.
1904 (exp2_test_data): Likewise.
1905 (expm1_test_data): Likewise.
1906 (j0_test_data): Likewise.
1907 (j1_test_data): Likewise.
1908 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1909 (input_flag_type): Add flag_xfail_rounding.
1910 (input_flags): Add xfail-rounding.
1911 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1912 (output_for_one_input_case): Handle flag_xfail_rounding.
1913 * sysdeps/i386/fpu/libm-test-ulps: Update.
1914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1915
18d14251
AJ
19162013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1917
3d2e6075 1918 [BZ #16289]
18d14251
AJ
1919 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1920 division by 0.
1921
520d437b
SP
19222013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1923
1924 [BZ #16195]
1925 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1926 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1927 (STAP_PROBE0): New macro.
1928 (STAP_PROBE1): Likewise.
1929 (STAP_PROBE2): Likewise.
1930 (STAP_PROBE3): Likewise.
1931 (STAP_PROBE4): Likewise.
1932
416e0145
OB
19332013-12-02 Ondřej Bílka <neleai@seznam.cz>
1934
1935 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1936
9d17796a
SE
19372013-12-02 Steve Ellcey <sellcey@mips.com>
1938
1939 * benchtests/Makefile (bench): Add sqrt.
1940 (LDLIBS-bench-sqrt): New.
1941 * benchtests/sqrt-input: New.
1942
f524d6a8
PS
19432013-12-02 Pavel Simerda <psimerda@redhat.com>
1944
639a0ef8
PS
1945 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1946 (GAIH_EAI): Likewise.
1947 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1948 (gaih_inet): Likewise.
1949 (getaddrinfo): Don't use GAIH_EAI.
1950
f524d6a8
PS
1951 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1952 (struct gaih): Remove definition.
1953
df3aedaf
SP
19542013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1955
1956 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1957 Use HERRNOP directly.
1958
1ab19dec
AZ
19592013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1960
b42ad38d 1961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1962
176b0c79
JM
19632013-11-30 Joseph Myers <joseph@codesourcery.com>
1964
1965 * math/gen-auto-libm-tests.c (test_functions): Add more
1966 single-argument functions.
1967 (special_fill_pi_2): New function.
1968 (special_fill_minus_pi_2): Likewise.
1969 (special_fill_pi_6): Likewise.
1970 (special_fill_minus_pi_6): Likewise.
1971 (special_fill_pi_3): Likewise.
1972 (special_fill_2pi_3): Likewise.
1973 (special_fill_e): Likewise.
1974 (special_fill_1_e): Likewise.
1975 (special_fill_e_minus_1): Likewise.
1976 (special_real_inputs): Add more special inputs.
1977 (output_for_one_input_case): Do not require ERANGE on underflow to
1978 zero if round-to-nearest result does not underflow to zero, unless
1979 exact results required.
1980 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1981 atan, atanh, cbrt, cos and cosh.
1982 * math/auto-libm-test-out: Regenerated.
1983 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1984 (acos_tonearest_test_data): Likewise.
1985 (acos_towardzero_test_data): Likewise.
1986 (acos_downward_test_data): Likewise.
1987 (acos_upward_test_data): Likewise.
1988 (acosh_test_data): Likewise.
1989 (asin_test_data): Likewise.
1990 (asin_tonearest_test_data): Likewise.
1991 (asin_towardzero_test_data): Likewise.
1992 (asin_upward_test_data): Likewise.
1993 (asinh_test_data): Likewise.
1994 (atan_test_data): Likewise.
1995 (atanh_test_data): Likewise.
1996 (cbrt_test_data): Likewise.
1997 (cos_test_data): Likewise.
1998 (cos_tonearest_test_data): Likewise.
1999 (cos_towardzero_test_data): Likewise.
2000 (cos_downward_test_data): Likewise.
2001 (cos_upward_test_data): Likewise.
2002 (cosh_test_data): Likewise.
2003 (cosh_tonearest_test_data): Likewise.
2004 (cosh_towardzero_test_data): Likewise.
2005 (cosh_downward_test_data): Likewise.
2006 (cosh_upward_test_data): Likewise.
2007 * sysdeps/i386/fpu/libm-test-ulps: Update.
2008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2009
ffb536d0
JM
20102013-11-29 Joseph Myers <joseph@codesourcery.com>
2011
2a77a467
JM
2012 [BZ #6787]
2013 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2014 * math/w_exp10f.c (__exp10f): Likewise.
2015 * math/w_exp10l.c (__exp10l): Likewise.
2016 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2017 errno settings in existing tests.
2018
ea3bc4e8
JM
2019 [BZ #14032]
2020 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2021 precision control set to double precision.
2022 * sysdeps/i386/fpu/w_sqrt.c: New file.
2023 * math/auto-libm-test-in: Add more tests.
2024 * math/auto-libm-test-out: Update.
2025
0712c9d8
JM
2026 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2027 (sqrt_test_tonearest): New function.
2028 (sqrt_towardzero_test_data): New variable.
2029 (sqrt_test_towardzero): New function.
2030 (sqrt_downward_test_data): New variable.
2031 (sqrt_test_downward): New function.
2032 (sqrt_upward_test_data): New variable.
2033 (sqrt_test_upward): New function.
2034 (main): Call the new functions.
2035
ffb536d0
JM
2036 * math/gen-auto-libm-tests.c: New file.
2037 * math/auto-libm-test-in: Likewise.
2038 * math/auto-libm-test-out: New generated file.
2039 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2040 variables.
2041 (%beautify): Add generated representations of zero.
2042 (top level): Set $auto_input and call parse_auto_input.
2043 (beautify): Remove trailing "f" from hex float constants.
2044 (parse_args): Handle XFAIL_TEST.
2045 (convert_condition): New function.
2046 (or_value): Likewise.
2047 (or_cond_value): Likewise.
2048 (generate_testfile): Handle AUTO_TESTS_* lines.
2049 (parse_auto_input): New function.
2050 * math/libm-test.inc (XFAIL_TEST): New macro.
2051 (ERRNO_UNCHANGED): Update value.
2052 (ERRNO_EDOM): Likewise.
2053 (ERRNO_ERANGE): Likewise.
2054 (IGNORE_RESULT): Likewise.
2055 (TEST_COND_flt_32): New macro.
2056 (TEST_COND_dbl_64): Likewise.
2057 (TEST_COND_ldbl_96_intel): Likewise.
2058 (TEST_COND_ldbl_96_m68k): Likewise.
2059 (TEST_COND_ldbl_128): Likewise.
2060 (TEST_COND_ldbl_128ibm): Likewise.
2061 (TEST_COND_long32): Likewise.
2062 (TEST_COND_long64): Likewise.
2063 (TEST_COND_before_rounding): Likewise.
2064 (TEST_COND_after_rounding): Likewise.
2065 (enable_test): Handle XFAIL_TEST flag.
2066 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2067 with finite results.
2068 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2069 auto-libm-test-out.
2070
acd98a8e
AK
20712013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2072 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2073
2074 [BZ #16214]
2075 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2076 __tls_get_addr_internal instead of __tls_get_offset in order to
2077 avoid GOT pointer dependency. Make rtld export
2078 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2079 __tls_get_addr since we are a __tls_get_offset platform.
2080 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2081 GOT pointer being set up before.
2082 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2083
3c1c46a6
JM
20842013-11-28 Joseph Myers <joseph@codesourcery.com>
2085
7475aef5
JM
2086 * manual/math.texi (Errors in Math Functions): Document accuracy
2087 goals.
2088
8bca7cd8
JM
2089 [BZ #15004]
2090 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2091 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2094 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2096 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2106
91a1f3fe
JM
2107 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2108 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2109 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2110 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2111 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2112 Likewise.
2113 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2114 Likewise.
2115 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2116 Likewise.
2117 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2118 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2119 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2120 atomic-feupdateenv and flt-rounds.
2121 * sysdeps/powerpc/nofpu/Versions (libc): Add
2122 __atomic_feholdexcept, __atomic_feclearexcept,
2123 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2124 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2125 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2126 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2127 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2128 here.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2130 Update.
2131
c5df7609
JM
2132 * manual/arith.texi (FP Exceptions): Document that exceptions may
2133 not be raised when matherr is used.
2134 (Math Error Reporting): Document overflow in directed rounding
2135 modes. Document that errno may not be set when finite values are
2136 returned on overflow. Document intent to set errno on underflow
2137 only for underflow to zero.
2138
3c1c46a6
JM
2139 [BZ #16271]
2140 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2141 round-to-nearest then adjust result for other rounding modes.
2142 * include/fenv.h (fegetround): Use libm_hidden_proto.
2143 * math/fegetround.c (fegetround): Use libm_hidden_def.
2144 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2145 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2146 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2147 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2148 Likewise.
2149 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2150 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2151 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2152 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2153
5a4c6d53
SP
21542013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2155
2156 [BZ #16077]
2157 * nss/Versions (libnss_files): Add
2158 _nss_files_gethostbyname3_r.
2159 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2160 New function.
2161 (HOST_DB_LOOKUP): Remove macro.
2162 (_nss_files_gethostbyname_r): Implement function without the
2163 HOST_DB_LOOKUP macro.
2164 (_nss_files_gethostbyname2_r): Likewise.
2165
897b98ba
OB
21662013-11-28 Ondřej Bílka <neleai@seznam.cz>
2167
2168 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2169
6f476861
UB
21702013-11-26 Uros Bizjak <ubizjak@gmail.com>
2171
2172 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2173 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2174 warning.
2175
bd12ab55
AZ
21762013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177
2178 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2179 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2180 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2181 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2182 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2183 __fe_nomask_env_priv and attribute_hidden.
2184 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2185 (libc_feupdateenv_test_ppc): Likewise.
2186 (libc_feresetround_ppc): Likewise.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2188 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2189 compat_symbol macro.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2191 (__fe_nomask_env): Likewise.
2192 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2193
52bb6543
OB
21942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2195
2196 * string/Makefile: Remove ifunc tests.
2197 * string/test-string.h: Define TEST_IFUNC.
2198 * string/test-bcopy-ifunc.c: Remove.
2199 * string/test-bzero-ifunc.c: Likewise.
2200 * string/test-memccpy-ifunc.c: Likewise.
2201 * string/test-memchr-ifunc.c: Likewise.
2202 * string/test-memcmp-ifunc.c: Likewise.
2203 * string/test-memcpy-ifunc.c: Likewise.
2204 * string/test-memmem-ifunc.c: Likewise.
2205 * string/test-memmove-ifunc.c: Likewise.
2206 * string/test-mempcpy-ifunc.c: Likewise.
2207 * string/test-memrchr-ifunc.c: Likewise.
2208 * string/test-memset-ifunc.c: Likewise.
2209 * string/test-rawmemchr-ifunc.c: Likewise.
2210 * string/test-stpcpy-ifunc.c: Likewise.
2211 * string/test-stpncpy-ifunc.c: Likewise.
2212 * string/test-strcasecmp-ifunc.c: Likewise.
2213 * string/test-strcasestr-ifunc.c: Likewise.
2214 * string/test-strcat-ifunc.c: Likewise.
2215 * string/test-strchr-ifunc.c: Likewise.
2216 * string/test-strchrnul-ifunc.c: Likewise.
2217 * string/test-strcmp-ifunc.c: Likewise.
2218 * string/test-strcpy-ifunc.c: Likewise.
2219 * string/test-strcspn-ifunc.c: Likewise.
2220 * string/test-strlen-ifunc.c: Likewise.
2221 * string/test-strncasecmp-ifunc.c: Likewise.
2222 * string/test-strncat-ifunc.c: Likewise.
2223 * string/test-strncmp-ifunc.c: Likewise.
2224 * string/test-strncpy-ifunc.c: Likewise.
2225 * string/test-strnlen-ifunc.c: Likewise.
2226 * string/test-strpbrk-ifunc.c: Likewise.
2227 * string/test-strrchr-ifunc.c: Likewise.
2228 * string/test-strspn-ifunc.c: Likewise.
2229 * string/test-strstr-ifunc.c: Likewise.
2230
ab260039 22312013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2232
2233 * benchtests/Makefile: Remove ifunc tests.
2234 * benchtests/bench-string.h: Define TEST_IFUNC.
2235 * benchtests/bench-bcopy-ifunc.c: Remove.
2236 * benchtests/bench-bzero-ifunc.c: Likewise.
2237 * benchtests/bench-memccpy-ifunc.c: Likewise.
2238 * benchtests/bench-memchr-ifunc.c: Likewise.
2239 * benchtests/bench-memcmp-ifunc.c: Likewise.
2240 * benchtests/bench-memcpy-ifunc.c: Likewise.
2241 * benchtests/bench-memmem-ifunc.c: Likewise.
2242 * benchtests/bench-memmove-ifunc.c: Likewise.
2243 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2244 * benchtests/bench-memrchr-ifunc.c: Likewise.
2245 * benchtests/bench-memset-ifunc.c: Likewise.
2246 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2247 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2248 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2249 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2250 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2251 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2252 * benchtests/bench-strcat-ifunc.c: Likewise.
2253 * benchtests/bench-strchr-ifunc.c: Likewise.
2254 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2255 * benchtests/bench-strcmp-ifunc.c: Likewise.
2256 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2257 * benchtests/bench-strcpy-ifunc.c: Likewise.
2258 * benchtests/bench-strcspn-ifunc.c: Likewise.
2259 * benchtests/bench-strlen-ifunc.c: Likewise.
2260 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2261 * benchtests/bench-strncat-ifunc.c: Likewise.
2262 * benchtests/bench-strncmp-ifunc.c: Likewise.
2263 * benchtests/bench-strncpy-ifunc.c: Likewise.
2264 * benchtests/bench-strnlen-ifunc.c: Likewise.
2265 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2266 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2267 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2268 * benchtests/bench-strspn-ifunc.c: Likewise.
2269 * benchtests/bench-strstr-ifunc.c: Likewise.
2270
22712013-11-26 Ondřej Bílka <neleai@seznam.cz>
2272
ab260039
OB
2273 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2274
d1d9eaf4 22752013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2276
d1d9eaf4
OB
2277 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2278 * rt/aio.h: Likewise.
2279 * sysdeps/gnu/bits/utmp.h: Likewise.
2280 * sysdeps/gnu/bits/utmpx.h: Likewise.
2281 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2282 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2283 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2284 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2285 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2286 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2287 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2288 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2289 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2291 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2293 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2295 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2296 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2297 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2298 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2299 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2300 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2301 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2302 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2303 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2304 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2305 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2307 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2308 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2309 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2310 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2314 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2315 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2316 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2317 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2318 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2319 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2320 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2321 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2322 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2323
a7624ed9
CD
23242013-11-25 Carlos O'Donell <carlos@redhat.com>
2325
2326 [BZ #16245]
2327 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2328 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2329
63cfe52b
JM
23302013-11-25 Joseph Myers <joseph@codesourcery.com>
2331
2332 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2333 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2334 Likewise.
2335
41e8926a
AZ
23362013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337
2338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2339 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2340 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2341 (__fesetround): Remove define.
2342 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2343 rounding and exceptions handling.
2344 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2345 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2346 (__fe_nomask_env): Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2348 __fegetround instead of fegetround.
2349 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2350 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2351
6851bd4d
RM
23522013-11-21 Roland McGrath <roland@hack.frob.com>
2353
070906ff
RM
2354 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2355 it's there.
2356
6851bd4d
RM
2357 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2358
84ae135d
MI
23592013-11-21 Meador Inge <meadori@codesourcery.com>
2360
2361 [BZ #11157]
2362 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2363 (encrypt_r): Likewise.
2364 * malloc/obstack.h (obstack_free): Likewise.
2365 * posix/unistd.h (encrypt): Likewise.
2366
daf75146
GM
23672013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2368
2369 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2370 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2371 DL_CALL_DT_FINI() that call the functions directly.
2372 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2373 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2374 * elf/dl-fini.c: Likewise.
2375
10ad46bc
OB
23762013-11-20 Ondřej Bílka <neleai@seznam.cz>
2377
2378 * malloc/hooks.c (memalign_check): Add alignment rounding.
2379 * malloc/malloc.c (_mid_memalign): New function.
2380 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2381 Implement by calling _mid_memalign.
2382 * manual/probes.texi (Memory Allocation Probes): Remove
2383 memory_valloc_retry and memory_pvalloc_retry.
2384
f3fd2628
SP
23852013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2386
4712799f
SP
2387 * locale/programs/locarchive.c (open_archive): Add const
2388 qualifier to ARCHIVEFNAME and copy default fname to
2389 DEFAULT_FNAME.
2390
0417b20f
SP
2391 [BZ #15601]
2392 * libio/tst-widetext.input: Rename Oriya to Odia.
2393 * locale/iso-639.def: Likewise.
2394
f3fd2628
SP
2395 * manual/probes.texi (Mathematical Function Probes): Add
2396 documentation for sin, cos, asin and acos probes.
2397 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2398 (__sin32): Add slowasin probe.
2399 (__cos32): Add slowacos probe.
2400 (__mpsin): Add slowsin probe.
2401 (__mpcos): Add slowcos probe.
2402
73c1ce4f
JM
24032013-11-19 Joseph Myers <joseph@codesourcery.com>
2404
2405 [BZ #15483]
2406 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2407 thread-local __sim_exceptions_thread and global
2408 __sim_exceptions_global.
2409 (__sim_disabled_exceptions): Change to thread-local
2410 __sim_disabled_exceptions_thread and global
2411 __sim_disabled_exceptions_global.
2412 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2413 and global __sim_round_mode_global.
2414 (__simulate_exceptions): Use thread-local floating-point state and
2415 set global state from it as needed.
2416 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2417 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2418 __sim_round_mode_thread.
2419 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2420 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2421 and global __sim_exceptions_global.
2422 (__sim_disabled_exceptions): Change to thread-local
2423 __sim_disabled_exceptions_thread and global
2424 __sim_disabled_exceptions_global.
2425 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2426 and global __sim_round_mode_global.
2427 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2428 (SIM_SET_GLOBAL): Likewise.
2429 * sysdeps/powerpc/soft-fp/sfp-machine.h
2430 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2431 __sim_round_mode_thread.
2432 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2433 __sim_disabled_exceptions_thread.
2434 (__sim_exceptions): Change to __sim_exceptions_thread.
2435 (__sim_disabled_exceptions): Change to
2436 __sim_disabled_exceptions_thread.
2437 (__sim_round_mode): Change to __sim_round_mode_thread.
2438 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2439 thread-local floating-point state and set global state from it as
2440 needed.
2441 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2442 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2443 (__sim_disabled_exceptions): Remove extern declaration.
2444 (feenableexcept): Use thread-local floating-point state and set
2445 global state from it as needed.
2446 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2447 extern declaration.
2448 (__sim_disabled_exceptions): Likewise.
2449 (__sim_round_mode): Likewise.
2450 (__fegetenv): Use thread-local floating-point state.
2451 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2452 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2453 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2454 floating-point state and set global state from it as needed.
2455 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2456 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2457 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2458 Likewise.
2459 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2460 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2461 Likewise.
2462 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2463 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2464 Use __sim_round_mode_thread.
2465 * math/test-fenv-tls.c: New file.
2466 * math/Makefile (tests): Add test-fenv-tls.
2467 ($(objpfx)test-fenv-tls): Depend on
2468 $(common-objpfx)nptl/libpthread.so.
2469
b5449b12
AS
24702013-11-19 Andreas Schwab <schwab@suse.de>
2471
2472 * locale/programs/locale.c (show_info): Decode wordarray elements.
2473 * locale/categories.def (LC_MONETARY): Add element for
2474 _NL_MONETARY_CRNCYSTR.
2475 * locale/C-monetary.c (conversion_rate): New variable.
2476 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2477 element.
2478
e186536b
CM
24792013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2480
2481 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2482 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2483
5c349950
PP
24842013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2485
2486 * elf/Makefile (tst-auxv): New test.
2487 * elf/tst-auxv.c: New
2488 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2489
699df45b
JM
24902013-11-18 Joseph Myers <joseph@codesourcery.com>
2491
2492 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2493 (hidden_proto): Caller changed.
2494 (hidden_tls_proto): New macro.
2495 (libc_hidden_tls_proto): Likewise.
2496 (rtld_hidden_tls_proto): Likewise.
2497 (libm_hidden_tls_proto): Likewise.
2498 (libresolv_hidden_tls_proto): Likewise.
2499 (librt_hidden_tls_proto): Likewise.
2500 (libdl_hidden_tls_proto): Likewise.
2501 (libnss_files_hidden_tls_proto): Likewise.
2502 (libnsl_hidden_tls_proto): Likewise.
2503 (libnss_nisplus_hidden_tls_proto): Likewise.
2504 (libutil_hidden_tls_proto): Likewise.
2505
b7589107
OB
25062013-11-18 Ondřej Bílka <neleai@seznam.cz>
2507
2508 [BZ #10253]
2509 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2510 (decompose_rpath): Defer expansion to fillin_rpath.
2511 (_dl_init_paths): Pass linkmap to fillin_rpath.
2512
250c23bd
RS
25132013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2514
2515 * benchtests/Makefile: Add strsep.
2516 * benchtests/bench-strsep.c: New file: strsep benchtest.
2517 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2518
a7931fcf
AS
25192013-11-18 Andreas Schwab <schwab@suse.de>
2520
2521 * locale/programs/locale.c (show_info) [case byte]: Check for
2522 '\377' instead of '\177'.
2523 * locale/C-monetary.c (not_available): Always use "\377".
2524 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2525 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2526 detect unavailable sign_posn locale elements.
2527 * locale/localeconv.c (__localeconv): For grouping and
2528 mon_grouping handle "\177" and "\377" like no grouping.
2529 (INT_ELEM): New macro. Use it to set all numeric members.
2530 * locale/programs/ld-monetary.c (monetary_read)
2531 <tok_mon_grouping>: Normalize single -1 to the empty string.
2532 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2533 Likewise.
2534
728dab0e
OB
25352013-11-07 Ondřej Bílka <neleai@seznam.cz>
2536
2537 [BZ #16055]
2538 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2539 when we match (nil).
2540 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2541
66294491
JM
25422013-11-16 Joseph Myers <joseph@codesourcery.com>
2543
ce665817
JM
2544 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2545 (NO_TEST_INLINE): Update value.
2546 (ERRNO_UNCHANGED): Likewise.
2547 (ERRNO_EDOM): Likewise.
2548 (ERRNO_ERANGE): Likewise.
2549 (IGNORE_RESULT): Likewise.
2550 (check_float_internal): Check signs of NaN results if
2551 TEST_NAN_SIGN used.
2552 (check_complex): Pass TEST_NAN_SIGN flag through to second
2553 check_float_internal call.
2554 (copysign_test_data): Add tests with quiet NaNs as second
2555 argument. Use TEST_NAN_SIGN.
2556 (fabs_test_data): Add test of negative quiet NaN argument. Use
2557 TEST_NAN_SIGN.
2558 (signbit_test_data): Add tests of quiet NaN argument.
2559 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2560
ee1466a9
JM
2561 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2562 $ignore_result.
2563 (parse_args): Handle function results specified as IGNORE.
2564 * math/libm-test.inc (IGNORE_RESULT): New macro.
2565 (check_float_internal): Do not check numerical result if flag
2566 IGNORE_RESULT set.
2567 (check_complex): Pass through IGNORE_RESULT to second
2568 check_float_internal call.
2569 (check_int): Do not check numerical result if flag IGNORE_RESULT
2570 set.
2571 (check_long): Likewise.
2572 (check_bool): Likewise.
2573 (check_longlong): Likewise.
2574 (lrint_test_data): Add tests of infinite and NaN arguments.
2575 (lrint_tonearest_test_data): Likewise.
2576 (lrint_towardzero_test_data): Likewise.
2577 (lrint_downward_test_data): Likewise.
2578 (lrint_upward_test_data): Likewise.
2579 (llrint_test_data): Likewise.
2580 (llrint_tonearest_test_data): Likewise.
2581 (llrint_towardzero_test_data): Likewise.
2582 (llrint_downward_test_data): Likewise.
2583 (llrint_upward_test_data): Likewise.
2584 (lround_test_data): Likewise.
2585 (llround_test_data): Likewise.
2586
14407b7e
JM
2587 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2588 (ERRNO_UNCHANGED): Update value.
2589 (ERRNO_EDOM): Likewise.
2590 (ERRNO_ERANGE): Likewise.
2591 (NO_TEST_INLINE_FLOAT): New macro.
2592 (NO_TEST_INLINE_DOUBLE): Likewise.
2593 (enable_test): New function.
2594 (RUN_TEST_f_f): Check enable_test before running test.
2595 (RUN_TEST_2_f): Likewise.
2596 (RUN_TEST_fff_f): Likewise.
2597 (RUN_TEST_c_f): Likewise.
2598 (RUN_TEST_f_f1): Likewise.
2599 (RUN_TEST_fF_f1): Likewise.
2600 (RUN_TEST_fI_f1): Likewise.
2601 (RUN_TEST_ffI_f1): Likewise.
2602 (RUN_TEST_c_c): Likewise.
2603 (RUN_TEST_cc_c): Likewise.
2604 (RUN_TEST_f_i): Likewise.
2605 (RUN_TEST_f_i_tg): Likewise.
2606 (RUN_TEST_ff_i_tg): Likewise.
2607 (RUN_TEST_f_b): Likewise.
2608 (RUN_TEST_f_b_tg): Likewise.
2609 (RUN_TEST_f_l): Likewise.
2610 (RUN_TEST_f_L): Likewise.
2611 (RUN_TEST_fFF_11): Likewise.
2612 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2613 conditionals.
2614 (cosh_test_data): Likewise.
2615 (exp_test_data): Likewise.
2616 (expm1_test_data): Likewise.
2617 (hypot_test_data): Likewise.
2618 (pow_test_data): Likewise.
2619 (sinh_test_data): Likewise.
2620 (tanh_test_data): Likewise.
2621 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2622 flags argument.
2623
ca07f197
JM
2624 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2625 tests with quiet NaN input and output.
2626 (acosh_test_data): Likewise.
2627 (asin_test_data): Likewise.
2628 (asinh_test_data): Likewise.
2629 (atan_test_data): Likewise.
2630 (atanh_test_data): Likewise.
2631 (atan2_test_data): Likewise.
2632 (cbrt_test_data): Likewise.
2633 (cos_test_data): Likewise.
2634 (cosh_test_data): Likewise.
2635 (erf_test_data): Likewise.
2636 (erfc_test_data): Likewise.
2637 (exp_test_data): Likewise.
2638 (exp10_test_data): Likewise.
2639 (exp2_test_data): Likewise.
2640 (expm1_test_data): Likewise.
2641 (hypot_test_data): Likewise.
2642 (j0_test_data): Likewise.
2643 (j1_test_data): Likewise.
2644 (jn_test_data): Likewise.
2645 (lgamma_test_data): Likewise.
2646 (log_test_data): Likewise.
2647 (log10_test_data): Likewise.
2648 (log1p_test_data): Likewise.
2649 (log2_test_data): Likewise.
2650 (pow_test_data): Likewise.
2651 (scalb_test_data): Likewise.
2652 (sin_test_data): Likewise.
2653 (sincos_test_data): Likewise.
2654 (sinh_test_data): Likewise.
2655 (tan_test_data): Likewise.
2656 (tanh_test_data): Likewise.
2657 (tgamma_test_data): Likewise.
2658 (y0_test_data): Likewise.
2659 (y1_test_data): Likewise.
2660 (yn_test_data): Likewise.
2661
66294491
JM
2662 [BZ #16167]
2663 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2664 argument being NaN and avoid computations with second argument in
2665 that case.
2666 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2667 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2668 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2669
1820b143
CL
26702013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2671
2672 * locale/iso-639.def: Add Chitwani Tharu (the).
2673
714bd261
AS
26742013-11-14 Andreas Schwab <schwab@suse.de>
2675
2676 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2677 word instead of empty string.
2678
7ab44563
AZ
26792013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2682 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2684 (__fe_nomask_env): Likewise.
2685
e8470ea2
SE
26862013-11-13 Steve Ellcey <sellcey@mips.com>
2687
2688 * benchtests/bench-timing.h: Include time.h.
2689
17c1d9f0
L
26902013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2691
2692 [BZ #15997]
2693 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2694 to 3.4.0 for x32.
2695 * sysdeps/unix/sysv/linux/configure: Regenerated.
2696
9310c284
JM
26972013-11-13 Joseph Myers <joseph@codesourcery.com>
2698
2699 [BZ #16151]
2700 * stdlib/strtod_l.c (round_and_return): Do not consider
2701 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2702 exponent one less than half the least subnormal exponent.
2703 * stdlib/test-strtod-round-data: Add more tests.
2704 * stdlib/tst-strtod-round.c (tests): Regenerated.
2705
7a2ad8cf
AZ
27062013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2707
2708 [BZ #14143]
2709 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2710 (__fe_mask_env): Likewise.
2711 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2712 libm_hidden_proto and add function prototype.
2713 (__fe_mask_env): Add function prototype.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2715 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2717 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2719 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2720
50727aa7
MS
27212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2722
b2f386c1 2723 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
2724 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2725
a615be46
MS
27262013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2727
2728 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2729 of htab_find_slot().
2730
7ddace62
DM
27312013-11-11 David S. Miller <davem@davemloft.net>
2732
2733 [BZ #16150]
2734 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2735 symbol in the non-vis3 case in static builds.
2736 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2737 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2738 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2739 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2740
9182aa67
JK
27412013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2742
2743 [BZ #387]
2744 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2745 it is empty.
2746
450a2e2d
AZ
27472013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2748
b2f386c1
SP
2749 * benchtests/Makefile: Add bench-strtod.
2750 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2751
8ec3f656
AS
27522013-11-11 Andreas Schwab <schwab@suse.de>
2753
2754 [BZ #16153]
2755 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2756 terminating NUL in key length.
2757
76a9b998
AZ
27582013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2759
2760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2761 Add artificial ODP entry for vDSO symbol for PPC64.
2762 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2763 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2764
e4368156
OB
27652013-11-07 Ondřej Bílka <neleai@seznam.cz>
2766
2767 [BZ #15374]
2768 * nss/getent.c (services_keys): Recognize services starting with digit.
2769
8d6bb57c
DM
27702013-11-06 David S. Miller <davem@davemloft.net>
2771
2772 [BZ #15985]
2773 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2774 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2775
e256c421
WN
27762013-11-06 Will Newton <will.newton@linaro.org>
2777
2778 * manual/memory.texi (Malloc Examples): Remove register
2779 keyword from examples.
2780
f6e12daa 27812013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2782
f6e12daa 2783 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2784
9d880655
AS
27852013-11-04 Joseph Myers <joseph@codesourcery.com>
2786
2787 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2788 depending on [__GCC_IEC_559 > 0].
2789 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2790 depending on [__GCC_IEC_559_COMPLEX > 0].
2791
ae129d3c
CL
27922013-11-03 Chris Leonard <cjl@sugarlabs.org>
2793
2794 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2795 to iso-639.def.
2796
4a15c2a4 27972013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2798
2799 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2800
8b35e35d
OB
28012013-11-01 Ondřej Bílka <neleai@seznam.cz>
2802
2803 [BZ #16112]
2804 * malloc/malloc (malloc_info): Do not handle first bin as
2805 special case.
2806
1d70fd6c
CL
28072013-11-01 Chris Leonard <cjl@sugarlabs.org>
2808
2809 * locale/iso-639.def: Add Central Nahuatl (nhn).
2810
8c5c2600
BH
28112013-11-01 Bruno Haible <bruno@clisp.org>
2812
2813 [BZ #7003]
2814 * manual/math.texi (BSD Random): Specify range upper bound as
2815 in POSIX.
2816
da5579c2
CL
28172013-10-31 Chris Leonard <cjl@sugarlabs.org>
2818
2819 * locale/iso-639.def: Add Meadow Mari (mhr).
2820
5d30d853
OB
28212013-10-31 Ondřej Bílka <neleai@seznam.cz>
2822
2823 [BZ #14752], [BZ #15763]
2824 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2825 Validate name.
2826 * rt/tst_shm.c: Add test for escaping directory.
2827
a4966c61
AS
28282013-10-31 Andreas Schwab <schwab@suse.de>
2829
8a43e768 2830 [BZ #15917]
a4966c61
AS
2831 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2832 followed by 'x' as part of digit sequence.
2833 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2834
28d708c4
MAP
28352013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2836
2837 [BZ #16037]
2838 * configure.ac: allow GNU Make 4.0 and greater.
2839 * configure: Regenerated.
2840
a56ee40b
WN
28412013-10-30 Will Newton <will.newton@linaro.org>
2842
2843 [BZ #16038]
2844 * malloc/hooks.c (memalign_check): Limit alignment to the
2845 maximum representable power of two.
2846 * malloc/malloc.c (__libc_memalign): Likewise.
2847 * malloc/tst-memalign.c (do_test): Add test for very
2848 large alignment values.
2849 * malloc/tst-posix_memalign.c (do_test): Likewise.
2850
c6e4925d
OB
28512013-10-30 Ondřej Bílka <neleai@seznam.cz>
2852
2853 [BZ #11087]
2854 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2855 (munmap_chunk): Likewise.
2856 (mremap_chunk): Likewise.
2857
28582013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2859
8a43e768 2860 [BZ #15799]
bbea82f7
OB
2861 * stdlib/div.c (div): Remove obsolete code.
2862 * stdlib/ldiv.c (ldiv): Likewise.
2863 * stdlib/lldiv.c (lldiv): Likewise.
2864
977f4b31
SP
28652013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2866
2867 [BZ #16071]
2868 * nss/nss_files/files-XXX.c (get_contents_ret): New
2869 enumerator.
2870 (get_contents): New function.
2871 (internal_getent): Use it. Expand size of LINEBUFLEN.
2872
cb8a6dbd
MF
28732013-10-30 Mike Frysinger <vapier@gentoo.org>
2874
2875 * configure.in: Moved to ...
2876 * configure.ac: ... here. Change reference to configure.in
2877 to configure.ac.
2878 * sysdeps/arm/preconfigure.ac: ... here.
2879 configure.in to configure.ac.
2880 * sysdeps/gnu/configure.in: Moved to ...
2881 * sysdeps/gnu/configure.ac: ... here.
2882 * sysdeps/i386/configure.in: Moved to ...
2883 * sysdeps/i386/configure.ac: ... here.
2884 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2885 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2886 * sysdeps/mach/configure.in: Moved to ...
2887 * sysdeps/mach/configure.ac: ... here.
2888 * sysdeps/mach/hurd/configure.in: Moved to ...
2889 * sysdeps/mach/hurd/configure.ac: ... here.
2890 * sysdeps/powerpc/configure.in: Moved to ...
2891 * sysdeps/powerpc/configure.ac: ... here.
2892 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2893 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2894 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2895 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2896 * sysdeps/s390/s390-32/configure.in: Moved to ...
2897 * sysdeps/s390/s390-32/configure.ac: ... here.
2898 * sysdeps/s390/s390-64/configure.in: Moved to ...
2899 * sysdeps/s390/s390-64/configure.ac: ... here.
2900 * sysdeps/sh/configure.in: Moved to ...
2901 * sysdeps/sh/configure.ac: ... here.
2902 * sysdeps/sparc/configure.in: Moved to ...
2903 * sysdeps/sparc/configure.ac: ... here.
2904 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2905 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2906 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2907 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2908 * sysdeps/x86_64/configure.in: Moved to ...
2909 * sysdeps/x86_64/configure.ac: ... here.
2910 * sysdeps/x86_64/preconfigure.in: Moved to ...
2911 * sysdeps/x86_64/preconfigure.ac: ... here.
2912 * aclocal.m4: Change reference to configure.in to configure.ac.
2913 * config.h.in: Likewise.
2914 * manual/install.texi: Likewise.
2915 * manual/maint.texi: Likewise.
2916 * Makefile: Likewise.
2917 * malloc/Makefile: Likewise.
2918 * nscd/Makefile: Likewise.
2919 * Makeconfig: Change reference to configure.in and
2920 preconfigure.in to configure.ac and preconfigure.ac
2921 respectively.
2922 * INSTALL: Regenerated.
2923 * configure: Likewise.
2924 * sysdeps/gnu/configure: Likewise.
2925 * sysdeps/i386/configure: Likewise.
2926 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2927 * sysdeps/mach/configure: Likewise.
2928 * sysdeps/mach/hurd/configure: Likewise.
2929 * sysdeps/powerpc/configure: Likewise.
2930 * sysdeps/powerpc/powerpc32/configure: Likewise.
2931 * sysdeps/powerpc/powerpc64/configure: Likewise.
2932 * sysdeps/s390/s390-32/configure: Likewise.
2933 * sysdeps/s390/s390-64/configure: Likewise.
2934 * sysdeps/sh/configure: Likewise.
2935 * sysdeps/sparc/configure: Likewise.
2936 * sysdeps/unix/sysv/linux/configure: Likewise.
2937 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2938 * sysdeps/x86_64/configure: Likewise.
2939 * sysdeps/x86_64/preconfigure: Likewise.
2940
36a4953a
AS
29412013-10-29 Andreas Schwab <schwab@suse.de>
2942
2943 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2944
c79a1204
SP
29452013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2946
dfa1b402
SP
2947 * benchtests/pow-inputs: Add new inputs.
2948
54f73d9c
SP
2949 * benchtests/exp-inputs: Add new inputs.
2950
c79a1204
SP
2951 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2952 conditional check for return value.
2953 (__cos32): Likewise.
2954
67beb545 29552013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2956
2957 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2958 to provide a boost for large inputs with word alignment.
2959 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2960 implementation based on optimized PPC64 strcpy.
2961 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2962 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2963 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2964 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2965
151659f6
OB
29662013-10-25 Ondřej Bílka <neleai@seznam.cz>
2967
482a077e 2968 [BZ #2801]
151659f6
OB
2969 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2970
10b0f26b
OB
29712013-10-25 Ondřej Bílka <neleai@seznam.cz>
2972
2973 [BZ #14876]
2974 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2975 * time/tst-strptime.c (day_tests): Add testcase.
2976
ca42d35e
OB
29772013-10-25 Ondřej Bílka <neleai@seznam.cz>
2978
482a077e 2979 [BZ #14029]
ca42d35e
OB
2980 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2981
52e6d801
FB
29822013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2983
2984 [BZ #16074]
2985 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2986 MAP_FAILED on error.
2987
7cbcdb36
SP
29882013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2989
2990 [BZ #16072]
2991 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2992 heap for large requests.
2993
894f3f10
AM
29942013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2995
2996 [BZ #9954]
2997 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2998 result if the result has no associated interface.
2999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3000 interface for all 127.X.Y.Z addresses.
3001
b85545a6
CL
30022013-10-24 Chris Leonard <cjl@sugarlabs.org>
3003
3004 * locale/iso-639.def: Add Ligurian (lij)
3005
d1f23d46
OB
30062013-10-21 Ondřej Bílka <neleai@seznam.cz>
3007
3008 [BZ #15825]
3009 * sunrpc/rpc_main.c: Document rpcgen -5.
3010
4db5b08f
MS
30112013-10-19 Michael Stahl <mstahl@redhat.com>
3012
3013 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3014
a471e96a
OB
30152013-10-19 Ondřej Bílka <neleai@seznam.cz>
3016
d1f23d46 3017 [BZ #10278]
a471e96a
OB
3018 * posix/glob.c: Match only directories when trailing slash is present.
3019 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3020 (main): Add testcase.
3021
45c30c61
OB
30222013-10-19 Ondřej Bílka <neleai@seznam.cz>
3023
3024 [BZ #15670]
3025 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3026
484c12fb
CD
30272013-10-18 Carlos O'Donell <carlos@redhat.com>
3028
3d7dc513
CD
3029 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3030 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3031 AUTH_DES and cindex for FIPS 140-2.
3032 (DES Encryption): Add cindex FIPS 46-3.
3033
484c12fb
CD
3034 * locale/locarchive.h (struct locarhandle): Add fname.
3035 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3036 if an optional argument was specified to --list-archive,
3037 otherwise NULL.
3038 * locale/programs/locarchive.c (show_archive_content): Take new
3039 argument fname and pass it via ah.fname to open_archive.
3040 * locale/programs/localedef.h: Update decl.
3041 (open_archive): If AH->fname is non-null, open that file
3042 rather than the default file name, and don't ignore ENOENT.
3043 (create_archive): Set AH.fname to NULL.
3044 (delete_locales_from_archive): Likewise.
3045 (add_locales_to_archive): Likewise.
3046 * locale/programs/locfile.c (write_all_categories): Likewise.
3047
3c8325fb
JM
30482013-10-18 Joseph Myers <joseph@codesourcery.com>
3049 Aldy Hernandez <aldyh@redhat.com>
3050
3051 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3052 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3053 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3054 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3055 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3056 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3057 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3058 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3059 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3060 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3061 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3062 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3063 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3064 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3066 Likewise.
3067 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3068 Likewise.
3069 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3070 Likewise.
3071 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3072 Likewise.
3073 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3074 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3075 Likewise.
3076 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3077 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3078 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3079 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3080 Likewise.
3081 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3082 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3083 * sysdeps/powerpc/preconfigure: Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3085 Likewise.
3086 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3087 Replace contents of file by #include of <fenv_libc.h>.
3088 * sysdeps/powerpc/soft-fp/sfp-machine.h
3089 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3090 and <sys/prctl.h>.
3091 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3095 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3101 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3102 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3104 Allow copysignl PLT reference to be missing.
3105
5abe0682
RS
31062013-10-18 Richard Sandiford <richard@codesourcery.com>
3107 Joseph Myers <joseph@codesourcery.com
3108
3109 [BZ #15948]
3110 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3111 single character.
3112 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3113
c7738d08
SP
31142013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3115
3116 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3117 * elf/tst-tls1.c: Likewise.
3118 * elf/tst-tls10.h: Likewise.
3119 * elf/tst-tls14.c: Likewise.
3120 * elf/tst-tls2.c: Likewise.
3121 * elf/tst-tls3.c: Likewise.
3122 * elf/tst-tls4.c: Likewise.
3123 * elf/tst-tls5.c: Likewise.
3124 * elf/tst-tls6.c: Likewise.
3125 * elf/tst-tls7.c: Likewise.
3126 * elf/tst-tls8.c: Likewise.
3127 * elf/tst-tls9.c: Likewise.
3128 * elf/tst-tlsmod1.c: Likewise.
3129 * elf/tst-tlsmod13.c: Likewise.
3130 * elf/tst-tlsmod13a.c: Likewise.
3131 * elf/tst-tlsmod14a.c: Likewise.
3132 * elf/tst-tlsmod16a.c: Likewise.
3133 * elf/tst-tlsmod16b.c: Likewise.
3134 * elf/tst-tlsmod2.c: Likewise.
3135 * elf/tst-tlsmod3.c: Likewise.
3136 * elf/tst-tlsmod4.c: Likewise.
3137 * elf/tst-tlsmod5.c: Likewise.
3138 * elf/tst-tlsmod6.c: Likewise.
3139
0bfcf2c7
OB
31402013-10-18 Ondřej Bílka <neleai@seznam.cz>
3141
3142 [BZ #12486]
3143 * malloc/malloc.c: remove checks for statistics.
3144
264aad1e
OB
31452013-10-17 Ondřej Bílka <neleai@seznam.cz>
3146
3147 [BZ #15277]
3148 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3149 * inet/tst-network.c: Add testcase.
3150
b957ced8
AS
31512013-10-17 Andreas Schwab <schwab@suse.de>
3152
3153 [BZ #15218]
3154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3155 to determine canonical name.
3156
c5d5d574
OB
31572013-10-17 Ondřej Bílka <neleai@seznam.cz>
3158
3159 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3160 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3162 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3164 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3165 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3166 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3167 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3168 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3169 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3172 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3174 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3176 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3177 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3178 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3182 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3183 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3184 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3185 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3186 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3188 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3189 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3190 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3191 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3192 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3195 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3196 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3197 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3198 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3199 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3201 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3211 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3212 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3213 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3214 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3215 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3216 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3217
e5c2c2d0
JM
32182013-10-17 Joseph Myers <joseph@codesourcery.com>
3219
3220 [BZ #16041]
3221 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3222 make result into a quiet NaN.
3223
51ca9e29
JM
32242013-10-16 Joseph Myers <joseph@codesourcery.com>
3225
3226 * soft-fp/adddf3.c: Fix horizontal whitespace.
3227 * soft-fp/addsf3.c: Likewise.
3228 * soft-fp/addtf3.c: Likewise.
3229 * soft-fp/divdf3.c: Likewise.
3230 * soft-fp/divsf3.c: Likewise.
3231 * soft-fp/divtf3.c: Likewise.
3232 * soft-fp/double.h: Likewise.
3233 * soft-fp/eqdf2.c: Likewise.
3234 * soft-fp/eqsf2.c: Likewise.
3235 * soft-fp/eqtf2.c: Likewise.
3236 * soft-fp/extenddftf2.c: Likewise.
3237 * soft-fp/extended.h: Likewise.
3238 * soft-fp/extendsfdf2.c: Likewise.
3239 * soft-fp/extendsftf2.c: Likewise.
3240 * soft-fp/extendxftf2.c: Likewise.
3241 * soft-fp/fixdfdi.c: Likewise.
3242 * soft-fp/fixdfsi.c: Likewise.
3243 * soft-fp/fixdfti.c: Likewise.
3244 * soft-fp/fixsfdi.c: Likewise.
3245 * soft-fp/fixsfsi.c: Likewise.
3246 * soft-fp/fixsfti.c: Likewise.
3247 * soft-fp/fixtfdi.c: Likewise.
3248 * soft-fp/fixtfsi.c: Likewise.
3249 * soft-fp/fixtfti.c: Likewise.
3250 * soft-fp/fixunsdfdi.c: Likewise.
3251 * soft-fp/fixunsdfsi.c: Likewise.
3252 * soft-fp/fixunsdfti.c: Likewise.
3253 * soft-fp/fixunssfdi.c: Likewise.
3254 * soft-fp/fixunssfsi.c: Likewise.
3255 * soft-fp/fixunssfti.c: Likewise.
3256 * soft-fp/fixunstfdi.c: Likewise.
3257 * soft-fp/fixunstfsi.c: Likewise.
3258 * soft-fp/fixunstfti.c: Likewise.
3259 * soft-fp/floatdidf.c: Likewise.
3260 * soft-fp/floatdisf.c: Likewise.
3261 * soft-fp/floatditf.c: Likewise.
3262 * soft-fp/floatsidf.c: Likewise.
3263 * soft-fp/floatsisf.c: Likewise.
3264 * soft-fp/floatsitf.c: Likewise.
3265 * soft-fp/floattidf.c: Likewise.
3266 * soft-fp/floattisf.c: Likewise.
3267 * soft-fp/floattitf.c: Likewise.
3268 * soft-fp/floatundidf.c: Likewise.
3269 * soft-fp/floatundisf.c: Likewise.
3270 * soft-fp/floatunditf.c: Likewise.
3271 * soft-fp/floatunsidf.c: Likewise.
3272 * soft-fp/floatunsisf.c: Likewise.
3273 * soft-fp/floatunsitf.c: Likewise.
3274 * soft-fp/floatuntidf.c: Likewise.
3275 * soft-fp/floatuntisf.c: Likewise.
3276 * soft-fp/floatuntitf.c: Likewise.
3277 * soft-fp/fmadf4.c: Likewise.
3278 * soft-fp/fmasf4.c: Likewise.
3279 * soft-fp/fmatf4.c: Likewise.
3280 * soft-fp/gedf2.c: Likewise.
3281 * soft-fp/gesf2.c: Likewise.
3282 * soft-fp/getf2.c: Likewise.
3283 * soft-fp/ledf2.c: Likewise.
3284 * soft-fp/lesf2.c: Likewise.
3285 * soft-fp/letf2.c: Likewise.
3286 * soft-fp/muldf3.c: Likewise.
3287 * soft-fp/mulsf3.c: Likewise.
3288 * soft-fp/multf3.c: Likewise.
3289 * soft-fp/negdf2.c: Likewise.
3290 * soft-fp/negsf2.c: Likewise.
3291 * soft-fp/negtf2.c: Likewise.
3292 * soft-fp/op-1.h: Likewise.
3293 * soft-fp/op-2.h: Likewise.
3294 * soft-fp/op-4.h: Likewise.
3295 * soft-fp/op-8.h: Likewise.
3296 * soft-fp/op-common.h: Likewise.
3297 * soft-fp/quad.h: Likewise.
3298 * soft-fp/single.h: Likewise.
3299 * soft-fp/soft-fp.h: Likewise.
3300 * soft-fp/sqrtdf2.c: Likewise.
3301 * soft-fp/sqrtsf2.c: Likewise.
3302 * soft-fp/sqrttf2.c: Likewise.
3303 * soft-fp/subdf3.c: Likewise.
3304 * soft-fp/subsf3.c: Likewise.
3305 * soft-fp/subtf3.c: Likewise.
3306 * soft-fp/truncdfsf2.c: Likewise.
3307 * soft-fp/trunctfdf2.c: Likewise.
3308 * soft-fp/trunctfsf2.c: Likewise.
3309 * soft-fp/trunctfxf2.c: Likewise.
3310 * soft-fp/unorddf2.c: Likewise.
3311 * soft-fp/unordsf2.c: Likewise.
3312 * soft-fp/unordtf2.c: Likewise.
3313
9ebb0332
JM
33142013-10-15 Joseph Myers <joseph@codesourcery.com>
3315
3316 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3317 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3318
4b1a6d8b
OB
33192013-10-15 Ondřej Bílka <neleai@seznam.cz>
3320
3321 * elf/dl-libc.c: Clear initfini list after freeing.
3322
1e145589
JM
33232013-10-14 Joseph Myers <joseph@codesourcery.com>
3324
3325 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3326 * soft-fp/addsf3.c: Likewise.
3327 * soft-fp/addtf3.c: Likewise.
3328 * soft-fp/divdf3.c: Likewise.
3329 * soft-fp/divsf3.c: Likewise.
3330 * soft-fp/divtf3.c: Likewise.
3331 * soft-fp/double.h: Likewise.
3332 * soft-fp/eqdf2.c: Likewise.
3333 * soft-fp/eqsf2.c: Likewise.
3334 * soft-fp/eqtf2.c: Likewise.
3335 * soft-fp/extenddftf2.c: Likewise.
3336 * soft-fp/extended.h: Likewise.
3337 * soft-fp/extendsfdf2.c: Likewise.
3338 * soft-fp/extendsftf2.c: Likewise.
3339 * soft-fp/extendxftf2.c: Likewise.
3340 * soft-fp/fixdfdi.c: Likewise.
3341 * soft-fp/fixdfsi.c: Likewise.
3342 * soft-fp/fixdfti.c: Likewise.
3343 * soft-fp/fixsfdi.c: Likewise.
3344 * soft-fp/fixsfsi.c: Likewise.
3345 * soft-fp/fixsfti.c: Likewise.
3346 * soft-fp/fixtfdi.c: Likewise.
3347 * soft-fp/fixtfsi.c: Likewise.
3348 * soft-fp/fixtfti.c: Likewise.
3349 * soft-fp/fixunsdfdi.c: Likewise.
3350 * soft-fp/fixunsdfsi.c: Likewise.
3351 * soft-fp/fixunsdfti.c: Likewise.
3352 * soft-fp/fixunssfdi.c: Likewise.
3353 * soft-fp/fixunssfsi.c: Likewise.
3354 * soft-fp/fixunssfti.c: Likewise.
3355 * soft-fp/fixunstfdi.c: Likewise.
3356 * soft-fp/fixunstfsi.c: Likewise.
3357 * soft-fp/fixunstfti.c: Likewise.
3358 * soft-fp/floatdidf.c: Likewise.
3359 * soft-fp/floatdisf.c: Likewise.
3360 * soft-fp/floatditf.c: Likewise.
3361 * soft-fp/floatsidf.c: Likewise.
3362 * soft-fp/floatsisf.c: Likewise.
3363 * soft-fp/floatsitf.c: Likewise.
3364 * soft-fp/floattidf.c: Likewise.
3365 * soft-fp/floattisf.c: Likewise.
3366 * soft-fp/floattitf.c: Likewise.
3367 * soft-fp/floatundidf.c: Likewise.
3368 * soft-fp/floatundisf.c: Likewise.
3369 * soft-fp/floatunsidf.c: Likewise.
3370 * soft-fp/floatunsisf.c: Likewise.
3371 * soft-fp/floatuntidf.c: Likewise.
3372 * soft-fp/floatuntisf.c: Likewise.
3373 * soft-fp/floatuntitf.c: Likewise.
3374 * soft-fp/fmadf4.c: Likewise.
3375 * soft-fp/fmasf4.c: Likewise.
3376 * soft-fp/fmatf4.c: Likewise.
3377 * soft-fp/gedf2.c: Likewise.
3378 * soft-fp/gesf2.c: Likewise.
3379 * soft-fp/getf2.c: Likewise.
3380 * soft-fp/ledf2.c: Likewise.
3381 * soft-fp/lesf2.c: Likewise.
3382 * soft-fp/letf2.c: Likewise.
3383 * soft-fp/muldf3.c: Likewise.
3384 * soft-fp/mulsf3.c: Likewise.
3385 * soft-fp/multf3.c: Likewise.
3386 * soft-fp/negdf2.c: Likewise.
3387 * soft-fp/negsf2.c: Likewise.
3388 * soft-fp/negtf2.c: Likewise.
3389 * soft-fp/op-1.h: Likewise.
3390 * soft-fp/op-2.h: Likewise.
3391 * soft-fp/op-4.h: Likewise.
3392 * soft-fp/op-8.h: Likewise.
3393 * soft-fp/op-common.h: Likewise.
3394 * soft-fp/quad.h: Likewise.
3395 * soft-fp/single.h: Likewise.
3396 * soft-fp/soft-fp.h: Likewise.
3397 * soft-fp/sqrtdf2.c: Likewise.
3398 * soft-fp/sqrtsf2.c: Likewise.
3399 * soft-fp/sqrttf2.c: Likewise.
3400 * soft-fp/subdf3.c: Likewise.
3401 * soft-fp/subsf3.c: Likewise.
3402 * soft-fp/subtf3.c: Likewise.
3403 * soft-fp/truncdfsf2.c: Likewise.
3404 * soft-fp/trunctfdf2.c: Likewise.
3405 * soft-fp/trunctfsf2.c: Likewise.
3406 * soft-fp/trunctfxf2.c: Likewise.
3407 * soft-fp/unorddf2.c: Likewise.
3408 * soft-fp/unordsf2.c: Likewise.
3409 * soft-fp/unordtf2.c: Likewise.
3410
17c48a60
OB
34112013-10-14 Ondřej Bílka <neleai@seznam.cz>
3412
3413 [BZ #15672]
3414 * misc/error.c (error_tail): Fix possible buffer overflow.
3415
cabba934
OB
34162013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3417
3418 [BZ #13028]
3419 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3420 address.
3421
94bf958a
PM
34222013-10-14 P. J. McDermott <pj@pehjota.net>
3423
3424 [BZ #832]
3425 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3426 testing pipefail option.
3427
71b4dea7
JM
34282013-10-12 Joseph Myers <joseph@codesourcery.com>
3429
3430 * soft-fp/double.h: Indent preprocessor directives inside #if.
3431 * soft-fp/extended.h: Likewise.
3432 * soft-fp/op-2.h: Likewise.
3433 * soft-fp/op-4.h: Likewise.
3434 * soft-fp/op-common.h: Likewise.
3435 * soft-fp/quad.h: Likewise.
3436 * soft-fp/single.h: Likewise.
3437 * soft-fp/soft-fp.h: Likewise.
3438
55602758
YC
34392013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3440
3441 * iconv/iconv_prog.c: Fix typos.
3442 * stdio-common/psiginfo-data.h: Likewise.
3443
9cd83302
RT
34442013-10-12 Reuben Thomas <rrt@sc3d.org>
3445
3446 [BZ #15764]
3447 * locale/setlocale.c: Fix typo.
3448
99fd9f47
JM
34492013-10-12 Joseph Myers <joseph@codesourcery.com>
3450
b7ea74f0
JM
3451 [BZ #16036]
3452 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3453 signaling NaN arguments.
3454 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3455 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3456
8a509447
JM
3457 [BZ #14910]
3458 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3459 unordered operands.
3460 * soft-fp/gesf2.c (__gesf2): Likewise.
3461 * soft-fp/getf2.c (__getf2): Likewise.
3462 * soft-fp/ledf2.c (__ledf2): Likewise.
3463 * soft-fp/lesf2.c (__lesf2): Likewise.
3464 * soft-fp/letf2.c (__letf2): Likewise.
3465
98998e9f
JM
3466 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3467 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3468 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3469 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3470 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3471 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3472 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3473 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3474 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3475 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3476 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3477 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3478 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3479 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3480 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3481 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3482 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3483 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3484 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3485 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3486 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3487 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3488 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3489 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3490 * soft-fp/floattidf.c (__floattidf): Likewise.
3491 * soft-fp/floattisf.c (__floattisf): Likewise.
3492 * soft-fp/floattitf.c (__floattitf): Likewise.
3493 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3494 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3495 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3496 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3497 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3498 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3499 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3500 * soft-fp/gesf2.c (__gesf2): Likewise.
3501 * soft-fp/getf2.c (__getf2): Likewise.
3502 * soft-fp/ledf2.c (__ledf2): Likewise.
3503 * soft-fp/lesf2.c (__lesf2): Likewise.
3504 * soft-fp/letf2.c (__letf2): Likewise.
3505
8edc4a11
JM
3506 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3507 Undefine and redefine.
3508 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3509 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3510 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3511 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3512 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3513 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3514 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3515 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3516 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3517 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3518 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3519 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3520 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3521 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3522 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3523
8399acaf
JM
3524 [BZ #16032]
3525 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3526 without decrementing exponent if mantissa >= that for the
3527 denominator, not >.
3528 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3529 denominator, not >. Decrement exponent in < case instead of
3530 incrementing in >= case.
3531 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3532 without decrementing exponent if mantissa >= that for the
3533 denominator, not >.
3534
99fd9f47
JM
3535 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3536 computing saturated result for unsigned overflow.
3537
10e1cf6b
SP
35382013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3539 Jeff Law <law@redhat.com>
3540
3541 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3542 (atan2Mp): Add systemtap probe marker.
3543 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3544 (__ieee754_log): Add systemtap probe marker.
3545 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3546 (atanMp): Add systemtap probe marker.
3547 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3548 (tanMp): Add systemtap probe marker.
3549 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3550 (__slowexp): Add systemtap probe marker.
3551 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3552 (__slowpow): Add systemtap probe marker.
3553 * manual/probes.texi: Document probes.
3554
3d110c7c
EB
35552013-10-11 Eric Biggers <ebiggers3@gmail.com>
3556
3557 [BZ #15362]
3558 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3559 written.
3560 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3561 written.
3562 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3563 written to buffer but not flushed.
3564 * libio/iofwrite_u.c: Likewise.
3565 * libio/iopadn.c: Return bytes returned even if EOF was
3566 encountered.
3567 * libio/iowpadn.c: Likewise.
3568 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3569 if _IO_padn does not write the whole buffer.
3570 [!COMPILE_WPRINTF] (PAD): Likewise.
3571
75b4202a
DM
35722013-10-10 David S. Miller <davem@davemloft.net>
3573
3574 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3575 directory block.
3576
6c6352e6
JM
35772013-10-10 Joseph Myers <joseph@codesourcery.com>
3578
33b853c3
JM
3579 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3580 instead of FSF address.
3581 * soft-fp/fixdfti.c: Likewise.
3582 * soft-fp/fixsfti.c: Likewise.
3583 * soft-fp/fixtfti.c: Likewise.
3584 * soft-fp/fixunsdfti.c: Likewise.
3585 * soft-fp/fixunssfti.c: Likewise.
3586 * soft-fp/fixunstfti.c: Likewise.
3587 * soft-fp/floattidf.c: Likewise.
3588 * soft-fp/floattisf.c: Likewise.
3589 * soft-fp/floattitf.c: Likewise.
3590 * soft-fp/floatuntidf.c: Likewise.
3591 * soft-fp/floatuntisf.c: Likewise.
3592 * soft-fp/floatuntitf.c: Likewise.
3593 * soft-fp/trunctfxf2.c: Likewise.
3594
6c6352e6
JM
3595 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3596 * soft-fp/fixdfti.c: Likewise.
3597 * soft-fp/fixsfti.c: Likewise.
3598 * soft-fp/fixtfti.c: Likewise.
3599 * soft-fp/fixunsdfti.c: Likewise.
3600 * soft-fp/fixunssfti.c: Likewise.
3601 * soft-fp/fixunstfti.c: Likewise.
3602 * soft-fp/floattidf.c: Likewise.
3603 * soft-fp/floattisf.c: Likewise.
3604 * soft-fp/floattitf.c: Likewise.
3605 * soft-fp/floatuntidf.c: Likewise.
3606 * soft-fp/floatuntisf.c: Likewise.
3607 * soft-fp/floatuntitf.c: Likewise.
3608 * soft-fp/trunctfxf2.c: Likewise.
3609
3bf78b71
DM
36102013-10-10 David S. Miller <davem@davemloft.net>
3611
3612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3613
6f10289e
JM
36142013-10-10 Joseph Myers <joseph@codsourcery.com>
3615
bd878fc0
JM
3616 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3617 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3618 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3619 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3620 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3621 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3622 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3623
6f10289e
JM
3624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3625 for NaNs before doing comparisons on argument.
3626 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3627 Likewise.
3628
321e2684
WN
36292013-10-10 Will Newton <will.newton@linaro.org>
3630
3631 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3632 passed to _int_memalign does not overflow.
3633
40fefba1
TR
36342013-10-10 Torvald Riegel <triegel@redhat.com>
3635
3636 * scripts/bench.pl: Add include-sources directive.
3637 * benchtests/README: Update documentation.
3638
2ae21ed2
JM
36392013-10-10 Joseph Myers <joseph@codesourcery.com>
3640
dcc2dd3f
JM
3641 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3642 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3643 instead of FP_INIT_ROUNDMODE.
3644 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3645 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3646
2ae21ed2
JM
3647 [BZ #16034]
3648 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3649 copy class of input value.
3650 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3651 not handle exceptions.
3652 * soft-fp/negsf2.c (__negsf2): Likewise.
3653 * soft-fp/negtf2.c (__negtf2): Likewise.
3654 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3655
cb8f9562
JM
36562013-10-09 Joseph Myers <joseph@codesourcery.com>
3657
3658 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3659 semicolon. From Linux kernel.
3660
5b60c59d
AB
36612013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3662
3663 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3664
b86835ca
YC
36652013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3666
3667 [BZ #156]
3668 * manual/socket.texi: Added statement about buffer
3669 for gethostbyname2_r.
3670
e7044ea7
OB
36712013-10-08 Ondřej Bílka <neleai@seznam.cz>
3672
3673 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3674 Use .p2align directive instead, throughout.
3675 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3676 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3677 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3678 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3680 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3681 * sysdeps/x86_64/strchr.S: Likewise.
3682 * sysdeps/x86_64/strrchr.S: Likewise.
3683
09544cbc
SP
36842013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3685
88576635
SP
3686 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3687
e7b2d1dd
SP
3688 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3689
09544cbc
SP
3690 * sysdeps/generic/math_private.h (__mpsin1): Remove
3691 declaration.
3692 (__mpcos1): Likewise.
3693 (__mpsin): New argument __range_reduce.
3694 (__mpcos): Likewise.
3695 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3696 (slow): Use __mpsin and __mpcos.
3697 (slow1): Likewise.
3698 (slow2): Likewise.
3699 (sloww): Likewise.
3700 (sloww1): Likewise.
3701 (sloww2): Likewise.
3702 (bsloww): Likewise.
3703 (bsloww1): Likewise.
3704 (bsloww2): Likewise.
3705 (cslow2): Likewise.
3706 (csloww): Likewise.
3707 (csloww1): Likewise.
3708 (csloww2): Likewise.
3709 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3710 range_reduce. Merge in __mpsin1.
3711 (__mpcos): Likewise.
3712 (__mpsin1): Remove.
3713 (__mpcos1): Likewise.
3714
7602d070
JM
37152013-10-07 Joseph Myers <joseph@codesourcery.com>
3716
3717 * locale/loadlocale.c (_nl_intern_locale_data): Use
3718 LOCFILE_ALIGNED_P.
3719 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3720 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3721 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3722 obstack data is appropriately aligned.
3723 (obstack_int32_grow_fast): Likewise.
3724 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3725 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3726 (add_locale_uint32_array): Likewise.
3727
a357259b
SP
37282013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3729
3730 * benchtests/Makefile: Remove ARGLIST and RET variables.
3731 ($(objpfx)bench-%.c): Pass only function name to the script.
3732 * benchtests/README: Update documentation.
3733 * benchtests/acos-inputs: Add new directives.
3734 * benchtests/acosh-inputs: Likewise.
3735 * benchtests/asin-inputs: Likewise.
3736 * benchtests/asinh-inputs: Likewise.
3737 * benchtests/atan-inputs: Likewise.
3738 * benchtests/atanh-inputs: Likewise.
3739 * benchtests/cos-inputs: Likewise.
3740 * benchtests/cosh-inputs: Likewise.
3741 * benchtests/exp-inputs: Likewise.
3742 * benchtests/log-inputs: Likewise.
3743 * benchtests/pow-inputs: Likewise.
3744 * benchtests/rint-inputs: Likewise.
3745 * benchtests/sin-inputs: Likewise.
3746 * benchtests/sinh-inputs: Likewise.
3747 * benchtests/tan-inputs: Likewise.
3748 * benchtests/tanh-inputs: Likewise.
3749 * scripts/bench.pl: Add support for new directives.
3750
9ec1b13d
AM
37512013-10-07 Alan Modra <amodra@gmail.com>
3752
3753 * README: Fix careless merge.
3754
8b7d57cd
AM
37552013-10-05 Alan Modra <amodra@gmail.com>
3756
3757 * NEWS: Mention powerpc64le support and bugs fixed.
3758 * README: Both big-endian and little-endian powerpc64 supported.
3759
7b7bab13
ST
37602013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3761
3762 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3763 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3764 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3765 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3766
d39baad1
RA
37672013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3768
3769 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3770 match prototype.
3771
cd78f7e7
JM
37722013-10-04 Joseph Myers <joseph@codesourcery.com>
3773
29d73d86
JM
3774 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3775 Move -mhard-float appending from
3776 ports/sysdeps/powerpc/powerpc32/Makefile.
3777 [$(with-fp) = yes] (ASFLAGS): Likewise.
3778 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3779 * sysdeps/powerpc/nofpu: Move directory from
3780 ports/sysdeps/powerpc/nofpu.
3781 * sysdeps/powerpc/soft-fp: Move directory from
3782 ports/sysdeps/powerpc/soft-fp.
3783 * sysdeps/powerpc/powerpc32/405: Move directory from
3784 ports/sysdeps/powerpc/powerpc32/405.
3785 * sysdeps/powerpc/powerpc32/440: Move directory from
3786 ports/sysdeps/powerpc/powerpc32/440.
3787 * sysdeps/powerpc/powerpc32/464: Move directory from
3788 ports/sysdeps/powerpc/powerpc32/464.
3789 * sysdeps/powerpc/powerpc32/476: Move directory from
3790 ports/sysdeps/powerpc/powerpc32/476.
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3800 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3801 * README: Update for powerpc-*-linux-gnu software floating point
3802 support in libc.
3803
e246b347
JM
3804 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3805 case to powerpc/powerpc32*.
3806 * sysdeps/unix/sysv/linux/configure: Regenerated.
3807
89c2003e
JM
3808 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3809 (_FPU_MASK_OM): Define as 0x04.
3810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3812 0x00c10080.
3813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3814 0x0000003c.
3815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3816
cd78f7e7
JM
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3818 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3819 getcontext_e500.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3821 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3822 setcontext_e500.
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3824 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3825 and setcontext_e500.
3826
c755294d
CL
38272013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3828
3829 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3830
e16d221c
SP
38312013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3832
3833 * manual/threads.texi (Default Thread Attributes): Fix typo.
3834
215c7d43
WN
38352013-10-04 Will Newton <will.newton@linaro.org>
3836
3837 * malloc/Makefile: Add tst-memalign.
3838 * malloc/tst-memalign.c: New file.
3839
27d0461b
WN
3840 * malloc/tst-posix_memalign.c: Add comments.
3841 (do_test): Add comments and call free on all potentially
3842 allocated pointers. Add space after cast.
3843
1bc92709
WN
3844 * malloc/tst-pvalloc.c: Add comments.
3845 (do_test): Add comments and call free on all potentially
3846 allocated pointers. Remove duplicate check for NULL pointer.
3847 Add space after cast.
3848
66a9be9d
WN
3849 * malloc/tst-valloc.c: Add comments.
3850 (do_test): Add comments and call free on all potentially
3851 allocated pointers. Remove duplicate check for NULL pointer.
3852 Add space after cast.
3853
4cb81307
AM
38542013-10-04 Alan Modra <amodra@gmail.com>
3855
3856 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3857 Use stdint types in rather than __attribute__((mode())).
3858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3859
f8e3e9f3
AM
38602013-10-04 Alan Modra <amodra@gmail.com>
3861
3862 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3863 Correct handling of unaligned relocs for little-endian.
3864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3865
8f9ebb08
AM
38662013-10-04 Alan Modra <amodra@gmail.com>
3867
3868 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3869 * configure: Regenerate.
3870 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3871 * shlib-versions: Likewise.
3872
0edf96c2
AM
38732013-10-04 Alan Modra <amodra@gmail.com>
3874
3875 * string/tester.c (test_memrchr): Increment reported test cycle.
3876
e0f7a380
AM
38772013-10-04 Alan Modra <amodra@gmail.com>
3878
3879 * string/test-memcpy.c (do_one_test): When reporting errors, print
3880 string address and don't overrun end of string.
3881
466b0393
AM
38822013-10-04 Alan Modra <amodra@gmail.com>
3883
3884 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3885 insrdi. Make better use of reg selection to speed exit slightly.
3886 Schedule entry path a little better. Remove useless "are we done"
3887 checks on entry to main loop. Handle wrapping around zero address.
3888 Correct main loop count. Handle single left-over word from main
3889 loop inline rather than by using loop_small. Remove extra word
3890 case in loop_small caused by wrong loop count. Add little-endian
3891 support.
3892 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3894 cache hint.
3895 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3896 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3897 support. Avoid rlwimi.
3898 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3899
3be87c77
AM
39002013-10-04 Alan Modra <amodra@gmail.com>
3901
3902 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3903 insrdi. Formatting.
3be87c77
AM
3904 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3905 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3906 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3909 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3910
759cfef3
AM
39112013-10-04 Alan Modra <amodra@gmail.com>
3912
3913 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3914 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3915 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3922 use of regs. Use power7 mtocrf. Tidy function tails.
3923
fe6e95d7
AM
39242013-10-04 Alan Modra <amodra@gmail.com>
3925
3926 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3927 Formatting. Consistently use rXXX register defines or rN defines.
3928 Use early exit labels that avoid restoring unused non-volatile regs.
3929 Make cr field use more consistent with rWORDn compares. Rename
3930 regs used as shift registers for unaligned loop, using rN defines
3931 for short lifetime/multiple use regs.
3932 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3933 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3934 addi 1,1,64 to pop stack frame. Simplify return value code.
3935 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3936
664318c3
AM
39372013-10-04 Alan Modra <amodra@gmail.com>
3938
3939 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3940 support. Correct typos, formatting. Optimize tail. Use insrdi
3941 rather than rlwimi.
3942 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3944 little-endian support. Correct typos.
3945 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3946 rather than rlwimi.
3947 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3948 in loop and entry code to keep "and." results.
3949 (strchr): Add little-endian support. Comment. Move cntlzd
3950 earlier in tail.
3951 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3952
43b84013
AM
39532013-10-04 Alan Modra <amodra@gmail.com>
3954
3955 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3956 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3957 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3958 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3959
8a7413f9
AM
39602013-10-04 Alan Modra <amodra@gmail.com>
3961
3962 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3963 (rTMP): Define as r11.
3964 (strcmp): Add little-endian support. Optimise tail.
3965 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3966 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3967 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3968 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3969 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3971 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3972
33ee81de
AM
39732013-10-04 Alan Modra <amodra@gmail.com>
3974
3975 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3976 little-endian support. Remove unnecessary "are we done" tests.
3977 Handle "s" wrapping around zero and extremely large "size".
3978 Correct main loop count. Handle single left-over word from main
3979 loop inline rather than by using small_loop. Correct comments.
3980 Delete "zero" tail, use "end_max" instead.
3981 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3982
db9b4570
AM
39832013-10-04 Alan Modra <amodra@gmail.com>
3984
3985 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3986 support. Don't branch over align.
3987 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3989 support. Rearrange tmp reg use to suit. Comment.
3990 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3991
f7c399cf
AM
39922013-10-04 Alan Modra <amodra@gmail.com>
3993
3994 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3995
0b2c2ace
AM
39962013-10-04 Alan Modra <amodra@gmail.com>
3997
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3999 conditional form of branch and link when obtaining pc.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4001
02f04a6c
AM
40022013-10-04 Alan Modra <amodra@gmail.com>
4003
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4005 HIWORD/LOWORD.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4008
9b874b2f
AM
40092013-10-04 Alan Modra <amodra@gmail.com>
4010
4011 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4012 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4013 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4014 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4015 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4016 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4017 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4018 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4019 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4020 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4021
be1e5d31
AB
40222013-10-04 Anton Blanchard <anton@au1.ibm.com>
4023 Alistair Popple <alistair@ozlabs.au.ibm.com>
4024 Alan Modra <amodra@gmail.com>
4025
4026 [BZ #15723]
4027 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4028 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4029 _dl_hwcap access for little-endian.
4030 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4031 destroy vmx regs when saving unaligned.
4032 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4033 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4034 destroy vmx regs when saving unaligned.
4035
fef13a78
AM
40362013-10-04 Alan Modra <amodra@gmail.com>
4037
4038 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4039 Don't use a union to pack hi/low value.
4040
76a66d51
AB
40412013-10-04 Anton Blanchard <anton@au1.ibm.com>
4042
4043 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4044 for little-endian.
4045 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4047 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4048 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4049 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4050
6a31fe7f
AM
40512013-10-04 Alan Modra <amodra@gmail.com>
4052
4053 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4054 constants to usual value for .cst8 section, and remove redundant
4055 high address load.
4056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4057 constant for 0x1p52. Load little-endian words of double from
4058 correct stack offsets.
4059
7b88401f
AM
40602013-10-04 Alan Modra <amodra@gmail.com>
4061
4062 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4063 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4064 words of double from correct stack offsets.
4065 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4066 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4067 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4068 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4069 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4070 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4072 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4073 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4075 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4076 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4077 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4078 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4079 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4080 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4081 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4082
9c008155
AM
40832013-10-04 Alan Modra <amodra@gmail.com>
4084
4085 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4086 64-bit int/double union.
4087 (_FPU_SETCW): Likewise.
4088 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4089 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4090
da13146d
AM
40912013-10-04 Alan Modra <amodra@gmail.com>
4092
4093 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4094 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4095
603e8410
AM
40962013-10-04 Alan Modra <amodra@gmail.com>
4097
4098 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4099 use vector int constants.
4100 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4101
4a28b3ca
AB
41022013-10-04 Anton Blanchard <anton@au1.ibm.com>
4103
4104 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4105 array with long long.
4106 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4107 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4108 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4109 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4110 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4111 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4112 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4113 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4114 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4115 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4116 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4117 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4118 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4119
2ca85d2b
AB
41202013-10-04 Anton Blanchard <anton@au1.ibm.com>
4121
4122 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4123 (__signbit): Likewise. Correct for little-endian.
4124 (__signbitl): Call __signbit.
4125 (lrint): Correct for little-endian.
4126 (lrintf): Call lrint.
4127
62a728ae
AM
41282013-10-04 Alan Modra <amodra@gmail.com>
4129
4130 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4131 union 32-bit int array member with 64-bit int array.
4132 (t515, tm256): Double rather than long double.
4133 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4134
32c301df
AM
41352013-10-04 Alan Modra <amodra@gmail.com>
4136
4137 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4138 Delete.
4139 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4140 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4141 version of math_ldbl.h.
4142
650ef4bd
AM
41432013-10-04 Alan Modra <amodra@gmail.com>
4144
4145 [BZ #15734], [BZ #15735]
4146 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4147 all uses of ieee875 long double macros and unions. Simplify test
4148 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4149 ldbl_extract_mantissa value for ix,iy exponents. Properly
4150 normalize after ldbl_extract_mantissa, and don't add hidden bit
4151 already handled. Don't treat low word of ieee854 mantissa like
4152 low word of IBM long double and mask off bit when testing for
4153 zero.
4154 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4155 all uses of ieee875 long double macros and unions. Simplify tests
4156 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4157 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4158 two1022, instead use their values. Recognise that tests for large
4159 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4161 Rewrite all uses of ieee875 long double macros and unions. Simplify
4162 test for 0.0L and nan. Correct negation.
4163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4164 ieee875 long double macros and unions. Correct output for large
4165 magnitude x. Correct absolute value calculation.
4166 (__erfcl): Likewise.
4167 * math/libm-test.inc: Add tests for errors discovered in IBM long
4168 double versions of fmodl, remainderl, erfl and erfcl.
4169
765714ca
AM
41702013-10-04 Alan Modra <amodra@gmail.com>
4171
4172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4173 all uses of ieee854 long double macros and unions. Simplify tests
4174 for long doubles that are fully specified by the high double.
4175 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4176 Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4178 Remove dead code too.
4179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4180 (__ieee754_ynl): Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4184 Remove dead code too.
4185 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4187 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4188 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4189 Simplify.
4190 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4191 Simplify.
4192 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4195 Comment on variable precision.
4196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4198 Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4202 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4203 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4204
4ebd120c
AM
42052013-10-04 Alan Modra <amodra@gmail.com>
4206
4207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4208 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4209 all uses of ieee854 long double macros and unions.
4210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4212 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4213 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4214 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4215 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4216 Likewise.
4217 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4218 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4219 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4220 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4221 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4222 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4223 Simplify sign and nan test too.
4224 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4225 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4226 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4228 Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4230 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4231 Likewise.
4232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4233 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4237 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4238
1b6adf88
AM
42392013-10-04 Alan Modra <amodra@gmail.com>
4240
4241 * stdio-common/printf_size.c (__printf_size): Don't use
4242 union ieee854_long_double in fpnum union.
4243 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4244 signbit macro to retrieve sign from long double.
4245 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4246 retrieve sign from long double.
4247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4248 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4249 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4250 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4251 * math/test-misc.c (main): Don't use union ieee854_long_double.
4252
4cf69995
AM
42532013-10-04 Alan Modra <amodra@gmail.com>
4254
4255 [BZ #15680]
4256 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4257 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4258 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4259 calculation. Remove unnecessary test for denormal exponent.
4260 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4261 Correct handling of denormals. Avoid undefined shift behaviour.
4262 Correct normalisation of low mantissa when low double is denormal.
4263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4264 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4265 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4266 Correct normalisation of low mantissa. Test for overflow of high
4267 mantissa and normalise.
4268 (ldbl_nearbyint): Use more readable constant for two52.
4269 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4270 (__mpn_construct_long_double): Fix test for overflow of high
4271 mantissa and correct normalisation. Avoid undefined shift.
4272
9605ca6c
AM
42732013-10-04 Alan Modra <amodra@gmail.com>
4274
4275 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4276 (union ibm_extended_long_double): Define as an array of ieee754_double.
4277 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4279 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4280 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4288
975569d0
JM
42892013-10-03 Joseph Myers <joseph@codesourcery.com>
4290
d3d23756
JM
4291 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4292 page size instead of calling getpagesize.
4293
975569d0
JM
4294 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4295 (LOCFILE_ALIGN_MASK): Likewise.
4296 (LOCFILE_ALIGN_UP): Likewise.
4297 (LOCFILE_ALIGNED_P): Likewise.
4298 * locale/programs/ld-collate.c (collate_output): Use the new
4299 macros instead of __alignof__ (int32_t).
4300 * locale/weight.h (findidx): Likewise.
4301
b1fe1f2b
OB
43022013-10-03 Ondřej Bílka <neleai@seznam.cz>
4303
4304 [BZ #431]
4305 * manual/string.texi: Fix strncat and wcsncat.
4306
5f855e35
BM
43072013-10-03 Brooks Moses <bmoses@google.com>
4308
4309 [BZ #15915]
4310 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4311 * Makerules: ...here, and adjust associated comments.
4312
3cef6009
WN
43132013-10-02 Will Newton <will.newton@linaro.org>
4314
4315 * malloc/Makefile: Add tst-pvalloc.
4316 * malloc/tst-pvalloc.c: New file.
4317
7815420b
WN
43182013-10-02 Will Newton <will.newton@linaro.org>
4319
4320 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4321 improve test coverage.
4322
4868b204
WN
43232013-10-02 Will Newton <will.newton@linaro.org>
4324
4325 * malloc/Makefile: Add tst-posix_memalign.
4326 * malloc/tst-posix_memalign.c: New file.
4327
29c793b3
EB
43282013-10-01 Eric Blake <eblake@redhat.com>
4329
4330 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4331 Use __THROWNL rather than __THROW on static functions.
4332
fd967522
PM
43332013-09-30 Petr Machata <pmachata@redhat.com>
4334
4335 * elf/elf.h (R_AARCH64_ABS16): New macro.
4336 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4337 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4338 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4339 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4340 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4341 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4342 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4343 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4344 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4345 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4346 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4347 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4348 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4349 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4350 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4351 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4352 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4353 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4354 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4355 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4356 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4357 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4358 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4359 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4360 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4361 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4362 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4363 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4364 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4365 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4366 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4367 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4368 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4369 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4370 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4371 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4372 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4373 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4374 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4375 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4376 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4377 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4378 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4379 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4380 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4381 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4382 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4383 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4384 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4385 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4386 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4387 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4388 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4389 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4390 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4391 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4392 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4393 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4394 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4395 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4396 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4397 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4398 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4399 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4400 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4401 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4402 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4403 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4404 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4405 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4406 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4407 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4408 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4409 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4410 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4411 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4412 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4413 (R_AARCH64_TLSDESC_LDR): Likewise.
4414 (R_AARCH64_TLSDESC_ADD): Likewise.
4415 (R_AARCH64_TLSDESC_CALL): Likewise.
4416
b2179107
AS
44172013-09-30 Andreas Schwab <schwab@suse.de>
4418
4419 [BZ #15048]
4420 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4421 the nss database lookup.
4422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4424
47f28d0a
MF
44252013-09-28 Mike Frysinger <vapier@gentoo.org>
4426
4427 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4428
44292013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4430
4431 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4432 ${Bash-specific parameter/pattern/string} parameter expansion.
4433 * sysdeps/unix/make-syscalls.sh: Likewise.
4434
f4518a17
KK
44352013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4436
4437 * sysdeps/sh/stackguard-macros.h: New file.
4438
dc1a95c7
OB
44392013-09-26 Ondřej Bílka <neleai@seznam.cz>
4440
4441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4443 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4444 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4445 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4446 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4447
5ebbff8f
AZ
44482013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4449
4450 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4451 Fix thread ID register.
4452
4fd2cf9f
JM
44532013-09-25 Joseph Myers <joseph@codesourcery.com>
4454
4455 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4456 [POSIX || UNIX98]: Require rather than permitting all symbols from
4457 <time.h>.
4458 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4459 element of struct sched_param.
4460 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4461 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4462 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4463 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4464 constant.
4465
12c22bc4
OL
44662013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4467
4468 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4469 argument calculation.
4470
a03d8ea7
JM
44712013-09-24 Joseph Myers <joseph@codesourcery.com>
4472
4473 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4474 Expect macro.
4475 [POSIX] (pthread_attr_t): Do not require type.
4476 [POSIX] (pthread_cond_t): Likewise.
4477 [POSIX] (pthread_condattr_t): Likewise.
4478 [POSIX] (pthread_key_t): Likewise.
4479 [POSIX] (pthread_mutex_t): Likewise.
4480 [POSIX] (pthread_mutexattr_t): Likewise.
4481 [POSIX] (pthread_once_t): Likewise.
4482 [POSIX] (pthread_t): Likewise.
4483 [POSIX-based standards] (pthread_atfork): Expect function.
4484
6055173a
JM
44852013-09-24 Joseph Myers <joseph@codesourcery.com>
4486 Richard Sandiford <richard@codesourcery.com>
4487
4488 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4489 (swap_endianness_p): New extern variable.
4490 (set_big_endian): New inline function.
4491 (maybe_swap_uint32): Likewise.
4492 (maybe_swap_uint32_array): Likewise.
4493 (maybe_swap_uint32_obstack): Likewise.
4494 * locale/programs/locfile.c: Include <stdbool.h>.
4495 (swap_endianness_p): New variable.
4496 (add_locale_uint32): Call maybe_swap_uint32.
4497 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4498 (write_locale_data): Call maybe_swap_uint32_array.
4499 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4500 maybe_swap_uint32.
4501 (obstack_int32_grow_fast): Likewise.
4502 (output_weightwc): Call maybe_swap_uint32_obstack.
4503 (collate_output): Likewise.
4504 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4505 (OPT_LITTLE_ENDIAN): Likewise.
4506 (options): Add --little-endian and --big-endian options.
4507 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4508 * locale/programs/locarchive.c: Include "locfile.h".
4509 (GET): New macro.
4510 (SET): Likewise.
4511 (INC): Likewise.
4512 (create_archive): Use the new macros to access fields of
4513 structures directly mapped from or written to locale archives.
4514 (oldlocrecentcmp): Likewise.
4515 (enlarge_archive): Likewise.
4516 (insert_name): Likewise.
4517 (add_alias): Likewise.
4518 (add_locale): Likewise.
4519 (delete_locales_from_archive): Likewise.
4520 (show_archive_content): Likewise.
4521 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4522 locale data.
4523
39bf0bb4
RM
45242013-09-24 Roland McGrath <roland@hack.frob.com>
4525
4526 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4527 http://www.gnu.org/doc/freemanuals.texi.
4528 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4529
f02eed10
WN
45302013-09-24 Will Newton <will.newton@linaro.org>
4531
4532 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4533 macro.
4534
a3a6c312
JM
45352013-09-23 Joseph Myers <joseph@codesourcery.com>
4536
4537 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4538 unsigned char.
4539
107375ac
MR
45402013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4541
4542 * manual/threads.texi (POSIX Threads): Fix a typo.
4543
141f3a77
SP
45442013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4545
303e567a
SP
4546 [BZ #14547]
4547 * string/tst-strcoll-overflow.c: New test case.
4548 * string/Makefile (xtests): Add tst-strcoll-overflow.
4549 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4550 cache if string sizes may cause integer overflow.
4551
141f3a77
SP
4552 [BZ #14547]
4553 * string/strcoll_l.c (coll_seq): New members rule, idx,
4554 save_idx and back_us.
4555 (get_next_seq_nocache): New function.
4556 (do_compare_nocache): New function.
4557 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4558 when malloc fails.
4559
c61b4d41
CD
45602013-09-23 Carlos O'Donell <carlos@redhat.com>
4561
0b1f8e35
CD
4562 [BZ #15754]
4563 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4564 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4565 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4566
c61b4d41
CD
4567 [BZ #15754]
4568 * elf/Makefile (tests): Add tst-ptrguard1.
4569 (tests-static): Add tst-ptrguard1-static.
4570 (tst-ptrguard1-ARGS): Define.
4571 (tst-ptrguard1-static-ARGS): Define.
4572 * elf/tst-ptrguard1.c: New file.
4573 * elf/tst-ptrguard1-static.c: New file.
4574 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4575 * sysdeps/i386/stackguard-macros.h: Likewise.
4576 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4577 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4578 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4579 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4580 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4581 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4582
45832013-09-23 Hector Marco <hecmargi@upv.es>
4584 Ismael Ripoll <iripoll@disca.upv.es>
4585 Carlos O'Donell <carlos@redhat.com>
4586
4587 [BZ #15754]
4588 * sysdeps/generic/stackguard-macros.h: Define
4589 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4590 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4591 Define __pointer_chk_guard_local.
4592 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4593 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4594
f5f4e7b4
VV
45952013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4596
4597 [BZ #15859]
4598 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4599
5bb43a43
AS
46002013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4601
4602 * include/string.h (__ffs): Declare as hidden.
4603 * string/ffs.c (__ffs): Define as hidden.
4604 * sysdeps/i386/ffs.c (__ffs): Likewise.
4605 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4606 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4607 * sysdeps/s390/ffs.c (__ffs): Likewise.
4608 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4609
3ea5be54
AO
46102013-09-20 Alexandre Oliva <aoliva@redhat.com>
4611
ffb89e53
AO
4612 * NEWS: Mention malloc probes.
4613
322dea08
AO
4614 * malloc/arena.c (new_heap): New memory_heap_new probe.
4615 (grow_heap): New memory_heap_more probe.
4616 (shrink_heap): New memory_heap_less probe.
4617 (heap_trim): New memory_heap_free probe.
4618 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4619 (systrim): New memory_sbrk_less probe.
4620 * manual/probes.texi: Document them.
4621
655673f3
AO
4622 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4623 * manual/probes.texi: Document it.
4624
35fed6f1
AO
4625 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4626 (__libc_realloc): Add memory_realloc_retry probe.
4627 (__libc_memalign): Add memory_memalign_retry probe.
4628 (__libc_valloc): Add memory_valloc_retry probe.
4629 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4630 (__libc_calloc): Add memory_calloc_retry probe.
4631 * manual/probes.texi: Document them.
4632
6999d38c
AO
4633 * malloc/arena.c (get_free_list): Add probe
4634 memory_arena_reuse_free_list.
4635 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4636 and memory_arena_reuse.
4637 (arena_get2) [!PER_THREAD]: Likewise.
4638 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4639 memory_arena_reuse_realloc.
4640 * manual/probes.texi: Document them.
4641
0653427f
AO
4642 * malloc/malloc.c (__libc_free): Add
4643 memory_mallopt_free_dyn_thresholds probe.
4644 (__libc_mallopt): Add multiple memory_mallopt probes.
4645 * manual/probes.texi: Document them.
4646
3ea5be54
AO
4647 * malloc/malloc.c: Include stap-probe.h.
4648 (__libc_mallopt): Add memory_mallopt probe.
4649 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4650 * manual/probes.texi: New.
4651 * manual/Makefile (chapters): Add probes.
4652 * manual/threads.texi: Set next node.
4653
e35696c3 46542013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 4655
e35696c3
CL
4656 [BZ #15963, #13985]
4657 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4658 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4659 Add `Chinese' to `nan' entry name.
4660
4aafb73c
SP
46612013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4662
4663 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4664 (POLYNOMIAL): Likewise.
4665 (TAYLOR_SINCOS): Likewise.
4666 (TAYLOR_SLOW): Likewise.
4667 (__sin): Use TAYLOR_SINCOS.
4668 (__cos): Likewise.
4669 (slow): Use TAYLOR_SLOW.
4670 (sloww): Likewise.
4671 (bsloww): Likewise.
4672 (csloww): Likewise.
4673
d84f25c7
LD
46742013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4675
4676 * stdlib/strtod_l.c: Fix buffer overrun.
4677
5eea0404
SP
46782013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4679
7849ff93
SP
4680 * benchtests/Makefile (bench): Add sincos.
4681 * benchtests/bench-sincos.c: New file.
4682
cfa3c886
SP
4683 * math/libm-test.inc (cos_test_data): New test inputs.
4684 (sin_test_data): Likewise.
4685
b348e1e3
SP
4686 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4687 macro.
4688 (__sin): Use it.
4689 (__cos): Likewise.
4690 (slow1): Likewise.
4691 (slow2): Likewise.
4692 (sloww1): Likewise.
4693 (sloww2): Likewise.
4694 (bsloww1): Likewise.
4695 (bsloww2): Likewise.
4696 (cslow2): Likewise.
4697 (csloww1): Likewise.
4698 (csloww2): Likewise.
4699
6cce25f8
SP
4700 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4701 function.
4702 (__sin): Use it.
4703 (__cos): Likewise.
4704
5eea0404
SP
4705 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4706 gotos.
4707 (__cos): Likewise.
4708
9c21573c
MR
47092013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4710
4711 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4712 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4713 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4714 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4715 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4716 * elf/cache.c (print_entry): Handle the new cache flags.
4717
24d22e65
JM
47182013-09-18 Joseph Myers <joseph@codesourcery.com>
4719 Aldy Hernandez <aldyh@redhat.com>
4720
4721 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4722 Change condition to [_SOFT_FLOAT].
4723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4735 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4738 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4739 declaration.
4740
d13ef066
JM
47412013-09-18 Joseph Myers <joseph@codesourcery.com>
4742
2e071de0
JM
4743 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4744 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4745 (__longjmp): Use LOAD_GP to load saved GPRs.
4746 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4747 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4748 (__sigsetjmp): Use SAVE_GP to save GPRs.
4749
d13ef066
JM
4750 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4751 Do not append -msoft-float.
4752 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4753
97a0650b
SP
47542013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4755
4756 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4757
11ca09e9
JM
47582013-09-17 Joseph Myers <joseph@codesourcery.com>
4759
4760 [BZ #15966]
4761 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4762 (_FPU_GETCW): Use initial "__" on variable and field names but not
4763 on macro parameter name.
4764 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4765 parentheses around reference to macro parameter.
4766
08ffcf34
RS
47672013-09-13 Richard Sandiford <richard@codesourcery.com>
4768
4769 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4770 prototype.
4771 (ctype_startup): Use uint32_t in cast and sizeof for
4772 ctype->charnames.
4773
ae7080d3
JL
47742013-09-11 Jia Liu <proljc@gmail.com>
4775
4776 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4777 __daddr_t_defined.
4778 [__FreeBSD__]: Likewise.
4779
5905e7b3
OB
47802013-09-11 Ondřej Bílka <neleai@seznam.cz>
4781
4782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4783 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4784 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4785 (strchr): Remove __strchr_sse42 ifunc selection.
4786 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4787 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4788
b987c776
WN
47892013-09-11 Will Newton <will.newton@linaro.org>
4790
4791 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4792 parameter to RES. Remove hardcoded 1000 value.
4793 * benchtests/bench-skeleton.c (main): Pass RES parameter
4794 to TIMING_INIT and multiply result by 1000.
4795
ddf985af
AZ
47962013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4797
4798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4799
ffdd3181
AS
48002013-09-11 Andreas Schwab <schwab@suse.de>
4801
4802 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4803 if not defined.
4804 (O_TMPFILE) [__USE_GNU]: Define.
4805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4806 Define.
4807
b73ed247
WN
48082013-09-11 Will Newton <will.newton@linaro.org>
4809
4810 [BZ #15857]
4811 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4812 does not overflow.
4813
55e17aad
WN
48142013-09-11 Will Newton <will.newton@linaro.org>
4815
4816 [BZ #15856]
4817 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4818 does not overflow.
4819
1159a193
WN
48202013-09-11 Will Newton <will.newton@linaro.org>
4821
4822 [BZ #15855]
4823 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4824 does not overflow.
4825
5905e7b3 48262013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4827
4828 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4829 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4830 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4831 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4833
cdfc721b
AM
48342013-09-10 Allan McRae <allan@archlinux.org>
4835
aa04af00
AM
4836 [BZ #15748]
4837 * manual/arith.texi (Parsing of Floats): Clarify
4838 cross-reference.
4839
cdfc721b
AM
4840 [BZ #15849]
4841 * manual/install.texi (Running make install): Mention
4842 --enable-pt-chown.
4843 * INSTALL: Regenerated.
4844
95e7cf29
MR
48452013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4846
4847 * csu/init-first.c (_init): Remove the !SHARED condition around
4848 FPU control word initialization.
4849 * elf/dl-support.c (_dl_fpu_control): New variable.
4850 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4851 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4852 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4853 * math/test-fpucw-static.c: New file.
4854 * math/test-fpucw-ieee.c: New file.
4855 * math/test-fpucw-ieee-static.c: New file.
4856 * math/Makefile (tests): Add `test-fpucw-ieee' and
4857 `$(tests-static)'.
4858 (tests-static): New variable.
4859 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4860 dependency to...
4861 [($(build-shared),yes)]
4862 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4863 ... this.
4864 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4865 New dependency.
4866
83e43bf0
AM
48672013-09-09 Allan McRae <allan@archlinux.org>
4868
a9f5ce09
AM
4869 [BZ #15939]
4870 * manual/string.texi (Collation Functions): Fix typo in
4871 strcoll example.
4872 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4873
34829bc2
AM
4874 [BZ #15893]
4875 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4876
3932737d
AM
4877 [BZ #15892]
4878 * libio/memstream.c (open_memstream): Fix memory leak.
4879 * libio/wmemstream.c (open_wmemstream): Likewise.
4880
83e43bf0
AM
4881 [BZ #15895]
4882 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4883
0c66b8e9
WN
48842013-09-09 Will Newton <will.newton@linaro.org>
4885
4886 * malloc/Makefile: Add tst-realloc to tests.
4887 * malloc/tst-realloc.c: New file.
4888
f6b00fd1
AM
48892013-09-09 Allan McRae <allan@archlinux.org>
4890
4891 [BZ #15844]
4892 * COPYING: Update from GNU website to fix FSF address.
4893 * COPYING.LIB: Likewise.
4894
eec55e16
DM
48952013-09-06 David S. Miller <davem@davemloft.net>
4896
4897 * po/zh_TW.po: Update Chinese (traditional) translation from
4898 translation project.
4899
1ecbb381
RS
49002013-09-06 Richard Sandiford <richard@codesourcery.com>
4901 Joseph Myers <joseph@codesourcery.com>
4902
4903 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4904 "localeinfo.h".
4905 (obstack_chunk_alloc): New macro.
4906 (obstack_chunk_free): Likewise.
4907 (record_offset): New function.
4908 (init_locale_data): Likewise.
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): Take locale_file structure rather than an
4923 iovec.
4924 * locale/programs/locfile.h: Include "obstack.h".
4925 (struct locale_file): Change to store locale file contents instead
4926 of header.
4927 (init_locale_data): New prototype.
4928 (align_locale_data): Likewise.
4929 (add_locale_empty): Likewise.
4930 (add_locale_raw_data): Likewise.
4931 (add_locale_raw_obstack): Likewise.
4932 (add_locale_string): Likewise.
4933 (add_locale_wstring): Likewise.
4934 (add_locale_uint32): Likewise.
4935 (add_locale_uint32_array): Likewise.
4936 (add_locale_char): Likewise.
4937 (start_locale_structure): Likewise.
4938 (end_locale_structure): Likewise.
4939 (start_locale_prelude): Likewise.
4940 (end_locale_prelude): Likewise.
4941 (write_locale_data): Update prototype.
4942 * locale/programs/3level.h (struct TABLE): Remove result field.
4943 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4944 Use new locale_file interface.
4945 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4946 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4947 * locale/programs/ld-address.c (address_output): Use new
4948 locale_file interface.
4949 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4950 NO_ADD_LOCALE.
4951 (collate_finish): Don't call collseq_table_finalize.
4952 (collate_output): Use new locale_file interface.
4953 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4954 in file.
4955 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4956 (TABLE): Move defines earlier in file.
4957 (ELEMENT): Likewise.
4958 (DEFAULT): Likewise.
4959 (wctrans_table_add): Move macro and inline function earlier in
4960 file.
4961 (struct wctype_table): Move type earlier in file.
4962 (add_locale_wctype_table): New static prototype.
4963 (struct locale_ctype_t): Use logical types instead of struct iovec
4964 pointers for members.
4965 (ctype_output): Use new locale_file interface.
4966 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4967 new locale_file interface.
4968 (allocate_arrays): Update for use of new locale_file interface.
4969 * locale/programs/ld-identification.c (identification_output): Use
4970 new locale_file interface.
4971 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4972 * locale/programs/ld-messages.c (messages_output): Likewise.
4973 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4974 * locale/programs/ld-name.c (name_output): Likewise.
4975 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4976 * locale/programs/ld-paper.c (paper_output): Likewise.
4977 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4978 * locale/programs/ld-time.c (time_output): Likewise.
4979
e029e2e5
AZ
49802013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4981
4982 * benchtests/Makefile: Add memrchr benchmark.
4983 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4984 benchmark as memrchr.
4985 * benchtests/bench-memrchr-ifunc.c: New file.
4986 * benchtests/bench-memrchr.c: New file.
4987
bbf6e8e4
WN
49882013-09-06 Will Newton <will.newton@linaro.org>
4989
4990 * benchtests/Makefile (string-bench): Add memcpy.
4991
6c82a2f8
CD
49922013-09-05 Carlos O'Donell <carlos@redhat.com>
4993 Cong Wang <amwang@redhat.com>
4994
4995 * sysdeps/unix/sysv/linux/bits/in.h
4996 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4997 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4998 before __USE_KERNEL_IPV6_DEFS uses.
4999 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5000 IPPROTO_BEETPH.
5001 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5002 sockaddr_in6, or ipv6_mreq.
5003
5430fc65
AZ
50042013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5005
5006 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5007 memory access for final bytes in some large inputs.
5008 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5009
4660856c
AZ
50102013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5011
5012 * string/test-memrchr.c: New file.
5013 * string/test-memrchr-ifunc.c: New file.
5014 * string/Makefile: Add new memrchr testcase.
5015
bb8ea713
MF
50162013-09-05 Mike Frysinger <vapier@gentoo.org>
5017
5018 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5019 fanotify_init returns EPERM.
5020
b92a20b5
JM
50212013-09-04 Joseph Myers <joseph@codesourcery.com>
5022
5023 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5024 errors.
5025 (top level): Treat second token from macro or constant entries for
5026 allowed headers as allowed.
5027 * include/complex.h: Condition internal declarations on
5028 [!_ISOMAC].
5029 * include/fenv.h: Condition include of <stdbool.h> and internal
5030 declarations on [!_ISOMAC].
7447ccd9
CL
5031
50322013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5033
3e181dda 5034 [BZ #15923]
7447ccd9
CL
5035 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5036
3f2e46a4
JM
50372013-09-04 Joseph Myers <joseph@codesourcery.com>
5038
5039 * configure.in (--enable-versioning): Remove configure option.
5040 (libc_cv_asm_symver_directive): Remove configure test.
5041 (libc_cv_ld_version_script_option): Likewise.
5042 (VERSIONING): Remove variable and AC_SUBST.
5043 (DO_VERSIONING): Remove AC_DEFINE.
5044 * configure: Regenerated.
5045 * config.h.in (DO_VERSIONING): Remove macro.
5046 * Makerules [$(versioning) = yes]: Change conditionals to
5047 [$(build-shared) = yes].
5048 * config.make.in (versioning): Remove variable.
5049 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5050 [$(build-shared) = yes].
5051 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5052 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5053 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5054 [$(build-shared) = yes].
5055 * extra-lib.mk [$(versioning) = yes]: Likewise.
5056 * hurd/Makefile [$(versioning) = yes]: Likewise.
5057 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5058 [SHARED].
5059 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5060 [SHARED].
5061 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5062 [SHARED && !NO_HIDDEN].
5063 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5064 [SHARED].
5065 [SHARED && DO_VERSIONING]: Likewise..
5066 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5067 [$(build-shared) = yes].
5068 * manual/install.texi (--disable-versioning): Remove
5069 documentation.
5070 * INSTALL: Regenerated.
5071 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5072 to [SHARED].
5073 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5074 [$(build-shared) = yes].
5075 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5076 * sysdeps/i386/i686/multiarch/strstr-c.c
5077 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5078 [SHARED && !NO_HIDDEN].
5079 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5080 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5081 * sysdeps/powerpc/powerpc32/dl-machine.c
5082 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5083 * sysdeps/powerpc/powerpc32/sysdep.h
5084 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5085 to [SHARED && PIC && !NO_HIDDEN].
5086 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5087 conditional to [SHARED].
5088
44558701
WN
50892013-09-04 Will Newton <will.newton@linaro.org>
5090
5091 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5092 * benchtests/bench-string.h: Include bench-timing.h instead
5093 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5094 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5095 call to HP_TIMING_DIFF_INIT.
5096 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5097 instead of hp-timing.h macros.
5098 * benchtests/bench-memchr.c: Likewise.
5099 * benchtests/bench-memcmp.c: Likewise.
5100 * benchtests/bench-memcpy.c: Likewise.
5101 * benchtests/bench-memmem.c: Likewise.
5102 * benchtests/bench-memmove.c: Likewise.
5103 * benchtests/bench-memset.c: Likewise.
5104 * benchtests/bench-rawmemchr.c: Likewise.
5105 * benchtests/bench-strcasecmp.c: Likewise.
5106 * benchtests/bench-strcasestr.c: Likewise.
5107 * benchtests/bench-strcat.c: Likewise.
5108 * benchtests/bench-strchr.c: Likewise.
5109 * benchtests/bench-strcmp.c: Likewise.
5110 * benchtests/bench-strcpy.c: Likewise.
5111 * benchtests/bench-strcpy_chk.c: Likewise.
5112 * benchtests/bench-strlen.c: Likewise.
5113 * benchtests/bench-strncasecmp.c: Likewise.
5114 * benchtests/bench-strncat.c: Likewise.
5115 * benchtests/bench-strncmp.c: Likewise.
5116 * benchtests/bench-strncpy.c: Likewise.
5117 * benchtests/bench-strnlen.c: Likewise.
5118 * benchtests/bench-strpbrk.c: Likewise.
5119 * benchtests/bench-strrchr.c: Likewise.
5120 * benchtests/bench-strspn.c: Likewise.
5121 * benchtests/bench-strstr.c: Likewise.
5122
cae16d66
WN
51232013-09-04 Will Newton <will.newton@linaro.org>
5124
5125 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5126
ffa3cd7f
JM
51272013-09-03 Joseph Myers <joseph@codesourcery.com>
5128
5129 [BZ #15427]
5130 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5131 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5132 * math/libm-test.inc (lgamma_test_data): Add more tests.
5133 * sysdeps/i386/fpu/libm-test-ulps: Update.
5134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5135
8f02859f
OB
51362013-09-03 Ondřej Bílka <neleai@seznam.cz>
5137
5138 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5140 Add ifunc.
5141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5142 Add strcmp-sse2-unaligned
5143 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5144
18d43716
MF
51452013-09-02 Mike Frysinger <vapier@gentoo.org>
5146
5147 * Versions.def (libc): Add GLIBC_2.19.
5148
ac444012
MF
51492013-09-02 Mike Frysinger <vapier@gentoo.org>
5150
5151 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5152 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5153
b7835e32
JM
51542013-09-02 Joseph Myers <joseph@codesourcery.com>
5155
5156 [BZ #14155]
5157 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5158 intermediate calculations in recurrence.
5159 (__ieee754_ynf): Likewise.
5160 * math/libm-test.inc (jn_test_data): Do not allow spurious
5161 underflow exception. Add more tests.
5162 (yn_test_data): Add more tests.
5163 * sysdeps/i386/fpu/libm-test-ulps: Update.
5164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5165
8220f4f0
OB
51662013-09-02 Ondřej Bílka <neleai@seznam.cz>
5167
5168 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5169
f24a6d08
OB
51702013-08-30 Ondřej Bílka <neleai@seznam.cz>
5171
5172 * csu/init-first.c: Fix then/than typos.
5173 * locale/programs/ld-collate.c: Likewise.
5174 * locale/programs/linereader.h: Likewise.
5175 * manual/charset.texi: Likewise.
5176 * manual/filesys.texi: Likewise.
5177 * manual/stdio.texi: Likewise.
5178 * manual/string.texi: Likewise.
5179 * stdlib/fmtmsg.c: Likewise.
5180 * sysdeps/i386/stpncpy.S: Likewise.
5181 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5182 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5183 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5184 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5185
382466e0
OB
51862013-08-30 Ondřej Bílka <neleai@seznam.cz>
5187
5188 * elf/dl-open.c: Fix typos.
5189 * iconvdata/gbbig5.c: Likewise.
5190 * iconvdata/iso-2022-jp.c: Likewise.
5191 * iconv/gconv_int.h: Likewise.
5192 * iconv/loop.c: Likewise.
5193 * nis/rpcsvc/nis.h: Likewise.
5194 * resolv/ns_name.c: Likewise.
5195 * stdio-common/vfscanf.c: Likewise.
5196 * streams/stropts.h: Likewise.
5197 * sunrpc/rpc_thread.c: Likewise.
5198 * sysdeps/i386/strpbrk.S: Likewise.
5199 * sysdeps/ieee754/k_standard.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5202 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5203 * sysdeps/mach/hurd/profil.c: Likewise.
5204 * sysdeps/s390/dl-procinfo.h: Likewise.
5205 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5206 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5207 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5208 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5209 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5210
0186c6e9
OB
52112013-08-30 Ondřej Bílka <neleai@seznam.cz>
5212
5213 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5215
d4e16af1
OB
52162013-08-29 Ondřej Bílka <neleai@seznam.cz>
5217
5218 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5219 aix specific files.
5220 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5221 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5222 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5223 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5224 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5225 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5226 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5227 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5228
88335980
TS
52292013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5230 Roland McGrath <roland@hack.frob.com>
5231
5232 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5233 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5234
ed479b02
ST
52352013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5236
5237 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5238 __executable_start symbol instead of _start.
5239
f1cc4c86
TS
52402013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5241
d821f07c
TS
5242 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5243 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5244 Move macros to...
5245 * sysdeps/gnu/ldsodefs.h: ... this new file.
5246
c54290cf
TS
5247 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5248 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5249 instead of ELFOSABI_LINUX.
5250
0007fc9b 5251 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5252 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5253 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5254 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5255 Likewise.
5256 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5257 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5259 Likewise.
5260 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5261 (ibm_extended_long_double): Add ieee_nan member.
5262 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5263 (do_test): New function.
5264
f1cc4c86
TS
5265 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5266 TEST_TRUNC.
5267 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5268 functions, renamed from truncdfsf_test, trunctfsf_test,
5269 trunctfdf_test.
5270 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5271 functions.
5272 (do_test): Run all these.
5273
6f65e668
OB
52742013-08-29 Ondřej Bílka <neleai@seznam.cz>
5275
5276 * argp/argp-help.c: Fix typos.
5277 * argp/argp-parse.c: Likewise.
5278 * debug/backtracesyms.c: Likewise.
5279 * elf/elf.h: Likewise.
5280 * malloc/malloc.c: Likewise.
5281 * nis/nis_print.c: Likewise.
5282 * resolv/res_comp.c: Likewise.
5283 * stdlib/stdlib.h: Likewise.
5284 * sunrpc/clnt_tcp.c: Likewise.
5285 * sunrpc/clnt_udp.c: Likewise.
5286 * sunrpc/clnt_unix.c: Likewise.
5287 * sysdeps/unix/bsd/ptsname.c: Likewise.
5288 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5289 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5291 Likewise.
5292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5293 Likewise.
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5295 Likewise.
6f65e668
OB
5296 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5297
3a309239
SP
52982013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5299
5300 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5302
3b813b29
MF
53032013-08-27 Mike Frysinger <vapier@gentoo.org>
5304
5305 [BZ #15897]
5306 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5307 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5308 ($(objpfx)bug-dl-leaf): New rule.
5309 ($(objpfx)bug-dl-leaf.so): Likewise.
5310 ($(objpfx)bug-dl-leaf.out): Likewise.
5311 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5312 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5313 * dlfcn/bug-dl-leaf.c: New test.
5314 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5315 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5316 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5317 (dlclose): Likewise.
5318 (dlmopen): Likewise.
5319
8cc3269f
RM
53202013-08-27 Roland McGrath <roland@hack.frob.com>
5321
7f9d0034
RM
5322 * include/netdb.h [!_ISOMAC]:
5323 Don't include <tls.h>.
5324 (h_errno, __libc_h_errno): Move declaration and macros out of
5325 [_LIBC_REENTRANT].
5326
fb431262
RM
5327 * include/resolv.h [_RESOLV_H_]:
5328 Don't include <tls.h>.
5329 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5330 * resolv/res_libc.c: Don't include <tls.h>.
5331 (_res): Use __attribute__ ((nocommon)) in place of
5332 __attribute__ ((section (".bss"))).
5333
bd81123a
RM
5334 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5335 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5336
c4e42566
RM
5337 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5338
f890a59b
RM
5339 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5340 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5341
5342 * resolv/res_mkquery.c: Include <sys/time.h>.
5343
5d1f0a09
RM
5344 * inet/ifreq.c: Moved to ...
5345 * sysdeps/unix/ifreq.c: ... here.
5346 * inet/ifreq.c: New file, true stub version.
5347
6fcf28b3
RM
5348 * socket/sa_len.c: New file.
5349 * socket/Makefile (aux): Add it.
5350 * sysdeps/unix/sysv/linux/Makefile
5351 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5352 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5353 and #include <socket/sa_len.c>.
5354 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5355 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5356
e041fb8b
RM
5357 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5358 * bits/socket.h: ... here.
5359
8cc3269f
RM
5360 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5361 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5362 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5363
5d228a43
AS
53642013-08-27 Andreas Schwab <schwab@suse.de>
5365
45b8accc
AS
5366 [BZ #15736]
5367 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5368 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5369 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5370 * string/test-strcasecmp.c (test_main): Run tests in several
5371 locales.
5372 * string/test-strncasecmp.c (test_main): Likewise.
5373
5d228a43
AS
5374 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5375 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5376 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5378 (__strncasecmp_ssse3) [PIC]: Likewise.
5379
59d112a4
RM
53802013-08-26 Roland McGrath <roland@hack.frob.com>
5381
53234cc3
RM
5382 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5383
59d112a4
RM
5384 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5385 instead of explicitly declaring xdecrypt.
5386 * nis/nss_nis/nis-publickey.c: Likewise.
5387
595aba70
SP
53882013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5389
5390 [BZ #15890]
5391 * nscd/aicache.c: Include res_hconf.h.
5392 (addhstaiX): Initialize res_hconf.
5393
ffabd393
AS
53942013-08-26 Andreas Schwab <schwab@suse.de>
5395
5396 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5397 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5398
e0a69f5c
SP
53992013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5400
5401 * nscd/aicache.c (addhstaiX): Fix indentation.
5402
8c12f01d
MF
54032013-08-25 Mike Frysinger <vapier@gentoo.org>
5404
5405 * configure.ac: Quote $build_pt_chown test.
5406 * configure: Regenerated.
5407
8fe89494
JM
54082013-08-23 Joseph Myers <joseph@codesourcery.com>
5409
5410 [BZ #15532]
5411 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5412 * math/s_cexpf.c (__cexpf): Likewise.
5413 * math/s_cexpl.c (__cexpl): Likewise.
5414 * math/libm-test.inc (cexp_test_data): Correct expected return
5415 value for NaN + i0. Add another test.
5416
75b181d6
DM
54172013-08-22 David S. Miller <davem@davemloft.net>
5418
5419 * po/ca.po: Update Catalan translation from translation project.
936241e4 5420 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5421
acd06bb1
JM
54222013-08-21 Joseph Myers <joseph@codesourcery.com>
5423
5424 [BZ #15797]
5425 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5426 is infinite, not alongside NaN test.
5427 * math/s_fdimf.c (__fdimf): Likewise.
5428 * math/s_fdiml.c (__fdiml): Likewise.
5429 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5430 errno is unchanged.
5431
c0c3f78a
OB
54322013-08-21 Ondřej Bílka <neleai@seznam.cz>
5433
5434 * argp/argp-help.c: Fix typos.
5435 * crypt/speeds.c: Likewise.
5436 * csu/check_fds.c: Likewise.
5437 * elf/dl-load.c: Likewise.
5438 * elf/dl-open.c: Likewise.
5439 * elf/reldep3.c: Likewise.
5440 * elf/reldep.c: Likewise.
5441 * elf/sprof.c: Likewise.
5442 * iconv/iconv_charmap.c: Likewise.
5443 * iconv/skeleton.c: Likewise.
5444 * iconv/strtab.c: Likewise.
5445 * io/lockf64.c: Likewise.
5446 * libio/libioP.h: Likewise.
5447 * resolv/gai_notify.c: Likewise.
5448 * resolv/ns_name.c: Likewise.
5449 * resolv/ns_samedomain.c: Likewise.
5450 * resolv/res_send.c: Likewise.
5451 * stdlib/random.c: Likewise.
5452 * sunrpc/rpc/xdr.h: Likewise.
5453 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5454 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5455 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5456 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5457 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5458 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5460 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5461 * sysdeps/mach/hurd/check_fds.c: Likewise.
5462 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5463 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5464 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5465 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5466 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5467 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5468 * sysdeps/pthread/aio_notify.c: Likewise.
5469 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5470 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5471 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5472 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5473 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5474
46ed1038
LD
54752013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5476
5477 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5478 version if bit_Slow_SSE4_2 is set.
5479 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5480 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5481
d400dcac
AZ
54822013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5483
5484 [BZ #15867]
5485 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5486 trampoline stack frame information.
5487 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5488 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5489 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5490 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5491 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5492 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5493 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5494 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5495 sa_flags value.
5496 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5497 interrupting a syscall and set with option SA_SIGINFO.
5498
42c8fdd8
JM
54992013-08-20 Joseph Myers <joseph@codesourcery.com>
5500
c980f2f4
JM
5501 [BZ #15531]
5502 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5503 argument is infinite.
5504 * math/s_cprojf.c (__cprojf): Likewise.
5505 * math/s_cprojl.c (__cprojl): Likewise.
5506 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5507 * math/libm-test.inc (cproj_test_data): Add more tests.
5508
0716c4fc
JM
5509 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5510
42c8fdd8
JM
5511 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5512 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5513 size. Use __ffs to determine corresponding shift.
5514
b31469d0
JM
55152013-08-20 Joseph Myers <joseph@codesourcery.com>
5516 Roland McGrath <roland@hack.frob.com>
5517
5518 * Makefile (INSTALL): Remove trailing blank lines from output of
5519 makeinfo.
5520
4e39af6e
AK
55212013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5522
5523 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5524 Align 32 bit compat elf_greg to 8 bytes.
5525
f315524e
AA
55262013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5527
5528 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5529
1326ba1a
SP
55302013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5531
5532 * string/strcoll_l.c (coll_seq): New structure.
5533 (get_next_seq_cached): New function.
5534 (get_next_seq): New function.
5535 (do_compare): New function.
5536 (STRCOLL): Use GNU style definition. Simplify implementation
5537 by using get_next_seq, get_next_seq_cached and do_compare.
5538
91ce4085
FW
55392013-08-16 Florian Weimer <fweimer@redhat.com>
5540
5541 [BZ #14699]
5542 CVE-2013-4237
5543 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5544 member.
5545 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5546 member.
5547 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5548 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5549 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5550 conditional.
5551 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5552 GETDENTS_64BIT_ALIGNED.
5553 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5554 * manual/filesys.texi (Reading/Closing Directory): Document
5555 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5556 strongly.
5557 * manual/conf.texi (Limits for Files): Add portability note to
5558 NAME_MAX, PATH_MAX.
5559 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5560
ca0a6bc4
AS
55612013-08-13 Andreas Schwab <schwab@suse.de>
5562
5563 [BZ #15749]
5564 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5565 of fabs.
5566 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5567 LDBL_MAX_EXP >= 16384]: Add tests for it.
5568
6c1fd795
DM
55692013-08-12 David S. Miller <davem@davemloft.net>
5570
5571 * version.h (RELEASE): Set to "development".
5572 (VERSION): Set to "2.18.90".
5573 * NEWS: Add 2.19 section.
5574
31ad488d
DM
55752013-08-03 David S. Miller <davem@davemloft.net>
5576
5577 * po/ko.po: Update Korean translation from translation project.
5578
db24e684
DM
55792013-08-01 David S. Miller <davem@davemloft.net>
5580
5581 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5582 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5583 Bilka.
5584
f723285b
DM
55852013-07-30 David S. Miller <davem@davemloft.net>
5586
5587 * po/fr.po: Update French translation from translation project.
5588
3cbc52db
DM
55892013-07-28 David S. Miller <davem@davemloft.net>
5590
30bbc0cc
DM
5591 * po/cs.po: Update Czech translation from translation project.
5592
3cbc52db
DM
5593 * po/sv.po: Update Swedish translation from translation project.
5594
d492e6d0
DM
55952013-07-27 David S. Miller <davem@davemloft.net>
5596
f1a7f492
DM
5597 * po/eo.po: Update Esperanto translation from translation project.
5598
90e62a4a
DM
5599 * po/vi.po: Update Vietnamese translation from translation project.
5600
d492e6d0
DM
5601 * po/de.po: Update German translation from translation project.
5602
d4baa62d
DM
56032013-07-26 David S. Miller <davem@davemloft.net>
5604
641aa7b4
DM
5605 * po/bg.po: Update Bulgarian translation from translation project.
5606
d4baa62d
DM
5607 * po/nl.po: Update Dutch translation from translation project.
5608 * po/pl.po: Update Polish translation from translation project.
5609 * po/ru.po: Update Russian translation from translation project.
5610
61a9dcb9
DM
56112013-07-24 David S. Miller <davem@davemloft.net>
5612
5613 * po/libc.pot: Update.
5614
7b1f8b58
AZ
56152013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616
5617 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5618 variable page size.
5619 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5620 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5621 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5622
a8fc7a03
AK
56232013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5624
5625 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5626
e4608715
CD
56272013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5628 Andreas Schwab <schwab@suse.de>
5629 Roland McGrath <roland@hack.frob.com>
5630 Joseph Myers <joseph@codesourcery.com>
5631 Carlos O'Donell <carlos@redhat.com>
5632
5633 [BZ #15755]
5634 * config.h.in: Define HAVE_PT_CHOWN.
5635 * config.make.in (build-pt-chown): New variable.
5636 * configure.in (--enable-pt_chown): New configure option.
5637 * configure: Regenerate.
5638 * login/Makefile: Include Makeconfig. Build pt_chown only if
5639 build-pt-chown is enabled.
5640 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5641 pt_chown to fix pty ownership.
5642 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5643 CLOSE_ALL_FDS.
5644 * manual/install.texi (Configuring and compiling): Mention
5645 --enable-pt_chown. Add @findex for grantpt.
5646 * INSTALL: Regenerate.
5647
da2d62df
DM
56482013-07-20 David S. Miller <davem@davemloft.net>
5649
5650 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5651 difference between 32-bit and 64-bit.
5652
d7e06450
CD
56532013-07-15 Carlos O'Donell <carlos@redhat.com>
5654
5655 [BZ #15711]
5656 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5657 Avoid system header dependency with -ffreestanding.
5658 ($(objpfx)bits/syscall%d): Likewise.
5659
f959cfd7
DM
56602013-07-13 David S. Miller <davem@davemloft.net>
5661
5662 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5663 underflows from atanl/atan2l due to bug 15319.
5664 (casinh_test_data): Likewise.
5665
c61f8513
DM
56662013-07-07 David S. Miller <davem@davemloft.net>
5667
5668 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5669
72c90ed0
JA
56702013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5671
5672 * sysdeps/i386/fpu/libm-test-ulps: Update.
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5674
52dfbe13
SP
56752013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5676
5677 * configure.in (--enable-lock-elision): Fix message text.
5678 * INSTALL: Regenerate.
5679 * configure: Regenerate.
5680
3f169543
AZ
56812013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5682
5683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5684
521c6785
AJ
56852013-07-03 Andreas Jaeger <aj@suse.de>
5686
5687 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5688 define.
5689 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5690 (ptrace_peeksiginfo_args): Add.
5691 (__ptrace_peeksiginfo_flags): Add.
5692 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5693 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5694 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5695
d2cc15cb
AM
56962013-07-03 Allan McRae <allan@archlinux.org>
5697
5698 * sysdeps/i386/fpu/libm-test-ulps: Update.
5699
3aaeeca7
DM
57002013-07-02 David S. Miller <davem@davemloft.net>
5701
5702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5703
5314ed1a
MT
57042013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5705
5706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5707
67338156
JM
57082013-07-02 Joseph Myers <joseph@codesourcery.com>
5709
5710 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5712
1717da59
AK
57132013-07-02 Andi Kleen <ak@linux.intel.com>
5714
5715 * config.h.in (ENABLE_LOCK_ELISION): Add.
5716 * configure.in (--enable-lock-elision): Add option.
5717 * manual/install.texi: Document --enable lock elision.
5718 * configure: Regenerate
5719 * INSTALL: Regenerate.
5720
1c81621c
L
57212013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5722
5723 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5724 SSE4.2 strcasecmp for libc.a.
5725 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5726
77f01ab5
JM
57272013-07-02 Joseph Myers <joseph@codesourcery.com>
5728
5729 [BZ #13304]
5730 * soft-fp/op-common.h (_FP_FMA): New macro.
5731 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5732 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5733 (_FP_MUL_MEAT_1_imm): ... here.
5734 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5735 (_FP_MUL_MEAT_1_wide): ... here.
5736 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5737 (_FP_MUL_MEAT_1_hard): ... here.
5738 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5739 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5740 (_FP_MUL_MEAT_2_wide): ... here.
5741 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5742 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5743 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5744 (_FP_MUL_MEAT_2_gmp): ... here.
5745 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5746 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5747 (_FP_MUL_MEAT_4_wide): ... here.
5748 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5749 (_FP_MUL_MEAT_4_gmp): ... here.
5750 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5751 (_FP_WFRACBITS_DW_S): Likewise.
5752 (_FP_WFRACXBITS_DW_S): Likewise.
5753 (_FP_HIGHBIT_DW_S): Likewise.
5754 (FP_FMA_S): Likewise.
5755 (_FP_FRAC_HIGH_DW_S): Likewise.
5756 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5757 (_FP_WFRACBITS_DW_D): Likewise.
5758 (_FP_WFRACXBITS_DW_D): Likewise.
5759 (_FP_HIGHBIT_DW_D): Likewise.
5760 (FP_FMA_D): Likewise.
5761 (_FP_FRAC_HIGH_DW_D): Likewise.
5762 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5763 (_FP_WFRACBITS_DW_E): Likewise.
5764 (_FP_WFRACXBITS_DW_E): Likewise.
5765 (_FP_HIGHBIT_DW_E): Likewise.
5766 (FP_FMA_E): Likewise.
5767 (_FP_FRAC_HIGH_DW_E): Likewise.
5768 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5769 (_FP_WFRACBITS_DW_Q): Likewise.
5770 (_FP_WFRACXBITS_DW_Q): Likewise.
5771 (_FP_HIGHBIT_DW_Q): Likewise.
5772 (FP_FMA_Q): Likewise.
5773 (_FP_FRAC_HIGH_DW_Q): Likewise.
5774 * soft-fp/fmasf4.c: New file.
5775 * soft-fp/fmadf4.c: Likewise.
5776 * soft-fp/fmatf4.c: Likewise.
5777
6308fd9a
LD
57782013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5779
5780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5781 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5782 Silvermont.
5783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5784 macro.
5785 (index_Slow_SSE4_2): Likewise.
5786 (index_Prefer_PMINUB_for_stringop): Likewise.
5787 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5788 bit_Slow_SSE4_2 is set.
5789 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5790 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5791
89cd9569
RA
57922013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5793
5794 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5795 rtld_global._dl_hwcap2.
5796 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5797 POWER8.
5798 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5799 POWER8 feature descriptions defined in _dl_hwcap2.
5800 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5801 string handling for POWER8 feature bits.
5802 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5803 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5804 _dl_powerpc_cap_flags.
5805 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5806 * sysdeps/powerpc/rtld-global-offsets.sym
5807 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5808 _dl_hwcap2 in the rtld_global_ro structure.
5809
1ae8bfe0
RA
58102013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5811
5812 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5813 hardware capabilities in support of AT_HWCAP2.
5814 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5815 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5816 GLRO(dl_hwcap2).
5817 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5818 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5819 explicitly the unknown a_type display mechanism is used.
5820 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5821 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5822 struct member.
5823 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5824 to macro prototype for AT_HWCAP2 support.
5825 * sysdeps/i386/dl-procinfo.h: Likewise.
5826 * sysdeps/s390/dl-procinfo.h: Likewise.
5827 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5828 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5829 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5830 return -1 for unknown a_type display fallback.
5831 * sysdeps/sparc/dl-procinfo.h: Likewise.
5832 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5833 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5834
8fbec010
JM
58352013-06-28 Joseph Myers <joseph@codesourcery.com>
5836
5837 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5838 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5839
0432680e
PY
58402013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5841
5842 [BZ #12492]
5843 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5844 mprotect making __stack_prot writable.
5845
ce61a2ad
NF
58462013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5847 Joseph Myers <joseph@codesourcery.com>
5848
5849 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5850 as being properly aligned.
5851
f91f1c0f
MR
58522013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5853
3d0f5d0c
MR
5854 * dlfcn/modstatic5.c: New file.
5855 * dlfcn/tststatic5.c: New file.
5856 * dlfcn/Makefile (tests): Add tststatic5.
5857 (tests-static): Likewise.
5858 (modules-names): Add modstatic5.
5859 (tststatic5-ENV): New variable.
5860 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5861
f91f1c0f
MR
5862 [BZ #15022]
5863 * elf/dl-support.c (_dl_main_map): New variable.
5864 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5865 (_dl_nns, _dl_load_adds): Set to 1.
5866 (_dl_initial_searchlist): Refer to _dl_main_map.
5867 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5868 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5869 call to _dl_get_origin.
5870 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5871 around call_map.
5872 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5873 * dlfcn/modstatic3.c: New file.
5874 * dlfcn/tststatic3.c: New file.
5875 * dlfcn/tststatic4.c: New file.
5876 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5877 (tests-static): Likewise.
5878 (modules-names): Add modstatic3.
5879 (tststatic3-ENV, tststatic4-ENV): New variables.
5880 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5881 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5882
cbe7d24b
JM
58832013-06-26 Joseph Myers <joseph@codesourcery.com>
5884
5885 * configure.in (CC): Require GCC version 4.4 or later.
5886 * configure: Regenerated.
5887 * manual/install.texi (Tools for Compilation): Update GCC version
5888 requirement.
5889 * INSTALL: Regenerated.
5890
11b8a0e1
LD
58912013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5892
5893 [BZ #15674]
bb5bb87c
L
5894 * string/test-memcmp.c (check2): New.
5895 (main): Call check2.
5896
11b8a0e1
LD
5897 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5898
b0037103
MR
58992013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5900
5901 [BZ #15022]
5902 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5903 over to...
5904 (dl_open_worker) [!SHARED]: ... here.
5905
c18c701d
RA
59062013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5907
5908 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5909
1d17fa5f
RH
59102013-06-25 Richard Henderson <rth@redhat.com>
5911
5912 * locale/programs/locarchive.c: Include <libc-internal.h>
5913
8fcb833a
JM
59142013-06-25 Joseph Myers <joseph@codesourcery.com>
5915
5916 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5917 trailing whitespace removed.
5918
17db6e8d
MF
59192013-06-24 Mike Frysinger <vapier@gentoo.org>
5920
5921 [BZ #10283]
17db6e8d
MF
5922 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5923 * locale/programs/locarchive.c: Include libc-mmap.h.
5924 (prepare_address_space): Take two new outputs (the mmap base and len).
5925 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5926 values.
5927 (create_archive): Declare new mmap base and len values for
5928 prepare_address_space, and store the result in ah.
5929 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5930 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5931 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5932 Declare new mmap base and len values for
5933 prepare_address_space, and store the result in new_ah.
5934 (open_archive): Declare new mmap base and len values for
5935 prepare_address_space, and store the result in ah.
5936 (close_archive): If ah->mmap_base is not NULL, use that and
5937 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5938 * sysdeps/generic/libc-mmap.h: New file.
5939
d605071e
MF
59402013-06-24 Mike Frysinger <vapier@gentoo.org>
5941
5942 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5943 (ALIGN_UP): Likewise.
5944 (PTR_ALIGN_DOWN): Likewise.
5945 (PTR_ALIGN_UP): Likewise.
5946
2f063a6e
RA
59472013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5948
5949 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5950 entry mapped to PPC_PLATFORM_POWER8.
5951 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5952 POWER8.
5953 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5954 (_dl_string_platform): Add case for exporting platform position for
5955 POWER8.
5956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5957 search path to sysdeps/powerpc/powerpc32/power8 directory.
5958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5959 search path to sysdeps/powerpc/powerpc64/power8 directory.
5960 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5961 power7 directories.
5962 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5963 power7 directories.
5964
a31ee4b3
SP
59652013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5966
a74ca98f
SP
5967 * INSTALL: Regenerate.
5968
a31ee4b3
SP
5969 * nscd/connections.c (nscd_init): Fix comment.
5970
695c378f
JM
59712013-06-22 Joseph Myers <joseph@codesourcery.com>
5972
d8412221
JM
5973 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5974
695c378f
JM
5975 [BZ #15667]
5976 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5977 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5978
d1d54715
MR
59792013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5980
5981 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5982 DL_DST_REQ_STATIC.
5983 (DL_DST_REQ_STATIC): Remove macro.
5984
8fdda7af
JM
59852013-06-21 Joseph Myers <joseph@codesourcery.com>
5986
5987 [BZ #7006]
5988 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5989 with a shift of 0 bits.
5990
f3bc5e5a
MR
59912013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5992
5993 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5994 $(tststatic-ENV).
5995
be09e8c9
KK
59962013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5997
5998 [BZ #15655]
5999 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6000
85c2e611
AZ
60012013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6002
6003 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6004 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6005 accepts -fno-tree-loop-distribute-patterns.
6006 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6007 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6008 recursive call.
6009 * string/memset.c (memset): Likewise.
6010 * string/test-memmove.c (simple_memmove): Disable loop transformation
6011 to library calls.
6012 * string/test-memset.c (simple_memset): Likewise.
6013 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6014 * benchtests/bench-memset.c (simple_memset): Likewise.
6015 * configure: Regenerated.
6016
c91e0825
JM
60172013-06-20 Joseph Myers <joseph@codesourcery.com>
6018
b8c792af
JM
6019 * math/test-misc.c (main): Ignore fesetround failure when failures
6020 of subsequent rounding tests would be ignored.
6021
c91e0825
JM
6022 [BZ #15654]
6023 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6024 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6025 * math/fegetenv.c (__fegetenv): Return 0.
6026 * math/fegetexcept.c (fegetexcept): Return 0.
6027 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6028 FE_TONEAREST.
6029 * math/feholdexcpt.c (feholdexcept): Return 0.
6030 * math/fesetenv.c (__fesetenv): Return 0.
6031 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6032 argument FE_TONEAREST.
6033 * math/feupdateenv.c (__feupdateenv): Return 0.
6034 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6035
bfcacbde
RM
60362013-06-18 Roland McGrath <roland@hack.frob.com>
6037
6038 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6039 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6040 ($(objpfx)rtld-%.os rules): Use them.
6041
e55a9b25
AZ
60422013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6045 fields.
6046
346d65b3
RM
60472013-06-17 Roland McGrath <roland@hack.frob.com>
6048
12086fb4
RM
6049 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6050 length of target pattern, then descending length of dependency pattern.
6051 * configure.in (AWK): Require gawk 3.1.2 or newer.
6052 * manual/install.texi (Tools for Compilation): Say that we do.
6053 * configure: Regenerated.
6054
346d65b3
RM
6055 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6056 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6057 * scripts/sysd-rules.awk: ... this new script.
6058 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6059 than a glob-style pattern.
6060
1a846317
JM
60612013-06-17 Joseph Myers <joseph@codesourcery.com>
6062
6063 * math/test-misc.c (main): Do not treat incorrectly rounded
6064 conversions as failure unless ROUNDING_TESTS passes.
6065
8fc75e6f
JM
60662013-06-15 Joseph Myers <joseph@codesourcery.com>
6067
3711a167
JM
6068 [BZ #15631]
6069 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6070 restore exception state around main square root computation, then
6071 check for inexactness explicitly.
6072
8fc75e6f
JM
6073 * math/libm-test.inc (fma_test_data): Add another test.
6074
61dd6208
SP
60752013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6076
adf23d2c
SP
6077 * manual/threads.texi (Non-POSIX Extensions): New document
6078 node. Document pthread_getattr_default_np and
6079 pthread_setattr_default_np.
6080
61dd6208
SP
6081 * Versions.def (libpthread): Add GLIBC_2.18.
6082 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6084 Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6086 Likewise.
6087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6088 Likewise.
6089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6090 Likewise.
6091 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6092 Likewise.
6093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6094 Likewise.
6095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6096 Likewise.
6097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6098 Likewise.
6099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6100 Likewise.
6101
d086fc7b
LD
61022013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6103
6104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6105 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6106
747ef469
SP
61072013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6108 H.J. Lu <hjl.tools@gmail.com>
6109
6110 [BZ #15627]
6111 * sysdeps/x86_64/rtld-memset.c: Remove file.
6112 * sysdeps/x86_64/rtld-memset.S: New file.
6113
1b2feed2
JM
61142013-06-14 Joseph Myers <joseph@codesourcery.com>
6115
6116 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6117 (test_in_one_mode): Take arguments for whether the rounding mode
6118 is supported for each floating-point type.
6119 (do_test): Pass new arguments to test_in_one_mode using
6120 ROUNDING_TESTS.
6121
a58ad3f8
RM
61222013-06-13 Roland McGrath <roland@hack.frob.com>
6123
6124 * posix/tst-waitid.c (do_test): Distinguish different instances of
6125 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6126 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6127 before entering the kernel for waitpid.
6128
c204ab28
SP
61292013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6130
6131 * NEWS: Fix note on clock function precision. Text by Roland
6132 McGrath.
6133
f4a29fba
RM
61342013-06-13 Roland McGrath <roland@hack.frob.com>
6135
6136 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6137 it into place only when and if the sanity check passes.
6138
1f24b9ad
JM
61392013-06-13 Joseph Myers <joseph@codesourcery.com>
6140
6141 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6142 output for whether conversion result is exact. Take argument
6143 indicating whether type is IBM long double.
6144 (round_for_all): Change need_exact field to ibm_ld.
6145 * stdlib/tst-strtod-round.c (struct exactness): New type.
6146 (struct test): Change bool ld_ok field to struct exactness exact.
6147 (TEST): Update all definitions for change to field.
6148 (tests): Regenerate array contents.
6149 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6150 field value. Check for IBM long double here.
6151 (do_test): Update calls to test_in_one_mode.
6152
58206c68
SP
61532013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6154
6155 [BZ #12515]
6156 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6157 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6158
2d6f4c5b 61592013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6160
6161 [BZ #15605]
6162 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6163 generated by the compiler on loop optimizations.
6164 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6165 general definitions.
6166
94f2c076
JM
61672013-06-12 Joseph Myers <joseph@codesourcery.com>
6168
6169 * math/bug-nextafter.c: Include <math-tests.h>.
6170 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6171 the relevant type.
6172 * math/bug-nexttoward.c: Include <math-tests.h>.
6173 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6174 the relevant type.
6175 * math/test-misc.c: Include <math-tests.h>.
6176 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6177 the relevant type.
6178
e0e50a0a
AJ
61792013-06-12 Andreas Jaeger <aj@suse.de>
6180
6181 * po/ia.po: Update Interlingua translation from translation
6182 project.
6183
25061094
SP
61842013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6185
6186 * include/fenv.h: Include stdbool.h.
6187 (struct rm_ctx): New structure.
6188 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6189 Define macro.
6190 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6191 (SET_RESTORE_ROUNDF): Likewise.
6192 (SET_RESTORE_ROUNDL): Likewise.
6193 (SET_RESTORE_ROUND_NOEX): Likewise.
6194 (SET_RESTORE_ROUND_NOEXF): Likewise.
6195 (SET_RESTORE_ROUND_NOEXL): Likewise.
6196 (SET_RESTORE_ROUND_53BIT): Likewise.
6197 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6198 (libc_feresetround_noexf_ctx): Likewise.
6199 (libc_feresetround_noexl_ctx): Likewise.
6200 (libc_feholdsetround_53bit_ctx): Likewise.
6201 (libc_feresetround_53bit_ctx): Likewise.
6202 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6203 (libc_feholdexcept_setround_sse_ctx): New function.
6204 (libc_fesetenv_sse_ctx): Likewise.
6205 (libc_feupdateenv_sse_ctx): Likewise.
6206 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6207 (libc_feholdexcept_setround_387_ctx): Likewise.
6208 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6209 (libc_feholdsetround_387_prec_ctx): Likewise.
6210 (libc_feholdsetround_387_ctx): Likewise.
6211 (libc_feholdsetround_387_53bit_ctx): Likewise.
6212 (libc_feholdsetround_sse_ctx): Likewise.
6213 (libc_feresetround_sse_ctx): Likewise.
6214 (libc_feresetround_387_ctx): Likewise.
6215 (libc_feupdateenv_387_ctx): Likewise.
6216 (libc_feholdexcept_setroundf_ctx): Define macro.
6217 (libc_fesetenvf_ctx): Likewise.
6218 (libc_feupdateenvf_ctx): Likewise.
6219 (libc_feholdsetroundf_ctx): Likewise.
6220 (libc_feresetroundf_ctx): Likewise.
6221 (libc_feholdexcept_setround_ctx): Likewise.
6222 (libc_fesetenv_ctx): Likewise.
6223 (libc_feupdateenv_ctx): Likewise.
6224 (libc_feholdsetround_ctx): Likewise.
6225 (libc_feresetround_ctx): Likewise.
6226 (libc_feholdexcept_setroundl_ctx): Likewise.
6227 (libc_feupdateenvl_ctx): Likewise.
6228 (libc_feholdsetroundl_ctx): Likewise.
6229 (libc_feresetroundl_ctx): Likewise.
6230 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6231 (libc_feresetround_53bit_ctx): Likewise.
6232
59b30555
SP
62332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6234
6235 * locale/iso-639.def: Convert to UTF-8.
6236
f1d73d30
JM
62372013-06-11 Joseph Myers <joseph@codesourcery.com>
6238
6239 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6240 (EXCEPTION_TESTS_double): Likewise.
6241 (EXCEPTION_TESTS_long_double): Likewise.
6242 (EXCEPTION_TESTS): Likewise.
6243 * math/libm-test.inc (test_exceptions): Only test exceptions if
6244 EXCEPTION_TESTS (FLOAT).
6245
94aca5e7
SP
62462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6247
6248 * benchtests/Makefile (string-bench): Add strcpy_chk and
6249 stpcpy_chk.
6250 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6251 * benchtests/bench-stpcpy_chk.c: New file.
6252 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6253 * benchtests/bench-strcpy_chk.c: New file.
6254 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6255 code.
6256 (do_test): Likewise.
6257
fac0c5f2
RA
62582013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6259
6260 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6261 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6262 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6263 with tabs where appropriate.
6264 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6265 dl-procinfo.h.
6266 [PPC_PLATFORM_PPC440]: Likewise.
6267 [PPC_PLATFORM_PPC464]: Likewise.
6268 [PPC_PLATFORM_PPC476]: Likewise.
6269 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6270 ppc464, and ppc476 platform strings merging from ports/
6271 dl-procinfo.h.
6272
f22bc486
AS
62732013-06-11 Andreas Schwab <schwab@suse.de>
6274
6275 [BZ #14991]
6276 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6277 (from_ucs4_idx): Regenerate.
6278 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6279 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6280 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6281 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6282 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6283 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6284 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6285 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6286 from FROM_LOOP and TO_LOOP specific macros.
6287 (BODY): Handle combining characters.
6288 * iconvdata/BIG5HKSCS.irreversible: Update.
6289 * iconvdata/BIG5HKSCS.precomposed: New file.
6290 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6291 characters.
6292 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6293
c1f75dc3
SP
62942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6295
4eacded2
SP
6296 * include/sys/time.h: Fix indentation and add copyright header.
6297
fec799f8
SP
6298 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6299 (do_test): Likewise.
6300 * string/test-memchr.c (do_one_test): Likewise.
6301 (do_test): Likewise.
6302 * string/test-memcmp.c (do_one_test): Likewise.
6303 (do_test): Likewise.
6304 * string/test-memcpy.c (do_one_test): Likewise.
6305 (do_test): Likewise.
6306 * string/test-memmem.c (do_one_test): Likewise.
6307 (do_test): Likewise.
6308 (do_random_tests): Likewise.
6309 * string/test-memmove.c (do_one_test): Likewise.
6310 (do_test): Likewise.
6311 * string/test-memset.c (do_one_test): Likewise.
6312 (do_test): Likewise.
6313 * string/test-rawmemchr.c (do_one_test): Likewise.
6314 (do_test): Likewise.
6315 * string/test-strcasecmp.c (do_one_test): Likewise.
6316 (do_test): Likewise.
6317 * string/test-strcasestr.c (do_one_test): Likewise.
6318 (do_test): Likewise.
6319 * string/test-strcat.c (do_one_test): Likewise.
6320 (do_test): Likewise.
6321 * string/test-strchr.c (do_one_test): Likewise.
6322 (do_test): Likewise.
6323 * string/test-strcmp.c (do_one_test): Likewise.
6324 (do_test): Likewise.
6325 * string/test-strcpy.c (do_one_test): Likewise.
6326 (do_test): Likewise.
6327 * string/test-string.h: Likewise.
6328 (test_init): Likewise.
6329 * string/test-strlen.c (do_one_test): Likewise.
6330 (do_test): Likewise.
6331 * string/test-strncasecmp.c (do_one_test): Likewise.
6332 (do_test): Likewise.
6333 * string/test-strncat.c (do_one_test): Likewise.
6334 (do_test): Likewise.
6335 * string/test-strncmp.c (do_one_test): Likewise.
6336 (do_test_limit): Likewise.
6337 (do_test): Likewise.
6338 * string/test-strncpy.c (do_one_test): Likewise.
6339 (do_test): Likewise.
6340 * string/test-strnlen.c (do_one_test): Likewise.
6341 (do_test): Likewise.
6342 * string/test-strpbrk.c (do_one_test): Likewise.
6343 (do_test): Likewise.
6344 * string/test-strrchr.c (do_one_test): Likewise.
6345 (do_test): Likewise.
6346 * string/test-strspn.c (do_one_test): Likewise.
6347 (do_test): Likewise.
6348 * string/test-strstr.c (do_one_test): Likewise.
6349 (do_test): Likewise.
6350
97020474
SP
6351 * benchtests/Makefile (string-bench): Add string benchmarks.
6352 * benchtests/bench-bcopy-ifunc.c: New file.
6353 * benchtests/bench-bcopy.c: New file.
6354 * benchtests/bench-bzero-ifunc.c: New file.
6355 * benchtests/bench-bzero.c: New file.
6356 * benchtests/bench-memccpy-ifunc.c: New file.
6357 * benchtests/bench-memccpy.c: New file.
6358 * benchtests/bench-memchr-ifunc.c: New file.
6359 * benchtests/bench-memchr.c: New file.
6360 * benchtests/bench-memcmp-ifunc.c: New file.
6361 * benchtests/bench-memcmp.c: New file.
6362 * benchtests/bench-memmem-ifunc.c: New file.
6363 * benchtests/bench-memmem.c: New file.
6364 * benchtests/bench-memmove-ifunc.c: New file.
6365 * benchtests/bench-memmove.c: New file.
6366 * benchtests/bench-mempcpy-ifunc.c: New file.
6367 * benchtests/bench-mempcpy.c: New file.
6368 * benchtests/bench-memset-ifunc.c: New file.
6369 * benchtests/bench-memset.c: New file.
6370 * benchtests/bench-rawmemchr-ifunc.c: New file.
6371 * benchtests/bench-rawmemchr.c: New file.
6372 * benchtests/bench-stpcpy-ifunc.c: New file.
6373 * benchtests/bench-stpcpy.c: New file.
6374 * benchtests/bench-stpncpy-ifunc.c: New file.
6375 * benchtests/bench-stpncpy.c: New file.
6376 * benchtests/bench-strcasecmp-ifunc.c: New file.
6377 * benchtests/bench-strcasecmp.c: New file.
6378 * benchtests/bench-strcasestr-ifunc.c: New file.
6379 * benchtests/bench-strcasestr.c: New file.
6380 * benchtests/bench-strcat-ifunc.c: New file.
6381 * benchtests/bench-strcat.c: New file.
6382 * benchtests/bench-strchr-ifunc.c: New file.
6383 * benchtests/bench-strchr.c: New file.
6384 * benchtests/bench-strchrnul-ifunc.c: New file.
6385 * benchtests/bench-strchrnul.c: New file.
6386 * benchtests/bench-strcmp-ifunc.c: New file.
6387 * benchtests/bench-strcmp.c: New file.
6388 * benchtests/bench-strcpy-ifunc.c: New file.
6389 * benchtests/bench-strcpy.c: New file.
6390 * benchtests/bench-strcspn-ifunc.c: New file.
6391 * benchtests/bench-strcspn.c: New file.
6392 * benchtests/bench-strlen-ifunc.c: New file.
6393 * benchtests/bench-strlen.c: New file.
6394 * benchtests/bench-strncasecmp-ifunc.c: New file.
6395 * benchtests/bench-strncasecmp.c: New file.
6396 * benchtests/bench-strncat-ifunc.c: New file.
6397 * benchtests/bench-strncat.c: New file.
6398 * benchtests/bench-strncmp-ifunc.c: New file.
6399 * benchtests/bench-strncmp.c: New file.
6400 * benchtests/bench-strncpy-ifunc.c: New file.
6401 * benchtests/bench-strncpy.c: New file.
6402 * benchtests/bench-strnlen-ifunc.c: New file.
6403 * benchtests/bench-strnlen.c: New file.
6404 * benchtests/bench-strpbrk-ifunc.c: New file.
6405 * benchtests/bench-strpbrk.c: New file.
6406 * benchtests/bench-strrchr-ifunc.c: New file.
6407 * benchtests/bench-strrchr.c: New file.
6408 * benchtests/bench-strspn-ifunc.c: New file.
6409 * benchtests/bench-strspn.c: New file.
6410 * benchtests/bench-strstr-ifunc.c: New file.
6411 * benchtests/bench-strstr.c: New file.
6412
c1f75dc3
SP
6413 * benchtests/Makefile: Disable parallel execution of targets.
6414 (string-bench): Add memcpy.
6415 (benchset): New variable to store a list of benchmark sets.
6416 (bench-func): Renamed from bench.
6417 (bench-set): New target.
6418 (bench): Depend on bench-func and bench-set.
6419 * benchtests/README: Add section on benchmark sets.
6420 * benchtests/bench-memcpy-ifunc.c: New file.
6421 * benchtests/bench-memcpy.c: New file.
6422 * benchtests/bench-string.h: New file.
6423
50fd745b
AS
64242013-06-11 Andreas Schwab <schwab@suse.de>
6425
6426 [BZ #15577]
6427 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6428 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6429 values in the triple.
6430 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6431 terminator in the group key.
6432
3ee7e9fe
AJ
64332013-06-11 Andreas Jaeger <aj@suse.de>
6434
6435 * po/zh_TW.po: Update Chinese (traditional) translation from
6436 translation project.
6437
89fb6835
SP
64382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6439
6440 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6441 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6442 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6444 (clock_getcpuclockid): Likewise.
6445 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6446 Add weak_alias and libc_hidden_def.
6447 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6448 * rt/clock_gettime.c (clock_gettime): Rename to
6449 __clock_gettime. Add weak_alias and libc_hidden_def.
6450 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6451 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6452 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6453 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6454 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6455 Likewise.
6456 * rt/clock_settime.c (clock_settime): Rename to
6457 __clock_settime. Add weak_alias and libc_hidden_def.
6458 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6459
0efa6f8b
JM
64602013-06-10 Joseph Myers <joseph@codesourcery.com>
6461
b8c61b4b
JM
6462 * mach/err_boot.sub: Remove trailing whitespace.
6463 * mach/err_ipc.sub: Likewise.
6464 * mach/err_mach.sub: Likewise.
6465
0efa6f8b
JM
6466 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6467 (ROUNDING_TESTS_double): Likewise.
6468 (ROUNDING_TESTS_long_double): Likewise.
6469 (ROUNDING_TESTS): Likewise.
6470 * math/libm-test.inc: Include <math-tests.h>.
6471 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6472 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6473 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6474 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6475
50b818bf
SP
64762013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6477
6478 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6479 of assigning.
6480
60d2f8f3
JM
64812013-06-08 Joseph Myers <joseph@codesourcery.com>
6482
4902d2c3
JM
6483 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6484 otherwise empty TRANS lines.
6485 * sysdeps/gnu/errlist.c: Regenerated.
6486
60d2f8f3
JM
6487 * catgets/gencat.c (error_print): Use (void) in function
6488 definition.
6489 * crypt/crypt_util.c (__init_des): Likewise.
6490 * crypt/speeds.c (Stop): Likewise.
6491 (main): Likewise.
6492 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6493 * inet/ruserpass.c (token): Likewise.
6494 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6495 * intl/localealias.c (extend_alias_table): Likewise.
6496 * intl/plural-exp.c (init_germanic_plural): Likewise.
6497 * libio/fcloseall.c (__fcloseall): Likewise.
6498 * libio/genops.c (_IO_flush_all): Likewise.
6499 (_IO_flush_all_linebuffered): Likewise.
6500 (_IO_cleanup): Likewise.
6501 (_IO_iter_begin): Likewise.
6502 (_IO_iter_end): Likewise.
6503 (_IO_list_lock): Likewise.
6504 (_IO_list_unlock): Likewise.
6505 (_IO_list_resetlock): Likewise.
6506 * libio/getchar.c (getchar): Likewise.
6507 * libio/getchar_u.c (getchar_unlocked): Likewise.
6508 * libio/getwchar.c (getwchar): Likewise.
6509 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6510 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6511 * login/getpt.c (__getpt): Likewise.
6512 * login/tst-utmp.c (main): Likewise.
6513 * malloc/hooks.c (__malloc_check_init): Likewise.
6514 * malloc/malloc.c (__malloc_stats): Likewise.
6515 * malloc/mtrace.c (tr_break): Likewise.
6516 (mtrace): Likewise.
6517 (muntrace): Likewise.
6518 * misc/fstab.c (endfsent): Likewise.
6519 * misc/getclktck.c (__getclktck): Likewise.
6520 * misc/getdtsz.c (__getdtablesize): Likewise.
6521 * misc/gethostid.c (gethostid): Likewise.
6522 * misc/getpagesize.c (__getpagesize): Likewise.
6523 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6524 (__get_nprocs): Likewise.
6525 (__get_phys_pages): Likewise.
6526 (__get_avphys_pages): Likewise.
6527 * misc/getttyent.c (getttyent): Likewise.
6528 (setttyent): Likewise.
6529 (endttyent): Likewise.
6530 * misc/getusershell.c (getusershell): Likewise.
6531 (endusershell): Likewise.
6532 (setusershell): Likewise.
6533 (initshells): Likewise.
6534 * misc/hsearch.c (__hdestroy): Likewise.
6535 * misc/sync.c (sync): Likewise.
6536 * misc/syslog.c (closelog_internal): Likewise.
6537 (closelog): Likewise.
6538 * misc/ttyslot.c (ttyslot): Likewise.
6539 * misc/vhangup.c (vhangup): Likewise.
6540 * posix/fork.c (__fork): Likewise.
6541 * posix/getegid.c (__getegid): Likewise.
6542 * posix/geteuid.c (__geteuid): Likewise.
6543 * posix/getgid.c (__getgid): Likewise.
6544 * posix/getpid.c (__getpid): Likewise.
6545 * posix/getppid.c (__getppid): Likewise.
6546 * posix/getuid.c (__getuid): Likewise.
6547 * posix/pause.c (pause): Likewise.
6548 * posix/setpgrp.c (setpgrp): Likewise.
6549 * posix/setsid.c (__setsid): Likewise.
6550 * posix/test-vfork.c (noop): Likewise.
6551 * resolv/gethnamaddr.c (_endhtent): Likewise.
6552 (_gethtent): Likewise.
6553 (ht_endhostent): Likewise.
6554 (gethostent): Likewise.
6555 (dns_service): Likewise.
6556 * stdlib/drand48.c (drand48): Likewise.
6557 * stdlib/lrand48.c (lrand48): Likewise.
6558 * stdlib/mrand48.c (mrand48): Likewise.
6559 * stdlib/rand.c (rand): Likewise.
6560 * stdlib/random.c (__random): Likewise.
6561 * stdlib/setenv.c (clearenv): Likewise.
6562 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6563 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6564 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6565 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6566 (__get_nprocs): Likewise.
6567 (__get_phys_pages): Likewise.
6568 (__get_avphys_pages): Likewise.
6569 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6570 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6571 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6572 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6573 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6574 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6575 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6576 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6577 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6578 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6579 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6580 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6581 * sysdeps/posix/clock.c (clock): Likewise.
6582 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6583 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6584 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6585 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6586 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6588 (__get_nprocs_conf): Likewise.
6589 (__get_phys_pages): Likewise.
6590 (__get_avphys_pages): Likewise.
6591 * time/clock.c (clock): Likewise.
6592 * time/tzset.c (__tzname_max): Likewise.
6593
2e09a79a
JM
65942013-06-07 Joseph Myers <joseph@codesourcery.com>
6595
6596 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6597 (__bswap_32): Do not use "register".
6598 * crypt/crypt.c (_ufc_doit_r): Likewise.
6599 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6600 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6601 * gmon/gmon.c (__monstartup): Likewise.
6602 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6603 * hurd/hurdmalloc.c (more_memory): Likewise.
6604 (malloc): Likewise.
6605 (free): Likewise.
6606 (realloc): Likewise.
6607 (malloc_fork_prepare): Likewise.
6608 (malloc_fork_parent): Likewise.
6609 (malloc_fork_child): Likewise.
6610 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6611 (_svcauth_des): Likewise.
6612 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6613 * inet/inet_net.c (inet_network): Likewise.
6614 * inet/inet_netof.c (inet_netof): Likewise.
6615 * inet/rcmd.c (__validuser2_sa): Likewise.
6616 * io/fts.c (fts_open): Likewise.
6617 (fts_load): Likewise.
6618 (fts_close): Likewise.
6619 (fts_read): Likewise.
6620 (fts_children): Likewise.
6621 (fts_build): Likewise.
6622 (fts_stat): Likewise.
6623 (fts_sort): Likewise.
6624 (fts_alloc): Likewise.
6625 (fts_lfree): Likewise.
6626 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6627 (_IO_file_xsgetn): Likewise.
6628 (_IO_file_xsgetn_mmap): Likewise.
6629 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6630 (_IO_cookie_write): Likewise.
6631 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6632 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6633 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6634 * malloc/obstack.c (_obstack_begin): Likewise.
6635 (_obstack_begin_1): Likewise.
6636 (_obstack_newchunk): Likewise.
6637 (_obstack_allocated_p): Likewise.
6638 (obstack_free): Likewise.
6639 (_obstack_memory_used): Likewise.
6640 * misc/getttyent.c (getttynam): Likewise.
6641 (getttyent): Likewise.
6642 (skip): Likewise.
6643 (value): Likewise.
6644 * misc/getusershell.c (initshells): Likewise.
6645 * misc/syslog.c (__vsyslog_chk): Likewise.
6646 * misc/ttyslot.c (ttyslot): Likewise.
6647 * nis/nis_hash.c (__nis_hash): Likewise.
6648 * posix/fnmatch_loop.c (FCT): Likewise.
6649 * posix/getconf.c (print_all): Likewise.
6650 (main): Likewise.
6651 * posix/getopt.c (exchange): Likewise.
6652 * posix/glob.c (globfree): Likewise.
6653 (prefix_array): Likewise.
6654 (__glob_pattern_type): Likewise.
6655 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6656 (NS_GET32): Likewise.
6657 (NS_PUT16): Likewise.
6658 (NS_PUT32): Likewise.
6659 * resolv/gethnamaddr.c (getanswer): Likewise.
6660 (gethostbyname2): Likewise.
6661 (gethostbyaddr): Likewise.
6662 (_gethtent): Likewise.
6663 (_gethtbyname2): Likewise.
6664 (_gethtbyaddr): Likewise.
6665 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6666 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6667 * resolv/res_init.c (__res_vinit): Likewise.
6668 (net_mask): Likewise.
6669 * resolv/res_mkquery.c (outchar): Likewise.
6670 (PRINT): Likewise.
6671 * stdio-common/printf_fp.c (outchar): Likewise.
6672 (PRINT): Likewise.
6673 * stdio-common/printf_fphex.c (outchar): Likewise.
6674 (PRINT): Likewise.
6675 * stdio-common/printf_size.c (outchar): Likewise.
6676 (PRINT): Likewise.
6677 * stdio-common/test_rdwr.c (main): Likewise.
6678 * stdio-common/tfformat.c (matches): Likewise.
6679 * stdio-common/vfprintf.c (outchar): Likewise.
6680 (printf_unknown): Likewise.
6681 (buffered_vfprintf): Likewise.
6682 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6683 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6684 (ReadFile): Likewise.
6685 * stdlib/qsort.c (SWAP): Likewise.
6686 (_quicksort): Likewise.
6687 * stdlib/setenv.c (__add_to_environ): Likewise.
6688 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6689 * stdlib/strtol_l.c (__strtol_l): Likewise.
6690 * stdlib/tst-strtod.c (main): Likewise.
6691 * stdlib/tst-strtol.c (main): Likewise.
6692 * stdlib/tst-strtoll.c (main): Likewise.
6693 * string/bits/string2.h (__strcmp_cc): Likewise.
6694 (__strcmp_cg): Likewise.
6695 (__strcspn_c1): Likewise.
6696 (__strcspn_c2): Likewise.
6697 (__strcspn_c3): Likewise.
6698 (__strspn_c1): Likewise.
6699 (__strspn_c2): Likewise.
6700 (__strspn_c3): Likewise.
6701 (__strsep_1c): Likewise.
6702 (__strsep_2c): Likewise.
6703 (__strsep_3c): Likewise.
6704 * string/memccpy.c (__memccpy): Likewise.
6705 * string/stpcpy.c (__stpcpy): Likewise.
6706 * string/strcmp.c (strcmp): Likewise.
6707 * string/strrchr.c (strrchr): Likewise.
6708 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6709 Likewise.
6710 * sysdeps/mach/hurd/getcwd.c
6711 (_hurd_canonicalize_directory_name_internal): Likewise.
6712 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6713 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6714 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6715 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6716 Likewise, in both definitions.
6717 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6718 definitions.
6719 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6720 64] (__bswap_64): Likewise.
6721 * time/test_time.c (main): Likewise.
6722 * time/tzfile.c (__tzfile_read): Likewise.
6723 (__tzfile_compute): Likewise.
6724 * time/tzset.c (__tzset_parse_tz): Likewise.
6725 (tzset_internal): Likewise.
6726 (compute_change): Likewise.
6727 * wcsmbs/wcscat.c (__wcscat): Likewise.
6728 * wcsmbs/wcschr.c (wcschr): Likewise.
6729 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6730 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6731 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6732 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6733 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6734 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6735 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6736 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6737 * wcsmbs/wmemset.c (wmemset): Likewise.
6738
9e54314b
JM
67392013-06-06 Joseph Myers <joseph@codesourcery.com>
6740
6741 * scripts/config.guess: Update to version 2013-05-16.
6742 * scripts/config.sub: Update to version 2013-04-24.
6743 * scripts/install-sh: Update to version 2011-11-20.07.
6744 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6745 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6746
350635a5
OB
67472013-06-06 Ondřej Bílka <neleai@seznam.cz>
6748
6749 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6750 * elf/sln.c: Likewise.
6751 * hurd/hurd/ioctl.h: Likewise.
6752 * hurd/hurdmalloc.c: Likewise.
6753 * hurd/xattr.c: Likewise.
6754 * include/shlib-compat.h: Likewise.
6755 * inet/ruserpass.c: Likewise.
6756 * libio/iofgets_u.c: Likewise.
6757 * libio/iofgetws_u.c: Likewise.
6758 * locale/programs/ld-identification.c: Likewise.
6759 * locale/programs/ld-time.c: Likewise.
6760 * mach/msg-destroy.c: Likewise.
6761 * nss/nss_files/files-netgrp.c: Likewise.
6762 * resolv/res_data.c: Likewise.
6763 * soft-fp/op-1.h: Likewise.
6764 * soft-fp/op-2.h: Likewise.
6765 * soft-fp/op-4.h: Likewise.
6766 * soft-fp/op-common.h: Likewise.
6767 * stdio-common/printf_fphex.c: Likewise.
6768 * stdlib/strtod_l.c: Likewise.
6769 * sunrpc/rpc/clnt.h: Likewise.
6770 * sysdeps/generic/framestate.c: Likewise.
6771 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6772 * sysdeps/i386/bsd-setjmp.S: Likewise.
6773 * sysdeps/i386/__longjmp.S: Likewise.
6774 * sysdeps/i386/setjmp.S: Likewise.
6775 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6776 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6777 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6793 * sysdeps/ieee754/support.c: Likewise.
6794 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6795 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6796 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6797 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6798 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6799 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6800 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6801 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6802 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6803 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6804 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6805 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6808 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6809 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6810 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6812
44a988af
OB
68132013-06-05 Ondřej Bílka <neleai@seznam.cz>
6814
25506f09 6815 * posix/transbug.c: Remove executable mode.
44a988af 6816
9c84384c
JM
68172013-06-05 Joseph Myers <joseph@codesourcery.com>
6818
6819 * crypt/speeds.c: Remove trailing whitespace.
6820 * dlfcn/default.c: Likewise.
6821 * elf/ifuncdep2.c: Likewise.
6822 * elf/ifuncmain1.c: Likewise.
6823 * elf/ifuncmain1vis.c: Likewise.
6824 * elf/testobj.h: Likewise.
6825 * elf/tst-stackguard1.c: Likewise.
6826 * gmon/sys/gmon.h: Likewise.
6827 * hurd/hurdmsg.c: Likewise.
6828 * hurd/new-fd.c: Likewise.
6829 * hurd/ports-get.c: Likewise.
6830 * iconvdata/ibm1008_420.c: Likewise.
6831 * inet/tst-getni1.c: Likewise.
6832 * inet/tst-getni2.c: Likewise.
6833 * libio/ioungetc.c: Likewise.
6834 * libio/wfiledoalloc.c: Likewise.
6835 * manual/libm-err-tab.pl: Likewise.
6836 * math/w_dremf.c: Likewise.
6837 * misc/ftruncate.c: Likewise.
6838 * posix/bug-glob2.c: Likewise.
6839 * posix/tst-pcre.c: Likewise.
6840 * posix/wait4.c: Likewise.
6841 * resolv/README: Likewise.
6842 * resolv/res_debug.h: Likewise.
6843 * resolv/tst-inet_ntop.c: Likewise.
6844 * setjmp/bug269-setjmp.c: Likewise.
6845 * soft-fp/extended.h: Likewise.
6846 * soft-fp/op-1.h: Likewise.
6847 * soft-fp/op-2.h: Likewise.
6848 * soft-fp/op-4.h: Likewise.
6849 * soft-fp/op-8.h: Likewise.
6850 * soft-fp/testit.c: Likewise.
6851 * stdio-common/bug16.c: Likewise.
6852 * stdlib/random.c: Likewise.
6853 * sunrpc/rpcsvc/rquota.x: Likewise.
6854 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6855 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6857 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6858 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6859 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6860 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6861 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6862 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6863 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6864 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6883 * sysdeps/ieee754/s_lib_version.c: Likewise.
6884 * sysdeps/mach/hurd/check_fds.c: Likewise.
6885 * sysdeps/mach/hurd/getsockname.c: Likewise.
6886 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6887 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6888 * sysdeps/powerpc/bits/link.h: Likewise.
6889 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6890 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6891 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6892 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6893 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6894 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6895 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6896 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6897 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6898 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6899 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6900 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6901 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6902 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6903 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6904 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6908 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6910 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6911 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6912 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6913 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6921 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6922 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6923 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6924 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6925 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6926 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6927 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6928 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6929 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6930 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6931 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6932 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6933 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6934 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6935 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6936 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6937 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6938 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6941 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6942 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6943 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6944 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6945 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6946 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6947 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6950 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6951 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6952 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6953 * sysdeps/powerpc/sysdep.h: Likewise.
6954 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6955 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6956 * sysdeps/sh/dl-trampoline.S: Likewise.
6957 * sysdeps/sh/memset.S: Likewise.
6958 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6959 * sysdeps/sh/strlen.S: Likewise.
6960 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6961 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6962 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6963 * sysdeps/sparc/sparc32/rem.S: Likewise.
6964 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6965 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6966 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6967 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6968 * sysdeps/sparc/sparc32/urem.S: Likewise.
6969 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6970 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6971 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6972 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6973 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6974 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6975 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6976 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6977 * sysdeps/unix/bsd/times.c: Likewise.
6978 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6979 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6983 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6984 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6985 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6986 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6987 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6988 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6989 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6990 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6991 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6992 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6993 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6994 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6995 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6996 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6997 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6998 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6999 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7000 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7001 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7002 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7003 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7004 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7005 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7006 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7007 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7008 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7009 * sysdeps/x86_64/strcspn.S: Likewise.
7010
869378a5
RA
70112013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7012
7013 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7014 generated file. Regenerate properly from gen-translit.pl.
7015 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7016 locale/C-translit.h.
7017
840e2943
AS
70182013-06-05 Andreas Schwab <schwab@suse.de>
7019
7020 [BZ #15100]
7021 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7022 week as 6 instead of -1.
7023 * time/tst-strptime.c (day_tests): Add test case.
7024
4c60cb0c
SP
70252013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7026
7027 * sysdeps/generic/math_private.h
7028 (libc_feholdexcept_setround_53bit): Replace with
7029 libc_feholdsetround_53bit.
7030 (libc_feupdateenv_53bit): Replace with
7031 libc_feresetround_53bit.
7032 (SET_RESTORE_ROUND_53BIT): Adjust.
7033
d180203e
SP
70342013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7035
96df079a
SP
7036 * string/test-strchrnul.c: Add copyright header.
7037
d180203e
SP
7038 * posix/tst-getaddrinfo4.c: Increase test timeout.
7039
8b0ccb2d
CD
70402013-06-03 Carlos O'Donell <carlos@redhat.com>
7041
7042 [BZ #15536]
7043 * math/libm-test.inc (MAX_EXP): Remove
7044 (MIN_EXP): Define.
7045 (ulp): Use MIN_EXP - MANT_DIG.
7046 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7047
3b3c4d40
CD
70482013-05-31 Carlos O'Donell <carlos@redhat.com>
7049
7050 * po/be.po: Revert last change.
7051 * po/zh_CN.po: Likewise.
7052 * po/header.pot: Likewise.
7053
fab7ce3f
JM
70542013-05-31 Joseph Myers <joseph@codesourcery.com>
7055
7056 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7057 link-libc-deps to empty as target-specific variable.
7058 * Makerules (link-libc-args): New variable.
7059 (libc-for-link): Likewise.
7060 (link-libc-deps): Likewise.
7061 (lib%.so): Depend on $(link-libc-deps). Link with
7062 $(link-libc-args).
7063 (build-module): Link with $(link-libc-args).
7064 (build-module-asneeded): Likewise.
7065 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7066 list of objects.
7067 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7068 target-specific variable.
7069 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7070 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7071 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7072 libc.
7073 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7074 libc and ld.so.
7075 ($(objpfx)libpcprofile.so): Likewise.
7076 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7077 libc_nonshared.a.
7078 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7079 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7080 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7081 $(link-libc-deps).
7082 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7083 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7084 * login/Makefile ($(objpfx)libutil.so): Likewise.
7085 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7086 * math/Makefile ($(objpfx)libm.so): Likewise.
7087 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7088 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7089 variable instead of depending directly on libc.
7090 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7091 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7092 $(link-libc-deps).
7093 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7094 libc.
7095 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7096 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7097 ($(objpfx)libanl.so): Likewise.
7098 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7099 ld.so.
7100 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7101 $(link-libc-deps).
7102 * sysdeps/i386/fpu/Makefile: Remove file.
7103 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7104 ($(objpfx)libm.so): Remove dependency on ld.so.
7105
eca5920c
PF
71062013-05-30 Patsy Franklin <pfrankli@redhat.com>
7107
7108 [BZ # 15553]
7109 * nis/yp_xdr.c (XDRMAXNAME): Define.
7110 (XDRMAXRECORD): Define.
7111 (xdr_domainname): Use XDRMAXNAME.
7112 (xdr_mapname): Likewise.
7113 (xdr_peername): Likewise.
7114 (xdr_keydat): Use XDRMAXRECORD.
7115 (xdr_valdat): Likewise.
7116
71172013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7118
7119 [BZ #14256]
7120 * manual/errno.texi (ESTALE): Update to account for more than
7121 just NFS file systems.
7122 * sysdeps/gnu/errlist.c: Regenerated.
7123
b9375348
SP
71242013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7125
7126 [BZ #15465]
7127 * elf/Makefile (tests): Add tst-null-argv.
7128 (modules-names): Add tst-null-argv-lib.
7129 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7130 (tst-null-argv-ENV): Set environment for tst-null-argv.
7131 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7132 (RTLD_PROGNAME): New macro.
7133 * elf/tst-null-argv.c: New test case.
7134 * elf/tst-null-argv-lib.c: Library for test case.
7135 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7136 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7137 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7138 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7139 * elf/dl-init.c (call_init): Likewise.
7140 (_dl_init): Likewise.
7141 * elf/dl-load.c (print_search_path): Likewise.
7142 (_dl_map_object): Likewise.
7143 * elf/dl-lookup.c (do_lookup_x): Likewise.
7144 (add_dependency): Likewise.
7145 (_dl_lookup_symbol_x): Likewise.
7146 (_dl_debug_bindings): Likewise.
7147 * elf/dl-open.c (_dl_show_scope): Likewise.
7148 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7149 * elf/dl-version.c (match_symbol): Likewise.
7150 (_dl_check_map_versions): Likewise.
7151 * elf/rtld.c (dl_main): Likewise.
7152 (print_unresolved): Use RTLD_PROGNAME.
7153 (print_missing_version): Likewise.
7154 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7155 (elf_machine_rela): Likewise.
7156 * sysdeps/powerpc/powerpc32/dl-machine.c
7157 (__process_machine_rela): Likewise.
7158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7159 Likewise.
7160 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7161 Likewise.
7162 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7163 Likewise.
7164 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7166 Likewise.
7167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7168 Likewise.
7169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7170
8a9f20c8
CD
71712013-05-28 Carlos O'Donell <carlos@redhat.com>
7172
7173 * po/be.po: Add descriptive title.
7174 * po/zh_CN.po: Likewise.
7175 * po/header.pot: Likewise.
7176
0e60d68e
MF
71772013-05-28 Mike Frysinger <vapier@gentoo.org>
7178
7179 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7180 error message.
7181 (enlarge_archive): Likewise.
7182
56b672e9
BN
71832013-05-28 Ben North <ben@redfrontdoor.org>
7184
7185 * manual/arith.texi (frexp): It is the magnitude of the return
7186 value which lies in [0.5, 1), not the return value itself.
7187
5e056687
AZ
71882013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7189
7190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7191
2b66ef5d
TS
71922013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7193
528c2405
TS
7194 * stdio-common/bug26.c (main): Correct fscanf template.
7195
07b4c13d
TS
7196 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7197 declare _dl_skip_args.
7198
ec9dd97c
TS
7199 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7200 Don't declare.
7201
2b66ef5d
TS
7202 * manual/platform.texi: Add missing @end deftypefun.
7203
4f8dfe27
JM
72042013-05-24 Joseph Myers <joseph@codesourcery.com>
7205
0323d086
JM
7206 [BZ #15529]
7207 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7208 bit of mantissa of 2^16382.
7209 * math/libm-test.inc (hypot_test_data): Add more tests.
7210
dd4259b9
JM
7211 * math/libm-test.inc: Add drem and pow10 to list of tested
7212 functions.
7213 (pow10_test): New function.
7214 (drem_test): Likewise.
7215 (drem_test_tonearest): Likewise.
7216 (drem_test_towardzero): Likewise.
7217 (drem_test_downward): Likewise.
7218 (drem_test_upward): Likewise.
7219 (main): Call the new functions.
7220
4f8dfe27
JM
7221 * math/libm-test.inc (finite_test_data): Remove.
7222 (finite_test): Run tests from isfinite_test_data.
7223 (gamma_test_data): Remove.
7224 (gamma_test): Run tests from lgamma_test_data.
7225 * sysdeps/i386/fpu/libm-test-ulps: Update.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227
d116b7c4
AZ
72282013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7229
7230 * manual/platform.texi: Add PowerPC PPR function set documentation.
7231 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7232 implementation.
7233
e96e3767
CD
72342013-05-24 Carlos O'Donell <carlos@redhat.com>
7235
7236 * math/libm-test.inc (MAX_EXP): Define.
7237 (ULPDIFF): Define.
7238 (ulp): New function.
7239 (check_float_internal): Use ULPDIFF.
7240 (cpow_test): Disable failing test.
7241 (check_ulp): Test ulp() implemetnation.
7242 (main): Call check_ulp before starting tests.
7243
b679a606
JM
72442013-05-24 Joseph Myers <joseph@codesourcery.com>
7245
e8bdba36
JM
7246 * math/gen-libm-test.pl (generate_testfile): Do not handle
7247 START_DATA and END_DATA.
7248 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7249 END_DATA.
7250 (acos_tonearest_test_data): Likewise.
7251 (acos_towardzero_test_data): Likewise.
7252 (acos_downward_test_data): Likewise.
7253 (acos_upward_test_data): Likewise.
7254 (acosh_test_data): Likewise.
7255 (asin_test_data): Likewise.
7256 (asin_tonearest_test_data): Likewise.
7257 (asin_towardzero_test_data): Likewise.
7258 (asin_downward_test_data): Likewise.
7259 (asin_upward_test_data): Likewise.
7260 (asinh_test_data): Likewise.
7261 (atan_test_data): Likewise.
7262 (atanh_test_data): Likewise.
7263 (atan2_test_data): Likewise.
7264 (cabs_test_data): Likewise.
7265 (cacos_test_data): Likewise.
7266 (cacosh_test_data): Likewise.
7267 (carg_test_data): Likewise.
7268 (casin_test_data): Likewise.
7269 (casinh_test_data): Likewise.
7270 (catan_test_data): Likewise.
7271 (catanh_test_data): Likewise.
7272 (cbrt_test_data): Likewise.
7273 (ccos_test_data): Likewise.
7274 (ccosh_test_data): Likewise.
7275 (ceil_test_data): Likewise.
7276 (cexp_test_data): Likewise.
7277 (cimag_test_data): Likewise.
7278 (clog_test_data): Likewise.
7279 (clog10_test_data): Likewise.
7280 (conj_test_data): Likewise.
7281 (copysign_test_data): Likewise.
7282 (cos_test_data): Likewise.
7283 (cos_tonearest_test_data): Likewise.
7284 (cos_towardzero_test_data): Likewise.
7285 (cos_downward_test_data): Likewise.
7286 (cos_upward_test_data): Likewise.
7287 (cosh_test_data): Likewise.
7288 (cosh_tonearest_test_data): Likewise.
7289 (cosh_towardzero_test_data): Likewise.
7290 (cosh_downward_test_data): Likewise.
7291 (cosh_upward_test_data): Likewise.
7292 (cpow_test_data): Likewise.
7293 (cproj_test_data): Likewise.
7294 (creal_test_data): Likewise.
7295 (csin_test_data): Likewise.
7296 (csinh_test_data): Likewise.
7297 (csqrt_test_data): Likewise.
7298 (ctan_test_data): Likewise.
7299 (ctan_tonearest_test_data): Likewise.
7300 (ctan_towardzero_test_data): Likewise.
7301 (ctan_downward_test_data): Likewise.
7302 (ctan_upward_test_data): Likewise.
7303 (ctanh_test_data): Likewise.
7304 (ctanh_tonearest_test_data): Likewise.
7305 (ctanh_towardzero_test_data): Likewise.
7306 (ctanh_downward_test_data): Likewise.
7307 (ctanh_upward_test_data): Likewise.
7308 (erf_test_data): Likewise.
7309 (erfc_test_data): Likewise.
7310 (exp_test_data): Likewise.
7311 (exp_tonearest_test_data): Likewise.
7312 (exp_towardzero_test_data): Likewise.
7313 (exp_downward_test_data): Likewise.
7314 (exp_upward_test_data): Likewise.
7315 (exp10_test_data): Likewise.
7316 (exp2_test_data): Likewise.
7317 (expm1_test_data): Likewise.
7318 (fabs_test_data): Likewise.
7319 (fdim_test_data): Likewise.
7320 (finite_test_data): Likewise.
7321 (floor_test_data): Likewise.
7322 (fma_test_data): Likewise.
7323 (fma_towardzero_test_data): Likewise.
7324 (fma_downward_test_data): Likewise.
7325 (fma_upward_test_data): Likewise.
7326 (fmax_test_data): Likewise.
7327 (fmin_test_data): Likewise.
7328 (fmod_test_data): Likewise.
7329 (fpclassify_test_data): Likewise.
7330 (frexp_test_data): Likewise.
7331 (gamma_test_data): Likewise.
7332 (hypot_test_data): Likewise.
7333 (ilogb_test_data): Likewise.
7334 (isfinite_test_data): Likewise.
7335 (isgreater_test_data): Likewise.
7336 (isgreaterequal_test_data): Likewise.
7337 (isinf_test_data): Likewise.
7338 (isless_test_data): Likewise.
7339 (islessequal_test_data): Likewise.
7340 (islessgreater_test_data): Likewise.
7341 (isnan_test_data): Likewise.
7342 (isnormal_test_data): Likewise.
7343 (issignaling_test_data): Likewise.
7344 (isunordered_test_data): Likewise.
7345 (j0_test_data): Likewise.
7346 (j1_test_data): Likewise.
7347 (jn_test_data): Likewise.
7348 (ldexp_test_data): Likewise.
7349 (lgamma_test_data): Likewise.
7350 (lrint_test_data): Likewise.
7351 (lrint_tonearest_test_data): Likewise.
7352 (lrint_towardzero_test_data): Likewise.
7353 (lrint_downward_test_data): Likewise.
7354 (lrint_upward_test_data): Likewise.
7355 (llrint_test_data): Likewise.
7356 (llrint_tonearest_test_data): Likewise.
7357 (llrint_towardzero_test_data): Likewise.
7358 (llrint_downward_test_data): Likewise.
7359 (llrint_upward_test_data): Likewise.
7360 (log_test_data): Likewise.
7361 (log10_test_data): Likewise.
7362 (log1p_test_data): Likewise.
7363 (log2_test_data): Likewise.
7364 (logb_test_data): Likewise.
7365 (logb_downward_test_data): Likewise.
7366 (lround_test_data): Likewise.
7367 (llround_test_data): Likewise.
7368 (modf_test_data): Likewise.
7369 (nearbyint_test_data): Likewise.
7370 (nextafter_test_data): Likewise.
7371 (nexttoward_test_data): Likewise.
7372 (pow_test_data): Likewise.
7373 (pow_tonearest_test_data): Likewise.
7374 (pow_towardzero_test_data): Likewise.
7375 (pow_downward_test_data): Likewise.
7376 (pow_upward_test_data): Likewise.
7377 (remainder_test_data): Likewise.
7378 (remainder_tonearest_test_data): Likewise.
7379 (remainder_towardzero_test_data): Likewise.
7380 (remainder_downward_test_data): Likewise.
7381 (remainder_upward_test_data): Likewise.
7382 (remquo_test_data): Likewise.
7383 (rint_test_data): Likewise.
7384 (rint_tonearest_test_data): Likewise.
7385 (rint_towardzero_test_data): Likewise.
7386 (rint_downward_test_data): Likewise.
7387 (rint_upward_test_data): Likewise.
7388 (round_test_data): Likewise.
7389 (scalb_test_data): Likewise.
7390 (scalbn_test_data): Likewise.
7391 (scalbln_test_data): Likewise.
7392 (signbit_test_data): Likewise.
7393 (sin_test_data): Likewise.
7394 (sin_tonearest_test_data): Likewise.
7395 (sin_towardzero_test_data): Likewise.
7396 (sin_downward_test_data): Likewise.
7397 (sin_upward_test_data): Likewise.
7398 (sincos_test_data): Likewise.
7399 (sinh_test_data): Likewise.
7400 (sinh_tonearest_test_data): Likewise.
7401 (sinh_towardzero_test_data): Likewise.
7402 (sinh_downward_test_data): Likewise.
7403 (sinh_upward_test_data): Likewise.
7404 (sqrt_test_data): Likewise.
7405 (tan_test_data): Likewise.
7406 (tan_tonearest_test_data): Likewise.
7407 (tan_towardzero_test_data): Likewise.
7408 (tan_downward_test_data): Likewise.
7409 (tan_upward_test_data): Likewise.
7410 (tanh_test_data): Likewise.
7411 (tgamma_test_data): Likewise.
7412 (trunc_test_data): Likewise.
7413 (y0_test_data): Likewise.
7414 (y1_test_data): Likewise.
7415 (yn_test_data): Likewise.
7416 (significand_test_data): Likewise.
7417
b679a606
JM
7418 * math/gen-libm-test.pl (@functions): Remove variable.
7419 (generate_testfile): Don't handle START and END lines.
7420 * math/libm-test.inc (START): New macro.
7421 (END): Likewise.
7422 (END_COMPLEX): Likewise.
7423 (acos_test): Use END macro without arguments.
7424 (acos_test_tonearest): Likewise.
7425 (acos_test_towardzero): Likewise.
7426 (acos_test_downward): Likewise.
7427 (acos_test_upward): Likewise.
7428 (acosh_test): Likewise.
7429 (asin_test): Likewise.
7430 (asin_test_tonearest): Likewise.
7431 (asin_test_towardzero): Likewise.
7432 (asin_test_downward): Likewise.
7433 (asin_test_upward): Likewise.
7434 (asinh_test): Likewise.
7435 (atan_test): Likewise.
7436 (atanh_test): Likewise.
7437 (atan2_test): Likewise.
7438 (cabs_test): Likewise.
7439 (cacos_test): Use END_COMPLEX macro without arguments.
7440 (cacosh_test): Likewise.
7441 (carg_test): Use END macro without arguments.
7442 (casin_test): Use END_COMPLEX macro without arguments.
7443 (casinh_test): Likewise.
7444 (catan_test): Likewise.
7445 (catanh_test): Likewise.
7446 (cbrt_test): Use END macro without arguments.
7447 (ccos_test): Use END_COMPLEX macro without arguments.
7448 (ccosh_test): Likewise.
7449 (ceil_test): Use END macro without arguments.
7450 (cexp_test): Use END_COMPLEX macro without arguments.
7451 (cimag_test): Use END macro without arguments.
7452 (clog_test): Use END_COMPLEX macro without arguments.
7453 (clog10_test): Likewise.
7454 (conj_test): Likewise.
7455 (copysign_test): Use END macro without arguments.
7456 (cos_test): Likewise.
7457 (cos_test_tonearest): Likewise.
7458 (cos_test_towardzero): Likewise.
7459 (cos_test_downward): Likewise.
7460 (cos_test_upward): Likewise.
7461 (cosh_test): Likewise.
7462 (cosh_test_tonearest): Likewise.
7463 (cosh_test_towardzero): Likewise.
7464 (cosh_test_downward): Likewise.
7465 (cosh_test_upward): Likewise.
7466 (cpow_test): Use END_COMPLEX macro without arguments.
7467 (cproj_test): Likewise.
7468 (creal_test): Use END macro without arguments.
7469 (csin_test): Use END_COMPLEX macro without arguments.
7470 (csinh_test): Likewise.
7471 (csqrt_test): Likewise.
7472 (ctan_test): Likewise.
7473 (ctan_test_tonearest): Likewise.
7474 (ctan_test_towardzero): Likewise.
7475 (ctan_test_downward): Likewise.
7476 (ctan_test_upward): Likewise.
7477 (ctanh_test): Likewise.
7478 (ctanh_test_tonearest): Likewise.
7479 (ctanh_test_towardzero): Likewise.
7480 (ctanh_test_downward): Likewise.
7481 (ctanh_test_upward): Likewise.
7482 (erf_test): Use END macro without arguments.
7483 (erfc_test): Likewise.
7484 (exp_test): Likewise.
7485 (exp_test_tonearest): Likewise.
7486 (exp_test_towardzero): Likewise.
7487 (exp_test_downward): Likewise.
7488 (exp_test_upward): Likewise.
7489 (exp10_test): Likewise.
7490 (exp2_test): Likewise.
7491 (expm1_test): Likewise.
7492 (fabs_test): Likewise.
7493 (fdim_test): Likewise.
7494 (finite_test): Likewise.
7495 (floor_test): Likewise.
7496 (fma_test): Likewise.
7497 (fma_test_towardzero): Likewise.
7498 (fma_test_downward): Likewise.
7499 (fma_test_upward): Likewise.
7500 (fmax_test): Likewise.
7501 (fmin_test): Likewise.
7502 (fmod_test): Likewise.
7503 (fpclassify_test): Likewise.
7504 (frexp_test): Likewise.
7505 (gamma_test): Likewise.
7506 (hypot_test): Likewise.
7507 (ilogb_test): Likewise.
7508 (isfinite_test): Likewise.
7509 (isgreater_test): Likewise.
7510 (isgreaterequal_test): Likewise.
7511 (isinf_test): Likewise.
7512 (isless_test): Likewise.
7513 (islessequal_test): Likewise.
7514 (islessgreater_test): Likewise.
7515 (isnan_test): Likewise.
7516 (isnormal_test): Likewise.
7517 (issignaling_test): Likewise.
7518 (isunordered_test): Likewise.
7519 (j0_test): Likewise.
7520 (j1_test): Likewise.
7521 (jn_test): Likewise.
7522 (ldexp_test): Likewise.
7523 (lgamma_test): Likewise.
7524 (lrint_test): Likewise.
7525 (lrint_test_tonearest): Likewise.
7526 (lrint_test_towardzero): Likewise.
7527 (lrint_test_downward): Likewise.
7528 (lrint_test_upward): Likewise.
7529 (llrint_test): Likewise.
7530 (llrint_test_tonearest): Likewise.
7531 (llrint_test_towardzero): Likewise.
7532 (llrint_test_downward): Likewise.
7533 (llrint_test_upward): Likewise.
7534 (log_test): Likewise.
7535 (log10_test): Likewise.
7536 (log1p_test): Likewise.
7537 (log2_test): Likewise.
7538 (logb_test): Likewise.
7539 (logb_test_downward): Likewise.
7540 (lround_test): Likewise.
7541 (llround_test): Likewise.
7542 (modf_test): Likewise.
7543 (nearbyint_test): Likewise.
7544 (nextafter_test): Likewise.
7545 (nexttoward_test): Likewise.
7546 (pow_test): Likewise.
7547 (pow_test_tonearest): Likewise.
7548 (pow_test_towardzero): Likewise.
7549 (pow_test_downward): Likewise.
7550 (pow_test_upward): Likewise.
7551 (remainder_test): Likewise.
7552 (remainder_test_tonearest): Likewise.
7553 (remainder_test_towardzero): Likewise.
7554 (remainder_test_downward): Likewise.
7555 (remainder_test_upward): Likewise.
7556 (remquo_test): Likewise.
7557 (rint_test): Likewise.
7558 (rint_test_tonearest): Likewise.
7559 (rint_test_towardzero): Likewise.
7560 (rint_test_downward): Likewise.
7561 (rint_test_upward): Likewise.
7562 (round_test): Likewise.
7563 (scalb_test): Likewise.
7564 (scalbn_test): Likewise.
7565 (scalbln_test): Likewise.
7566 (signbit_test): Likewise.
7567 (sin_test): Likewise.
7568 (sin_test_tonearest): Likewise.
7569 (sin_test_towardzero): Likewise.
7570 (sin_test_downward): Likewise.
7571 (sin_test_upward): Likewise.
7572 (sincos_test): Likewise.
7573 (sinh_test): Likewise.
7574 (sinh_test_tonearest): Likewise.
7575 (sinh_test_towardzero): Likewise.
7576 (sinh_test_downward): Likewise.
7577 (sinh_test_upward): Likewise.
7578 (sqrt_test): Likewise.
7579 (tan_test): Likewise.
7580 (tan_test_tonearest): Likewise.
7581 (tan_test_towardzero): Likewise.
7582 (tan_test_downward): Likewise.
7583 (tan_test_upward): Likewise.
7584 (tanh_test): Likewise.
7585 (tgamma_test): Likewise.
7586 (trunc_test): Likewise.
7587 (y0_test): Likewise.
7588 (y1_test): Likewise.
7589 (yn_test): Likewise.
7590 (significand_test): Likewise.
7591
bae143d2
OB
75922013-05-24 Ondřej Bílka <neleai@seznam.cz>
7593
7594 [BZ #15381]
7595 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7596
9323d39b
EM
75972013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7598
d4ea44a0 7599 [BZ #14894]
9323d39b
EM
7600 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7601 __ppc_mdoio and __ppc_mdoom.
7602 * manual/platform.texi: Document new functions __ppc_yield,
7603 __ppc_mdoio and __ppc_mdoom.
7604
13e23af7
CD
76052013-05-22 Carlos O'Donell <carlos@redhat.com>
7606
7607 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7608 (main): Mention "tls" pseudo-hwcap is legacy.
7609 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7610
351fe550
JM
76112013-05-22 Joseph Myers <joseph@codesourcery.com>
7612
7613 * math/gen-libm-test.pl (parse_args): Output only string of
7614 arguments as text for test name, not full call or descriptions of
7615 tests for extra outputs.
7616 (generate_testfile): Do not pass function name to parse_args.
7617 Generate this_func variable from START.
7618 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7619 field to arg_str.
7620 (struct test_ff_f_data): Likewise.
7621 (test_ff_f_data_nexttoward): Likewise.
7622 (struct test_fi_f_data): Likewise.
7623 (struct test_fl_f_data): Likewise.
7624 (struct test_if_f_data): Likewise.
7625 (struct test_fff_f_data): Likewise.
7626 (struct test_c_f_data): Likewise.
7627 (struct test_f_f1_data): Likewise. Remove field extra_name.
7628 (struct test_fF_f1_data): Likewise.
7629 (struct test_ffI_f1_data): Likewise.
7630 (struct test_c_c_data): Rename test_name field to arg_str.
7631 (struct test_cc_c_data): Likewise.
7632 (struct test_f_i_data): Likewise.
7633 (struct test_ff_i_data): Likewise.
7634 (struct test_f_l_data): Likewise.
7635 (struct test_f_L_data): Likewise.
7636 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7637 and extra2_name.
7638 (COMMON_TEST_SETUP): New macro.
7639 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7640 (COMMON_TEST_CLEANUP): Likewise.
7641 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7642 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7643 macros.
7644 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7645 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7646 macros.
7647 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7648 (RUN_TEST_fff_f): Take argument string. Call new setup and
7649 cleanup macros.
7650 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7651 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7652 macros.
7653 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7654 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7655 macros.
7656 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7657 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7658 cleanup macros.
7659 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7660 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7661 cleanup macros.
7662 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7663 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7664 cleanup macros.
7665 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7666 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7667 macros.
7668 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7669 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7670 macros.
7671 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7672 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7673 macros.
7674 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7675 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7676 cleanup macros.
7677 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7678 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7679 cleanup macros.
7680 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7681 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7682 macros.
7683 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7684 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7685 cleanup macros.
7686 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7687 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7688 macros.
7689 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7690 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7691 macros.
7692 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7693 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7694 cleanup macros.
7695 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7696
85118d4d
EBM
76972013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7698
7699 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7700 to _sifields.sigfault.
7701 (si_addr_lsb): Define new macro.
7702 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7704 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7705
7a44c18f
CD
77062013-05-03 Carlos O'Donell <carlos at redhat.com>
7707
7708 [BZ #15441]
7709 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7710 returns -1.
7711 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7712 null return -1.
7713 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7714 loading the domain.
7715
b50a7181
JM
77162013-05-22 Joseph Myers <joseph@codesourcery.com>
7717
7718 * math/gen-libm-test.pl (parse_args): Do not include expected
7719 result in test name.
7720 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7721 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7722 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7723 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7724 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7726
051063c8
SP
77272013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7728
3ce9e010
SP
7729 * benchtests/Makefile: Sort function entries.
7730
051063c8
SP
7731 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7732 tanh, asinh, acosh, atanh.
7733 * benchtests/acos-inputs: New file.
7734 * benchtests/acosh-inputs: New file.
7735 * benchtests/asin-inputs: New file.
7736 * benchtests/asinh-inputs: New file.
7737 * benchtests/atanh-inputs: New file.
7738 * benchtests/cosh-inputs: New file.
7739 * benchtests/log-inputs: New file.
7740 * benchtests/sinh-inputs: New file.
7741 * benchtests/tanh-inputs: New file.
7742
47c22455
DL
77432013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7744
7745 [BZ #15339]
7746 * posix/tst-getaddrinfo4.c: New test.
7747 * posix/Makefile (tests): Add it.
7748
3d04f5db
SP
77492013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7750
7751 [BZ #15339]
7752 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7753 when no services were used.
7754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7755 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7756
d5dd6189
AS
77572013-05-21 Andreas Schwab <schwab@suse.de>
7758
7759 [BZ #15014]
7760 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7761 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7762 successful.
7763 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7764 redundant variable declarations and reallocation of buffer when
7765 parsing as IPv6 address. Always set NSS status when called from
7766 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7767 buffer too small. Correct computation of needed size.
7768 * nss/Makefile (tests): Add test-digits-dots.
7769 * nss/test-digits-dots.c: New test.
7770
fef94eab
SP
77712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7772
7773 * benchtests/Makefile: Remove instructions for adding
7774 benchmark tests.
7775 * benchtests/README: New file to explain how to execute and
7776 enhance the benchmark tests.
7777
e39adf43
AS
77782013-05-21 Andreas Schwab <schwab@suse.de>
7779
7780 [BZ #15493]
7781 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7782 * setjmp/tst-sigsetjmp.c: New test.
7783
b2b671b6
OB
77842013-05-20 Ondřej Bílka <neleai@seznam.cz>
7785
7786 * sysdeps/x86_64/memset.S (memset): New implementation.
7787 (__bzero): Likewise.
7788 (__memset_tail): New function.
7789
2d48b41c
OB
77902013-05-20 Ondřej Bílka <neleai@seznam.cz>
7791
7792 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7793 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7794 __memcpy_sse2_unaligned ifunc selection.
7795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7796 Add memcpy-sse2-unaligned.S.
7797 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7798 Add: __memcpy_sse2_unaligned.
7799
f16cc3eb
JM
78002013-05-19 Joseph Myers <joseph@codesourcery.com>
7801
3e694268
JM
7802 [BZ #15490]
7803 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7804 math_force_eval before restoring floating-point envrionment.
7805 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7806 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7807 Likewise.
7808 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7809 <math_private.h>.
7810 (__nearbyintl): Use math_force_eval before restoring
7811 floating-point environment.
7812 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7813
db62a907
JM
7814 * math/gen-libm-test.pl (special_functions): Remove.
7815 (parse_args): Don't handle TEST_extra. Handle functions with no
7816 return value.
7817 * math/libm-test.inc (struct test_sincos_data): Replace with
7818 struct test_fFF_11_data.
7819 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7820 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7821 (sincos_test_data): Change element type to struct
7822 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7823 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7824 RUN_TEST_LOOP_sincos.
7825 * math/README.libm-test: Don't mention special handling of
7826 individual functions.
7827 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7828 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7829 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7830 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7831 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7833
f16cc3eb
JM
7834 * math/gen-libm-test.pl (get_variable): Remove function.
7835 (parse_args): Don't show pointer parameters to call in test
7836 names. Use "extra output N" in test names for extra outputs
7837 rather than naming variables.
7838
3779b5b6
JM
78392013-05-18 Joseph Myers <joseph@codesourcery.com>
7840
2ee094ff
JM
7841 [BZ #15488]
7842 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7843 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7844 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7845 double tests.
7846 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7847 disable.
7848 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7849 check_long_double.
7850
3779b5b6
JM
7851 * math/gen-libm-test.pl (@tests): Remove variable.
7852 ($count): Likewise.
7853 (new_test): Remove function.
7854 (show_exceptions): New function.
7855 (special_functions): Use show_exceptions instead of new_test.
7856 (parse_args): Likewise.
7857 (generate_testfile): Pass only function name in generated call to
7858 print_max_error or print_complex_max_error.
7859 (get_ulps): Do not handle complex tests specially.
7860 (output_test): Rename to ...
7861 (get_all_ulps_for_test): ... this. Return a string rather than
7862 printing to a file. Require ulps to be present.
7863 (output_ulps): Generate arrays rather than #defines.
7864 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7865 (struct ulp_data): New type.
7866 (BUILD_COMPLEX_ULP): Remove macro.
7867 (compare_ulp_data): New function.
7868 (find_ulps): Likewise.
7869 (find_test_ulps): Likewise.
7870 (find_function_ulps): Likewise.
7871 (find_complex_function_ulps): Likewise.
7872 (print_max_error): Determine allowed ulps using
7873 find_function_ulps.
7874 (print_complex_max_error): Determine allowed ulps using
7875 find_complex_function_ulps.
7876 (check_float_internal): Determine max ulps using find_test_ulps.
7877 (check_float): Do not take max_ulp parameter. Update call to
7878 check_float_internal.
7879 (check_complex): Likewise.
7880 (check_int): Do not take max_ulp parameter.
7881 (check_long): Likewise.
7882 (check_bool): Likewise.
7883 (check_longlong): Likewise.
7884 (struct test_f_f_data): Remove max_ulp field.
7885 (struct test_ff_f_data): Likewise.
7886 (struct test_ff_f_data_nexttoward): Likewise.
7887 (struct test_fi_f_data): Likewise.
7888 (struct test_fl_f_data): Likewise.
7889 (struct test_if_f_data): Likewise.
7890 (struct test_fff_f_data): Likewise.
7891 (struct test_c_f_data): Likewise.
7892 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7893 (struct test_fF_f1_data): Likewise.
7894 (struct test_ffI_f1_data): Likewise.
7895 (struct test_c_c_data): Remove max_ulp field.
7896 (struct test_cc_c_data): Likewise.
7897 (struct test_f_i_data): Likewise.
7898 (struct test_ff_i_data): Likewise.
7899 (struct test_f_l_data): Likewise.
7900 (struct test_f_L_data): Likewise.
7901 (struct test_sincos_data): Likewise.
7902 (RUN_TEST_f_f): Do not handle ulps.
7903 (RUN_TEST_LOOP_f_f): Likewise.
7904 (RUN_TEST_2_f): Likewise.
7905 (RUN_TEST_LOOP_2_f): Likewise.
7906 (RUN_TEST_fff_f): Likewise.
7907 (RUN_TEST_LOOP_fff_f): Likewise.
7908 (RUN_TEST_c_f): Likewise.
7909 (RUN_TEST_LOOP_c_f): Likewise.
7910 (RUN_TEST_f_f1): Likewise.
7911 (RUN_TEST_LOOP_f_f1): Likewise.
7912 (RUN_TEST_fF_f1): Likewise.
7913 (RUN_TEST_LOOP_fF_f1): Likewise.
7914 (RUN_TEST_fI_f1): Likewise.
7915 (RUN_TEST_LOOP_fI_f1): Likewise.
7916 (RUN_TEST_ffI_f1): Likewise.
7917 (RUN_TEST_LOOP_ffI_f1): Likewise.
7918 (RUN_TEST_c_c): Likewise.
7919 (RUN_TEST_LOOP_c_c): Likewise.
7920 (RUN_TEST_cc_c): Likewise.
7921 (RUN_TEST_LOOP_cc_c): Likewise.
7922 (RUN_TEST_f_i): Likewise.
7923 (RUN_TEST_LOOP_f_i): Likewise.
7924 (RUN_TEST_f_i_tg): Likewise.
7925 (RUN_TEST_LOOP_f_i_tg): Likewise.
7926 (RUN_TEST_ff_i_tg): Likewise.
7927 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7928 (RUN_TEST_f_b): Likewise.
7929 (RUN_TEST_LOOP_f_b): Likewise.
7930 (RUN_TEST_f_b_tg): Likewise.
7931 (RUN_TEST_LOOP_f_b_tg): Likewise.
7932 (RUN_TEST_f_l): Likewise.
7933 (RUN_TEST_LOOP_f_l): Likewise.
7934 (RUN_TEST_f_L): Likewise.
7935 (RUN_TEST_LOOP_f_L): Likewise.
7936 (RUN_TEST_sincos): Likewise.
7937 (RUN_TEST_LOOP_sincos): Likewise.
7938
8269107f
JM
79392013-05-17 Joseph Myers <joseph@codesourcery.com>
7940
bb38759d
JM
7941 [BZ #15480]
7942 [BZ #15485]
7943 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7944 main case of finite arguments, set rounding mode to FE_TONEAREST
7945 and discard exceptions.
7946 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7947 exceptions.
7948 (remainder_tonearest_test_data): New variable.
7949 (remainder_test_tonearest): New function.
7950 (remainder_towardzero_test_data): New variable.
7951 (remainder_test_towardzero): New function.
7952 (remainder_downward_test_data): New variable.
7953 (remainder_test_downward): New function.
7954 (remainder_upward_test_data): New variable.
7955 (remainder_test_upward): New function.
7956 (main): Call the new test functions.
7957
a00bdcf0
JM
7958 * math/libm-test.inc (struct test_f_f1_data): Remove field
7959 extra_init.
7960 (struct test_fF_f1_data): Likewise.
7961 (struct test_ffI_f1_data): Likewise.
7962 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7963 based on value of EXTRA_EXPECTED.
7964 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7965 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7966 EXTRA_VAR based on value of EXTRA_EXPECTED.
7967 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7968 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7969 EXTRA_VAR based on value of EXTRA_EXPECTED.
7970 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7971 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7972 EXTRA_VAR based on value of EXTRA_EXPECTED.
7973 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7974 * math/gen-libm-test.pl (parse_args): Don't output initializers
7975 for extra output values.
7976
de407f79
JM
7977 * math/libm-test.inc (check_int): Expect result to be exactly
7978 equal to expected value and do not handle ulps.
7979 (check_long): Likewise.
7980 (check_longlong): Likewise.
7981
8269107f
JM
7982 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7983 exceptions.
7984 (cimag_test_data): Likewise.
7985 (conj_test_data): Likewise.
7986 (copysign_test_data): Likewise.
7987 (cproj_test_data): Likewise.
7988 (creal_test_data): Likewise.
7989 (fabs_test_data): Likewise.
7990 (fdim_test_data): Likewise.
7991 (finite_test_data): Likewise.
7992 (floor_test_data): Likewise.
7993 (fmax_test_data): Likewise.
7994 (fmin_test_data): Likewise.
7995 (fmod_test_data): Likewise.
7996 (fpclassify_test_data): Likewise.
7997 (frexp_test_data): Likewise.
7998 (ilogb_test_data): Likewise.
7999 (isfinite_test_data): Likewise.
8000 (isgreater_test_data): Likewise.
8001 (isgreaterequal_test_data): Likewise.
8002 (isinf_test_data): Likewise.
8003 (isless_test_data): Likewise.
8004 (islessequal_test_data): Likewise.
8005 (islessgreater_test_data): Likewise.
8006 (isnan_test_data): Likewise.
8007 (isnormal_test_data): Likewise.
8008 (issignaling_test_data): Likewise.
8009 (isunordered_test_data): Likewise.
8010 (ldexp_test_data): Likewise.
8011 (lrint_test_data): Likewise.
8012 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8013 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8014 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8015 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8016 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8017 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8018 test input.
8019 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8020 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8021 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8022 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8023 that test input.
8024 (lrint_downward_test_data): Test for "inexact" exceptions.
8025 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8026 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8027 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8028 test input.
8029 (lrint_upward_test_data): Test for "inexact" exceptions.
8030 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8031 test input.
8032 (llrint_test_data): Test for "inexact" exceptions.
8033 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8034 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8035 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8036 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8037 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8038 (llrint_downward_test_data): Test for "inexact" exceptions.
8039 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8040 (llrint_upward_test_data): Test for "inexact" exceptions.
8041 (logb_test_data): Likewise.
8042 (logb_downward_test_data): Likewise.
8043 (nextafter_test_data): Likewise.
8044 (nexttoward_test_data): Likewise.
8045 (remainder_test_data): Likewise.
8046 (remquo_test_data): Likewise.
8047 (scalbn_test_data): Likewise.
8048 (scalbln_test_data): Likewise.
8049 (signbit_test_data): Likewise.
8050 (sqrt_test_data): Likewise.
8051 (significand_test_data): Likewise.
8052
48a18de1
SP
80532013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8054
8055 [BZ #15424]
8056 * benchtests/bench-modf.c (struct args): Mark arg0 as
8057 volatile.
8058 * scripts/bench.pl: Mark members of struct args as volatile.
8059
13d3b41a
AZ
80602013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8061
68191c1d 8062 [BZ # 15497]
13d3b41a
AZ
8063 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8064 negative infinity on POWER6 or lower.
8065 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8066
2848b105
MR
80672013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8068
8069 [BZ #15442]
8070 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8071 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8072 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8073 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8074 (_FP_SETQNAN): New macro.
8075 (_FP_SETQNAN_SEMIRAW): Likewise.
8076 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8077 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8078 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8079 (FP_EXTEND): Use _FP_FRAC_SNANP.
8080 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8081 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8082 into account.
8083 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8084 New macro.
8085 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8086 Likewise.
8087
323e5cb7
JM
80882013-05-16 Joseph Myers <joseph@codesourcery.com>
8089
c58b274f
JM
8090 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8091 with DIVIDE_BY_ZERO_EXCEPTION.
8092 (gamma_test_data): Likewise.
8093 (lgamma_test_data): Likewise.
8094 (log_test_data): Likewise.
8095 (log10_test_data): Likewise.
8096 (log2_test_data): Likewise.
8097 (tgamma_test_data): Likewise.
8098
0ab34904
JM
8099 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8100 (acos_test_tonearest): Likewise.
8101 (acos_test_towardzero): Likewise.
8102 (acos_test_downward): Likewise.
8103 (acos_test_upward): Likewise.
8104 (acosh_test): Likewise.
8105 (asin_test): Likewise.
8106 (asin_test_tonearest): Likewise.
8107 (asin_test_towardzero): Likewise.
8108 (asin_test_downward): Likewise.
8109 (asin_test_upward): Likewise.
8110 (asinh_test): Likewise.
8111 (atan_test): Likewise.
8112 (atanh_test): Likewise.
8113 (atan2_test): Likewise.
8114 (cabs_test): Likewise.
8115 (cacos_test): Likewise.
8116 (cacosh_test): Likewise.
8117 (casin_test): Likewise.
8118 (casinh_test): Likewise.
8119 (catan_test): Likewise.
8120 (catanh_test): Likewise.
8121 (cbrt_test): Likewise.
8122 (ccos_test): Likewise.
8123 (ccosh_test): Likewise.
8124 (cexp_test): Likewise.
8125 (clog_test): Likewise.
8126 (clog10_test): Likewise.
8127 (cos_test): Likewise.
8128 (cos_test_tonearest): Likewise.
8129 (cos_test_towardzero): Likewise.
8130 (cos_test_downward): Likewise.
8131 (cos_test_upward): Likewise.
8132 (cosh_test): Likewise.
8133 (cosh_test_tonearest): Likewise.
8134 (cosh_test_towardzero): Likewise.
8135 (cosh_test_downward): Likewise.
8136 (cosh_test_upward): Likewise.
8137 (cpow_test): Likewise.
8138 (csin_test): Likewise.
8139 (csinh_test): Likewise.
8140 (csqrt_test): Likewise.
8141 (ctan_test): Likewise.
8142 (ctan_test_tonearest): Likewise.
8143 (ctan_test_towardzero): Likewise.
8144 (ctan_test_downward): Likewise.
8145 (ctan_test_upward): Likewise.
8146 (ctanh_test): Likewise.
8147 (ctanh_test_tonearest): Likewise.
8148 (ctanh_test_towardzero): Likewise.
8149 (ctanh_test_downward): Likewise.
8150 (ctanh_test_upward): Likewise.
8151 (erf_test): Likewise.
8152 (erfc_test): Likewise.
8153 (exp_test): Likewise.
8154 (exp_test_tonearest): Likewise.
8155 (exp_test_towardzero): Likewise.
8156 (exp_test_downward): Likewise.
8157 (exp_test_upward): Likewise.
8158 (exp10_test): Likewise.
8159 (exp2_test): Likewise.
8160 (expm1_test): Likewise.
8161 (fmod_test): Likewise.
8162 (gamma_test): Likewise.
8163 (hypot_test): Likewise.
8164 (j0_test): Likewise.
8165 (j1_test): Likewise.
8166 (jn_test): Likewise.
8167 (lgamma_test): Likewise.
8168 (log_test): Likewise.
8169 (log10_test): Likewise.
8170 (log1p_test): Likewise.
8171 (log2_test): Likewise.
8172 (logb_test_downward): Likewise.
8173 (pow_test): Likewise.
8174 (pow_test_tonearest): Likewise.
8175 (pow_test_towardzero): Likewise.
8176 (pow_test_downward): Likewise.
8177 (pow_test_upward): Likewise.
8178 (remainder_test): Likewise.
8179 (remquo_test): Likewise.
8180 (sin_test): Likewise.
8181 (sin_test_tonearest): Likewise.
8182 (sin_test_towardzero): Likewise.
8183 (sin_test_downward): Likewise.
8184 (sin_test_upward): Likewise.
8185 (sincos_test): Likewise.
8186 (sinh_test): Likewise.
8187 (sinh_test_tonearest): Likewise.
8188 (sinh_test_towardzero): Likewise.
8189 (sinh_test_downward): Likewise.
8190 (sinh_test_upward): Likewise.
8191 (sqrt_test): Likewise.
8192 (tan_test): Likewise.
8193 (tan_test_tonearest): Likewise.
8194 (tan_test_towardzero): Likewise.
8195 (tan_test_downward): Likewise.
8196 (tan_test_upward): Likewise.
8197 (tanh_test): Likewise.
8198 (tgamma_test): Likewise.
8199 (y0_test): Likewise.
8200 (y1_test): Likewise.
8201 (yn_test): Likewise.
8202
323e5cb7
JM
8203 * math/gen-libm-test.pl (adjust_arg): Remove function.
8204 (special_function): Remove argument $in_func. Only handle
8205 generating output for tables of tests, not inside functions.
8206 (parse_args): Likewise.
8207 (generate_testfile): Remove variable $in_func. Update call to
8208 parse_args.
8209 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8210 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8211 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8212 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8213 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8214 (MAX_VALUE_INIT): Rename macro to max_value.
8215 (MIN_VALUE_INIT): Rename macro to min_value.
8216 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8217 (plus_zero): Remove variable.
8218 (minus_zero): Likewise.
8219 (plus_infty): Likewise.
8220 (minus_infty): Likewise.
8221 (qnan_value): Likewise.
8222 (max_value): Likewise.
8223 (min_value): Likewise.
8224 (min_subnorm_value): Likewise.
8225
e054f494
RA
82262013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8227
8228 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8229 uint64_t or uint32_t usage.
8230 * crypt/sha256-block.c: Likewise.
8231 * crypt/sha256-crypt.c: Likewise.
8232 * crypt/sha256.c: Likewise.
8233 * crypt/sha512-block.c: Likewise.
8234 * crypt/sha512-crypt.c: Likewise.
8235 * crypt/sha512.c: Likewise.
8236 * debug/backtrace-tst.c: Likewise.
8237 * debug/pcprofiledump.c: Likewise.
8238 * elf/cache.c: Likewise.
8239 * elf/dl-cache.c: Likewise.
8240 * elf/dl-misc.c: Likewise.
8241 * elf/dl-profile.c: Likewise.
8242 * elf/dl-support.c: Likewise.
8243 * elf/ldconfig.c: Likewise.
8244 * elf/sprof.c: Likewise.
8245 * iconv/dummy-repertoire.c: Likewise.
8246 * iconv/iconv_charmap.c: Likewise.
8247 * iconv/skeleton.c: Likewise.
8248 * iconvdata/8bit-generic.c: Likewise.
8249 * iconvdata/cp737.h: Likewise.
8250 * iconvdata/cp775.h: Likewise.
8251 * iconvdata/ibm1008.h: Likewise.
8252 * iconvdata/ibm1025.h: Likewise.
8253 * iconvdata/ibm1046.h: Likewise.
8254 * iconvdata/ibm1097.h: Likewise.
8255 * iconvdata/ibm1112.h: Likewise.
8256 * iconvdata/ibm1122.h: Likewise.
8257 * iconvdata/ibm1123.h: Likewise.
8258 * iconvdata/ibm1124.h: Likewise.
8259 * iconvdata/ibm1129.h: Likewise.
8260 * iconvdata/ibm1130.h: Likewise.
8261 * iconvdata/ibm1132.h: Likewise.
8262 * iconvdata/ibm1133.h: Likewise.
8263 * iconvdata/ibm1137.h: Likewise.
8264 * iconvdata/ibm1140.h: Likewise.
8265 * iconvdata/ibm1141.h: Likewise.
8266 * iconvdata/ibm1142.h: Likewise.
8267 * iconvdata/ibm1143.h: Likewise.
8268 * iconvdata/ibm1144.h: Likewise.
8269 * iconvdata/ibm1145.h: Likewise.
8270 * iconvdata/ibm1146.h: Likewise.
8271 * iconvdata/ibm1147.h: Likewise.
8272 * iconvdata/ibm1148.h: Likewise.
8273 * iconvdata/ibm1149.h: Likewise.
8274 * iconvdata/ibm1153.h: Likewise.
8275 * iconvdata/ibm1154.h: Likewise.
8276 * iconvdata/ibm1155.h: Likewise.
8277 * iconvdata/ibm1156.h: Likewise.
8278 * iconvdata/ibm1157.h: Likewise.
8279 * iconvdata/ibm1158.h: Likewise.
8280 * iconvdata/ibm1160.h: Likewise.
8281 * iconvdata/ibm1161.h: Likewise.
8282 * iconvdata/ibm1162.h: Likewise.
8283 * iconvdata/ibm1163.h: Likewise.
8284 * iconvdata/ibm1164.h: Likewise.
8285 * iconvdata/ibm1166.h: Likewise.
8286 * iconvdata/ibm1167.h: Likewise.
8287 * iconvdata/ibm12712.h: Likewise.
8288 * iconvdata/ibm1390.h: Likewise.
8289 * iconvdata/ibm1399.h: Likewise.
8290 * iconvdata/ibm16804.h: Likewise.
8291 * iconvdata/ibm4517.h: Likewise.
8292 * iconvdata/ibm4899.h: Likewise.
8293 * iconvdata/ibm4909.h: Likewise.
8294 * iconvdata/ibm4971.h: Likewise.
8295 * iconvdata/ibm5347.h: Likewise.
8296 * iconvdata/ibm803.h: Likewise.
8297 * iconvdata/ibm856.h: Likewise.
8298 * iconvdata/ibm901.h: Likewise.
8299 * iconvdata/ibm902.h: Likewise.
8300 * iconvdata/ibm9030.h: Likewise.
8301 * iconvdata/ibm9066.h: Likewise.
8302 * iconvdata/ibm921.h: Likewise.
8303 * iconvdata/ibm922.h: Likewise.
8304 * iconvdata/ibm9448.h: Likewise.
8305 * iconvdata/isiri-3342.h: Likewise.
8306 * iconvdata/jis0201.h: Likewise.
8307 * include/link.h: Likewise.
8308 * include/netdb.h: Likewise.
8309 * inet/check_native.c: Likewise.
8310 * inet/check_pf.c: Likewise.
8311 * inet/getipv4sourcefilter.c: Likewise.
8312 * inet/getnameinfo.c: Likewise.
8313 * inet/getsourcefilter.c: Likewise.
8314 * inet/htonl.c: Likewise.
8315 * inet/setipv4sourcefilter.c: Likewise.
8316 * inet/setsourcefilter.c: Likewise.
8317 * inet/test-inet6_opt.c: Likewise.
8318 * inet/tst-network.c: Likewise.
8319 * locale/C-collate.c: Likewise.
8320 * locale/C-ctype.c: Likewise.
8321 * locale/C-time.c: Likewise.
8322 * locale/C-translit.h: Likewise.
8323 * locale/loadarchive.c: Likewise.
8324 * locale/programs/3level.h: Likewise.
8325 * locale/programs/charmap.c: Likewise.
8326 * locale/programs/charmap.h: Likewise.
8327 * locale/programs/ld-address.c: Likewise.
8328 * locale/programs/ld-collate.c: Likewise.
8329 * locale/programs/ld-ctype.c: Likewise.
8330 * locale/programs/ld-identification.c: Likewise.
8331 * locale/programs/ld-measurement.c: Likewise.
8332 * locale/programs/ld-messages.c: Likewise.
8333 * locale/programs/ld-monetary.c: Likewise.
8334 * locale/programs/ld-name.c: Likewise.
8335 * locale/programs/ld-numeric.c: Likewise.
8336 * locale/programs/ld-paper.c: Likewise.
8337 * locale/programs/ld-telephone.c: Likewise.
8338 * locale/programs/ld-time.c: Likewise.
8339 * locale/programs/linereader.c: Likewise.
8340 * locale/programs/locale.c: Likewise.
8341 * locale/programs/locarchive.c: Likewise.
8342 * locale/programs/locfile.h: Likewise.
8343 * locale/programs/repertoire.c: Likewise.
8344 * locale/programs/simple-hash.c: Likewise.
8345 * locale/programs/simple-hash.h: Likewise.
8346 * malloc/memusage.c: Likewise.
8347 * malloc/memusagestat.c: Likewise.
8348 * nis/nis_defaults.c: Likewise.
8349 * nis/nis_hash.c: Likewise.
8350 * nis/nis_print.c: Likewise.
8351 * nis/nis_xdr.c: Likewise.
8352 * nscd/connections.c: Likewise.
8353 * nscd/hstcache.c: Likewise.
8354 * nscd/nscd_gethst_r.c: Likewise.
8355 * nscd/nscd_getserv_r.c: Likewise.
8356 * nscd/nscd_helper.c: Likewise.
8357 * nscd/servicescache.c: Likewise.
8358 * nss/makedb.c: Likewise.
8359 * nss/nss_db/db-XXX.c: Likewise.
8360 * nss/nss_db/db-initgroups.c: Likewise.
8361 * nss/nss_db/db-netgrp.c: Likewise.
8362 * nss/nss_files/files-network.c: Likewise.
8363 * nss/nss_files/files-parse.c: Likewise.
8364 * posix/bug-regex5.c: Likewise.
8365 * posix/fnmatch_loop.c: Likewise.
8366 * posix/regcomp.c: Likewise.
8367 * posix/regexec.c: Likewise.
8368 * posix/tst-rfc3484-2.c: Likewise.
8369 * posix/tst-rfc3484-3.c: Likewise.
8370 * posix/tst-rfc3484.c: Likewise.
8371 * resolv/nss_dns/dns-canon.c: Likewise.
8372 * resolv/nss_dns/dns-network.c: Likewise.
8373 * resolv/res_init.c: Likewise.
8374 * resolv/res_mkquery.c: Likewise.
8375 * resolv/tst-aton.c: Likewise.
8376 * stdlib/cxa_atexit.c: Likewise.
8377 * stdlib/cxa_finalize.c: Likewise.
8378 * stdlib/gen-fpioconst.c: Likewise.
8379 * stdlib/strtol_l.c: Likewise.
8380 * string/tst-endian.c: Likewise.
8381 * sunrpc/auth_des.c: Likewise.
8382 * sunrpc/clnt_udp.c: Likewise.
8383 * sunrpc/rtime.c: Likewise.
8384 * sunrpc/svcauth_des.c: Likewise.
8385 * sunrpc/xdr.c: Likewise.
8386 * sunrpc/xdr_intXX_t.c: Likewise.
8387 * sunrpc/xdr_rec.c: Likewise.
8388 * sysdeps/generic/ldconfig.h: Likewise.
8389 * sysdeps/generic/ldsodefs.h: Likewise.
8390 * sysdeps/generic/memusage.h: Likewise.
8391 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8393 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8394 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8395 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8397 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8401 * sysdeps/posix/getaddrinfo.c: Likewise.
8402 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8403 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8404 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8405 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8406 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8407 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8408 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8409 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8410 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8411 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8412 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8413 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8414 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8415 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8417 * sysdeps/x86_64/dl-tls.h: Likewise.
8418 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8419 * time/alt_digit.c: Likewise.
8420 * time/era.c: Likewise.
8421 * wcsmbs/tst-c16c32-1.c: Likewise.
8422
8c75f674
JM
84232013-05-16 Joseph Myers <joseph@codesourcery.com>
8424
8425 * math/libm-test.inc (struct test_sincos_data): New type.
8426 (RUN_TEST_LOOP_sincos): New macro.
8427 (sincos_test_data): New variable.
8428 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8429
e6e49e59
RH
84302013-05-16 Richard Henderson <rth@redhat.com>
8431
8432 * math/atest-exp2.c (LIMB64): New macro.
8433 (CONSTSZ): New macro.
8434 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8435 (hexdig): Move ...
8436 (print_mpn_fp): ... to function scope.
8437 (read_mpn_hex): Remove.
8438 (get_log2): Remove.
8439 (exp2_mpn): Use mp_log2.
8440 (main): Use mp_exp1.
8441
15c7c18d
JM
84422013-05-16 Joseph Myers <joseph@codesourcery.com>
8443
105a07df
JM
8444 * math/libm-test.inc: Remove comment about not testing "inexact"
8445 exceptions.
8446 (INEXACT_EXCEPTION): New macro.
8447 (NO_INEXACT_EXCEPTION): Likewise.
8448 (INVALID_EXCEPTION_OK): Update value.
8449 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8450 (OVERFLOW_EXCEPTION_OK): Likewise.
8451 (UNDERFLOW_EXCEPTION_OK): Likewise.
8452 (IGNORE_ZERO_INF_SIGN): Likewise.
8453 (ERRNO_UNCHANGED): Likewise.
8454 (ERRNO_EDOM): Likewise.
8455 (ERRNO_ERANGE): Likewise.
8456 (test_exceptions): Handle testing "inexact" exceptions.
8457 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8458 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8459 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8460 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8461 INEXACT_EXCEPTION.
8462 (rint_towardzero_test_data): Likewise.
8463 (rint_downward_test_data): Likewise.
8464 (rint_upward_test_data): Likewise.
8465
e9eee333
JM
8466 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8467 with OVERFLOW_EXCEPTION.
8468 (exp10_test_data): Likewise.
8469 (exp2_test_data): Likewise.
8470 (expm1_test_data): Likewise.
8471 (lgamma_test_data): Likewise.
8472 (pow_test_data): Likewise.
8473 (tgamma_test_data): Likewise.
8474 (yn_test_data): Remove duplicate test of overflow.
8475
1c38ff73
JM
8476 * math/libm-test.inc (struct test_cc_c_data): New type.
8477 (RUN_TEST_LOOP_cc_c): New macro.
8478 (cpow_test_data): New variable.
8479 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8480
15c7c18d
JM
8481 * math/libm-test.inc (struct test_f_L_data): New type.
8482 (RUN_TEST_LOOP_f_L): New macro.
8483 (llrint_test_data): New variable.
8484 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8485 (llrint_tonearest_test_data): New variable.
8486 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8487 (llrint_towardzero_test_data): New variable.
8488 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8489 (llrint_downward_test_data): New variable.
8490 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8491 (llrint_upward_test_data): New variable.
8492 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8493 (llround_test_data): New variable.
8494 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8495
f137ff13
PC
84962013-05-13 Peter Collingbourne <pcc@google.com>
8497
8498 * math/atest-exp2.c (get_log2): Remove const attribute.
8499
3608cb24
JM
85002013-05-15 Joseph Myers <joseph@codesourcery.com>
8501
8502 * math/libm-test.inc (struct test_f_l_data): New type.
8503 (RUN_TEST_LOOP_f_l): New macro.
8504 (lrint_test_data): New variable.
8505 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8506 (lrint_tonearest_test_data): New variable.
8507 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8508 (lrint_towardzero_test_data): New variable.
8509 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8510 (lrint_downward_test_data): New variable.
8511 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8512 (lrint_upward_test_data): New variable.
8513 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8514 (lround_test_data): New variable.
8515 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8516
39b1f617
PC
85172013-05-15 Peter Collingbourne <pcc@google.com>
8518
1deff3dc
PC
8519 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8520 (EXTRACT_WORDS64) Use where appropriate.
8521 (INSERT_WORDS64) Likewise.
8522
791f3ba0
PC
8523 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8524 constraints with x constraints.
8525 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8526
39b1f617
PC
8527 * malloc/obstack.c (_obstack_compat): Add initializer.
8528
12fba011
EM
85292013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8530
8531 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8532 si_trapno and add si_addr_lsb to _sifields.sigfault.
8533 (si_trapno): Remove macro.
8534 (si_addr_lsb): Define new macro.
8535 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8536
d369f531
JM
85372013-05-15 Joseph Myers <joseph@codesourcery.com>
8538
b861c6c4
JM
8539 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8540 instead of TEST_f_l.
8541 (llrint_test_tonearest): Likewise.
8542 (llrint_test_towardzero): Likewise.
8543 (llrint_test_downward): Likewise.
8544 (llrint_test_upward): Likewise.
8545 (llround_test): Likewise.
8546
7abeee12
JM
8547 * math/libm-test.inc (struct test_f_i_data): Add comment.
8548 (RUN_TEST_LOOP_f_b): New macro.
8549 (RUN_TEST_LOOP_f_b_tg): Likewise.
8550 (finite_test_data): New variable.
8551 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8552 (isfinite_test_data): New variable.
8553 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8554 (isinf_test_data): New variable.
8555 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8556 (isnan_test_data): New variable.
8557 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8558 (isnormal_test_data): New variable.
8559 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8560 (issignaling_test_data): New variable.
8561 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8562 (signbit_test_data): New variable.
8563 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8564
cbe8c4d3
JM
8565 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8566 with INVALID_EXCEPTION.
8567 (acosh_test_data): Likewise.
8568 (asin_test_data): Likewise.
8569 (atanh_test_data): Likewise.
8570 (fmod_test_data): Likewise.
8571 (log_test_data): Likewise.
8572 (log10_test_data): Likewise.
8573 (log2_test_data): Likewise.
8574 (pow_test_data): Likewise.
8575 (sqrt_test_data): Likewise.
8576 (y0_test_data): Likewise.
8577 (y1_test_data): Likewise.
8578 (yn_test_data): Likewise.
8579
5575c0e5
JM
8580 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8581 function contents.
8582
d369f531
JM
8583 * math/libm-test.inc (struct test_ff_i_data): New type.
8584 (RUN_TEST_LOOP_ff_i_tg): New macro.
8585 (isgreater_test_data): New variable.
8586 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8587 (isgreaterequal_test_data): New variable.
8588 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8589 (isless_test_data): New variable.
8590 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8591 (islessequal_test_data): New variable.
8592 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8593 (islessgreater_test_data): New variable.
8594 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8595 (isunordered_test_data): New variable.
8596 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8597
781fd748
DM
85982013-05-14 David S. Miller <davem@davemloft.net>
8599
8600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8601
87aa21df
JM
86022013-05-14 Joseph Myers <joseph@codesourcery.com>
8603
5e908270
JM
8604 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8605
f71172e5
JM
8606 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8607 extra_test to int.
8608 (struct test_f_i_data): Change type of max_ulp to int.
8609
8cfa635a
JM
8610 * math/libm-test.inc (test_ffI_f1_data): New type.
8611 (RUN_TEST_LOOP_ffI_f1): New macro.
8612 (remquo_test_data): New variable.
8613 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8614
2bcb36b2
JM
8615 * setjmp/tst-setjmp-fp.c: New file.
8616 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8617 (link-libm): New variable.
8618 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8619
acbd839a
JM
8620 * math/libm-test.inc (struct test_f_i_data): New type.
8621 (RUN_TEST_LOOP_f_i): New macro.
8622 (RUN_TEST_LOOP_f_i_tg): Likewise.
8623 (fpclassify_test_data): New variable.
8624 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8625 (ilogb_test_data): New variable.
8626 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8627
e414d745
JM
8628 * math/libm-test.inc (scalbln_test): Correct function name in END
8629 call.
8630
d9c2a0fd
JM
8631 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8632 (RUN_TEST_LOOP_fI_f1): New macro.
8633 (frexp_test_data): New variable.
8634 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8635
9dc9095d
JM
8636 * math/libm-test.inc (struct test_fF_f1_data): New type.
8637 (RUN_TEST_LOOP_fF_f1): New macro.
8638 (modf_test_data): New variable.
8639 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8640
87aa21df
JM
8641 * math/libm-test.inc (struct test_f_f1_data): New type.
8642 (RUN_TEST_LOOP_f_f1): New macro.
8643 (gamma_test_data): New variable.
8644 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8645 (lgamma_test_data): New variable.
8646 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8647
141af660
CD
86482013-05-13 Carlos O'Donell <carlos@redhat.com>
8649
8650 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8651 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8652 (main): Comment "tls" pseudo-hwcap.
8653
6d33265c
JM
86542013-05-13 Joseph Myers <joseph@codesourcery.com>
8655
68fc074c
JM
8656 * math/libm-test.inc (struct test_fl_f_data): New type.
8657 (RUN_TEST_LOOP_fl_f): New variable.
8658 (scalbln_test_data): New variable.
8659 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8660
243216e1
JM
8661 * math/libm-test.inc (struct test_fi_f_data): New type.
8662 (RUN_TEST_LOOP_fi_f): New macro.
8663 (ldexp_test_data): New variable.
8664 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8665 (scalbn_test_data): New variable.
8666 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8667
6a1992e2
JM
8668 * math/libm-test.inc (struct test_c_f_data): New type.
8669 (RUN_TEST_LOOP_c_f): New macro.
8670 (cabs_test_data): New variable.
8671 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8672 (carg_test_data): New variable.
8673 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8674 (cimag_test_data): New variable.
8675 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8676 (creal_test_data): New variable.
8677 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8678
0e400df5
JM
8679 * math/libm-test.inc (struct test_if_f_data): New type.
8680 (RUN_TEST_LOOP_if_f): New macro.
8681 (jn_test_data): New variable.
8682 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8683 (yn_test_data): New variable.
8684 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8685
6d33265c
JM
8686 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8687
f98ece5f
AZ
86882013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8689
8690 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8691 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8692
0f7d347b
SP
86932013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8694
43fe811b
SP
8695 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8696 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8697 (bench-deps): Add bench-timing.h.
8698 * benchtests-bench-skeleton.c: Include bench-timing.h.
8699 (main): Use TIMING_* macros instead of clock_gettime.
8700 * benchtests/bench-timing.h: New file.
8701
0f7d347b
SP
8702 [BZ #14582]
8703 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8704 Renamed from _LIB_VERSION.
8705 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8706
601a3a5f
JM
87072013-05-12 Joseph Myers <joseph@codesourcery.com>
8708
4f184d30
JM
8709 * math/libm-test.inc (struct test_fff_f_data): New type.
8710 (RUN_TEST_LOOP_fff_f): New macro.
8711 (fma_test_data): New variable.
8712 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8713 (fma_towardzero_test_data): New variable.
8714 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8715 (fma_downward_test_data): New variable.
8716 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8717 (fma_upward_test_data): New variable.
8718 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8719
08198877
JM
8720 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8721 (struct test_c_c_data): New type.
8722 (RUN_TEST_LOOP_c_c): New macro.
8723 (cacos_test_data): New variable.
8724 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8725 (cacosh_test_data): New variable.
8726 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8727 (casin_test_data): New variable.
8728 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8729 (casinh_test_data): New variable.
8730 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8731 (catan_test_data): New variable.
8732 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8733 (catanh_test_data): New variable.
8734 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8735 (ccos_test_data): New variable.
8736 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8737 (ccosh_test_data): New variable.
8738 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8739 (cexp_test_data): New variable.
8740 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8741 (clog_test_data): New variable.
8742 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8743 (clog10_test_data): New variable.
8744 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8745 (conj_test_data): New variable.
8746 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8747 (cproj_test_data): New variable.
8748 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8749 (csin_test_data): New variable.
8750 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8751 (csinh_test_data): New variable.
8752 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8753 (csqrt_test_data): New variable.
8754 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8755 (ctan_test_data): New variable.
8756 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8757 (ctan_tonearest_test_data): New variable.
8758 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8759 (ctan_towardzero_test_data): New variable.
8760 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8761 (ctan_downward_test_data): New variable.
8762 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8763 (ctan_upward_test_data): New variable.
8764 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8765 (ctanh_test_data): New variable.
8766 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8767 (ctanh_tonearest_test_data): New variable.
8768 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8769 (ctanh_towardzero_test_data): New variable.
8770 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8771 (ctanh_downward_test_data): New variable.
8772 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8773 (ctanh_upward_test_data): New variable.
8774 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8775 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8776 of BUILD_COMPLEX.
8777
601a3a5f
JM
8778 * math/libm-test.inc (struct test_ff_f_data): New type.
8779 (struct test_ff_f_data_nexttoward): Likewise.
8780 (RUN_TEST_LOOP_2_f): New macro.
8781 (RUN_TEST_LOOP_ff_f): Likewise.
8782 (atan2_test_data): New variable.
8783 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8784 (copysign_test_data): New variable.
8785 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8786 (fdim_test_data): New variable.
8787 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8788 (fmax_test_data): New variable.
8789 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8790 (fmin_test_data): New variable.
8791 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8792 (fmod_test_data): New variable.
8793 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8794 (hypot_test_data): New variable.
8795 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8796 (nextafter_test_data): New variable.
8797 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8798 (nexttoward_test_data): New variable.
8799 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8800 (pow_test_data): New variable.
8801 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8802 (pow_tonearest_test_data): New variable.
8803 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8804 (pow_towardzero_test_data): New variable.
8805 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8806 (pow_downward_test_data): New variable.
8807 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8808 (pow_upward_test_data): New variable.
8809 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8810 (remainder_test_data): New variable.
8811 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8812 (scalb_test_data): New variable.
8813 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8814 * sysdeps/i386/fpu/libm-test-ulps: Update.
8815
74c57478
JM
88162013-05-11 Joseph Myers <joseph@codesourcery.com>
8817
8329e4da
JM
8818 * math/libm-test.inc (fma_test): Use max_value instead of local
8819 variable fltmax.
8820 (nextafter_test): Likewise.
8821
74c57478
JM
8822 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8823 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8824 (acos_downward_test_data): New variable.
8825 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8826 (acos_upward_test_data): New variable.
8827 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8828 (acosh_test_data): New variable.
8829 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8830 (asin_test_data): New variable.
8831 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8832 (asin_tonearest_test_data): New variable.
8833 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8834 (asin_towardzero_test_data): New variable.
8835 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8836 (asin_downward_test_data): New variable.
8837 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8838 (asin_upward_test_data): New variable.
8839 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8840 (asinh_test_data): New variable.
8841 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8842 (atan_test_data): New variable.
8843 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8844 (atanh_test_data): New variable.
8845 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8846 (cbrt_test_data): New variable.
8847 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8848 (ceil_test_data): New variable.
8849 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8850 (cos_test_data): New variable.
8851 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8852 (cos_tonearest_test_data): New variable.
8853 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8854 (cos_towardzero_test_data): New variable.
8855 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8856 (cos_downward_test_data): New variable.
8857 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8858 (cos_upward_test_data): New variable.
8859 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8860 (cosh_test_data): New variable.
8861 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8862 (cosh_tonearest_test_data): New variable.
8863 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8864 (cosh_towardzero_test_data): New variable.
8865 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8866 (cosh_downward_test_data): New variable.
8867 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8868 (cosh_upward_test_data): New variable.
8869 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8870 (erf_test_data): New variable.
8871 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8872 (erfc_test_data): New variable.
8873 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8874 (exp_test_data): New variable.
8875 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8876 (exp_tonearest_test_data): New variable.
8877 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8878 (exp_towardzero_test_data): New variable.
8879 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8880 (exp_downward_test_data): New variable.
8881 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8882 (exp_upward_test_data): New variable.
8883 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8884 (exp10_test_data): New variable.
8885 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8886 (exp2_test_data): New variable.
8887 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8888 (expm1_test_data): New variable.
8889 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8890 (fabs_test_data): New variable.
8891 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8892 (floor_test_data): New variable.
8893 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8894 (j0_test_data): New variable.
8895 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8896 (j1_test_data): New variable.
8897 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8898 (log_test_data): New variable.
8899 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8900 (log10_test_data): New variable.
8901 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8902 (log1p_test_data): New variable.
8903 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8904 (log2_test_data): New variable.
8905 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8906 (logb_test_data): New variable.
8907 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8908 (logb_downward_test_data): New variable.
8909 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8910 (nearbyint_test_data): New variable.
8911 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8912 (rint_test_data): New variable.
8913 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8914 (rint_tonearest_test_data): New variable.
8915 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8916 (rint_towardzero_test_data): New variable.
8917 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8918 (rint_downward_test_data): New variable.
8919 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8920 (rint_upward_test_data): New variable.
8921 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8922 (round_test_data): New variable.
8923 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8924 (sin_test_data): New variable.
8925 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8926 (sin_tonearest_test_data): New variable.
8927 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8928 (sin_towardzero_test_data): New variable.
8929 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8930 (sin_downward_test_data): New variable.
8931 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8932 (sin_upward_test_data): New variable.
8933 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8934 (sinh_test_data): New variable.
8935 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8936 (sinh_tonearest_test_data): New variable.
8937 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8938 (sinh_towardzero_test_data): New variable.
8939 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8940 (sinh_downward_test_data): New variable.
8941 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8942 (sinh_upward_test_data): New variable.
8943 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8944 (sqrt_test_data): New variable.
8945 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8946 (tan_test_data): New variable.
8947 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8948 (tan_tonearest_test_data): New variable.
8949 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8950 (tan_towardzero_test_data): New variable.
8951 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8952 (tan_downward_test_data): New variable.
8953 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8954 (tan_upward_test_data): New variable.
8955 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8956 (tanh_test_data): New variable.
8957 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8958 (tgamma_test_data): New variable.
8959 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8960 (trunc_test_data): New variable.
8961 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8962 (y0_test_data): New variable.
8963 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8964 (y1_test_data): New variable.
8965 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8966 (significand_test_data): New variable.
8967 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8968
7187d844
CG
89692013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8970
8971 [BZ #12387]
8972 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8973
f63fae73
PT
89742013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8975
8976 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8977
8a67a4b3
AJ
89782013-05-10 Andreas Jaeger <aj@suse.de>
8979
8980 [BZ #15448]
8981 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8982 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8983
51df539d
JM
89842013-05-10 Joseph Myers <joseph@codesourcery.com>
8985
8986 * math/gen-libm-test.pl (adjust_arg): New function.
8987 (special_functions): Handle generating output in both functions
8988 and arrays.
8989 (parse_args): Likewise.
8990 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8991 $in_func argument to parse_args.
8992 * math/libm-test.inc (struct test_f_f_data): New type.
8993 (IF_ROUND_INIT_): New macro.
8994 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8995 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8996 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8997 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8998 (ROUND_RESTORE_): Likewise.
8999 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9000 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9001 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9002 (ROUND_RESTORE_FE_UPWARD): Likewise.
9003 (RUN_TEST_LOOP_f_f): New macro.
9004 (acos_test_data): New variable.
9005 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9006 (acos_tonearest_test_data): New variable.
9007 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9008
5c637fe5
SP
90092013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9010
9011 * benchtests/bench-skeleton.c (startup): Fix coding style.
9012
ab2b9461
JM
90132013-05-10 Joseph Myers <joseph@codesourcery.com>
9014
9015 [BZ #6809]
9016 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9017 negative infinity argument.
9018 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9019 negative infinity argument.
9020 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9021 negative infinity argument.
9022 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9023 domain errors.
9024
4c0fe6fe
FW
90252013-05-10 Florian Weimer <fweimer@redhat.com>
9026
9027 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9028 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9029 * iconv/iconv_prog.c (main): Likewise.
9030 * locale/programs/charmap-dir.c (charmap_readdir)
9031 (fopen_uncompressed): Likewise.
9032 * locale/programs/locfile.c (siblings_uncached)
9033 (write_locale_data): Use lstat64 instead of lstat.
9034 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9035 stat.
9036
a3375d29
AJ
90372013-05-10 Andreas Jaeger <aj@suse.de>
9038
9039 [BZ #15395]
9040 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9041 localization.
9042 Include <locale.h>.
9043
36129722
CD
90442013-05-09 Carlos O'Donell <carlos@redhat.com>
9045
9046 * elf/dl-close.c (_dl_close_worker): Add comments.
9047
faa7f811
JM
90482013-05-09 Joseph Myers <joseph@codesourcery.com>
9049
ed41ffef
JM
9050 [BZ #15359]
9051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9052 high part of pi/2.
9053 (__ieee754_rem_pio2l): Update comments.
9054
d0213cd0
JM
9055 [BZ #15429]
9056 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9057 high part of pi/2.
9058 (__ieee754_rem_pio2l): Update comments.
9059
0d3e777a
JM
9060 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9061 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9062
24f56066
JM
9063 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9064 M_PI_4l.
9065
faa7f811
JM
9066 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9067 (M_PI_34_LOG10El): Likewise.
9068 (M_PI2_LOG10El): Likewise.
9069 (M_PI4_LOG10El): Likewise.
9070 (M_PI_LOG10El): Likewise.
9071
e9a5e0fd
AZ
90722013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073
9074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9075
d8cd06db
JM
90762013-05-08 Joseph Myers <joseph@codesourcery.com>
9077
a0d9f9d7
JM
9078 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9079 (MINUS_ZERO_INIT): Likewise.
9080 (PLUS_INFTY_INIT): Likewise.
9081 (MINUS_INFTY_INIT): Likewise.
9082 (QNAN_VALUE_INIT): Likewise.
9083 (MAX_VALUE_INIT): Likewise.
9084 (MIN_VALUE_INIT): Likewise.
9085 (MIN_SUBNORM_VALUE_INIT): Likewise.
9086 (plus_zero): Initialize with PLUS_ZERO_INIT.
9087 (minus_zero): Initialize with MINUS_ZERO_INIT.
9088 (plus_infty): Initialize with PLUS_INFTY_INIT.
9089 (minus_infty): Initialize with MINUS_INFTY_INIT.
9090 (qnan_value): Initialize with QNAN_VALUE_INIT.
9091 (max_value): Initialize with MAX_VALUE_INIT.
9092 (min_value): Initialize with MIN_VALUE_INIT.
9093 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9094
ae08db3b
JM
9095 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9096 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9097 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9098 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9099
f44bf14a
JM
9100 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9101 (RUN_TEST_2_f): Likewise.
9102 (RUN_TEST_ff_f): Likewise.
9103 (RUN_TEST_fi_f): Likewise.
9104 (RUN_TEST_fl_f): Likewise.
9105 (RUN_TEST_fff_f): Likewise.
9106 (RUN_TEST_c_f): Likewise.
9107 (RUN_TEST_f_f1): Likewise.
9108 (RUN_TEST_fF_f1): Likewise.
9109 (RUN_TEST_fI_f1): Likewise.
9110 (RUN_TEST_ffI_f1): Likewise.
9111 (RUN_TEST_c_c): Likewise.
9112 (RUN_TEST_cc_c): Likewise.
9113 (RUN_TEST_f_i): Likewise.
9114 (RUN_TEST_f_i_tg): Likewise.
9115 (RUN_TEST_ff_i_tg): Likewise.
9116 (RUN_TEST_f_b): Likewise.
9117 (RUN_TEST_f_b_tg): Likewise.
9118 (RUN_TEST_f_l): Likewise.
9119 (RUN_TEST_f_L): Likewise.
9120 (RUN_TEST_sincos): Likewise.
9121 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9122 whether to show exceptions. Do not include ");\n" in return
9123 value.
9124 (special_functions): Output call to RUN_TEST_sincos instead of
9125 check_float calls. Update calls to new_test.
9126 (parse_args): Output call to single RUN_TEST_* macro instead of
9127 check_* calls and other assignments. Update calls to new_test.
9128
d8cd06db
JM
9129 [BZ #2546]
9130 [BZ #2560]
9131 [BZ #5159]
9132 [BZ #15426]
9133 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9134 input to result for tgamma overflow.
9135 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9136 (gamma_coeff): New variable.
9137 (NCOEFF): New macro.
9138 (gamma_positive): New function.
9139 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9140 underflow here. Use gamma_positive instead of exp (lgamma) for
9141 other arguments.
9142 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9143 (gamma_coeff): New variable.
9144 (NCOEFF): New macro.
9145 (gammaf_positive): New function.
9146 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9147 underflow here. Use gamma_positive instead of exp (lgamma) for
9148 other arguments.
9149 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9150 (gamma_coeff): New variable.
9151 (NCOEFF): New macro.
9152 (gammal_positive): New function.
9153 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9154 underflow here. Use gamma_positive instead of exp (lgamma) for
9155 other arguments.
9156 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9157 (gamma_coeff): New variable.
9158 (NCOEFF): New macro.
9159 (gammal_positive): New function.
9160 (__ieee754_gammal_r): Handle positive infinity, overflow and
9161 underflow here. Handle NaN the same as positive infinity. Remove
9162 check x < 0xffffffff for negative integers. Use gamma_positive
9163 instead of exp (lgamma) for other arguments.
9164 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9165 (gamma_coeff): New variable.
9166 (NCOEFF): New macro.
9167 (gammal_positive): New function.
9168 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9169 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9173 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9174 * sysdeps/generic/math_private.h (__gamma_productf): New
9175 prototype.
9176 (__gamma_product): Likewise.
9177 (__gamma_productl): Likewise.
9178 * math/Makefile (libm-calls): Add gamma_product.
9179 * math/libm-test.inc (tgamma_test): Add more tests.
9180 * sysdeps/i386/fpu/libm-test-ulps: Update.
9181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9182
bb7cf681
OB
91832013-05-08 Ondřej Bílka <neleai@seznam.cz>
9184
9185 * benchtests/bench-skeleton.c (main): Preheat CPU.
9186
ba853947
AJ
91872013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9188
9189 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9190
8347c74c
RM
91912013-05-07 Roland McGrath <roland@hack.frob.com>
9192
9193 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9194 and _dl_skip_args_internal.
9195
e8dd4791
CD
91962013-05-07 Carlos O'Donell <carlos@redhat.com>
9197
9198 * manual/message.texi (Message Translation): Talk about users.
9199 Message to key mapping impacts design.
9200
c7405830
RM
92012013-05-06 Roland McGrath <roland@hack.frob.com>
9202
a9173057
RM
9203 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9204
976e2f03
RM
9205 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9206
9723ffc5
RM
9207 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9208 * sysdeps/wordsize-64/glob64.c: ... here.
9209
962e6658
RM
9210 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9211 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9212 New macros.
9213
ee586a6d
RM
9214 * debug/getlogin_r_chk.c: Moved to ...
9215 * login/getlogin_r_chk.c: ... here.
9216 * debug/Makefile (routines): Move getlogin_r_chk to ...
9217 * login/Makefile (routines): ... here.
9218 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9219 * login/Versions (libc: GLIBC_2.4): ... here.
9220
355f9165
RM
9221 * io/poll.c (__poll): Renamed from poll.
9222 Add libc_hidden_def.
9223 (poll): Define as weak alias.
9224
bd9ffde6
RM
9225 * debug/ptsname_r_chk.c: Moved to ...
9226 * login/ptsname_r_chk.c: ... here.
9227 * debug/Makefile (routines): Move ptsname_r_chk to ...
9228 * login/Makefile (routines): ... here.
9229 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9230 * login/Versions (libc: GLIBC_2.4): ... here.
9231
8fb16a04
RM
9232 * posix/getlogin.c: Moved to ...
9233 * login/getlogin.c: ... here.
9234 * posix/getlogin_r.c: Moved to ...
9235 * login/getlogin_r.c: ... here.
9236 * posix/getlogin_r.c: Moved to ...
9237 * login/getlogin_r.c: ... here.
9238 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9239 * login/Makefile (routines): ... here.
9240 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9241 * login/Versions (libc: GLIBC_2.0): ... here.
9242
b99b892f
RM
9243 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9244 (setrlimit): Define as weak alias.
9245
c7405830
RM
9246 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9247 Call __ names for open, ftruncate, and close.
9248 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9249 (truncate): Define as weak alias.
9250
5bf96de5
JM
92512013-05-06 Joseph Myers <joseph@codesourcery.com>
9252
9ea3513c
JM
9253 * math/gen-libm-test.pl (parse_args): Initialize x before each
9254 test of frexp, modf and remquo.
9255
5bf96de5
JM
9256 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9257 test signgam value.
9258
16e616a7
AZ
92592013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9260
9261 [BZ #15418]
9262 [BZ #15419]
9263 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9264 internal tests.
9265 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9266
d5e82754
RM
92672013-05-06 Roland McGrath <roland@hack.frob.com>
9268
9269 * elf/dl-writev.h: New file.
9270 * elf/dl-misc.c: Include it.
9271 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9272 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9273
a7548d41
JM
92742013-05-04 Joseph Myers <joseph@codesourcery.com>
9275
b7dab1e4
JM
9276 * math/libm-test.inc (noXFails): Remove variable.
9277 (noXPasses): Likewise.
9278 (BUILD_COMPLEX_INT): Remove macro.
9279 (print_screen): Remove xfail argument.
9280 (print_screen_max_error): Likewise.
9281 (update_stats): Likewise.
9282 (print_max_error): Likewise. Update calls to other affected
9283 functions.
9284 (print_complex_max_error): Likewise.
9285 (test_single_exception): Update calls to print_screen.
9286 (test_single_errno): Likewise.
9287 (check_float_internal): Remove xfail argument. Update calls to
9288 other affected functions.
9289 (check_float): Likewise.
9290 (check_complex): Likewise.
9291 (check_int): Likewise.
9292 (check_long): Likewise.
9293 (check_bool): Likewise.
9294 (check_longlong): Likewise.
9295 (main): Don't print noXFails and noXPasses.
9296 * math/gen-libm-test.pl (top level): Don't mention expected
9297 failure handling in comment.
9298 (new_test): Don't handle expected failures.
9299 (parse_args): Don't mention expected failure handling in comment.
9300 (generate_testfile): Don't handle expected failures.
9301 (parse_ulps): Likewise.
9302 (print_ulps_file): Likewise.
9303 (get_failure): Remove function.
9304 (output_test): Don't handle expected failures.
9305 * make/README.libm-test: Don't mention expected failure handling.
9306
a7548d41
JM
9307 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9308 (minus_zero): Likewise.
9309 (plus_infty): Likewise.
9310 (minus_infty): Likewise.
9311 (qnan_value): Likewise.
9312 (max_value): Likewise.
9313 (min_value): Likewise.
9314 (min_subnorm_value): Likewise.
9315 (initialize): Do not initialize those variables dynamically.
9316
60bfd54c
RM
93172013-05-03 Roland McGrath <roland@hack.frob.com>
9318
cc0e6ed8
RM
9319 * io/open.c (__open_2): Moved to ...
9320 * io/open_2.c: ... this new file.
9321 * io/open64.c (__open64_2): Moved to ...
9322 * io/open64_2.c: ... this new file.
9323 * io/openat.c (__openat_2): Moved to ...
9324 * io/openat_2.c: ... this new file.
9325 * io/openat64.c (__openat64_2): Moved to ...
9326 * io/openat64_2.c: ... this new file.
9327 * io/Makefile (routines): Add them.
9328 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9329 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9330 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9331 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9332 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9333 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9334 (__openat64): Add hidden_ver.
9335 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9336 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9337
60bfd54c
RM
9338 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9339 Separately conditionalize setting of GLRO(dl_sysinfo) so
9340 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9341 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9342
83e7640f
AZ
93432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9344
9345 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9347 definition.
9348 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9349 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9350 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9351 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9352 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9353
d5dc2af3
JM
93542013-05-03 Joseph Myers <joseph@codesourcery.com>
9355
c31a5b1e
JM
9356 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9357 test signgam value.
9358
d5dc2af3
JM
9359 * math/libm-test.inc (hypot_test): Do not use
9360 IGNORE_ZERO_INF_SIGN.
9361
164fd39d
AJ
93622013-05-03 Andreas Jaeger <aj@suse.de>
9363
9364 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9365 Linux 3.9.
9366 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9367 (PF_MAX): Adjust for VSOCK change.
9368
8237f48c
AZ
93692013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9370
9371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9372
9df02941
CD
93732013-05-02 Carlos O'Donell <carlos@redhat.com>
9374
9375 [BZ #15264]
9376 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9377 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9378 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9379
d422395e
DM
93802013-05-02 David S. Miller <davem@davemloft.net>
9381
9382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9383
a07c5731
OB
93842013-05-01 Ondřej Bílka <neleai@seznam.cz>
9385
9386 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9387
1324e37f
RM
93882013-05-01 Roland McGrath <roland@hack.frob.com>
9389
9390 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9391
0695940b
RS
93922013-05-01 Richard Smith <richard@metafoo.co.uk>
9393
bb5f27ad 9394 [BZ #14952]
0695940b
RS
9395 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9396 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9397 Use __attribute__ ((__gnu_inline__)).
9398 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9399 Don't use __attribute__ ((__gnu_inline__)).
9400
10de07f5
JM
94012013-05-01 Joseph Myers <joseph@codesourcery.com>
9402
9403 [BZ #15423]
9404 * math/s_catan.c (__catan): Handle small real or imaginary part of
9405 input specially to avoid spurious underflow.
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
cb4d5414
AZ
94162013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9417
9418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9419
caf84319
JM
94202013-04-30 Joseph Myers <joseph@codesourcery.com>
9421
9422 [BZ #15416]
9423 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9424 accurately for denominator in atan2.
9425 * math/s_catanf.c (__catanf): Likewise.
9426 * math/s_catanh.c (__catanh): Likewise.
9427 * math/s_catanhf.c (__catanhf): Likewise.
9428 * math/s_catanhl.c (__catanhl): Likewise.
9429 * math/s_catanl.c (__catanl): Likewise.
9430 * math/libm-test.inc (catan_test): Add more tests.
9431 (catanh_test): Likewise.
9432 * sysdeps/i386/fpu/libm-test-ulps: Update.
9433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9434
d569c6ee
SP
94352013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9436
6dbe713d
SP
9437 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9438
f0ee064b
SP
9439 * benchtests/Makefile (bench): Remove slow benchmarks.
9440 * benchtests/atan-inputs: Add slow benchmark inputs.
9441 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9442 (BENCH_FUNC): Accept variant offset.
9443 (VARIANT): Define.
9444 * benchtests/bench-skeleton.c (main): Run benchmark for each
9445 variant.
9446 * benchtests/cos-inputs: Add slow benchmark inputs.
9447 * benchtests/exp-inputs: Likewise.
9448 * benchtests/pow-inputs: Likewise.
9449 * benchtests/sin-inputs: Likewise.
9450 * benchtests/slowatan-inputs: Remove.
9451 * benchtests/slowatan.c: Remove.
9452 * benchtests/slowcos-inputs: Remove.
9453 * benchtests/slowcos.c: Remove.
9454 * benchtests/slowexp-inputs: Remove.
9455 * benchtests/slowexp.c: Remove.
9456 * benchtests/slowpow-inputs: Remove.
9457 * benchtests/slowpow.c: Remove.
9458 * benchtests/slowsin-inputs: Remove.
9459 * benchtests/slowsin.c: Remove.
9460 * benchtests/slowtan-inputs: Remove.
9461 * benchtests/slowtan.c: Remove.
9462 * benchtests/tan-inputs: Add slow benchmark inputs.
9463 * scripts/bench.pl: Parse comments and directives.
9464
d569c6ee
SP
9465 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9466 in CPPFLAGS.
9467 ($(objpfx)bench-%.c): Remove *-ITER.
9468 * benchtests/bench-modf.c: Remove definition of ITER.
9469 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9470 (main): Loop for DURATION seconds instead of fixed number of
9471 iterations.
9472 * scripts/bench.pl: Don't expect iterations in parameters.
9473
a6a242fe
RM
94742013-04-29 Roland McGrath <roland@hack.frob.com>
9475
9476 * io/fchdir.c (__fchdir): Renamed from fchdir.
9477 (fchdir): Define as weak alias.
9478
f2da7793
JM
94792013-04-29 Joseph Myers <joseph@codesourcery.com>
9480
9481 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9482 (ERRNO_EDOM): Likewise.
9483 (ERRNO_ERANGE): Likewise.
9484 (noErrnoTests): New variable.
9485 (init_max_error): Set errno to 0.
9486 (test_single_errno): New function.
9487 (test_errno): Likewise.
9488 (check_float_internal): Call test_errno. Set errno to 0.
9489 (check_complex): Refer to errno tests in comment.
9490 (check_int): Call test_errno. Set errno to 0.
9491 (check_long): Likewise.
9492 (check_bool): Likewise.
9493 (check_longlong): Likewise.
9494 (cos_test): Use ERRNO_* flags for errno tests instead of
9495 check_int.
9496 (expm1_test): Likewise.
9497 (fmod_test): Likewise.
9498 (ilogb_test): Likewise.
9499 (lgamma_test): Likewise.
9500 (pow_test): Likewise.
9501 (remainder_test): Likewise.
9502 (sin_test): Likewise.
9503 (tan_test): Likewise.
9504 (yn_test): Likewise.
9505 (initialize): Set errno to 0.
9506 (main): Print number of errno tests.
9507 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9508
b1a36ceb
AJ
95092013-04-29 Andreas Jaeger <aj@suse.de>
9510
c3ed8088
AJ
9511 [BZ #15084]
9512 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9513 and RES_USEVC.
9514
f1a24198
AJ
9515 [BZ #15085]
9516 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9517 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9518 unimplemented.
9519
9ce3b2cb
AJ
9520 [BZ #15380]
9521 * stdlib/random.c (__initstate): Return NULL if
9522 __initstate fails.
9523
f1a24198 9524 [BZ #15086]
b1a36ceb
AJ
9525 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9526 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9527 RES_SNGLKUPREOP.
9528
7e7b6f36
AZ
95292013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9530
9531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9532
4d14f449
JM
95332013-04-29 Joseph Myers <joseph@codesourcery.com>
9534
9535 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9536 of individual tests.
9537 (casin_test): Likewise.
9538 (casinh_test): Likewise.
9539
5b4217d7
JM
95402013-04-27 Joseph Myers <joseph@codesourcery.com>
9541
9542 [BZ #15409]
9543 * math/s_catan.c (__catan): Handle arguments with large real or
9544 imaginary part separately without squaring.
9545 * math/s_catanf.c (__catanf): Likewise.
9546 * math/s_catanh.c (__catanh): Likewise.
9547 * math/s_catanhf.c (__catanhf): Likewise.
9548 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9549 and redefine.
9550 (__catanhl): Handle arguments with large real or imaginary part
9551 separately without squaring.
9552 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9553 and redefine.
9554 (__catanl): Handle arguments with large real or imaginary part
9555 separately without squaring.
9556 * math/libm-test.inc (catan_test): Add more tests.
9557 (catanh_test): Likewise.
9558 * sysdeps/i386/fpu/libm-test-ulps: Update.
9559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9560
4220c3ef
AJ
95612013-04-27 Andreas Jaeger <aj@suse.de>
9562
9563 [BZ #15007]
9564 * stdlib/stdlib.h: Update guards for qecvt.
9565 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9566 <stdlib.h>.
9567
4721b2d1
AM
95682013-04-27 Allan McRae <allan@archlinux.org>
9569
9570 * sysdeps/i386/fpu/libm-test-ulps: Update.
9571
f0302940
JM
95722013-04-26 Joseph Myers <joseph@codesourcery.com>
9573
9457fd95
JM
9574 [BZ #15406]
9575 * math/s_catan.c: Include <float.h>.
9576 (__catan): Ensure underflow exception occurs for underflowed
9577 result.
9578 * math/s_catanf.c: Include <float.h>.
9579 (__catanf): Ensure underflow exception occurs for underflowed
9580 result.
9581 * math/s_catanh.c: Include <float.h>.
9582 (__catanh): Ensure underflow exception occurs for underflowed
9583 result.
9584 * math/s_catanhf.c: Include <float.h>.
9585 (__catanhf): Ensure underflow exception occurs for underflowed
9586 result.
9587 * math/s_catanhl.c: Include <float.h>.
9588 (__catanhl): Ensure underflow exception occurs for underflowed
9589 result.
9590 * math/s_catanl.c: Include <float.h>.
9591 (__catanl): Ensure underflow exception occurs for underflowed
9592 result.
9593 * math/libm-test.inc (catan_test): Add more tests.
9594 (catanh_test): Likewise.
9595
f0302940
JM
9596 [BZ #15405]
9597 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9598 underflowed result.
9599 * math/s_ccoshf.c (__ccoshf): Likewise.
9600 * math/s_ccoshl.c (__ccoshl): Likewise.
9601 * math/s_csin.c (__csin): Likewise.
9602 * math/s_csinf.c (__csinf): Likewise.
9603 * math/s_csinh.c (__csinh): Likewise.
9604 * math/s_csinhf.c (__csinhf): Likewise.
9605 * math/s_csinhl.c (__csinhl): Likewise.
9606 * math/s_csinl.c (__csinl): Likewise.
9607 * math/libm-test.inc (ccos_test): Add more tests.
9608 (ccosh_test): Likewise.
9609 (csin_test): Likewise.
9610 (csinh_test): Likewise.
9611
aa630f59
AZ
96122013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9613
9614 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9615 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9616 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9617 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9618 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9619 powerpc/power5+/fpu folders.
9620 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9621
9622
1b835983
MT
96232013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9624
9625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9626
73709b26
JM
96272013-04-25 Joseph Myers <joseph@codesourcery.com>
9628
9629 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9630 additions to variable.
9631 [$(config-machine) = x86_64] (modules-names): Likewise.
9632 ($(objpfx)tst-audit3): Remove dependency.
9633 ($(objpfx)tst-audit3.out): Likewise.
9634 ($(objpfx)tst-audit4): Likewise.
9635 ($(objpfx)tst-audit4.out): Likewise.
9636 ($(objpfx)tst-audit5): Likewise.
9637 ($(objpfx)tst-audit5.out): Likewise.
9638 ($(objpfx)tst-audit6): Likewise.
9639 ($(objpfx)tst-audit6.out): Likewise.
9640 ($(objpfx)tst-audit7): Likewise.
9641 ($(objpfx)tst-audit7.out): Likewise.
9642 (tst-audit3-ENV): Remove variable.
9643 (tst-audit4-ENV): Likewise.
9644 (tst-audit5-ENV): Likewise.
9645 (tst-audit6-ENV): Likewise.
9646 (tst-audit7-ENV): Likewise.
9647 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9648 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9649 addition to variable.
9650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9654 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9655 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9656 tst-audit3, tst-audit4 and tst-audit5.
9657 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9658 tst-audit6 and tst-audit7.
9659 [$(subdir) = elf] (modules-names): Add audit modules for those
9660 tests.
9661 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9662 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9663 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9664 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9665 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9666 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9667 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9668 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9669 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9670 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9671 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9672 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9673 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9674 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9675 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9676 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9677 Likewise.
9678 [$(subdir) = elf && $(config-cflags-avx) = yes]
9679 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9680 [$(subdir) = elf && $(config-cflags-avx) = yes]
9681 (CFLAGS-tst-auditmod4a.c): Likewise.
9682 [$(subdir) = elf && $(config-cflags-avx) = yes]
9683 (CFLAGS-tst-auditmod4b.c): Likewise.
9684 [$(subdir) = elf && $(config-cflags-avx) = yes]
9685 (CFLAGS-tst-auditmod6b.c): Likewise.
9686 [$(subdir) = elf && $(config-cflags-avx) = yes]
9687 (CFLAGS-tst-auditmod6c.c): Likewise.
9688 [$(subdir) = elf && $(config-cflags-avx) = yes]
9689 (CFLAGS-tst-auditmod7b.c): Likewise.
9690 * elf/tst-audit3.c: Move to ...
9691 * sysdeps/x86_64/tst-audit3.c: ... here.
9692 * elf/tst-audit4.c: Move to ...
9693 * sysdeps/x86_64/tst-audit4.c: ... here.
9694 * elf/tst-audit5.c: Move to ...
9695 * sysdeps/x86_64/tst-audit5.c: ... here.
9696 * elf/tst-audit6.c: Move to ...
9697 * sysdeps/x86_64/tst-audit6.c: ... here.
9698 * elf/tst-audit7.c: Move to ...
9699 * sysdeps/x86_64/tst-audit7.c: ... here.
9700 * elf/tst-auditmod3a.c: Move to ...
9701 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9702 * elf/tst-auditmod3b.c: Move to ...
9703 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9704 * elf/tst-auditmod4a.c: Move to ...
9705 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9706 * elf/tst-auditmod4b.c: Move to ...
9707 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9708 * elf/tst-auditmod5a.c: Move to ...
9709 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9710 * elf/tst-auditmod5b.c: Move to ...
9711 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9712 * elf/tst-auditmod6a.c: Move to ...
9713 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9714 * elf/tst-auditmod6b.c: Move to ...
9715 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9716 * elf/tst-auditmod6c.c: Move to ...
9717 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9718 * elf/tst-auditmod7a.c: Move to ...
9719 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9720 * elf/tst-auditmod7b.c: Move to ...
9721 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9722
1ef74943
PP
97232013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9724
9725 [BZ #15366]
9726 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9727 define unconditionally.
9728 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9729 define unconditionally.
9730 (INT8_C, INT16_C, etc.): Likewise.
9731
93fd48c5
MR
97322013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9733
ae9552cf
MR
9734 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9735 __ehdr_start with hidden visibility.
9736
93fd48c5
MR
9737 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9738
418601aa
CD
97392013-04-24 Carlos O'Donell <carlos@redhat.com>
9740
9741 * math/libm-test.inc (cos_test): Use accurate hex constants.
9742 (sincost_test): Likewise.
9743
2f38fbfe
JM
97442013-04-24 Joseph Myers <joseph@codesourcery.com>
9745
5e221800
JM
9746 * math/libm-test.inc (catan_test): Add more tests.
9747 (catanh_test): Likewise.
9748
77f143fd
JM
9749 * math/s_catanf.c (__catanf): Use suffixed floating-point
9750 constants.
9751 * math/s_catanhf.c (__catanhf): Likewise.
9752 * math/s_catanhl.c (__catanhl): Likewise.
9753 * math/s_catanl.c (__catanl): Likewise.
9754
2f38fbfe
JM
9755 [BZ #15394]
9756 * math/s_catan.c (__catan): Calculate imaginary part of result
9757 with log1p not log unless computing log of number close to 0.
9758 * math/s_catanf.c (__catanf): Likewise.
9759 * math/s_catanl.c (__catanl): Likewise.
9760 * math/s_catanh.c (__catanh): Calculate real part of result with
9761 log1p not log unless computing log of number close to 0.
9762 * math/s_catanhf.c (__catanhf): Likewise.
9763 * math/s_catanhl.c (__catanhl): Likewise.
9764 * math/libm-test.inc (catan_test): Add more tests.
9765 (catanh_test): Likewise.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9768
45d69176
SP
97692013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9770
9771 * benchtests/Makefile: Mention files in which fast and slow
9772 paths of math functions are implemented.
9773
87f51853
RM
97742013-04-23 Roland McGrath <roland@hack.frob.com>
9775
9776 * sysdeps/posix/timespec_get.c: New file.
9777
3c026539
AZ
97782013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9779
9780 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9781 POWER.
9782 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9783 for POWER.
9784 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9785 powerpc/power5/fpu folders.
9786 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9787 * benchtests/Makefile: Add modf testcase.
9788 * benchtests/bench-modf.c: New file: Benchmark test for mo
9789
ff491d14
SP
97902013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9791
9792 [BZ #14888]
9793 * time/Makefile (tests): Add tst-strptime-whitespace.
9794 * time/strptime_l.c (get_number): Use ISSPACE.
9795 (__strptime_internal): Likewise.
9796 * time/tst-strptime-whitespace.c: New test case.
9797
7ed3f4e8
AS
97982013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9799
9800 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9801 member.
9802 (_nss_files_init): Set it here.
9803
5c95f7b6
HC
98042013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9805
9806 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9807 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9808 unsigned.
9809
d34c9158
JBG
98102013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9811
9812 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9813
2169712d
SP
98142013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9815
9816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9817 size just once.
9818
29c5de99
DM
98192013-04-21 David S. Miller <davem@davemloft.net>
9820
9821 * po/ru.po: Update Russion translation from translation project.
9822
ccdad15d
AC
98232013-04-17 Adam Conrad <adconrad@0c3.net>
9824
9825 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9826 and setfsgid.
9827
0f122b8d
CD
98282013-04-17 Carlos O'Donell <carlos@redhat.com>
9829
5c5b07da 9830 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9831 * configure: Regenerate.
5c5b07da 9832 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9833 Add example to error message.
9834 * sysdeps/i386/configure: Regenerate.
9835
037714dd
SP
98362013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9837
9838 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9839 slowtan.
9840 * benchtests/cos-inputs: New file.
9841 * benchtests/slowcos-inputs: New file.
9842 * benchtests/slowcos.c: New file.
9843 * benchtests/slowtan-inputs: New file.
9844 * benchtests/slowtan.c: New file.
9845 * benchtests/tan-inputs: New file.
9846
e913141d
RM
98472013-04-16 Roland McGrath <roland@hack.frob.com>
9848
9849 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9850 considered kosher.
9851
a2964074
SP
98522013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9853
4856bcd2
SP
9854 * benchtests/Makefile: Include cppflags-iterator.mk to add
9855 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9856
a2964074
SP
9857 * Makefile.in (bench-clean): New target.
9858 * benchtests/Makefile (bench-clean): Likewise.
9859
9fbf9aca
DH
98602013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9861
9862 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9863
207d1e2a
TS
98642013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9865
9866 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9867
306dfba9
AS
98682013-04-15 Andreas Schwab <schwab@suse.de>
9869
9870 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9872 * nscd/pwdcache.c (cache_addpw): Likewise.
9873 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9874 more than recsize.
9875
206a6699
SP
98762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9877
9878 * benchtests/Makefile (bench): Write all output to
9879 bench-out.tmp together.
9880
0582f6b3
AS
98812013-04-15 Andreas Schwab <schwab@suse.de>
9882
9883 * nscd/nscd.c (main): Don't fork again after closing files.
9884
acb4325f
SP
98852013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9886
5cb26d0a
SP
9887 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9888
acb4325f
SP
9889 * benchtests/Rules (bench-deps): Collect dependencies into a
9890 single variable. Add Makefile to dependencies.
9891 ($(objpfx)bench-%.c): Depend on bench-deps.
9892
47792506
RM
98932013-04-12 Roland McGrath <roland@hack.frob.com>
9894 Xavier Roche <roche+kml2@exalead.com>
9895
9896 [BZ #15361]
9897 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9898 just that it's a file descriptor.
9899 * manual/llio.texi (Synchronizing AIO Operations): Update description
9900 for EBADF error from aio_fsync.
9901
8fc1bee5
SP
99022013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
9904 * Rules (bench): Move target definition...
9905 * benchtests/Makefile: ... here.
9906
aba5e333
CD
99072013-04-11 Carlos O'Donell <carlos@redhat.com>
9908
9909 * math/libm-test.inc (cos_test): Fix PI/2 test.
9910 (sincos_test): Likewise.
9911 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9912 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9913
273cdee8
AS
99142013-04-11 Andreas Schwab <schwab@suse.de>
9915
6ecec3b6
AS
9916 [BZ #13988]
9917 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9918 accept exponent character only when digits were seen.
9919 * stdio-common/Makefile (tests): Add bug26.
9920 * stdio-common/bug26.c: New file.
9921
273cdee8
AS
9922 [BZ #14293]
9923 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9924 non-freeable.
9925
8da491f5
SP
99262013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9927
01dc6df9
SP
9928 * Makeconfig (rtld-prefix): Define built linker prefix.
9929 * Rules (run-bench): Use it.
9930 * math/Makefile (run-regen-ulps): Likewise.
9931
8da491f5
SP
9932 * Rules (bench): Remove eval.
9933
abe7f530
SP
99342013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9935 Roland McGrath <roland@hack.frob.com>
9936 Ondrej Bilka <neleai@seznam.cz>
9937
9938 [BZ #15346]
9939 * time/getdate.c: Include ctype.h and alloca.h.
9940 (__getdate_r): Trim leading and trailing spaces of input.
9941 * time/tst-getdate.c (tests): Add tests with leading and
9942 trailing spaces.
9943
61c23e62
RM
99442013-04-08 Roland McGrath <roland@hack.frob.com>
9945
9946 [BZ #14280]
9947 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9948 when computing value.
9949
7208a313
CD
99502013-04-06 Carlos O'Donell <carlos@redhat.com>
9951
085b2d41
CD
9952 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9953 Use testrun.sh to run libm tests.
9954
7208a313
CD
9955 [BZ #15309]
9956 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9957
872c0acd
MM
99582013-04-06 Marko Myllynen <myllynen@redhat.com>
9959
9960 [BZ #15264]
9961 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9962
26510bdd
CD
99632013-04-06 Carlos O'Donell <carlos@redhat.com>
9964
9965 * Makefile.in (regen-ulps): New target.
9966 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9967 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9968 [ifneq (no,$(PERL)] (regen-ulps): New target.
9969 [ifeq (no,$(PERL)] (regen-ulps): New target.
9970 * math/libm-test.inc (ulps_file_name): Define.
9971 (output_dir): New variable.
9972 (options): Add "output-dir" option.
9973 (parse_opt): Handle 'o' case.
9974 (main): If output_dir is non-NULL use it as a prefix
9975 otherwise use "".
9976 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9977
a01f19c8
CD
99782013-04-06 Carlos O'Donell <carlos@redhat.com>
9979
9980 [BZ #10060, #10062]
9981 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9982 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9983 fail configure if __sync_val_compare_and_swap is not inlined.
9984 * sysdeps/i386/configure: Regenerate.
9985 * configure.in: Build for i686 when configured for i386.
9986 * configure: Regenerate.
9987 * README: Remove i386 reference.
9988
b7a329a5
CD
99892013-04-06 Carlos O'Donell <carlos@redhat.com>
9990
9991 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9992 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9993
bf0f50df
TS
99942013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9995
ee091edf
TS
9996 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9997 (lmsnanval): New variables.
9998 (F): Add conversion tests.
9999 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10000 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10001
a8b792d6
TS
10002 * stdio-common/tstdiomisc.c (F): Properly collect individual
10003 tests' results.
10004
a1cbf437
TS
10005 [BZ #14686, #15336]
10006 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10007 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10008 Instead, use input NaN values or generate a qNaN by arithmetic
10009 operation. Also fix bugs to comply with the standard.
10010 * math/libm-test.inc (remainder_test): Add more tests.
10011
8b43a0c9
TS
10012 [BZ #15335, #15342]
10013 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10015 input NaN values or generate a qNaN by arithmetic operation.
10016
d91da4ce
TS
10017 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10018 unreachable code.
10019
bf0f50df
TS
10020 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10021 definitions.
10022
05e166c8
JM
100232013-04-03 Joseph Myers <joseph@codesourcery.com>
10024
10025 [BZ #14478]
10026 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10027 underflowed result.
10028 * math/s_cexpf.c (__cexpf): Likewise.
10029 * math/s_cexpl.c (__cexpl): Likewise.
10030 * math/libm-test.inc (cexp_test): Add more tests.
10031
1cef1b19
AS
100322013-04-03 Andreas Schwab <schwab@suse.de>
10033
10034 [BZ #15330]
10035 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10036 order arrays from heap if bigger than alloca cutoff.
10037
74d87055
TS
100382013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10039
10040 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10041 (SNAN_TESTS_double): Refer to GCC PR56831.
10042 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10043 GCC PR56828.
10044
d755bba4
SP
100452013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10046
90d5d5bb
SP
10047 * Rules (bench): Move bench.out after the run is complete.
10048
73e0cd5d
SP
10049 * Rules (bench): Echo currently running benchmark.
10050
64aabd4b
SP
10051 * benchtests/Makefile (bench): Add atan and slowatan.
10052 * benchtests/atan-inputs: New file.
10053 * benchtests/slowatan-inputs: New file.
10054 * benchtests/slowatan.c: New file.
10055
c871eccd
SP
10056 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10057 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10058 its value.
10059
d755bba4
SP
10060 [BZ #15305]
10061 * sysdeps/unix/sysv/linux/kernel-features.h
10062 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10063 __ASSUME_XFS_RESTRICTED_CHOWN.
10064 * sysdeps/unix/sysv/linux/pathconf.c
10065 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10066 Save and restore errno.
10067
52ce4860
JM
100682013-04-02 Joseph Myers <joseph@codesourcery.com>
10069
10070 [BZ #15327]
10071 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10072 arguments using __kernel_casinh.
10073 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10074 arguments using __kernel_casinhf.
10075 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10076 arguments using __kernel_casinhl.
10077 * math/libm-test.inc (cacosh_test): Add more tests.
10078 * sysdeps/i386/fpu/libm-test-ulps: Update.
10079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10080
81f311c2
SP
100812013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10082
e7906a47
SP
10083 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10085
92e3664b
SP
10086 * bench/Makefile (bench): Add sin and slowsin.
10087 * benchtests/sin-inputs: New file.
10088 * benchtests/slowsin-inputs: New file.
10089 * benchtests/slowsin.c: New file.
10090
81f311c2
SP
10091 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10092 (bench): Add slowexp and slowpow.
10093 (exp-ITER): Increase iterations.
10094 (pow-ITER): Likewise.
10095 * benchtests/exp-inputs: Change input.
10096 * benchtests/pow-inputs: Likewise.
10097 * benchtests/slowexp-inputs: New file.
10098 * benchtests/slowexp.c: New file.
10099 * benchtests/slowpow-inputs: New file.
10100 * benchtests/slowpow.c: New file.
10101
ab0f1aa9
AZ
101022013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10103
10104 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10105 instructions.
10106 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10107 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10108 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10109 * benchtests/Makefile: Add rint benchtest.
10110 * benchtests/rint-inputs: Input for rint benchtest.
10111
57267616
TS
101122013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10113
10114 * Versions.def (libm): Add GLIBC_2.18.
10115 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10116 hidden libm prototypes.
10117 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10118 * math/Makefile (libm-calls): Add s_issignaling.
10119 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10120 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10121 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10122 declaration.
10123 * math/math.h [__USE_GNU] (issignaling): New macro.
10124 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10125 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10127 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10130 * manual/arith.texi (issignaling): New section.
10131 * manual/libm-err-tab.pl (@all_functions): Update comment.
10132 * math/gen-libm-test.pl (parse_args): Apply special handling for
10133 issignaling.
10134 * math/libm-test.inc (print_float, issignaling_test): New
10135 functions.
10136 (check_float_internal): Add issignaling checks.
10137 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10138 default definition.
10139 * sysdeps/powerpc/math-tests.h: New file.
10140 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10141 tests.
10142 * math/test-snan.c (TEST_FUNC): Likewise.
10143
6142896d
DM
101442013-03-30 David S. Miller <davem@davemloft.net>
10145
10146 * po/de.po: Update from translation team.
10147
ccc8cadf
JM
101482013-03-30 Joseph Myers <joseph@codesourcery.com>
10149
10150 [BZ #10357]
10151 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10152 imaginary part less than 1.0 and real part less than 0.5
10153 specially.
10154 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10155 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10156 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10157 (cacos_test): Add more tests.
10158 (casin_test): Likewise.
10159 (casinh_test): Likewise.
10160 * sysdeps/i386/fpu/libm-test-ulps: Update.
10161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10162
0f6a8d4b
SP
101632013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10164
0d1029de
SP
10165 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10166 ONE with its value.
10167
c2d94018
SP
10168 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10169 (__pow_mp): Replace ONE and MONE with their values.
10170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10172 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10173 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10174 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10176
27ec37f1
SP
10177 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10178
a64d7e0e
SP
10179 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10180 (__pow_mp): Replace ZERO and MZERO with their values.
10181 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10182 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10183 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10185 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10186 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10187 (__sqr): Likewise.
10188
d26dd3eb
SP
10189 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10190
0f6a8d4b
SP
10191 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10192
e57b0c61
RM
101932013-03-28 Roland McGrath <roland@hack.frob.com>
10194
10195 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10196 Declare with __attribute__ ((weak)).
10197 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10198 Call __call_tls_dtors only if it's not NULL.
10199
356b3480
RM
102002013-03-28 Roland McGrath <roland@hack.frob.com>
10201
288f7d79
RM
10202 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10203 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10204 magic __ehdr_start linker symbol if it's defined.
10205 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10206 them up here if it was already done.
10207
dc0a0263
RM
10208 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10209 (_dl_aux_init): Use const in cast when setting it.
10210 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10211 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10212 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10213
3d3436ae
RM
10214 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10215 Declare them here.
10216 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10217 * csu/libc-tls.c: Nor here.
10218 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10219
356b3480
RM
10220 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10221 (__libc_message): Never call vsyslog.
10222
b0f1246a
AM
102232013-03-28 Alan Modra <amodra@gmail.com>
10224
10225 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10226 Define as empty.
10227 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10228 Likewise.
10229
fbbe2b9a
AZ
102302013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10231
10232 [BZ #15214]
10233 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10234 underflow.
10235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10236
1728ab37
SP
102372013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10238
7a86be6e
SP
10239 [BZ #15304]
10240 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10241 Don't add gid passed as argument.
10242
1728ab37
SP
10243 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10244
3a7182a1
JM
102452013-03-27 Joseph Myers <joseph@codesourcery.com>
10246
10247 [BZ #15307]
10248 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10249 imaginary part between 1.0 and 1.5 and real part less than 0.5
10250 specially.
10251 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10252 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10253 * math/libm-test.inc (cacos_test): Add more tests.
10254 (casin_test): Likewise.
10255 (casinh_test): Likewise.
10256 * sysdeps/i386/fpu/libm-test-ulps: Update.
10257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10258
6f2e90e7
SP
102592013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10260
5739f705
SP
10261 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10262 constants.
10263 (norm): Likewise.
10264 (denorm): Likewise.
10265 (__dbl_mp): Likewise.
10266 (add_magnitudes): Likewise.
10267 (sub_magnitudes): Likewise.
10268 (__add): Likewise.
10269 (__sub): Likewise.
10270 (__mul): Likewise.
10271 (__sqr): Likewise.
10272 (__inv): Likewise.
10273 (__dvd): Likewise.
10274
e375e83d
SP
10275 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10276 commented code.
10277 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10278 (__dubcos): Likewise.
10279 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10280 (__ieee754_acos): Likewise.
10281 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10282 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10283 (__exp1): Likewise.
10284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10286 (log1): Likewise.
10287 (my_log2): Likewise.
10288 (checkint): Likewise.
10289 * sysdeps/ieee754/dbl-64/e_remainder.c
10290 (__ieee754_remainder): Likewise.
10291 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10293 (bsloww): Likewise.
10294 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10295
6f2e90e7
SP
10296 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10297 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10298 MANTISSA_STORE_T to store computations on mantissa. Use
10299 macros for rounding and division.
10300 (denorm): Likewise.
10301 (__dbl_mp): Likewise.
10302 (add_magnitudes): Likewise.
10303 (sub_magnitudes): Likewise.
10304 (__mul): Likewise.
10305 (__sqr): Likewise.
10306 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10307 powers of two in terms of TWOPOW macro.
10308 (mp_no): Make type of mantissa as MANTISSA_T.
10309 [!RADIXI]: Define RADIXI.
10310 [!TWO52]: Define TWO52.
10311 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10312
fce14d4e
AZ
103132013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10314
10315 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10316 llroundl symbol when building for PPC32.
10317
9ad027fb
MW
103182013-03-24 Mark H Weaver <mhw@netris.org>
10319
10320 * manual/arith.texi (Normalization Functions): Fix prototypes for
10321 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10322
e42a38dd
AZ
103232013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10324
10325 [BZ #13889]
10326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10327 high value to check if expl overflow.
10328 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10329 to check for underflow and overflow.
10330 * math/libm-test.inc: Add exp test.
10331
2e0fb521
DL
103322013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10333
10334 [BZ #11120]
10335 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10336 with NOT_IN_libc.
10337
b5784d95
AZ
103382013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10339
10340 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10341 symbol.
10342
5aa4a1a1
TS
103432013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10344
bdef0be7
TS
10345 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10346 wrap blocks consisting of several statements.
10347
5aa4a1a1
TS
10348 * sysdeps/generic/math-tests.h: New file.
10349 * sysdeps/i386/fpu/math-tests.h: Likewise.
10350 * math/test-snan.c: Include it.
10351 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10352
98c48fe5
JM
103532013-03-21 Joseph Myers <joseph@codesourcery.com>
10354
10355 [BZ #15285]
10356 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10357 (__ieee754_j0l): Do not improve calculations using cos of twice
10358 input for inputs above LDBL_MAX / 2.0L.
10359 (__ieee754_y0l): Likewise.
10360 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10361 (__ieee754_j1l): Do not improve calculations using cos of twice
10362 input for inputs above LDBL_MAX / 2.0L.
10363 (__ieee754_y1l): Likewise.
10364 * math/libm-test.inc (j0_test): Add another test.
10365 (j1_test): Likewise.
10366 (y0_test): Likewise.
10367 (y1_test): Likewise.
10368 * sysdeps/i386/fpu/libm-test-ulps: Update.
10369
3775a8bc
SP
103702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10371
10372 * Rules ($(objpfx)bench-%.c): Include code from a C source
10373 file.
10374
0a1b2ae6
JM
103752013-03-21 Joseph Myers <joseph@codesourcery.com>
10376
10377 [BZ #15287]
10378 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10379 imaginary part 1.0 and real part less than 0.5 specially.
10380 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10381 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10382 * math/libm-test.inc (cacos_test): Add more tests.
10383 (casin_test): Likewise.
10384 (casinh_test): Likewise.
10385 * sysdeps/i386/fpu/libm-test-ulps: Update.
10386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10387
b33d4ce4
SP
103882013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10389
10390 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10391 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10392
bef0b507
JM
103932013-03-20 Joseph Myers <joseph@codesourcery.com>
10394
10395 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10396 * config.make.in (config-cflags-sse4): Remove variable.
10397 (config-cflags-avx): Likewise.
10398 (config-cflags-sse2avx): Likewise.
10399 (config-cflags-novzeroupper): Likewise.
10400 (config-asflags-i686): Likewise.
10401 (have-mfma4): Likewise.
10402 (have-as-vis3): Likewise.
10403 (MIG): Likewise.
10404 * configure.in (MIG): Do not AC_SUBST.
10405 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10406 (libc_cv_cc_sse4): Do not AC_SUBST.
10407 (libc_cv_cc_avx): Likewise.
10408 (libc_cv_cc_sse2avx): Likewise.
10409 (libc_cv_cc_novzeroupper): Likewise.
10410 (libc_cv_cc_fma4): Likewise.
10411 (libc_cv_as_i686): Likewise.
10412 (libc_cv_sparc_as_vis3): Likewise.
10413 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10414 LIBC_CONFIG_VAR.
10415 (config-asflags-i686): Likewise.
10416 (config-cflags-avx): Likewise.
10417 (config-cflags-sse2avx): Likewise.
10418 (have-mfma4): Likewise.
10419 (config-cflags-novzeroupper): Likewise.
10420 * sysdeps/mach/configure.in (MIG): Likewise.
10421 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10422 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10423 LIBC_CONFIG_VAR.
10424 (config-cflags-avx): Likewise.
10425 (config-cflags-sse2avx): Likewise.
10426 (have-mfma4): Likewise.
10427 (config-cflags-novzeroupper): Likewise.
10428 * configure: Regenerated.
10429 * sysdeps/i386/configure: Likewise.
10430 * sysdeps/mach/configure: Likewise.
10431 * sysdeps/sparc/configure: Likewise.
10432 * sysdeps/x86_64/configure: Likewise.
10433
912cc4b3
RM
104342013-03-20 Roland McGrath <roland@hack.frob.com>
10435
10436 [BZ #14812]
10437 * locale/programs/localedef.c (options): Put N_ translation marker
10438 on argument names, not just descriptions.
10439
04eed2b0
MS
104402013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10441
10442 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10443
a065ceff
OB
104442013-03-20 Ondřej Bílka <neleai@seznam.cz>
10445
9bb2a810 10446 [BZ #14176]
a065ceff
OB
10447 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10448
a600e5ce
RM
104492013-03-19 Roland McGrath <roland@hack.frob.com>
10450
10451 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10452 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10453 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10454 [!BEFORE_ABORT] (before_abort): New function.
10455 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10456 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10457 (writev_for_fatal): New function.
10458 (WRITEV_FOR_FATAL): New macro; call that.
10459 (backtrace_and_maps): New function.
10460 (BEFORE_ABORT): New macro; call that.
10461 (struct str_list): Type removed.
10462 (__libc_message, __libc_fatal): Functions removed.
10463 Include <sysdeps/posix/libc_fatal.c> instead.
10464
6b18bea6
JM
104652013-03-19 Joseph Myers <joseph@codesourcery.com>
10466
10467 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10468 constants.
10469 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10470 double constants.
10471
aaa8cb4b
AS
104722013-03-19 Andreas Schwab <schwab@suse.de>
10473
44673770
AS
10474 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10475 * sysdeps/gnu/configure: Regenerate.
10476
aaa8cb4b
AS
10477 * configure.in: Substitute libc_cv_rtlddir.
10478 * configure: Regenerate.
10479 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10480 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10481 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10482 * elf/Makefile (install-others, CFLAGS-interp.c)
10483 (ldso_install, common-ldd-rewrite): Likewise.
10484 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10485 $(inst_slibdir)/$(rtld-installed-name).
10486 * scripts/rellns-sh: Add -p option.
10487 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10488 for source.
10489
d3cfc668
SP
104902013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10491
10492 * manual/nptl.texi: Renamed to ...
10493 * manual/threads.texi: ... this.
10494 * manual/Makefile (chapters): Update.
10495
0e2b9cdd
RM
104962013-03-18 Roland McGrath <roland@hack.frob.com>
10497
10498 [BZ #14812]
10499 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10500 on argument names, not just descriptions.
0e2b9cdd
RM
10501 * malloc/memusagestat.c (options): Likewise.
10502 * nss/getent.c (options): Likewise.
63270c24
RM
10503
105042013-03-18 Benno Schulenberg <bensberg@justemail.net>
10505
10506 [BZ #14812]
10507 * iconv/iconv_prog.c (options): Put N_ translation marker
10508 on argument names, not just descriptions.
10509 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10510
b2e1393c
OB
105112013-03-18 Ondrej Bilka <neleai@seznam.cz>
10512
10513 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10514 implementation which is faster on all x86_64 architectures.
10515 Tested on AMD, Intel Nehalem, SNB, IVB.
10516 * sysdeps/x86_64/strnlen.S: Likewise.
10517
10518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10519 Remove all multiarch strlen and strnlen versions.
10520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10521 Remove strlen and strnlen related parts.
10522
10523 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10524 Inline strlen part.
10525 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10526
10527 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10528 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10529 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10530 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10531 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10532 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10533
ec4ff04d
CD
105342013-03-17 Carlos O'Donell <carlos@redhat.com>
10535
10536 * manual/memory.texi (Malloc Tunable Parameters):
10537 Sort parameters alphabetically. Add comments for missing entries.
10538
cd18e90a
DM
105392013-03-17 David S. Miller <davem@davemloft.net>
10540
10541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10542
2a185d32
JM
105432013-03-16 Joseph Myers <joseph@codesourcery.com>
10544
d2f9799e
JM
10545 [BZ #15283]
10546 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10547 for arguments at most half maximum finite value.
10548 * math/libm-test.inc (j0_test): Add more tests.
10549 (j1_test): Likewise.
10550 (y0_test): Likewise.
10551 (y1_test): Likewise.
10552 * sysdeps/i386/fpu/libm-test-ulps: Update.
10553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554
2a185d32
JM
10555 [BZ #14155]
10556 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10557 1 / x and functions P and Q for arguments above 0x1p256L.
10558 (__ieee754_y0l): Likewise.
10559 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10560 (__ieee754_y1l): Likewise.
10561 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10562 (j1_test): Likewise.
10563 (y0_test): Likewise.
10564 (y1_test): Likewise.
10565
6cbec759
TS
105662013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10567
10568 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10569 variable.
10570
bc16e260
RM
105712013-03-15 Roland McGrath <roland@hack.frob.com>
10572
aefc9b8c
RM
10573 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10574 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10575 zero since it's initialized to EXEC_PAGESIZE.
10576
bc16e260
RM
10577 * sysdeps/unix/sysv/linux/ldsodefs.h
10578 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10579 * sysdeps/generic/ldsodefs.h: ... here.
10580
a57da955
TS
105812013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10582
af00a34d
TS
10583 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10584
495ded2c
TS
10585 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10586 math/test-snan.c.
10587 * math/test-snan.c: Renamed from
10588 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10589 * math/Makefile (tests): Add test-snan.
10590 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10591 test-powerpc-snan.
10592
777b0332
TS
10593 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10594 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10595 functions.
10596 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10597 __builtin_nan family of functions.
10598 * math/libm-test.inc (initialize): Initialize qnan_value with
10599 __builtin_nan family of functions.
10600 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10601 Remove variables.
10602 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10603 Remove functions.
10604 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10605 storage class. Initialize qNaN_var and sNaN_var with
10606 __builtin_nan and __builtin_nans families of functions,
10607 respectively.
10608
64d063b8
TS
10609 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10610 (sqrt_test): Remove duplicate test with qNaN input.
10611 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10612 (round_test, signbit_test, significand_test): Note missing +/-Inf
10613 as well as qNaN tests.
10614
67e971f1
TS
10615 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10616 qNaN_var. Fix a few strings, too.
10617 * math/libm-test.inc (nan_value): Rename to qnan_value.
10618 * math/gen-libm-test.pl (%beautify): Adjust to that.
10619 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10620 * math/test-misc.c (main): Likewise.
10621 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10622 to __qnan_bytes, and __qnan_union, respectively.
10623 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10624 Likewise.
10625 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10626 and lqnanval, respectively.
10627 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10628 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10629 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10630 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10631
64487e12
TS
10632 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10633 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10634 doubles.
10635
e015e27b
TS
10636 * math/test-misc.c (main): Fix copy'n'pastos.
10637 * misc/tst-efgcvt.c (special): Likewise.
10638
a57da955
TS
10639 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10640 Remove declarations.
10641
1e380345
SP
106422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10643
10644 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10645 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10646 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10647 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10648
ef26eece
AZ
106492013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10650
10651 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10652 macro to return vdso values correctly in IFUNC implementations.
10653 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10654 Optimization by using IFUNC.
10655
8cfdb7e0
SP
106562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10657 Richard Henderson <rth@redhat.com>
10658 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10659
10660 * Makefile.in (bench): New target.
10661 * NEWS: Mention the benchmark framework.
10662 * Rules (bench): Likewise.
10663 (binaries-bench): Generate binaries for functions to
10664 benchmark.
10665 * benchtests/Makefile: New makefile for benchmark tests.
10666 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10667 programs.
10668 * benchtests/exp-inputs: New input file for EXP function.
10669 * benchtests/pow-inputs: New input file for POW function.
10670 * scripts/bench.pl: New script to generate source files for
10671 benchmark programs.
10672
bcda9880
SP
106732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10674
d22ca8cd
SP
10675 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10676 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10677 computations on mantissa. Use macros for rounding and
10678 division.
10679 (denorm): Likewise.
10680 (__dbl_mp): Likewise.
10681 (add_magnitudes): Likewise.
10682 (sub_magnitudes): Likewise.
10683 (__mul): Likewise.
10684 (__sqr): Likewise.
10685 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10686 powers of two in terms of TWOPOW macro.
10687 (mp_no): Make type of mantissa as MANTISSA_T.
10688 [!RADIXI]: Define RADIXI.
10689 [!TWO52]: Define TWO52.
10690 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10691
bcda9880
SP
10692 * manual/nptl.texi (cindex): Modify threads to pthreads.
10693
06d5adfb
JM
106942013-03-15 Joseph Myers <joseph@codesourcery.com>
10695
10696 * sysdeps/x86_64/preconfigure: Regenerated.
10697
41c7328e
JM
106982013-03-14 Joseph Myers <joseph@codesourcery.com>
10699
10700 [BZ #14155]
10701 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10702 0x1p28 and above.
10703 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10704 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10705 0x1p28 and above.
10706 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10707 * math/libm-test.inc (j0_test): Do not allow one spurious
10708 underflow exception.
10709 (y1_test): Likewise.
10710
e25cfa60
SP
107112013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10712
0409959c
SP
10713 * manual/Makefile (chapters): Add nptl.
10714 * manual/debug.texi (Debugging Support): Add link to Threads
10715 chapter.
10716 * manual/nptl.texi: New file.
10717
e25cfa60
SP
10718 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10719
58a1335e
PB
107202013-03-14 Petr Baudis <pasky@ucw.cz>
10721
10722 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10723 for non-NULL pointer before the memory validity test. Pointed
10724 out by Holger Brunck <holger.brunck@keymile.com>.
10725
9dc7c64f
AS
107262013-03-13 Andreas Schwab <schwab@suse.de>
10727
10728 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10729 instead of .os.
10730
54206aa6
JM
107312013-03-13 Joseph Myers <joseph@codesourcery.com>
10732
10733 * timezone/zic.c: Update from tzcode 2013b.
10734
e98cdb38
CD
107352013-03-12 Carlos O'Donell <carlos@redhat.com>
10736
10737 * manual/install.texi (Configuring and compiling):
10738 Mention i686 and i586.
10739 * INSTALL: Regenerate.
10740
9967e003
RM
107412013-03-12 Roland McGrath <roland@hack.frob.com>
10742
10743 * sysdeps/init_array/elf-init.c: New file.
10744 * csu/elf-init.c
10745 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10746 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10747
10748 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10749 __gmon_start__ as global, but as static with a .preinit_array pointer.
10750 * sysdeps/init_array/gmon-start.c: New file. Use that.
10751 * sysdeps/init_array/crti.S: New file, empty except for comments.
10752 * sysdeps/init_array/crtn.S: Likewise.
10753
e6b5a293 107542013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10755
10756 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10757 definining bcopy.
80f844c9
OB
10758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10759 Remove Prefer_SSE_for_memop.
10760 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10761 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10762 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10764 memset-x86-64.
80f844c9 10765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10766 Remove bzero, memset ifunc support.
80f844c9
OB
10767 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10768 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10769 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10770 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10771
fb6b0fcb
AS
107722013-03-11 Andreas Schwab <schwab@suse.de>
10773
10774 [BZ #15234]
10775 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10776 by SHLIB_COMPAT.
10777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10778 (GLIBC_2.16): Remove pthread_atfork.
10779
3e6bd4b1
PP
107802013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10781
10782 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10783 (ptestcases.h): Likewise.
10784
222d7f00
RM
107852013-03-08 Roland McGrath <roland@hack.frob.com>
10786
10787 * Makeconfig ($(common-objpfx)config.status): Depend on
10788 sysdeps/*/preconfigure{,.in} too.
10789
1ba4f030
JM
107902013-03-08 Joseph Myers <joseph@codesourcery.com>
10791
a222d91a
JM
10792 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10793 (__free_hook): Use void * instead of __malloc_ptr_t.
10794 (__malloc_hook): Likewise.
10795 (__realloc_hook): Likewise.
10796 (__memalign_hook): Likewise.
10797 (__after_morecore_hook): Likewise.
10798 * malloc/arena.c (save_malloc_hook): Likewise.
10799 (save_free_hook): Likewise.
10800 * malloc/hooks.c (malloc_hook_ini): Likewise.
10801 (realloc_hook_ini): Likewise.
10802 (memalign_hook_ini): Likewise.
10803 * malloc/malloc.c (malloc_hook_ini): Likewise.
10804 (realloc_hook_ini): Likewise.
10805 (memalign_hook_ini): Likewise.
10806 (__free_hook): Likewise.
10807 (__malloc_hook): Likewise.
10808 (__realloc_hook): Likewise.
10809 (__memalign_hook): Likewise.
10810 (__libc_malloc): Likewise.
10811 (__libc_free): Likewise.
10812 (__libc_realloc): Likewise.
10813 (__libc_memalign): Likewise.
10814 (__libc_valloc): Likewise.
10815 (__libc_pvalloc): Likewise.
10816 (__libc_calloc): Likewise.
10817 (__posix_memalign): Likewise.
10818 * malloc/morecore.c (__sbrk): Likewise.
10819 (__default_morecore): Likewise.
10820
5cc45e10
JM
10821 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10822
dd54b864
JM
10823 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10824 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10825 __malloc_ptrdiff_t.
10826
1ba4f030
JM
10827 * malloc/malloc.h (__malloc_size_t): Remove macro.
10828 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10829 __malloc_size_t.
10830 (old_memalign_hook): Likewise.
10831 (old_realloc_hook): Likewise.
10832 (struct hdr): Likewise.
10833 (flood): Likewise.
10834 (mallochook): Likewise.
10835 (memalignhook): Likewise.
10836 (reallochook): Likewise.
10837 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10838 (tr_old_realloc_hook): Likewise.
10839 (tr_old_memalign_hook): Likewise.
10840 (tr_mallochook): Likewise.
10841 (tr_reallochook): Likewise.
10842 (tr_memalignhook): Likewise.
10843
edf66e57
AZ
108442013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10845
10846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10847 default_ldbl_pack and using as default implementation.
10848 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10849 implementation.
10850 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10851 redundant definition.
10852 (ldbl_insert_mantissa): Likewise.
10853 (ldbl_canonicalize): Likewise.
10854 (ldbl_nearbyint): Likewise.
10855 (ldbl_pack): Rename to ldbl_pack_ppc.
10856 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10857 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10858 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10859
6d9145d8
SP
108602013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10861
10862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10863 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10864 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10865 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10867 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10868 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10869 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10870
4dd4e157
AJ
108712013-03-07 Andreas Jaeger <aj@suse.de>
10872
10873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10874 bits/mman-linux.h.
10875
adbb8027
SP
108762013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10877
ce544b5b
SP
10878 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10879 Include mpa.h and declare __MPEXP.
10880 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10881 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10882 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10883 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10884 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10885 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10886 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10887
4cc149fd
SP
10888 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10889 (__slowpow): Use long double EXPL and LOGL functions to
10890 compute POW.
10891 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10892 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10893 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10894 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10895 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10897
e6ebd4a7
SP
10898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10899 intermediate variable to calculate exponent.
10900 (__sqr): Likewise.
10901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10902 Likewise.
10903 (__sqr): Likewise.
10904
82a9811d
SP
10905 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10906 [!NO__SQR]: Define __sqr.
10907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10908 and NO__SQR. Remove all code except __mul and __sqr. Include
10909 sysdeps/ieee754/dbl-64/mpa.c.
10910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10911
adbb8027
SP
10912 [BZ #12723]
10913 * posix/Makefile (tests): Add tst-pathconf.
10914 * posix/tst-pathconf.c: New test case.
10915 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10916 _PC_PIPE_BUF.
10917 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10918
39120df9
PF
109192013-03-06 Patsy Franklin <pfrankli@redhat.com>
10920
10921 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10922
67525cb8
AJ
109232013-03-06 Andreas Jaeger <aj@suse.de>
10924
664a9ce4
AJ
10925 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10926 definition via __MAP_ANONYMOUS.
10927
8e39047d
AJ
10928 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10929 it's not part of Linux headers.
10930
67525cb8
AJ
10931 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10932 (MAP_HUGE_MASK): Define.
10933
10934 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10935 Define.
10936 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10938 Define.
10939 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10940 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10941 Define.
10942 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10944 Define.
10945 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10946
10947 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10948 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10949 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10950 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10951 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10952 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10953
10954 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10955 Handle f2fs.
10956
10957 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10958 Handle f2fs and efivarfs.
10959
10960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10961 f2fs.
10962
10963 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10964 (EFIVARFS_MAGIC): Add.
10965 (F2FS_LINK_MAX): Add.
10966
e1b42695
PP
109672013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10968
10969 * stdio-common/vfprintf.c: Replace __builtin_expect with
10970 __glibc_unlikely.
10971
2d67d91a
JM
109722013-03-06 Joseph Myers <joseph@codesourcery.com>
10973
10974 [BZ #13550]
10975 * sysdeps/generic/bp-sym.h: Remove file.
10976 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10977 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10978 <bp-sym.h> and <bp-asm.h>.
10979 (__longjmp): Don't use BP_SYM.
10980 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10981 and <bp-asm.h>.
10982 (memcpy): Don't use BP_SYM.
10983 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10984 <bp-sym.h> and <bp-asm.h>.
10985 (memcpy): Don't use BP_SYM.
10986 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10987 <bp-asm.h>.
10988 (memcpy): Don't use BP_SYM.
10989 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10990 <bp-asm.h>.
10991 (memset): Don't use BP_SYM.
10992 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10993 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10994 (__bzero): Don't use BP_SYM.
10995 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10996 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10997 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10998 <bp-sym.h> and <bp-asm.h>.
10999 (memcmp): Don't use BP_SYM. Remove comment about bounded
11000 pointers.
11001 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11002 <bp-sym.h> and <bp-asm.h>.
11003 (memcpy): Don't use BP_SYM.
11004 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11005 <bp-sym.h> and <bp-asm.h>.
11006 (memset): Don't use BP_SYM.
11007 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11008 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11009 (__bzero): Don't use BP_SYM.
11010 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11011 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11012 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11013 <bp-sym.h> and <bp-asm.h>.
11014 (strncmp): Don't use BP_SYM. Remove comment about bounded
11015 pointers.
11016 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11017 <bp-sym.h> and <bp-asm.h>.
11018 (memcpy): Don't use BP_SYM.
11019 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11020 <bp-sym.h> and <bp-asm.h>.
11021 (memset): Don't use BP_SYM.
11022 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11023 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11024 (__bzero): Don't use BP_SYM.
11025 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11026 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11027 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11028 <bp-sym.h> and <bp-asm.h>.
11029 (__memchr): Don't use BP_SYM.
11030 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11031 <bp-sym.h> and <bp-asm.h>.
11032 (memcmp): Don't use BP_SYM. Remove comment about bounded
11033 pointers.
11034 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11035 <bp-sym.h> and <bp-asm.h>.
11036 (memcpy): Don't use BP_SYM.
11037 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11038 <bp-sym.h> and <bp-asm.h>.
11039 (__mempcpy): Don't use BP_SYM.
11040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11041 <bp-sym.h> and <bp-asm.h>.
11042 (__memrchr): Don't use BP_SYM.
11043 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11044 <bp-sym.h> and <bp-asm.h>.
11045 (memset): Don't use BP_SYM.
11046 (__bzero): Likewise.
11047 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11048 <bp-sym.h> and <bp-asm.h>.
11049 (__rawmemchr): Don't use BP_SYM.
11050 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11051 <bp-sym.h> and <bp-asm.h>.
11052 (__STRCMP): Don't use BP_SYM.
11053 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11054 <bp-sym.h> and <bp-asm.h>.
11055 (strchr): Don't use BP_SYM.
11056 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11057 <bp-sym.h> and <bp-asm.h>.
11058 (__strchrnul): Don't use BP_SYM.
11059 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11060 <bp-sym.h> and <bp-asm.h>.
11061 (strlen): Don't use BP_SYM.
11062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11063 <bp-sym.h> and <bp-asm.h>.
11064 (strncmp): Don't use BP_SYM. Remove comment about bounded
11065 pointers.
11066 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11067 <bp-sym.h> and <bp-asm.h>.
11068 (__strnlen): Don't use BP_SYM.
11069 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11070 <bp-sym.h> and <bp-asm.h>.
11071 (__GI__setjmp): Don't use BP_SYM.
11072 (_setjmp): Likewise.
11073 (__sigsetjmp): Likewise.
11074 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11075 (L(start_addresses)): Don't use BP_SYM.
11076 (_start): Likewise.
11077 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11078 <bp-asm.h>.
11079 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11080 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11081 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11082 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11083 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11084 <bp-asm.h>.
11085 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11086 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11087 about bounded pointers.
11088 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11089 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11090 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11091 <bp-asm.h>.
11092 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11093 about bounded pointers. Remove GKM FIXME comments.
11094 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11095 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11096 <bp-asm.h>.
11097 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11098 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11099 Remove GKM FIXME comments.
11100 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11101 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11102 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11103 <bp-asm.h>.
11104 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11105 about bounded pointers. Remove GKM FIXME comment.
11106 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11107 and <bp-asm.h>.
11108 (strncmp): Don't use BP_SYM. Remove comment about bounded
11109 pointers.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11111 <bp-sym.h> and <bp-asm.h>.
11112 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11114 <bp-sym.h> and <bp-asm.h>.
11115 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11116 comment.
11117
cdcf361f
PP
111182013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11119
11120 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11121 call free(NULL).
11122
3c4a2b15
DM
111232013-03-05 David S. Miller <davem@davemloft.net>
11124
11125 * po/es.po: Update from translation team.
11126
cdcf361f 111272013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11128
11129 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11130 <bits/mman-linux.h>.
11131 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11132 is fine.
11133 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11134 <bits/mman-linux.h> to end of file.
11135 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11136 is fine.
11137 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11138 <bits/mman-linux.h> to end of file.
11139 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11140 is fine.
11141 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11142 <bits/mman-linux.h> to end of file.
11143
11144 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11145 (MCL_CURRENT, MCL_FUTURE): Define here.
11146
5f67c04f
AK
111472013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11148
8a4473cc 11149 [BZ #15232]
5f67c04f
AK
11150 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11151 attribute_hidden.
11152 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11153
c3e94a95
AK
111542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11155
11156 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11157 fourth parameter needed for rt_sigprocmask syscall.
11158 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11159 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11160 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11161 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11162 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11163 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11164
cfb6382a
JM
111652013-03-04 Joseph Myers <joseph@codesourcery.com>
11166
11167 [BZ #13550]
11168 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11169 comment about bounded pointers.
11170 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11171 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11172
539d8e01
AJ
111732013-03-04 Andreas Jaeger <aj@suse.de>
11174
11175 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11176 common definitions.
11177
11178 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11179 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11180 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11181 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11182 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11184
2e167a70 111852013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11186
11187 [BZ #15055]
11188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11189 __ieee754_sqrl instead of __sqrl.
11190
68508633
JM
111912013-03-01 Joseph Myers <joseph@codesourcery.com>
11192
11193 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11194 * sysdeps/powerpc/fpu_control.h: ... here.
11195 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11196 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11197 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11198 * sysdeps/powerpc/bits/mathinline.h: ... here.
11199
7775448e
RM
112002013-03-01 Roland McGrath <roland@hack.frob.com>
11201
11202 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11203 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11204 to just [NEED_DL_SYSINFO_DSO].
11205 * elf/dl-support.c: Likewise.
11206 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11207 * elf/rtld.c (dl_main): Likewise.
11208 * elf/setup-vdso.h (setup_vdso): Likewise.
11209 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11210 * sysdeps/unix/sysv/linux/dl-sysdep.c
11211 (_dl_discover_osversion): Likewise.
11212
4e9b5995
CD
112132013-03-01 Carlos O'Donell <carlos@redhat.com>
11214
11215 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11216 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11217
e23872c8
SP
112182013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11219
e5c74c63
SP
11220 * NEWS: Mention libm performance improvements and non-x86 PI
11221 futex support.
11222
e23872c8
SP
11223 * csu/libc-start.c (__pthread_initialize_minimal): Change
11224 function arguments.
11225 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11226
b5510883
JM
112272013-02-28 Joseph Myers <joseph@codesourcery.com>
11228
11229 [BZ #13550]
11230 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11231 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11232 <bp-sym.h> and <bp-asm.h>.
11233 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11235 and <bp-asm.h>.
11236 (memcpy): Don't use BP_SYM.
11237 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11238 <bp-asm.h>.
11239 (__mpn_add_n): Don't use BP_SYM.
11240 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11241 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11242 and <bp-asm.h>.
11243 (__mpn_addmul_1): Don't use BP_SYM.
11244 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11245 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11246 <bp-sym.h>.
11247 (_setjmp): Don't use BP_SYM.
11248 (__novmx_setjmp): Likewise.
11249 (__GI__setjmp): Likewise.
11250 (__vmx_setjmp): Likewise.
11251 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11252 <bp-sym.h>.
11253 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11254 (__bzero): Don't use BP_SYM.
11255 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11256 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11257 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11258 <bp-sym.h> and <bp-asm.h>.
11259 (memcpy): Don't use BP_SYM.
11260 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11261 <bp-sym.h> and <bp-asm.h>.
11262 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11263 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11264 <bp-sym.h> and <bp-asm.h>.
11265 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11266 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11267 <bp-asm.h>.
11268 (__mpn_lshift): Don't use BP_SYM.
11269 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11270 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11271 <bp-asm.h>.
11272 (memset): Don't use BP_SYM.
11273 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11274 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11275 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11276 <bp-asm.h>.
11277 (__mpn_mul_1): Don't use BP_SYM.
11278 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11279 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11280 <bp-sym.h> and <bp-asm.h>.
11281 (memcmp): Don't use BP_SYM.
11282 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11283 <bp-sym.h> and <bp-asm.h>.
11284 (memcpy): Don't use BP_SYM.
11285 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11286 <bp-sym.h> and <bp-asm.h>.
11287 (memset): Don't use BP_SYM.
11288 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11289 <bp-sym.h> and <bp-asm.h>.
11290 (strncmp): Don't use BP_SYM.
11291 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11292 <bp-sym.h> and <bp-asm.h>.
11293 (memcpy): Don't use BP_SYM.
11294 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11295 <bp-sym.h> and <bp-asm.h>.
11296 (memset): Don't use BP_SYM.
11297 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11298 <bp-sym.h> and <bp-asm.h>.
11299 (__memchr): Don't use BP_SYM.
11300 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11301 <bp-sym.h> and <bp-asm.h>.
11302 (memcmp): Don't use BP_SYM.
11303 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11304 <bp-sym.h> and <bp-asm.h>.
11305 (memcpy): Don't use BP_SYM.
11306 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11307 <bp-sym.h> and <bp-asm.h>.
11308 (__mempcpy): Don't use BP_SYM.
11309 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11310 <bp-sym.h> and <bp-asm.h>.
11311 (__memrchr): Don't use BP_SYM.
11312 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11313 <bp-sym.h> and <bp-asm.h>.
11314 (memset): Don't use BP_SYM.
11315 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11316 <bp-sym.h> and <bp-asm.h>.
11317 (__rawmemchr): Don't use BP_SYM.
11318 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11319 <bp-sym.h> and <bp-asm.h>.
11320 (__STRCMP): Don't use BP_SYM.
11321 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11322 <bp-sym.h> and <bp-asm.h>.
11323 (strchr): Don't use BP_SYM.
11324 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11325 <bp-sym.h> and <bp-asm.h>.
11326 (__strchrnul): Don't use BP_SYM.
11327 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11328 <bp-sym.h> and <bp-asm.h>.
11329 (strlen): Don't use BP_SYM.
11330 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11331 <bp-sym.h> and <bp-asm.h>.
11332 (strncmp): Don't use BP_SYM.
11333 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11334 <bp-sym.h> and <bp-asm.h>.
11335 (__strnlen): Don't use BP_SYM.
11336 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11337 <bp-asm.h>.
11338 (__mpn_rshift): Don't use BP_SYM.
11339 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11340 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11341 <bp-sym.h> and <bp-asm.h>.
11342 (__sigsetjmp): Don't use BP_SYM.
11343 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11344 (L(start_addresses)): Don't use BP_SYM.
11345 (_start): Likewise.
11346 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11347 <bp-asm.h>.
11348 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11349 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11350 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11351 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11352 <bp-asm.h>.
11353 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11354 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11355 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11356 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11357 <bp-asm.h>.
11358 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11359 comments.
11360 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11361 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11362 <bp-asm.h>.
11363 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11364 FIXME comments.
11365 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11366 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11367 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11368 <bp-asm.h>.
11369 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11370 comment.
11371 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11372 and <bp-asm.h>.
11373 (strncmp): Don't use BP_SYM,
11374 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11375 <bp-asm.h>.
11376 (__mpn_sub_n): Don't use BP_SYM.
11377 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11378 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11379 and <bp-asm.h>.
11380 (__mpn_submul_1): Don't use BP_SYM.
11381 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11383 <bp-sym.h> and <bp-asm.h>.
11384 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11386 <bp-sym.h> and <bp-asm.h>.
11387 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11388 comment.
11389
8d19fe64
SP
113902013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11391
11392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11393 Use ZK to minimize writes to Z.
11394 (sub_magnitudes): Simplify code a bit.
11395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11396 Use ZK to minimize writes to Z.
11397 (sub_magnitudes): Simplify code a bit.
11398
85bd816a
RM
113992013-02-27 Roland McGrath <roland@hack.frob.com>
11400
11401 * csu/gmon-start.c: Add special exception to license text.
11402
b5977bf2
RH
114032013-02-27 Richard Henderson <rth@redhat.com>
11404
11405 * scripts/config.guess: Update from config.git.
11406 * scripts/config.sub: Likewise.
11407
11d6e2f2
SP
114082013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11409
09c14ed2
SP
11410 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11411
a688864e
SP
11412 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11413
6295157a
SP
11414 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11415
b8de2202
SP
11416 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11417
11d6e2f2
SP
11418 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11419
7e80ddb8
RM
114202013-02-26 Roland McGrath <roland@hack.frob.com>
11421
11422 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11423 [$(build-shared = yes].
7e80ddb8 11424
7da6d9ed
SP
114252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11426
45f05884
SP
11427 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11428 (__mul): Reduce iterations for calculating mantissa.
11429
2236d359
SP
11430 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11431 MPTWO.
11432 (__mpranred): Likewise.
11433
7da6d9ed
SP
11434 [BZ #15160]
11435 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11436 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11437
b7688c42
PE
114382013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11439
11440 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11441 Define __attribute__.
11442
53a5c423
SP
114432013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11444
11445 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11446 unused.
11447 * posix/regex_internal.h (__attribute): Remove.
11448 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11449 (re_string_context_at): Likewise.
11450 (bitset_not): Use __attribute__ and mark function as possibly
11451 unused.
11452 (bitset_merge): Likewise.
11453 (bitset_mask): Likewise.
11454 (re_string_char_size_at): Likewise.
11455 (re_string_wchar_at): Likewise.
11456 (re_string_elem_size_at): Likewise.
11457
60f5a8b5
SP
114582013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11459
2a983a2e
SP
11460 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11461 code.
11462 (cc32): Likewise.
11463
e69804d1
SP
11464 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11465 (__acr): Likewise.
11466 (__cpy): Likewise.
11467 (norm): Likewise.
11468 (denorm): Likewise.
11469 (__dbl_mp): Likewise.
11470 (add_magnitudes): Likewise.
11471 (sub_magnitudes): Likewise.
11472 (__mul): Likewise.
11473 (__inv): Likewise.
11474
2f22a1e8
SP
11475 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11476 style.
11477
8930ddc7
SP
11478 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11479 style.
11480
dc60cb11
SP
11481 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11482 code.
11483
60f5a8b5
SP
11484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11485 up changes with default code.
11486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11487 Likewise.
11488
b4d1fd33
AM
114892013-02-24 Allan McRae <allan@archlinux.org>
11490
faf6f8bc
AM
11491 * manual/socket.texi (The Internet Namespace): Order menu items
11492 to match that in the file.
11493
b4d1fd33
AM
11494 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11495 node listing of the info page menu.
11496
2366713d
JM
114972013-02-21 Joseph Myers <joseph@codesourcery.com>
11498
11499 [BZ #13550]
11500 * sysdeps/i386/bp-asm.h: Remove file.
11501 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11502 (PARMS): Do not use macros from bp-asm.h.
11503 (S1): Likewise.
11504 (S2): Likewise.
11505 (SIZE): Likewise.
11506 (__mpn_add_n): Do not use BP_SYM
11507 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11508 "bp-asm.h".
11509 (PARMS): Do not use macros from bp-asm.h.
11510 (S1): Likewise.
11511 (SIZE): Likewise.
11512 (__mpn_addmul_1): Do not use BP_SYM
11513 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11514 "bp-asm.h".
11515 (PARMS): Do not use macros from bp-asm.h.
11516 (SIGMSK): Likewise.
11517 (_setjmp): Likewise. Do not use BP_SYM.
11518 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11519 "bp-asm.h".
11520 (PARMS): Do not use macros from bp-asm.h.
11521 (SIGMSK): Likewise.
11522 (setjmp): Likewise. Do not use BP_SYM.
11523 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11524 "bp-asm.h".
11525 (PARMS): Do not use macros from bp-asm.h.
11526 (__frexp): Do not use BP_SYM.
11527 (frexp): Likewise.
11528 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11529 "bp-asm.h".
11530 (PARMS): Do not use macros from bp-asm.h.
11531 (__frexpf): Do not use BP_SYM.
11532 (frexpf): Likewise.
11533 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11534 "bp-asm.h".
11535 (PARMS): Do not use macros from bp-asm.h.
11536 (__frexpl): Do not use BP_SYM.
11537 (frexpl): Likewise.
11538 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11539 "bp-asm.h".
11540 (PARMS): Do not use macros from bp-asm.h.
11541 (__remquo): Do not use BP_SYM.
11542 (remquo): Likewise.
11543 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11544 "bp-asm.h".
11545 (PARMS): Do not use macros from bp-asm.h.
11546 (__remquof): Do not use BP_SYM.
11547 (remquof): Likewise.
11548 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11549 "bp-asm.h".
11550 (PARMS): Do not use macros from bp-asm.h.
11551 (__remquol): Do not use BP_SYM.
11552 (remquol): Likewise.
11553 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11554 "bp-asm.h".
11555 (PARMS): Do not use macros from bp-asm.h.
11556 (DEST): Likewise.
11557 (SRC): Likewise.
11558 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11559 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11560 "bp-asm.h".
11561 (PARMS): Do not use macros from bp-asm.h.
11562 (strlen): Do not use BP_SYM.
11563 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11564 "bp-asm.h".
11565 (PARMS): Do not use macros from bp-asm.h.
11566 (S1): Likewise.
11567 (S2): Likewise.
11568 (SIZE): Likewise.
11569 (__mpn_add_n): Do not use BP_SYM.
11570 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11571 "bp-asm.h".
11572 (PARMS): Do not use macros from bp-asm.h.
11573 (S1): Likewise.
11574 (SIZE): Likewise.
11575 (__mpn_addmul_1): Do not use BP_SYM.
11576 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11577 weak_alias.
11578 (bzero): Likewise.
11579 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11580 "bp-asm.h".
11581 (PARMS): Do not use macros from bp-asm.h.
11582 (S): Likewise.
11583 (SIZE): Likewise.
11584 (__mpn_lshift): Do not use BP_SYM.
11585 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11586 "bp-asm.h".
11587 (PARMS): Do not use macros from bp-asm.h.
11588 (DEST): Likewise.
11589 (SRC): Likewise.
11590 (LEN): Likewise.
11591 (memcpy): Likewise. Do not use BP_SYM.
11592 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11593 libc_hidden_def and weak_alias.
11594 (mempcpy): Do not use BP_SYM in weak_alias.
11595 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11596 "bp-asm.h".
11597 (PARMS): Do not use macros from bp-asm.h.
11598 (DEST): Likewise.
11599 (LEN): Likewise.
11600 [!BZERO_P] (CHR): Likewise.
11601 (memset): Likewise. Do not use BP_SYM.
11602 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11603 "bp-asm.h".
11604 (PARMS): Do not use macros from bp-asm.h.
11605 (S1): Likewise.
11606 (SIZE): Likewise.
11607 (__mpn_mul_1): Do not use BP_SYM.
11608 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11609 "bp-asm.h".
11610 (PARMS): Do not use macros from bp-asm.h.
11611 (S): Likewise.
11612 (SIZE): Likewise.
11613 (__mpn_rshift): Do not use BP_SYM.
11614 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11615 "bp-asm.h".
11616 (PARMS): Do not use macros from bp-asm.h.
11617 (STR): Likewise.
11618 (CHR): Likewise.
11619 (strchr): Likewise. Do not use BP_SYM.
11620 (index): Do not use BP_SYM in weak_alias.
11621 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11622 "bp-asm.h".
11623 (PARMS): Do not use macros from bp-asm.h.
11624 (DEST): Likewise.
11625 (SRC): Likewise.
11626 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11627 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11628 "bp-asm.h".
11629 (PARMS): Do not use macros from bp-asm.h.
11630 (strlen): Do not use BP_SYM.
11631 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11632 "bp-asm.h".
11633 (PARMS): Do not use macros from bp-asm.h.
11634 (S1): Likewise.
11635 (S2): Likewise.
11636 (SIZE): Likewise.
11637 (__mpn_sub_n): Do not use BP_SYM.
11638 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11639 "bp-asm.h".
11640 (PARMS): Do not use macros from bp-asm.h.
11641 (S1): Likewise.
11642 (SIZE): Likewise.
11643 (__mpn_submul_1): Do not use BP_SYM.
11644 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11645 "bp-asm.h".
11646 (PARMS): Do not use macros from bp-asm.h.
11647 (S1): Likewise.
11648 (S2): Likewise.
11649 (SIZE): Likewise.
11650 (__mpn_add_n): Do not use BP_SYM.
11651 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11652 weak_alias.
11653 (bzero): Likewise.
11654 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11655 "bp-asm.h".
11656 (PARMS): Do not use macros from bp-asm.h.
11657 (BLK2): Likewise.
11658 (LEN): Likewise.
11659 (memcmp): Do not use BP_SYM.
11660 (bcmp): Do not use BP_SYM in weak_alias.
11661 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11662 "bp-asm.h".
11663 (PARMS): Do not use macros from bp-asm.h.
11664 (DEST): Likewise.
11665 (SRC): Likewise.
11666 (LEN): Likewise.
11667 (memcpy): Likewise. Do not use BP_SYM.
11668 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11669 "bp-asm.h".
11670 (PARMS): Do not use macros from bp-asm.h.
11671 (DEST): Likewise.
11672 (SRC): Likewise.
11673 (LEN): Likewise.
11674 (memmove): Likewise. Do not use BP_SYM.
11675 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11676 "bp-asm.h".
11677 (PARMS): Do not use macros from bp-asm.h.
11678 (DEST): Likewise.
11679 (SRC): Likewise.
11680 (LEN): Likewise.
11681 (__mempcpy): Likewise. Do not use BP_SYM.
11682 (mempcpy): Do not use BP_SYM in weak_alias.
11683 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11684 "bp-asm.h".
11685 (PARMS): Do not use macros from bp-asm.h.
11686 (DEST): Likewise.
11687 (LEN): Likewise.
11688 [!BZERO_P] (CHR): Likewise.
11689 (memset): Likewise. Do not use BP_SYM.
11690 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11691 "bp-asm.h".
11692 (PARMS): Do not use macros from bp-asm.h.
11693 (STR2): Likewise.
11694 (strcmp): Do not use BP_SYM.
11695 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11696 "bp-asm.h".
11697 (PARMS): Do not use macros from bp-asm.h.
11698 (STR): Likewise.
11699 (DELIM): Likewise.
11700 [USE_AS_STRTOK_R] (SAVE): Likewise.
11701 (FUNCTION): Likewise. Do not use BP_SYM.
11702 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11703 aliases.
11704 (strtok_r): Likewise.
11705 (__GI___strtok_r): Likewise.
11706 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11707 (PARMS): Do not use macros from bp-asm.h.
11708 (S): Likewise.
11709 (SIZE): Likewise.
11710 (__mpn_lshift): Do not use BP_SYM.
11711 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11712 (PARMS): Do not use macros from bp-asm.h.
11713 (STR): Likewise.
11714 (CHR): Likewise.
11715 (__memchr): Do not use BP_SYM.
11716 (memchr): Do not use BP_SYM in weak_alias.
11717 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11718 (PARMS): Do not use macros from bp-asm.h.
11719 (BLK2): Likewise.
11720 (LEN): Likewise.
11721 (memcmp): Do not use BP_SYM.
11722 (bcmp): Do not use BP_SYM in weak_alias.
11723 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11724 (PARMS): Do not use macros from bp-asm.h.
11725 (S1): Likewise.
11726 (SIZE): Likewise.
11727 (__mpn_mul_1): Do not use BP_SYM.
11728 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11729 "bp-asm.h".
11730 (PARMS): Do not use macros from bp-asm.h.
11731 (STR): Likewise.
11732 (CHR): Likewise.
11733 (__rawmemchr): Do not use BP_SYM.
11734 (rawmemchr): Do not use BP_SYM in weak_alias.
11735 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11736 (PARMS): Do not use macros from bp-asm.h.
11737 (S): Likewise.
11738 (SIZE): Likewise.
11739 (__mpn_rshift): Do not use BP_SYM.
11740 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11741 (PARMS): Do not use macros from bp-asm.h.
11742 (SIGMSK): Likewise.
11743 (__sigsetjmp): Likewise. Do not use BP_SYM.
11744 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11745 (_start): Do not use BP_SYM.
11746 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11747 (PARMS): Do not use macros from bp-asm.h.
11748 (DEST): Likewise.
11749 (SRC): Likewise.
11750 (__stpcpy): Likewise. Do not use BP_SYM.
11751 (stpcpy): Do not use BP_SYM in weak_alias.
11752 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11753 "bp-asm.h".
11754 (PARMS): Do not use macros from bp-asm.h.
11755 (DEST): Likewise.
11756 (SRC): Likewise.
11757 (LEN): Likewise.
11758 (__stpncpy): Likewise. Do not use BP_SYM.
11759 (stpncpy): Do not use BP_SYM in weak_alias.
11760 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11761 (PARMS): Do not use macros from bp-asm.h.
11762 (STR): Likewise.
11763 (CHR): Likewise.
11764 (strchr): Likewise. Do not use BP_SYM.
11765 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11766 "bp-asm.h".
11767 (PARMS): Do not use macros from bp-asm.h.
11768 (STR): Likewise.
11769 (CHR): Likewise.
11770 (__strchrnul): Likewise. Do not use BP_SYM.
11771 (strchrnul): Do not use BP_SYM in weak_alias.
11772 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11773 "bp-asm.h".
11774 (PARMS): Do not use macros from bp-asm.h.
11775 (STOP): Likewise.
11776 (strcspn): Do not use BP_SYM.
11777 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11778 "bp-asm.h".
11779 (PARMS): Do not use macros from bp-asm.h.
11780 (STR): Likewise.
11781 (STOP): Likewise.
11782 (strpbrk): Likewise. Do not use BP_SYM.
11783 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11784 "bp-asm.h".
11785 (PARMS): Do not use macros from bp-asm.h.
11786 (STR): Likewise.
11787 (CHR): Likewise.
11788 (strrchr): Likewise. Do not use BP_SYM.
11789 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11790 (PARMS): Do not use macros from bp-asm.h.
11791 (SKIP): Likewise.
11792 (strspn): Do not use BP_SYM.
11793 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11794 (PARMS): Do not use macros from bp-asm.h.
11795 (STR): Likewise.
11796 (DELIM): Likewise.
11797 (SAVE): Likewise.
11798 (FUNCTION): Likewise. Do not use BP_SYM.
11799 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11800 aliases.
11801 (strtok_r): Likewise.
11802 (__GI___strtok_r): Likewise.
11803 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11804 (PARMS): Do not use macros from bp-asm.h.
11805 (S1): Likewise.
11806 (S2): Likewise.
11807 (SIZE): Likewise.
11808 (__mpn_sub_n): Do not use BP_SYM.
11809 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11810 "bp-asm.h".
11811 (PARMS): Do not use macros from bp-asm.h.
11812 (S1): Likewise.
11813 (SIZE): Likewise.
11814 (__mpn_submul_1): Do not use BP_SYM.
11815 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11816 <bp-sym.h>.
11817 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11818 and <bp-asm.h>.
11819 (PARMS): Do not use macros from bp-asm.h.
11820 (FLAGS): Likewise.
11821 (PTID): Likewise.
11822 (TLS): Likewise.
11823 (CTID): Likewise.
11824 (__clone): Do not use BP_SYM.
11825 (clone): Do not use BP_SYM in weak_alias.
11826 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11827 and <bp-asm.h>.
11828 (PARMS): Do not use macros from bp-asm.h.
11829 (LEN): Likewise.
11830 (__mmap64): Do not use BP_SYM.
11831 (mmap64): Do not use BP_SYM in weak_alias.
11832 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11833 <bp-sym.h> and <bp-asm.h>.
11834 (PARMS): Do not use macros from bp-asm.h.
11835 (__posix_fadvise64_l64): Do not use BP_SYM.
11836 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11837 (PARMS): Do not use macros from bp-asm.h.
11838 (NSOPS): Likewise.
11839 (semtimedop): Do not use BP_SYM.
11840 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11841 and <bp-asm.h>.
11842
582a3cff
AM
118432013-02-21 Allan McRae <allan@archlinux.org>
11844
11845 * manual/message.texi (Charset conversion in gettext):
11846 Move @end statement to beginning of line.
11847
bab8a695
SP
118482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11849
80945231
SP
11850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11851 static.
11852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11853 Likewise.
11854
bab8a695
SP
11855 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11856 (denorm): Likewise.
11857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11859
e21d7aa7
AK
118602013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11861
11862 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11863 tail-call to the resolved function if pltexit isn't needed.
11864
4c7a4263
SP
118652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11866
11867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11868 or Y being zero as being unlikely.
11869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11870 Likewise.
11871
41f49342
CD
118722013-02-20 Carlos O'Donell <carlos@redhat.com>
11873
11874 * manual/nss.texi (System Databases and Name Service Switch):
11875 Remove frobnicate @pxref.
11876
50022a93
TS
118772013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11878
11879 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11880 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11881
08cbd996
PM
118822013-02-20 Petr Machata <pmachata@redhat.com>
11883
11884 * elf/elf.h (R_ARM_TARGET1): New macro.
11885 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11886 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11887 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11888 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11889 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11890 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11891 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11892 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11893 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11894 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11895 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11896 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11897 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11898 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11899 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11900 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11901 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11902 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11903 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11904 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11905 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11906 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11907 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11908 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11909 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11910 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11911 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11912 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11913 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11914 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11915 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11916 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11917 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11918 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11919 (R_ARM_THM_GOT_BREL12): Likewise.
11920 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11921 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11922 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11923 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11924 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11925 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11926 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11927 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11928 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11929
c7b275d6
TS
119302013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11931
11932 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11933 __attribute_used__ to __attribute__ ((unused)).
11934
20cd7fb3
SP
119352013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11936
11937 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11938 powerpc mpa.c.
11939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11940 comment formatting.
11941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11942
92945b52
JM
119432013-02-19 Joseph Myers <joseph@codesourcery.com>
11944
11945 [BZ #13550]
11946 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11947 Remove macro.
11948 (ENTER): Remove both macro definitions.
11949 (LEAVE): Likewise.
11950 (CHECK_BOUNDS_LOW): Likewise.
11951 (CHECK_BOUNDS_HIGH): Likewise.
11952 (CHECK_BOUNDS_BOTH): Likewise.
11953 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11954 (RETURN_BOUNDED_POINTER): Likewise.
11955 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11956 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11957 (POP_ERRNO_LOCATION_RETURN): Likewise.
11958 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11959 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11960 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11961 macros.
11962 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11963 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11964 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11965 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11966 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11967 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11968 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11969 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11970 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11971 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11972 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11973 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11974 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11975 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11976 removed macros.
11977 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11978 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11979 macros.
11980 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11981 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11982 * sysdeps/i386/i586/memset.S (memset): Likewise.
11983 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11984 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11985 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11986 macros.
11987 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11988 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11989 Change uses of L(2) to L(out).
11990 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11991 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11992 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11994 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11995 removed macros.
11996 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11997 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11998 macros.
11999 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12000 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12001 (RETURN): Do not use macro LEAVE.
12002 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12003 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12004 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12005 * sysdeps/i386/i686/memset.S (memset): Likewise.
12006 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12007 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12008 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12009 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12010 Likewise.
12011 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12012 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12013 L(1_2) and L(1_3) into L(1).
12014 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12015 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12016 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12017 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12018 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12019 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12020 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12021 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12022 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12023 macros.
12024 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12025 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12026 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12027 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12028 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12029 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12030 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12031 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12032 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12033 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12034 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12035 * sysdeps/i386/strspn.S (strspn): Likewise.
12036 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12037 conditional code.
12038 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12039 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12040 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12041 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12042 L(1_3) into L(1_1).
12043 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12044 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12045 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12046 macros.
12047 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12048
2389741a
JJ
120492013-02-19 Jakub Jelinek <jakub@redhat.com>
12050
12051 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12052 macro.
12053
2016b3cd
SP
120542013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12055
e4f22324
SP
12056 * math/atest-exp.c (exp_mpn): Remove ROUND.
12057 * math/atest-exp2.c (exp_mpn): Likewise.
12058 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12059
2016b3cd
SP
12060 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12061 * stdlib/tst-tls-atexit-lib.c: Likewise.
12062 * stdlib/tst-tls-atexit.c: Likewise.
12063
4be9b544
MF
120642013-02-18 Mike Frysinger <vapier@gentoo.org>
12065
12066 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12067 and __attribute_alloc_size__.
12068
2f62b9ee
MF
120692013-02-18 Mike Frysinger <vapier@gentoo.org>
12070
12071 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12072 __attribute_alloc_size__.
12073 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12074 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12075
6ff444c4
MF
120762013-02-18 Mike Frysinger <vapier@gentoo.org>
12077
12078 * include/programs/xmalloc.h: New file.
12079 * catgets/gencat.c: Include it.
12080 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12081 * elf/pldd.c: Likewise.
12082 * iconv/iconv_charmap.c: Likewise.
12083 * iconv/iconvconfig.c: Likewise.
12084 * iconv/strtab.c: Likewise.
12085 * locale/programs/locale.c: Likewise.
12086 * locale/programs/localedef.h: Likewise.
12087 * locale/programs/simple-hash.c: Likewise.
12088 * nscd/nscd.h: Likewise.
12089 * nss/makedb.c: Likewise.
12090 * sysdeps/generic/ldconfig.h: Likewise.
12091
be179c8a
SP
120922013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12093
ba384f6e
SP
12094 * Versions.def: Add GLIBC_2.18.
12095 * include/link.h (struct link_map): New member l_tls_dtor_count.
12096 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12097 (__call_tls_dtors): Likewise.
12098 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12099 __cxa_thread_atexit_impl.
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12101 Likewise.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12103 Likewise.
12104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12105 Likewise.
12106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12107 Likewise.
12108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12110 Likewise.
12111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12112 Likewise.
12113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12115 Likewise.
12116 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12117 (tests): Add test case tst-tls-atexit.
12118 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12119 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12120 (GLIBC_PRIVATE): Add __call_tls_dtors.
12121 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12122 for libstdc++.
12123 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12124 * stdlib/tst-tls-atexit.c: New test case.
12125 * stdlib/tst-tls-atexit-lib.c: New test case.
12126
ffaa74cf 12127 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12128
be179c8a
SP
12129 * elf/Versions (ld): Add _dl_find_dso_for_object.
12130 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12131 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12132 (dl_open_worker): Use _dl_find_dso_for_object.
12133 * elf/dl-sym.c (do_sym): Likewise.
12134 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12135
f78b5caa
AK
121362013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12137
12138 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12139 Syntactic changes only.
12140 (_dl_runtime_profile): Do a tail-call to the resolved function.
12141
29691210
JM
121422013-02-17 Joseph Myers <joseph@codesourcery.com>
12143
12144 [BZ #13550]
12145 * sysdeps/x86_64/bp-asm.h: Remove file.
12146 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12147 <bp-sym.h> and <bp-asm.h>.
12148 (__clone): Do not use BP_SYM.
12149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12150 <bp-sym.h> and <bp-asm.h>.
12151 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12152 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12153 "bp-asm.h".
12154 (_setjmp): Do not use BP_SYM.
12155 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12156 "bp-asm.h".
12157 (setjmp): Do not use BP_SYM.
12158 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12159 libc_hidden_def.
12160 (mempcpy): Do not use BP_SYM in weak_alias.
12161 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12162 "bp-asm.h".
12163 (strchr): Do not use BP_SYM.
12164 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12165 "bp-asm.h".
12166 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12167 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12168 (_start): Do not use BP_SYM.
12169 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12170 "bp-asm.h".
12171 (strcat): Do not use BP_SYM.
12172 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12173 "bp-asm.h".
12174 (STRCMP): Do not use BP_SYM.
12175 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12176 "bp-asm.h".
12177 (STRCPY): Do not use BP_SYM.
12178 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12179 "bp-asm.h".
12180 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12181 "bp-asm.h".
12182 (FUNCTION): Do not use BP_SYM.
12183 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12184 weak_alias.
12185 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12186
f238fd19
AJ
121872013-02-17 Andreas Jaeger <aj@suse.de>
12188
12189 * time/Versions: Sort entries.
12190 * string/Versions: Likewise.
12191 * resolv/Versions: Likewise.
12192 * posix/Versions: Likewise.
12193 * iconv/Versions: Likewise.
12194 * elf/Versions: Likewise.
12195 * wcsmbs/Versions: Likewise.
12196
bd07f23c 121972013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12198
22af19f9
SP
12199 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12200 loop termination condition.
12201
4709fe76
SP
12202 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12203 variable to calculate EZ.
12204 (__sqr): Likewise.
2d0e0f29
SP
12205
12206 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12207 the lower precision input.
12208
daaa7713
JM
122092013-02-15 Joseph Myers <joseph@codesourcery.com>
12210
12211 [BZ #13550]
12212 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12213 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12214 (run-via-rtld-prefix): Do not handle %-bp tests.
12215 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12216 (all-object-suffixes): Remove .ob.
12217 (bppfx): Remove variable.
12218 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12219 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12220 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12221 [$(build-bounded) = yes] (libtype.ob): Likewise.
12222 * Makerules (elide-routines.ob): Remove variable.
12223 (do-tests-clean): Do not handle *-bp.out.
12224 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12225 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12226 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12227 (tests): Do not include $(tests-bp.out).
12228 (xtests): Do not include $(xtests-bp.out).
12229 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12230 [$(build-bounded) = yes] ($(addprefix
12231 $(objpfx),$(binaries-bounded))): Remove rule.
12232 ($(objpfx)%-bp.out): Remove rule.
12233 * config.make.in (build-bounded): Remove variable.
12234 * crypt/Makefile [$(build-bounded) = yes]
12235 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12236 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12237 append to variable.
12238 [$(build-bounded) = yes] (install-lib): Likewise.
12239 [$(build-bounded) = yes] (generated): Likewise.
12240 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12241 Remove rule.
12242 * intl/Makefile [$(build-bounded) = yes]
12243 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12244 * math/Makefile [$(build-bounded) = yes]
12245 ($(tests:%=$(objpfx)%-bp): Likewise.
12246 * misc/Makefile [$(build-bounded) = yes]
12247 ($(objpfx)tst-tsearch-bp): Likewise.
12248 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12249 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12250 Remove dependency.
12251 * string/Makefile (o-objects.ob): Remove variable.
12252 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12253 (CFLAGS-.ob): Remove variable.
12254 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12255 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12256 both definitions of variable.
12257 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12258 (ASFLAGS-.ob): Remove variable.
12259
e97ed6dd
JM
122602013-02-14 Joseph Myers <joseph@codesourcery.com>
12261
2bdd4ca6
JM
12262 [BZ #13550]
12263 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12264 Remove __BOUNDED_POINTERS__ from condition.
12265 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12266 * string/bits/string2.h [!__NO_STRING_INLINES &&
12267 !__BOUNDED_POINTERS__]: Likewise.
12268 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12269 Likewise.
12270 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12271 Remove conditional code.
12272 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12273 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12274 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12275 condition.
12276
e97ed6dd
JM
12277 [BZ #13550]
12278 * csu/libc-start.c: Do not include <bp-sym.h>.
12279 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12280 * elf/dl-open.c: Do not include <bp-sym.h>.
12281 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12282 * math/fegetenv.c: Do not include <bp-sym.h>.
12283 (fegetenv): Do not use BP_SYM in versioned symbols.
12284 * nptl/sysdeps/pthread/bits/libc-lockP.h
12285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12286 <bp-sym.h>.
12287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12288 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12290 (__pthread_mutex_destroy): Likewise.
12291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12292 (__pthread_mutex_lock): Likewise.
12293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12294 (__pthread_mutex_trylock): Likewise.
12295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12296 (__pthread_mutex_unlock): Likewise.
12297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12298 (__pthread_mutexattr_init): Likewise.
12299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12300 (__pthread_mutexattr_destroy): Likewise.
12301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12302 (__pthread_mutexattr_settype): Likewise.
12303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12304 (__pthread_rwlock_init): Likewise.
12305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12306 (__pthread_rwlock_destroy): Likewise.
12307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12308 (__pthread_rwlock_rdlock): Likewise.
12309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12310 (__pthread_rwlock_tryrdlock): Likewise.
12311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12312 (__pthread_rwlock_wrlock): Likewise.
12313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12314 (__pthread_rwlock_trywrlock): Likewise.
12315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12316 (__pthread_rwlock_unlock): Likewise.
12317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12318 (__pthread_key_create): Likewise.
12319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12320 (__pthread_setspecific): Likewise.
12321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12322 (__pthread_getspecific): Likewise.
12323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12324 Likewise.
12325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12326 (_pthread_cleanup_push_defer): Likewise.
12327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12328 (_pthread_cleanup_pop_restore): Likewise.
12329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12330 (pthread_setcancelstate): Likewise.
12331 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12332 <bp-sym.h>.
12333 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12334 (memchr): Do not use BP_SYM in weak_alias.
12335 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12336 (fegetenv): Do not use BP_SYM in versioned symbols.
12337 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12338 (fesetenv): Do not use BP_SYM in versioned symbols.
12339 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12340 (feupdateenv): Do not use BP_SYM in versioned symbols.
12341 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12342 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12343 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12344 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12345 (open64): Do not use BP_SYM in weak_alias.
12346 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12347 (fegetenv): Do not use BP_SYM in versioned symbols.
12348 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12349 (fesetenv): Do not use BP_SYM in versioned symbols.
12350 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12351 (feupdateenv): Do not use BP_SYM in versioned symbols.
12352 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12353 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12354 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12355 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12356 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12357 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12358 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12359 <bp-sym.h>.
12360 (__libc_start_main): Do not use BP_SYM.
12361
d6752ccd
SP
123622013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12363
cb57ce60
SP
12364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12365 redundant return line.
12366 (norm): Likewise.
12367 (denorm): Likewise.
12368 (dbl_mp): Likewise.
12369 (sub_magnitudes): Likewise.
12370 (__add): Likewise.
12371 (__sub): Likewise.
12372 (__mul): Likewise.
12373 (__inv): Likewise.
12374 (__dvd): Likewise.
12375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12376 (norm): Likewise.
12377 (denorm): Likewise.
12378 (dbl_mp): Likewise.
12379 (sub_magnitudes): Likewise.
12380 (__add): Likewise.
12381 (__sub): Likewise.
12382 (__mul): Likewise.
12383 (__inv): Likewise.
12384 (__dvd): Likewise.
12385
f414520d
SP
12386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12387 instead of __mul.
12388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12389 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12390 (cc32): Likewise.
12391
d6752ccd
SP
12392 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12393 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12395 of __mul for squares.
12396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12397 function
12398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12399 Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12401 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12402
70d9946a
JM
124032013-02-13 Joseph Myers <joseph@codesourcery.com>
12404
12405 [BZ #13550]
12406 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12407 code.
12408 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12409 prototype or function definition. Rename ubp_* variables and
12410 parameters. Remove argv definitions conditional on
12411 [__BOUNDED_POINTERS__].
12412 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12413 * elf/dl-runtime.c (_dl_fixup): Likewise.
12414 * include/set-hooks.h (RUN_HOOK): Likewise.
12415 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12416 definition.
12417 * string/strcpy.c (strcpy): Do not use __unbounded.
12418 * sysdeps/generic/frame.h (struct layout): Likewise.
12419 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12420 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12421 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12422 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12423 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12424 (__backtrace): Likewise.
12425 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12426 use __ptrvalue.
12427 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12428 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12429 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12430 Likewise.
12431 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12432 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12433 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12434 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12435 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12436 Do not use __unbounded.
12437 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12438 Rename __unboundedrlimits parameter to rlimits in prototype.
12439 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12440 Do not use __unbounded.
12441 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12442 not use __ptrvalue.
12443 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12444 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12445 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12446 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12447 __ptrvalue or __unbounded.
12448 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12449 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12450 use __unbounded.
12451 (__new_msgctl): Do not use __ptrvalue.
12452 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12453 __unbounded.
12454 (__libc_msgrcv): Do not use __ptrvalue.
12455 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12456 startup_info): Do not use __unbounded.
12457 (__libc_start_main): Likewise. Rename ubp_* variables and
12458 parameters. Remove argv definitions conditional on
12459 [__BOUNDED_POINTERS__].
12460 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12461 __ptrvalue.
12462 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12463 use __unbounded.
12464 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12465 or __ptrvalue.
12466 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12467 use __unbounded.
12468 (__new_shmctl): Do not use __ptrvalue.
12469 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12470 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12471 Likewise.
12472 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12473 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12474 (__libc_sigaction): Likewise.
12475 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12476 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12477 Likewise.
12478 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12479
cc7834d6
OB
124802013-02-13 Ondřej Bílka <neleai@seznam.cz>
12481
ffb1ec7b 12482 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12483
12484 * string/mempcpy.c: Implement by calling memcpy.
12485
bdf02814
SP
124862013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12487
c2af38aa
SP
12488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12489
4e92d59e
SP
12490 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12491 evaluation.
12492
909279a5
SP
12493 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12494 values in the mantissa.
12495
bdf02814
SP
12496 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12497 minimize writes to Z.
12498 (sub_magnitudes): Simplify code a bit.
12499
cd525923
RM
125002013-02-12 Roland McGrath <roland@hack.frob.com>
12501
12502 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12503 from the message. The linker prefixes all warnings with that already.
12504
7e2f0d2d
AS
125052013-02-12 Andreas Schwab <schwab@suse.de>
12506
a445af0b
AS
12507 [BZ #15078]
12508 * posix/regexec.c (extend_buffers): Add parameter min_len.
12509 (check_matching): Pass minimum needed length.
12510 (clean_state_log_if_needed): Likewise.
12511 (get_subexp): Likewise.
12512 * posix/Makefile (tests): Add bug-regex34.
12513 (bug-regex34-ENV): Define.
12514 * posix/bug-regex34.c: New file.
12515
7e2f0d2d
AS
12516 [BZ #11561]
12517 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12518 elements compare against the byte sequence of it, not its name.
12519 * posix/Makefile (tests): Add bug-regex35.
12520 (bug-regex35-ENV): Define.
12521 * posix/bug-regex35.c: New file.
12522
a175b684
TV
125232013-02-11 Tom de Vries <tom@codesourcery.com>
12524
12525 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12526 comment.
12527 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12528 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12529 (CHECK_EOL): Add undef.
12530
310998fe 125312013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12532
12533 * bits/stdlib-bsearch.h: New file.
12534 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12535 * stdlib/stdlib.h: Likewise.
41eda41d 12536
8ded91fb
RM
125372013-02-11 Roland McGrath <roland@hack.frob.com>
12538
12539 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12540 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12541 declaration.
12542 * manual/search.texi (Array Search Function): Add missing const in
12543 lfind prototype.
12544 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12545 declaration to use rlim_t.
12546 (Basic Scheduling Functions): Remove erroneous const from
12547 sched_getparam prototype. Remove erroneous * from
12548 sched_get_priority_max and sched_get_priority_min prototypes.
12549 (Resource Usage): Fix summary @comment on vtimes to refer to
12550 sys/vtimes.h rather than vtimes.h.
12551 Add missing *s in vtimes prototype.
12552 (Limits on Resources): Fix ulimit prototype to return long int.
12553 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12554 prototypes to use long int rather than double.
12555 (BSD Random): Fix initstate and setstate to use char *, not void *.
12556 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12557 prototype to make second argument 'struct aiocb64 *const[]'.
12558 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12559 (Status of AIO Operations): Remove erroneous const in aio_return and
12560 aio_return64 prototypes.
12561 (Synchronizing I/O): Fix sync prototype to return void.
12562 * manual/startup.texi (Suboptions): Remove an erroneous const in
12563 getsubopt prototype.
12564 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12565 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12566 use size_t rather than int.
12567 (Scanning All Users): Likewise for getpwent_r.
12568 (Setting Groups): Add missing const to setgroups prototype.
12569 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12570 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12571 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12572 'const void *' rather than 'const char *'.
12573 (Host Address Functions): Likewise for inet_ntop.
12574 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12575 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12576 ssize_t for return value.
12577 (Sending Data): Likewise for send, sendto, sendmsg.
12578 (Socket Option Functions): Add a missing const in setsockopt prototype.
12579 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12580 use wchar_t for the argument.
12581 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12582 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12583 take no arguments.
12584 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12585 double/float/long double for second argument.
12586 Fix return types of significand, significandf, significandl.
12587 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12588 argument in fchmod prototype.
12589 (File Owner): Use uid_t and gid_t in fchown prototype.
12590 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12591 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12592 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12593 use 'const struct dirent **' as argument types to CMP function pointer
12594 argument.
12595 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12596 (File Times): Fix summary magic @comment for struct utimbuf and utime
12597 to refer to utime.h, not time.h.
12598 * manual/string.texi (Argz Functions): Add missing const in
12599 argz_extract and argz_next prototypes.
12600 (Finding Tokens in a String): Likewise for basename.
12601 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12602 (Copying and Concatenation): Fix typo in wmemmove prototype.
12603 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12604 (Signal Stack): Remove erroneous const in sigstack prototype.
12605 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12606 prototype.
12607 (Simple Calendar Time): Likewise for stime.
12608 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12609 prototype.
12610 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12611 say sys/sysctl.h instead.
12612 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12613 and vsyslog prototypes.
12614
fe77fe6d
TV
126152013-02-11 Tom de Vries <tom@codesourcery.com>
12616
12617 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12618 Remove.
12619
3a09b620
RM
126202013-02-11 Roland McGrath <roland@hack.frob.com>
12621
12622 * misc/sys/mman.h: Fix typo in mremap comment.
12623
550a0b89
RM
126242013-02-08 Roland McGrath <roland@hack.frob.com>
12625
12626 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12627 the '\0' terminator.
12628
a2da1673
JM
126292013-02-08 Joseph Myers <joseph@codesourcery.com>
12630
12631 [BZ #13550]
12632 * debug/segfault.c: Don't include <bp-checks.h>.
12633 * sysdeps/generic/bp-checks.h: Remove file.
12634 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12635 (__GETDENTS): Don't use CHECK_N.
12636 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12637 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12638 (__getgroups): Don't use CHECK_N.
12639 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12640 (setgroups): Don't use CHECK_N.
12641 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12642 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12643 (__libc_msgrcv): Don't use CHECK_N.
12644 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12645 (__libc_msgsnd): Don't use CHECK_N.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12647 <bp-checks.h>.
12648 (__libc_pread): Don't use CHECK_N.
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12650 include <bp-checks.h>.
12651 (__libc_pread64): Don't use CHECK_N.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12653 include <bp-checks.h>.
12654 (__libc_pwrite): Don't use CHECK_N.
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12656 include <bp-checks.h>.
12657 (__libc_pwrite64): Don't use CHECK_N.
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12659 <bp-checks.h>.
12660 (__libc_pread): Don't use CHECK_N.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12662 include <bp-checks.h>.
12663 (__libc_pread64): Don't use CHECK_N.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12665 include <bp-checks.h>.
12666 (__libc_pwrite): Don't use CHECK_N.
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12668 include <bp-checks.h>.
12669 (__libc_pwrite64): Don't use CHECK_N.
12670 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12671 (do_pread): Don't use CHECK_N.
12672 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12673 (do_pread64): Don't use CHECK_N.
12674 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12675 (do_pwrite): Don't use CHECK_N.
12676 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12677 (do_pwrite64): Don't use CHECK_N.
12678 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12679 (__libc_readv): Don't use CHECK_N.
12680 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12681 (semop): Don't use CHECK_N.
12682 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12683 <bp-checks.h>.
12684 (semtimedop): Don't use CHECK_N.
12685 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12686 (__libc_pread): Don't use CHECK_N.
12687 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12688 <bp-checks.h>.
12689 (__libc_pread64): Don't use CHECK_N.
12690 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12691 <bp-checks.h>.
12692 (__libc_pwrite): Don't use CHECK_N.
12693 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12694 <bp-checks.h>.
12695 (__libc_pwrite64): Don't use CHECK_N.
12696 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12697 <bp-checks.h>.
12698 (__libc_msgrcv): Don't use CHECK_N.
12699 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12700 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12701 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12702 (__libc_writev): Don't use CHECK_N.
12703
b84660a8
RM
127042013-02-08 Roland McGrath <roland@hack.frob.com>
12705
7f3e75f8
RM
12706 * string/strcpy.c: Removed unused variable.
12707
b84660a8
RM
12708 * Makeconfig (+sysdep-includes): Define with := rather than =.
12709 Use an existing include/ subdir of each sysdeps dir before it.
12710
471514d3
CD
127112013-02-08 Carlos O'Donell <carlos@redhat.com>
12712
12713 * nscd/connection.c (register_traced_file): Comment function.
12714 [HAVE_INOTIFY] (union __inev): Define.
12715 [HAVE_INOTIFY] (inotify_check_files): New function.
12716 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12717 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12718 clear_db_cache.
12719 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12720
b2d3c3be
CD
127212013-02-08 Carlos O'Donell <carlos@redhat.com>
12722
12723 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12724 loaded if not already and that a failure is permanent.
12725
b39949d2
CD
127262013-02-08 Carlos O'Donell <carlos@redhat.com>
12727
ddacd1db 12728 [BZ #15006]
b39949d2
CD
12729 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12730 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12731
b2c9eff4
JM
127322013-02-08 Joseph Myers <joseph@codesourcery.com>
12733
f3aae3f3
JM
12734 [BZ #13550]
12735 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12736 (CHECK_1_NULL_OK): Likewise.
12737 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12738 (__fxstat): Do not use CHECK_1.
12739 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12740 <bp-checks.h>.
12741 (___fxstat64): Do not use CHECK_1.
12742 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12743 <bp-checks.h>.
12744 (__fxstatat): Do not use CHECK_1.
12745 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12746 <bp-checks.h>.
12747 (__fxstatat64): Do not use CHECK_1.
12748 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12749 <bp-checks.h>.
12750 (__fxstat): Do not use CHECK_1.
12751 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12752 <bp-checks.h>.
12753 (__fxstatat): Do not use CHECK_1.
12754 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12755 <bp-checks.h>.
12756 (__getresgid): Do not use CHECK_1.
12757 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12758 <bp-checks.h>.
12759 (__getresuid): Do not use CHECK_1.
12760 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12761 <bp-checks.h>.
12762 (__lxstat): Do not use CHECK_1.
12763 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12764 <bp-checks.h>.
12765 (__old_msgctl): Do not use CHECK_1.
12766 (__new_msgctl): Likewise.
12767 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12768 <bp-checks.h>.
12769 (__new_setrlimit): Do not use CHECK_1.
12770 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12771 <bp-checks.h>.
12772 (__old_shmctl): Do not use CHECK_1.
12773 (__new_shmctl): Likewise.
12774 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12775 <bp-checks.h>.
12776 (__xstat): Do not use CHECK_1.
12777 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12778 (__lxstat): Do not use CHECK_1.
12779 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12780 <bp-checks.h>.
12781 (___lxstat64): Do not use CHECK_1.
12782 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12783 (__old_msgctl): Do not use CHECK_1.
12784 (__new_msgctl): Likewise.
12785 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12786 <bp-checks.h>.
12787 (__gettimeofday): Do not use CHECK_1.
12788 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12789 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12790 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12791 <bp-checks.h>.
12792 (__gettimeofday): Do not use CHECK_1.
12793 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12794 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12795 (__new_shmctl): Do not use CHECK_1.
12796 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12797 <bp-checks.h>.
12798 (do_sigtimedwait): Do not use CHECK_1.
12799 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12800 <bp-checks.h>.
12801 (do_sigwaitinfo): Do not use CHECK_1.
12802 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12803 <bp-checks.h>.
12804 (msgctl): Do not use CHECK_1.
12805 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12806 <bp-checks.h>.
12807 (shmctl): Do not use CHECK_1.
12808 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12809 (ustat): Do not use CHECK_1.
12810 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12811 <bp-checks.h>.
12812 (__fxstat): Do not use CHECK_1.
12813 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12814 <bp-checks.h>.
12815 (__fxstatat): Do not use CHECK_1.
12816 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12817 <bp-checks.h>.
12818 (__lxstat): Do not use CHECK_1.
12819 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12820 <bp-checks.h>.
12821 (__xstat): Do not use CHECK_1.
12822 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12823 (__xstat): Do not use CHECK_1.
12824 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12825 (___xstat64): Do not use CHECK_1.
12826
b2c9eff4
JM
12827 [BZ #13550]
12828 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12829 definitions.
12830 (CHECK_BOUNDS_HIGH): Likewise.
12831 * string/strcpy.c: Do not include <bp-checks.h>.
12832 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12833
f1d70dad
RM
128342013-02-07 Roland McGrath <roland@hack.frob.com>
12835
12836 * nscd/nscd-client.h (__nscd_drop_map_ref):
12837 Add __attribute__ ((unused)).
12838 * nis/nss-nisplus.h (niserr2nss): Likewise.
12839
12840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12841 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12842
12843 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12844 Remove inline keyword.
12845 * include/rounding-mode.h (round_away): Likewise.
12846 * libio/wfileops.c (adjust_wide_data): Likewise.
12847 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12848 (__m128i_strloadu_tolower): Likewise.
12849 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12850 (__m128i_strloadu_tolower): Likewise.
12851 * time/mktime.c (ydhms_diff): Likewise.
12852 * locale/elem-hash.h (elem_hash): Likewise.
12853 * locale/setlocale.c (setdata): Likewise.
12854 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12855 (re_string_wchar_at): Likewise.
12856 (bitset_not, bitset_merge, bitset_mask): Likewise.
12857 [!(__GNUC__ > 3)] (inline): Remove macro.
12858 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12859 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12860 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12861 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12862 * string/memcmp.c (memcmp_bytes): Likewise.
12863 * locale/programs/locarchive.c (compute_hashval): Likewise.
12864 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12865 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12866 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12867 * nss/getent.c (print_rpc, print_protocols): Likewise.
12868 (print_passwd, print_group, print_aliases): Likewise.
12869 * nis/nss-nisplus.h (niserr2nss): Likewise.
12870 * nscd/connections.c (restart_p): Likewise.
12871 Change return type to bool.
12872
eab55bfb
RM
128732013-02-05 Roland McGrath <roland@hack.frob.com>
12874
7bd642f5
RM
12875 * Makeconfig (all-Depend-files): Add existing
12876 $(sorted-subdirs:=/Depend) files.
12877 (all-subdirs): Remove nss.
12878 * sysdeps/unix/inet/Subdirs: Add it here instead.
12879 * hesiod/Depend: New file.
12880
573c29b2
RM
12881 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12882 instead of calling alloca.
12883
b2e25af0
RM
12884 * io/lseek.c (__lseek): Rename to __libc_lseek.
12885 Define __lseek as an alias.
12886
eab55bfb
RM
12887 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12888
9a0d1941
CD
128892013-02-04 Carlos O'Donell <carlos@redhat.com>
12890
12891 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12892 else clause and remove check for non-standard endianness.
12893
b83bbec4
DM
128942013-02-04 David S. Miller <davem@davemloft.net>
12895
12896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12897
6277fdab
JM
128982013-02-04 Joseph Myers <joseph@codesourcery.com>
12899
12900 [BZ #13550]
12901 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12902 (__ubp_memchr): Remove prototype.
12903 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12904 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12905 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12906 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12907 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12908 Remove alias.
12909 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12910 (__ubp_memchr): Likewise.
12911 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12912 (__ubp_memchr): Likewise.
12913 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12914 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12915 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12916 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12917 CHECK_STRING.
12918 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12919 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12920 (__getcwd): Do not use CHECK_STRING.
12921 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12922 <bp-checks.h>.
12923 (__real_chown): Do not use CHECK_STRING.
12924 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12925 <bp-checks.h>.
12926 (fchownat): Do not use CHECK_STRING.
12927 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12928 CHECK_STRING.
12929 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12930 <bp-checks.h>.
12931 (__lchown): Do not use CHECK_STRING.
12932 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12933 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12934 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12935 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12937 include <bp-checks.h>.
12938 (truncate64): Do not use CHECK_STRING.
12939 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12940 <bp-checks.h>.
12941 (__real_chown): Do not use CHECK_STRING.
12942 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12943 <bp-checks.h>.
12944 (__lchown): Do not use CHECK_STRING.
12945 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12946 <bp-checks.h>.
12947 (__chown): Do not use CHECK_STRING.
12948 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12949 <bp-checks.h>.
12950 (truncate64): Do not use CHECK_STRING.
12951 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12952 Likewise.
12953 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12954 (__xmknod): Do not use CHECK_STRING.
12955 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12956 <bp-checks.h>.
12957 (__xmknodat): Do not use CHECK_STRING.
12958 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12959 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12960
903ae060
AS
129612013-02-04 Andreas Schwab <schwab@suse.de>
12962
12963 [BZ #14142]
12964 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12965 * include/netdb.h: Likewise for h_errno.
12966 * elf/tst-stackguard1.c: Include <tls.h>.
12967
542f9466
JK
129682013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12969
12970 * elf/link.h (struct link_map): Extend the l_addr comment.
12971 * include/link.h (struct link_map): Likewise.
12972
e782a927
JM
129732013-02-01 Joseph Myers <joseph@codesourcery.com>
12974
12975 [BZ #13550]
12976 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12977 (BOUNDED_1): Remove macro.
12978 * debug/backtrace.c: Don't include <bp-checks.h>.
12979 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12980 (__backtrace): Likewise.
12981 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12982 <bp-checks.h>.
12983 (__backtrace): Don't use BOUNDED_1.
12984 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12985 <bp-checks.h>.
12986 (__backtrace): Don't use BOUNDED_1.
12987 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12988 (__backtrace): Don't use BOUNDED_1.
12989 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12990 (shmat): Don't use BOUNDED_N.
12991
8cf28c5e
JM
129922013-01-31 Joseph Myers <joseph@codesourcery.com>
12993
3a7ac8a0
JM
12994 [BZ #13550]
12995 * sysdeps/generic/bp-start.h: Remove file.
12996 * csu/libc-start.c: Don't include <bp-start.h>.
12997 (LIBC_START_MAIN): Set up __environ directly instead of using
12998 INIT_ARGV_and_ENVIRON.
12999 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13000 <bp-start.h>.
13001
f3499f95
JM
13002 [BZ #13550]
13003 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13004 definitions.
13005 (CHECK_FCNTL): Likewise.
13006 (CHECK_N_PAGES): Likewise.
13007
32a45bea
JM
13008 [BZ #13550]
13009 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13010 definitions.
13011 (CHECK_SIGSET_NULL_OK): Likewise.
13012 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13013 <bp-checks.h>.
13014 (sigpending): Don't use CHECK_SIGSET.
13015 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13016 <bp-checks.h>.
13017 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13018 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13019 <bp-checks.h>.
13020 (do_sigsuspend): Don't use CHECK_SIGSET.
13021 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13022 use CHECK_SIGSET.
13023 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13024 (do_sigwait): Don't use CHECK_SIGSET.
13025 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13026 use CHECK_SIGSET.
13027 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13028 include <bp-checks.h>.
13029 (sigpending): Don't use CHECK_SIGSET.
13030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13031 include <bp-checks.h>.
13032 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13033 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13034 <bp-checks.h>.
13035 (sigpending): Don't use CHECK_SIGSET.
13036 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13037 <bp-checks.h>.
13038 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13039
2e8a5c8c
JM
13040 [BZ #13550]
13041 * sysdeps/generic/bp-semctl.h: Remove file.
13042 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13043 <bp-checks.h> and <bp-semctl.h>.
13044 (__old_semctl): Don't use CHECK_SEMCTL.
13045 (__new_semctl): Likewise.
13046 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13047 and <bp-semctl.h>.
13048 (__old_semctl): Don't use CHECK_SEMCTL.
13049 (__new_semctl): Likewise.
13050 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13051 <bp-checks.h> and <bp-semctl.h>.
13052 (__old_semctl): Don't use CHECK_SEMCTL.
13053 (__new_semctl): Likewise.
13054 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13055 <bp-checks.h> and <bp-semctl.h>.
13056 (semctl): Don't use CHECK_SEMCTL.
13057
c2d54929
JM
13058 [BZ #13550]
13059 * Makerules (elide-bp-thunks): Remove variable.
13060 (elide-routines.oS): Don't use $(elide-bp-thunks).
13061 (elide-routines.os): Likewise.
13062 (elide-routines.o): Likewise.
13063 (elide-routines.op): Likewise.
13064 (elide-routines.og): Likewise.
13065 (objects): Don't use $(bp-thunks).
13066 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13067 include.
13068 (common-generated): Do not add s-proto-bp.d.
13069 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13070 (int): Likewise.
13071 (typ): Likewise.
13072 Do not generate makefile rules for bounded-pointer thunks.
13073 * sysdeps/generic/bp-thunks.h: Remove file.
13074 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13075 * sysdeps/unix/s-proto-bp.S: Likewise.
13076
8cf28c5e
JM
13077 [BZ #15062]
13078 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13079 parts of result separately when argument is not close to line from
13080 -i to i and one part of argument is small.
13081 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13082 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13083 * math/libm-test.inc (cacos_test): Add more tests.
13084 (casin_test): Likewise.
13085 (casinh_test): Likewise.
13086 * sysdeps/i386/fpu/libm-test-ulps: Update.
13087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13088
c4e33b8d
DM
130892013-01-31 David S. Miller <davem@davemloft.net>
13090
13091 * po/de.po: Update from translation team.
13092
3b60b421
MK
130932013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13094
13095 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13096
bb931195
TS
130972013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13098
b5a5da23
TS
13099 * configure.in (_AC_PROG_CC_C89): New definition.
13100 * configure: Regenerate.
13101
bb931195
TS
13102 * configure.in (AC_PROG_CPP): New definition.
13103 * configure: Regenerate.
13104
8c53a12c
JM
131052013-01-23 Joseph Myers <joseph@codesourcery.com>
13106
13107 * debug/tst-backtrace.h: New file.
13108 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13109 (ret): Remove variable.
13110 (x): Likewise.
13111 (FAIL): Remove macro.
13112 (NO_INLINE): Likewise.
13113 (fn1): Use match function instead of strstr.
13114 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13115 (ret): Remove variable.
13116 (x): Likewise.
13117 (FAIL): Remove macro.
13118 (NO_INLINE): Likewise.
13119 (fn): Use match function instead of strstr.
13120 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13121 (ret): Remove variable.
13122 (x): Likewise.
13123 (FAIL): Remove macro.
13124 (NO_INLINE): Likewise.
13125 (handle_signal): Use match function instead of strstr.
13126 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13127 (ret): Remove variable.
13128 (x): Likewise.
13129 (FAIL): Remove macro.
13130 (NO_INLINE): Likewise.
13131 (handle_signal): Use match function instead of strstr.
13132
4858fa2a
RM
131332013-01-23 Roland McGrath <roland@hack.frob.com>
13134
13135 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13136
bae8e7f5
DM
131372013-01-23 David S. Miller <davem@davemloft.net>
13138
13139 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13140 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13141 argument of CAS if possible.
13142 * sysdeps/sparc/sparc64/bits/atomic.h
13143 (__arch_compare_and_exchange_val_32_acq): Likewise.
13144 (__arch_compare_and_exchange_val_64_acq): Likewise.
13145
9cbbc4ae
PT
131462013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13147
13148 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13149 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13150 Include <limits.h>.
67b3f58c 13151 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13152
5655a0b5
AC
131532013-01-23 Adam Conrad <adconrad@0c3.net>
13154
13155 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13156 (LDFLAGS-tst-array5): Likewise.
13157
052aff95
JM
131582013-01-23 Joseph Myers <joseph@codesourcery.com>
13159
13160 [BZ #15036]
13161 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13162 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13163 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13164 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13165
7c1e01aa
DM
131662013-01-21 David S. Miller <davem@davemloft.net>
13167
13168 * sysdeps/sparc/backtrace.c: New file.
13169 * sysdeps/sparc/sparc32/backtrace.h: New file.
13170 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13171 * sysdeps/sparc/sparc64/backtrace.h: New file.
13172 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13173 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13174 -funwind-tables.
13175
ab087e0a
AS
131762013-01-21 Andreas Schwab <schwab@suse.de>
13177
13178 [BZ #15020]
13179 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13180 closed its stdout.
13181
ed689c2f
AS
131822013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13183
13184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13185 "mpa2.h".
13186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13187
31d470ac
JM
131882013-01-18 Joseph Myers <joseph@codesourcery.com>
13189 Mark Mitchell <mark@codesourcery.com>
13190 Tom de Vries <tom@codesourcery.com>
13191 Paul Pluzhnikov <ppluzhnikov@google.com>
13192
13193 * debug/tst-backtrace2.c: New file.
13194 * debug/tst-backtrace3.c: Likewise.
13195 * debug/tst-backtrace4.c: Likewise.
13196 * debug/tst-backtrace5.c: Likewise.
13197 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13198 (CFLAGS-tst-backtrace3.c): Likewise.
13199 (CFLAGS-tst-backtrace4.c): Likewise.
13200 (CFLAGS-tst-backtrace5.c): Likewise.
13201 (LDFLAGS-tst-backtrace2): Likewise.
13202 (LDFLAGS-tst-backtrace3): Likewise.
13203 (LDFLAGS-tst-backtrace4): Likewise.
13204 (LDFLAGS-tst-backtrace5): Likewise.
13205 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13206 tst-backtrace4 and tst-backtrace5.
13207
90567f30 132082013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13209 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13210
13211 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13212 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13213 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13214 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13216 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13217 "+r" and remove output regs list as redundant. Add explicit inline
13218 asm to specify register of return val to work around compiler codegen
13219 bug. Remove (int) cast on return value. Add return type parameter to
13220 use in macro so that this macro does not truncate return value for
13221 64-bit values.
13222 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13223 pass to INTERNAL_VSYSCALL_NCS.
13224 (INLINE_VSYSCALL): Add 'long int' as return type to
13225 INTERNAL_VSYSCALL_NCS macro invocation.
13226 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13227 INTERNAL_VSYSCALL_NCS macro invocation.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13229
d3b9ea61
SP
132302013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13231
0b57daeb
SP
13232 [BZ #14496]
13233 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13234 Fix application of SIMD FP exception mask.
13235
caa99d06
SP
13236 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13237 mp_no from a power of two.
13238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13239 __mpexp_twomm1. Use __pow_mp.
13240
d3b9ea61
SP
13241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13242 multiplication.
13243
1dbaee3c
DM
132442013-01-17 David S. Miller <davem@davemloft.net>
13245
13246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13247
728d7b43
JM
132482013-01-17 Joseph Myers <joseph@codesourcery.com>
13249
13250 [BZ #15023]
13251 * include/complex.h: Condition contents on [!_COMPLEX_H].
13252 (__kernel_casinhf): New prototype.
13253 (__kernel_casinh): Likewise.
13254 (__kernel_casinhl): Likewise.
13255 * math/Makefile (libm_calls): Add k_casinh.
13256 * math/k_casinh.c: New file.
13257 * math/k_casinhf.c: Likewise.
13258 * math/k_casinhl.c: Likewise.
13259 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13260 finite nonzero arguments.
13261 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13262 finite nonzero arguments.
13263 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13264 finite nonzero arguments.
13265 * math/s_casinh.c: Do not include <float.h>.
13266 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13267 * math/s_casinhf.c: Do not include <float.h>.
13268 (__casinhf): Move code for finite nonzero arguments to
13269 k_casinhf.c.
13270 * math/s_casinhl.c: Do not include <float.h>.
13271 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13272 redefine.
13273 (__casinhl): Move code for finite nonzero arguments to
13274 k_casinhl.c.
13275 * math/libm-test.inc (cacos_test): Add more tests.
13276 * sysdeps/i386/fpu/libm-test-ulps: Update.
13277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13278
2a26ef3a
PT
132792013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13280
13281 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13282 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13283 [!HAVE_MREMAP]: Remove [defined linux] case.
13284 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13285
a897655d
SP
132862013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13287
13288 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13289
881ebe89 132902013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13291
13292 * elf/elf.h (R_386_SIZE32): New relocation.
13293 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13294 R_386_SIZE32.
13295 (elf_machine_rela): Likewise.
13296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13297 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13298
59981e9b
JM
132992013-01-17 Joseph Myers <joseph@codesourcery.com>
13300
13301 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13302 (FP_FAST_FMA): Do not define.
13303 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13304 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13305 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13306 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13307 !_SOFT_FLOAT]: Likewise.
13308 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13309 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13310 value.
13311 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13312 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13314 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13315 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13316 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13317 file.
13318
cfa8054f
AS
133192013-01-16 Andreas Schwab <schwab@suse.de>
13320
13321 [BZ #14327]
13322 * include/stdlib.h (__mktemp): Add declaration.
13323 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13324 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13325
dd930cc5
SP
133262013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13327
881ebe89
SP
13328 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13329 definitions.
13330 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13331 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13332 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13333 definitions here.
13334 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13335 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13336 definitions.
13337 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13338 and ONE.
13339 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13340 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13341 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13342 definitions.
13343 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13344 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13345 definitions.
13346 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13347
dd930cc5
SP
13348 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13349
c19a9f89
DM
133502013-01-15 David S. Miller <davem@davemloft.net>
13351
1aa61767
DM
13352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13353 trunc{,f} to libm-sysdep_routes.
13354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13356 file.
13357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13359 file.
13360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13361 file.
13362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13365 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13367 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13368 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13369 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13370
c42d5e98
DM
13371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13372 nearbyint{,f} to libm-sysdep_routes.
13373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13375 New file.
13376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13377 file.
13378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13379 New file.
13380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13381 file.
13382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13384 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13385 file.
13386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13387 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13388 file.
13389 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13390 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13391 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13392
c19a9f89
DM
13393 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13394 libc_feholdexcept and libc_fesetenv.
13395
357679d2
MF
133962013-01-15 Mike Frysinger <vapier@gentoo.org>
13397
13398 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13399
65a82e3d
DM
134002013-01-14 David S. Miller <davem@davemloft.net>
13401
8b954ab9
DM
13402 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13403 (SPARC_ASM_VIS2_IFUNC): Likewise.
13404 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13406 use of 'siam' instruction.
13407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13408 Likewise.
13409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13410 Likewise.
13411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13412 Likewise.
13413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13418 file.
13419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13420 file.
13421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13422 file.
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13424 file.
13425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13430 new VIS2 routines.
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13434 Likewise.
13435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13440 routines to libm-sysdep_routines.
13441 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13442
65a82e3d
DM
13443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13444 fdim/fdimf to libm-sysdep_routines.
13445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13446 file.
13447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13449 file.
13450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13453 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13454 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13455 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13456 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13457
e34ab705
SP
134582013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13459
2a91b573
SP
13460 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13461 to optimize copies.
13462
1066a534
SP
13463 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13466
e34ab705
SP
13467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13468 local variable MPTWO.
13469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13470 Likewise.
13471
aba5e596
MF
134722013-01-13 Mike Frysinger <vapier@gentoo.org>
13473
13474 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13475 GLOB_NOESCAPE.
13476
e557e9e5
MF
134772013-01-13 Mike Frysinger <vapier@gentoo.org>
13478
13479 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13480
0428cec9
MF
134812013-01-13 Mike Frysinger <vapier@gentoo.org>
13482
13483 * manual/pattern.texi (glob_t): Document gl_flags.
13484 (glob64_t): Likewise.
13485
8794a964
DM
134862013-01-11 David S. Miller <davem@davemloft.net>
13487
66438c3f
RM
13488 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13489 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13490 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13491 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13492 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13493 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13494 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13495 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13496 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13497 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13498 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13499 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13500 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13501
4ae4244d
DM
13502 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13503 sparc V9 rather than using V8 code.
13504 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13505 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13506
8794a964
DM
13507 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13508 Move to...
13509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13510 Here.
13511
6270516e
RM
135122013-01-11 Roland McGrath <roland@hack.frob.com>
13513
13514 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13515 not in the main loop.
13516 * configure: Regenerated.
13517
6a57d931
JM
135182013-01-11 Joseph Myers <joseph@codesourcery.com>
13519
13520 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13521 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13522 to just #else.
13523 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13524 [!__GLIBC_HAVE_LONG_LONG] case.
13525 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13526 condition to just #else.
13527 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13528 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13529 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13530 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13531 unconditional.
13532 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13533 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13534 #elif condition to just #else.
13535 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13536 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13537 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13538 #elif condition to just #else.
13539
0e8529e9
SE
135402013-01-11 Steve Ellcey <sellcey@mips.com>
13541
13542 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13543 (EF_MIPS_ARCH_64): Fix value.
13544 (EF_MIPS_ARCH_32R2): New.
13545 (EF_MIPS_ARCH_64R2): New.
13546
740b3dbe
L
135472013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13548
13549 * Makeconfig (+link-pie-before-libc): New.
13550 (+link-pie-after-libc): Likewise.
13551 (+link-pie-tests): Likewise.
13552 (+link-pie): Rewritten.
13553 (link-before-libc): Remove $(config-LDFLAGS).
13554 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13555 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13556 (config-LDFLAGS): Renamed to ...
13557 (rtld-LDFLAGS): This.
13558 (rtld-tests-LDFLAGS): New macro.
13559 (link-libc-rpath-link): Likewise.
13560 (link-libc-tests-rpath-link): Likewise.
13561 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13562 (link-libc): Prepand $(link-libc-rpath-link).
13563 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13564 (test-program-prefix): New macro.
13565 (test-via-rtld-prefix): Likewise.
13566 (test-program-cmd): Likewise.
13567 (host-test-program-cmd): Likewise.
13568 * Makefile ($(common-objpfx)testrun.sh): Replace
13569 $(run-program-prefix) with $(test-program-prefix).
13570 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13571 $(rtld-LDFLAGS).
13572 ($(common-objpfx)shlib.lds): Likewise.
13573 (build-module-helper): Likewise.
13574 ($(common-objpfx)format.lds): Likewise.
13575 * Rules (binaries-pie-tests): New.
13576 (binaries-pie-notests): Likewise.
13577 (binaries-pie): Rewritten.
13578 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13579 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13580 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13581 (make-test-out): Replace $(host-built-program-cmd) with
13582 $(host-test-program-cmd).
13583 * config.make.in (build-hardcoded-path-in-tests): New variable.
13584 * configure.in (--enable-hardcoded-path-in-tests): New configure
13585 option.
13586 (hardcoded_path_in_tests): New AC_SUBST.
13587 * configure: Regenerated.
13588 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13589 $(built-program-cmd) with $(test-program-cmd).
13590 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13591 (test_program_cmd): This.
13592 * elf/Makefile ($(objpfx)order.out): Run test with
13593 $(test-program-prefix).
13594 ($(objpfx)order2.out): Likewise.
13595 ($(objpfx)tst-initorder.out): Likewise.
13596 ($(objpfx)tst-initorder2.out): Likewise.
13597 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13598 $(test-program-cmd).
13599 ($(objpfx)tst-array1-static.out): Likewise.
13600 ($(objpfx)tst-array2.out): Likewise.
13601 ($(objpfx)tst-array3.out): Likewise.
13602 ($(objpfx)tst-array4.out): Likewise.
13603 ($(objpfx)tst-array5.out): Likewise.
13604 ($(objpfx)tst-array5-static.out): Likewise.
13605 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13606 $(test-program-cmd).
13607 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13608 $(run-program-prefix) with $(test-program-prefix).
13609 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13610 (test_program_prefix): This.
13611 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13612 $(run-program-prefix) with $(test-program-prefix).
13613 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13614 (test_program_prefix): This.
13615 * iconvdata/tst-tables.sh: Likewise.
13616 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13617 $(run-program-prefix) with $(test-program-prefix).
13618 ($(objpfx)tst-translit.out): Likewise.
13619 ($(objpfx)tst-gettext2.out): Likewise.
13620 ($(objpfx)tst-gettext4.out): Likewise.
13621 ($(objpfx)tst-gettext6.out): Likewise.
13622 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13623 (test_program_prefix): This.
13624 * intl/tst-gettext2.sh: Likewise.
13625 * intl/tst-gettext4.sh Likewise.
13626 * intl/tst-gettext6.sh: Likewise.
13627 * intl/tst-translit.sh: Likewise.
13628 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13629 with $(test-program-cmd).
13630 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13631 $(run-program-prefix) with $(test-program-prefix).
13632 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13633 (test_program_prefix): This.
13634 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13635 $(run-program-prefix) with $(test-program-prefix).
13636 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13637 (test_program_prefix): This.
13638 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13639 * posix/Makefile ($(objpfx)globtest.out): Replace
13640 $(run-via-rtld-prefix) and $(test-wrapper) with
13641 $(test-program-prefix) and $(test-via-rtld-prefix).
13642 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13643 $(test-program-prefix).
13644 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13645 $(host-test-program-cmd).
13646 (tst-spawn-ARGS): Likewise.
13647 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13648 $(test-program-prefix).
13649 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13650 (test_via_rtld_prefix): This.
13651 (test_wrapper): Renamed to ...
13652 (test_program_prefix): This.
13653 (run_program_prefix): Replaced by test_program_prefix.
13654 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13655 (test_program_prefix): This.
13656 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13657 with $(host-test-program-cmd).
13658 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13659 $(run-program-prefix) with $(test-program-prefix).
13660 ($(objpfx)tst-printf.out): Likewise.
13661 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13662 $(test-program-cmd).
13663 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13664 (test_program_prefix): This.
13665 * stdio-common/tst-unbputc.sh: Likewise.
13666 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13667 $(run-program-prefix) with $(test-program-prefix).
13668 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13669 (test_program_prefix): This.
13670 * string/Makefile ($(objpfx)tst-svc.out): Replace
13671 $(built-program-cmd) with $(test-program-cmd).
13672
c6fe55cf
AJ
136732013-01-11 Andreas Jaeger <aj@suse.de>
13674
13675 [BZ #15003]
13676 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13677 value. Sync with Linux 3.7.
13678
9e6919c8
DM
136792013-01-10 David S. Miller <davem@davemloft.net>
13680
13681 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13682 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13683 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13684
1c9f1a02
RM
136852013-01-10 Roland McGrath <roland@hack.frob.com>
13686
13687 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13688 never set.
13689 * configure: Regenerated.
13690
b9de2dde
DM
136912013-01-10 David S. Miller <davem@davemloft.net>
13692
13693 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13694 sparc V9 rather than using V8 code.
13695 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13696 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13697
e7f68ef4
RM
136982013-01-10 Roland McGrath <roland@hack.frob.com>
13699
13700 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13701 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13702 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13703 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13704 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13705 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13706 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13707 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13708 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13709 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13710 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13711 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13712 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13713 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13714 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13715 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13716 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13717 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13718 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13719 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13720 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13721 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13722 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13723 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13724 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13725 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13726 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13727
5a47cc9c
DM
137282013-01-10 David S. Miller <davem@davemloft.net>
13729
13730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13731
4cf8f209
L
137322013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13733
13734 * posix/Makefile (tests-static): New variable.
13735 (tests): Add $(tests-static).
13736 (tst-exec-static-ARGS): New variable.
13737 (tst-spawn-static-ARGS): Likewise.
13738 * posix/tst-exec-static.c: New file.
13739 * posix/tst-spawn-static.c: Likewise.
13740 * posix/tst-exec.c: Support run directly.
13741 * posix/tst-spawn.c: Likewise.
13742
fed0faa1
JM
137432013-01-10 Joseph Myers <joseph@codesourcery.com>
13744
828beb13
JM
13745 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13746 long.
13747 * math/bits/mathcalls.h (llrint): Likewise.
13748 (llround): Likewise.
13749 * stdlib/stdlib.h (struct drand48_data): Likewise.
13750 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13751 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13752 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13753 Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13755 Likewise.
13756 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13757 (elf_greg_t): Likewise.
13758 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13759 (__jmp_buf): Likewise.
13760 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13761 definitions.
13762 (llrint): Likewise, for all definitions.
13763 (llrintl): Likewise.
13764
fed0faa1
JM
13765 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13766 Remove [__GNUC__] condition.
13767 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13768 condition to just [__USE_ISOC99].
13769 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13770
1a20cb20
L
137712013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13772
13773 [BZ #14200]
13774 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13775 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13776 defined.
13777 (_POSIX_V6_ILP32_OFF32): Likewise.
13778 (_XBS5_ILP32_OFF32): Likewise.
13779 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13780 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13781
751b85f7
SP
137822013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13783
7490eb81
SP
13784 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13785
751b85f7
SP
13786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13787 doubles __mpexp_twomm1. Adjust usage.
13788 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13789 Remove.
13790
988197f0
AS
137912013-01-10 Andreas Schwab <schwab@suse.de>
13792
13793 [BZ #14964]
13794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13795 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13796
e83d7298
DM
137972013-01-09 David S. Miller <davem@davemloft.net>
13798
034ed64b 13799 [BZ #15003]
e83d7298
DM
13800 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13801 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13802 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13803 TCP_FASTOPEN): Define.
13804 (tcp_repair_opt): New structure.
13805 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13806 enum values.
13807 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13808 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13809 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13810 (tcp_cookie_transactions): New structure.
13811
d5e0b9bd
AB
138122013-01-09 Anton Blanchard <anton@samba.org>
13813
13814 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13815 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13816 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13817 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13818
0c07e3ea
JM
138192013-01-09 Joseph Myers <joseph@codesourcery.com>
13820
13821 * include/features.h (__USE_ANSI): Remove.
13822
232f7002
RM
138232013-01-09 Roland McGrath <roland@hack.frob.com>
13824
ad98e30c
RM
13825 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13826
232f7002
RM
13827 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13828
950c99ca
SP
138292013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13830
b5792741
SP
13831 * sysdeps/s390/fpu/libm-test-ulps: Update.
13832
47cf2278
SP
13833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13834
950c99ca
SP
13835 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13836 (__acr): Likewise.
13837 (__cpy): Likewise.
13838 (norm): Likewise.
13839 (denorm): Likewise.
13840 (__mp_dbl): Likewise.
13841 (__dbl_mp): Likewise.
13842 (add_magnitudes): Likewise.
13843 (sub_magnitudes): Likewise.
13844 (__add): Likewise.
13845 (__sub): Likewise.
13846 (__mul): Likewise.
13847 (__inv): Likewise.
13848 (__dvd): Likewise.
13849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13850 (__acr): Likewise.
13851 (__cpy): Likewise.
13852 (norm): Likewise.
13853 (denorm): Likewise.
13854 (__mp_dbl): Likewise.
13855 (__dbl_mp): Likewise.
13856 (add_magnitudes): Likewise.
13857 (sub_magnitudes): Likewise.
13858 (__add): Likewise.
13859 (__sub): Likewise.
13860 (__mul): Likewise.
13861 (__inv): Likewise.
13862 (__dvd): Likewise.
13863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13864 (__acr): Likewise.
13865 (__cpy): Likewise.
13866 (norm): Likewise.
13867 (denorm): Likewise.
13868 (__mp_dbl): Likewise.
13869 (__dbl_mp): Likewise.
13870 (add_magnitudes): Likewise.
13871 (sub_magnitudes): Likewise.
13872 (__add): Likewise.
13873 (__sub): Likewise.
13874 (__mul): Likewise.
13875 (__inv): Likewise.
13876 (__dvd): Likewise.
13877
eede9df9
JM
138782013-01-08 Joseph Myers <joseph@codesourcery.com>
13879
13880 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13881 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13882 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13883 2 && __USE_EXTERN_INLINES]: Likewise.
13884
c40ea3d9
AJ
138852013-01-08 Andreas Jaeger <aj@suse.de>
13886
13887 [BZ# 14985]
13888 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13889 Remove.
13890 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13891 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13892
2ccdea26
AB
138932013-01-07 Anton Blanchard <anton@samba.org>
13894
13895 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13896 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13897 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13898 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13899 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13900 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13901 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13902 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13904 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13909 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13915 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13916 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13918 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13919 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13920 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13921 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13922 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13924 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13925 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13927 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13928 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13929 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13930 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13932 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13933 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13935 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13937 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13938
a9708fed
JM
139392013-01-07 Joseph Myers <joseph@codesourcery.com>
13940
375607b9
JM
13941 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13942 (__MALLOC_PMT): Likewise.
13943 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13944 [__GNUC__], only on [_LIBC].
13945 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13946 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13947 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13948 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13949 forward declaration.
13950 (realloc_hook_ini): Likewise.
13951 (memalign_hook_ini): Likewise.
13952 (__libc_memalign): Do not use __MALLOC_PMT in variable
13953 declaration.
13954 (__libc_valloc): Likewise.
13955 (__libc_pvalloc): Likewise.
13956 (__libc_calloc): Likewise.
13957 (__posix_memalign): Likewise.
13958
a9708fed
JM
13959 [BZ #14996]
13960 * math/s_casinh.c: Include <float.h>.
13961 (__casinh): Do not do computation with squaring and square root
13962 for large arguments.
13963 * math/s_casinhf.c: Include <float.h>.
13964 (__casinhf): Do not do computation with squaring and square root
13965 for large arguments.
13966 * math/s_casinhl.c: Include <float.h>.
13967 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13968 (__casinhl): Do not do computation with squaring and square root
13969 for large arguments.
13970 * math/libm-test.inc (casin_test): Add more tests.
13971 (casinh_test): Likewise.
13972 * sysdeps/i386/fpu/libm-test-ulps: Update.
13973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13974
afec409a
L
139752013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13976
13977 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13978 (__x86_64_raw_data_cache_size): Likewise.
13979 (__x86_64_data_cache_size_half): Likewise.
13980 (__x86_64_raw_data_cache_size_half): Likewise.
13981 (__x86_64_shared_cache_size): Likewise.
13982 (__x86_64_raw_shared_cache_size): Likewise.
13983 (__x86_64_shared_cache_size_half): Likewise.
13984 (__x86_64_raw_shared_cache_size_half): Likewise.
13985 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13986 to ...
13987 (__x86_data_cache_size): This.
13988 (__x86_64_raw_data_cache_size): Renamed to ...
13989 (__x86_raw_data_cache_size): This.
13990 (__x86_64_data_cache_size_half): Renamed to ...
13991 (__x86_data_cache_size_half): This.
13992 (__x86_64_raw_data_cache_size_half): Renamed to ...
13993 (__x86_raw_data_cache_size_half): This.
13994 (__x86_64_shared_cache_size): Renamed to ...
13995 (__x86_shared_cache_size): This.
13996 (__x86_64_raw_shared_cache_size): Renamed to ...
13997 (__x86_raw_shared_cache_size): This.
13998 (__x86_64_shared_cache_size_half): Renamed to ...
13999 (__x86_shared_cache_size_half): This.
14000 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14001 (__x86_raw_shared_cache_size_half): This.
14002 * sysdeps/x86_64/memcpy.S: Updated.
14003 * sysdeps/x86_64/memset.S: Likewise.
14004 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14006 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14007
0b3986d0
DM
140082013-01-04 David S. Miller <davem@davemloft.net>
14009
14010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14011
e47686e9
AS
140122013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14013
d643bac1
AS
14014 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14015 1 to avoid redefinition warning.
14016 (__USE_GNU): Don't define.
14017 (init_signaling_nan): Protoize.
14018
e47686e9
AS
14019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14020
b18decba
SP
140212013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14022
fffb407f
SP
14023 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14025 (__cpymn): Likewise.
14026 (norm): Remove commented code.
14027 (denorm): Likewise.
14028 (__mp_dbl): Likewise.
14029 (__inv): Likewise.
14030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14031 (__cpymn): Likewise.
14032 (norm): Remove commented code.
14033 (denorm): Likewise.
14034 (__mp_dbl): Likewise.
14035 (__inv): Likewise.
14036
b18decba
SP
14037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14038 mp_no value for 1.0 and 2.0.
14039 (norm): Use RADIXI instead of radixi.d.
14040 (denorm): Likewise.
14041 (__mul): Use 0.0 instead of zero.d.
14042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14043 mp_no value for 1.0 and 2.0.
14044 (norm): Use RADIXI instead of radixi.d.
14045 (denorm): Likewise.
14046 (__mul): Use 0.0 instead of zero.d.
14047
cdc1c96f
JM
140482013-01-04 Joseph Myers <joseph@codesourcery.com>
14049
14050 [BZ #14994]
14051 * math/s_casinh.c (__casinh): Reduce finite argument to first
14052 quadrant then set signs of results at the end.
14053 * math/s_casinhf.c (__casinhf): Likewise.
14054 * math/s_casinhl.c (__casinhl): Likewise.
14055 * math/libm-test.inc (casin_test): Add more tests.
14056 (casinh_test): Likewise.
14057 * sysdeps/i386/fpu/libm-test-ulps: Update.
14058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14059
302913e1
SP
140602013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14061
6420d207
SP
14062 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14063
a9e48ab4
SP
14064 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14065
b7837264
SP
14066 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14067 declarations.
14068 (denorm): Likewise.
14069 (__mp_dbl): Likewise.
14070 (__inv): Likewise.
14071
f8af25d2
SP
14072 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14073 and adjust the header comment.
14074
302913e1
SP
14075 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14076 variable name from declaration.
14077
5d7dd1ca
L
140782013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14079
14080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14081 Initialize COMMON_CPUID_INDEX_7 element.
14082 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14083 (CPUID_RTM): Likewise.
14084 (HAS_RTM): Likewise.
14085 (COMMON_CPUID_INDEX_7): New enum.
14086
2f5f40f4
AS
140872013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14088
14089 [BZ #14981]
14090 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14091 size is zero, record memory as freed.
14092
4056f4a0
AJ
140932013-01-03 Andreas Jaeger <aj@suse.de>
14094
14095 * po/ia.po: Add new Interlingua translation.
14096
ab15736f 140972012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14098
14099 * locale/programs/localedef.c: Fix description of '--posix' flag.
14100
568035b7
JM
141012013-01-02 Joseph Myers <joseph@codesourcery.com>
14102
e6898b8d
JM
14103 * NEWS: Update dates in second copyright notice.
14104 * README: Update copyright dates in example.
14105 * manual/libc.texinfo: Update copyright dates.
14106 * scripts/test-installation.pl: Update copyright date in --version
14107 output.
14108
0e2f9562
JM
14109 * hurd/ctty-input.c: Fix copyright notice formatting.
14110 * hurd/ctty-output.c: Likewise.
14111 * hurd/dtable.c: Likewise.
14112 * hurd/hurd-raise.c: Likewise.
14113 * hurd/hurdprio.c: Likewise.
14114 * hurd/msgportdemux.c: Likewise.
14115 * misc/sys/file.h: Likewise.
14116 * misc/sys/ioctl.h: Likewise.
14117 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14118 * sysdeps/mach/hurd/chdir.c: Likewise.
14119 * sysdeps/mach/hurd/fchdir.c: Likewise.
14120 * sysdeps/mach/hurd/rename.c: Likewise.
14121 * sysdeps/mach/hurd/rmdir.c: Likewise.
14122 * sysdeps/mach/hurd/seekdir.c: Likewise.
14123 * sysdeps/mach/hurd/setsid.c: Likewise.
14124 * sysdeps/posix/wait3.c: Likewise.
14125
568035b7
JM
14126 * All files with FSF copyright notices: Update copyright dates
14127 using scripts/update-copyrights.
14128 * intl/plural.c: Regenerated.
14129 * locale/programs/charmap-kw.h: Likewise.
14130 * locale/programs/locfile-kw.h: Likewise.
14131
da08f647
SP
141322013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14133
0f5477af
SP
14134 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14135 four values.
14136
44e0d4c2
SP
14137 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14138 calculation loop and add branch prediction.
14139
4d55b4e5
SP
14140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14141 check access beyond bounds of m1np.
14142
da08f647
SP
14143 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14144 MPTWO.
14145 (__inv): Remove local variable MPTWO to use the global
14146 constant.
14147 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14148 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14149 variable MPTWO.
14150 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14151 MP3HALFS static const.
14152
8e051029
DM
141532013-01-01 David S. Miller <davem@davemloft.net>
14154
14155 * po/ca.po: Update from translation team.
14156
f4cf5f2d
JM
141572013-01-01 Joseph Myers <joseph@codesourcery.com>
14158
14159 * scripts/update-copyrights: New file.
14160 * Makeconfig: Reformat copyright notice.
14161 * ctype/ctype.h: Likewise.
14162 * debug/swprintf_chk.c: Likewise.
14163 * elf/dl-cache.c: Likewise.
14164 * elf/dl-debug.c: Likewise.
14165 * elf/dl-object.c: Likewise.
14166 * grp/initgroups.c: Likewise.
14167 * hurd/Makefile: Likewise.
14168 * hurd/hurd/signal.h: Likewise.
14169 * hurd/hurdfault.c: Likewise.
14170 * hurd/hurdioctl.c: Likewise.
14171 * hurd/hurdlookup.c: Likewise.
14172 * hurd/intr-msg.c: Likewise.
14173 * iconv/gconv_open.c: Likewise.
14174 * libio/swprintf.c: Likewise.
14175 * locale/lc-ctype.c: Likewise.
14176 * locale/nl_langinfo.c: Likewise.
14177 * mach/Machrules: Likewise.
14178 * mach/Makefile: Likewise.
14179 * malloc/obstack.h: Likewise.
14180 * manual/Makefile: Likewise.
14181 * manual/tsort.awk: Likewise.
14182 * misc/bits/stab.def: Likewise.
14183 * nis/nis_print_group_entry.c: Likewise.
14184 * nis/nis_table.c: Likewise.
14185 * nis/nss_compat/compat-pwd.c: Likewise.
14186 * nis/nss_compat/compat-spwd.c: Likewise.
14187 * po/Makefile: Likewise.
14188 * posix/fnmatch.c: Likewise.
14189 * posix/regex.h: Likewise.
14190 * resolv/Makefile: Likewise.
14191 * resolv/nss_dns/dns-network.c: Likewise.
14192 * resolv/res_hconf.c: Likewise.
14193 * scripts/gen-sorted.awk: Likewise.
14194 * soft-fp/soft-fp.h: Likewise.
14195 * stdio-common/printf.h: Likewise.
14196 * stdlib/monetary.h: Likewise.
14197 * stdlib/random.c: Likewise.
14198 * stdlib/random_r.c: Likewise.
14199 * sysdeps/generic/Makefile: Likewise.
14200 * sysdeps/gnu/Makefile: Likewise.
14201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14217 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14224 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14225 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14229 * sysdeps/mach/hurd/errnos.awk: Likewise.
14230 * sysdeps/mach/hurd/fork.c: Likewise.
14231 * sysdeps/mach/hurd/getcwd.c: Likewise.
14232 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14233 * sysdeps/mach/hurd/mmap.c: Likewise.
14234 * sysdeps/mach/hurd/utimes.c: Likewise.
14235 * sysdeps/mach/hurd/xmknod.c: Likewise.
14236 * sysdeps/posix/profil.c: Likewise.
14237 * sysdeps/posix/readdir_r.c: Likewise.
14238 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14239 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14240 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14241 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14243 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14244 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14245 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14247 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14248 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14249 * sysdeps/pthread/lio_listio.c: Likewise.
14250 * sysdeps/sparc/dl-procinfo.h: Likewise.
14251 * sysdeps/unix/i386/sysdep.S: Likewise.
14252 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14253 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14254 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14255 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14257 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14258 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14259 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14260 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14261 * sysdeps/wordsize-32/divdi3.c: Likewise.
14262 * time/sys/time.h: Likewise.
14263 * wcsmbs/Makefile: Likewise.
14264
0549fbba
DM
142652013-01-01 David S. Miller <davem@davemloft.net>
14266
a141f1a7
DM
14267 * po/fr.po: Update from translation team.
14268
0549fbba
DM
14269 * catgets/gencat.c: Update copyright year.
14270 * csu/version.c: Likewise.
14271 * debug/catchsegv.sh: Likewise.
14272 * debug/pcprofiledump.c: Likewise.
14273 * debug/xtrace.sh: Likewise.
14274 * elf/ldconfig.c: Likewise.
14275 * elf/ldd.bash.in: Likewise.
14276 * elf/pldd.c: Likewise.
14277 * elf/sotruss.ksh: Likewise.
14278 * elf/sprof.c: Likewise.
14279 * iconv/iconv_prog.c: Likewise.
14280 * iconv/iconvconfig.c: Likewise.
14281 * locale/programs/locale.c: Likewise.
14282 * locale/programs/localedef.c: Likewise.
14283 * login/programs/pt_chown.c: Likewise.
14284 * malloc/memusage.sh: Likewise.
14285 * malloc/memusagestat.c: Likewise.
14286 * malloc/mtrace.pl: Likewise.
14287 * nscd/nscd.c: Likewise.
14288 * nss/getent.c: Likewise.
14289 * nss/makedb.c: Likewise.
14290 * posix/getconf.c: Likewise.
14291
18ea052c
SP
142922012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14293
14294 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14295 numbers.
14296
9c89fca6
MF
142972012-12-30 Mike Frysinger <vapier@gentoo.org>
14298
14299 * math/bits/mathcalls.h (modf): Use __nonnull.
14300
085ec079
SP
143012012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14302
14303 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14304 (split): Use macro CN instead of the bare value.
14305 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14306 could be used.
14307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14308 instead of the bare value.
14309 (power1): Likewise.
14310
6d9f97e1
SP
143112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14312
d63f73be
SP
14313 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14314 __ATAN_TWOM.
14315 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14316
6d9f97e1
SP
14317 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14318 their values.
14319 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14321 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14322 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14323
4c4febf5
AJ
143242012-12-28 Andreas Jaeger <aj@suse.de>
14325
af5843ef
AJ
14326 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14327 values are from Linux 3.7.
14328
4c4febf5
AJ
14329 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14330 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14331
99136f82
SP
143322012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14333
2f216c3c 14334 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14335 TRUE case.
14336
99136f82
SP
14337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14338 (norm): Likewise.
14339 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14340 variables with preprocessor constants.
14341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14343 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14344
7fffbdff
BH
143452012-12-27 Bruno Haible <bruno@clisp.org>
14346
14347 [BZ #14317]
14348 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14349 only if needed.
14350
b76eb5f0
SP
143512012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14352
31a7fe5c
SP
14353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14354 and use variable directly.
14355 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14356
b76eb5f0
SP
14357 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14358 MPONE.
14359 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14360 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14361 variable MPONE.
14362 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14364 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14365 include directive. Remove local variable MPONE.
14366 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14367 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14368 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14369
2c8bfe7d
DM
143702012-12-25 David S. Miller <davem@davemloft.net>
14371
14372 * version.h (RELEASE): Set to "development".
14373 (VERSION): Set to "2.17.90".
14374 * NEWS: Add 2.18 section.
14375
147d03b0
DM
143762012-12-21 David S. Miller <davem@davemloft.net>
14377
14378 * po/hr.po: Update from translation team.
14379
a8ebb2b9
AK
143802012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14381
14382 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14383
95b4f1b6
SE
143842012-12-19 Steve Ellcey <sellcey@mips.com>
14385
b2d94007 14386 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14387
cedb2a90
MS
143882012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14389
14390 * manual/contrib.texi (Contributors): Spelling correction.
14391
bbf527d6
DM
143922012-12-15 David S. Miller <davem@davemloft.net>
14393
14394 * po/ru.po: Update from translation team.
14395
bc38c906
DM
143962012-12-13 David S. Miller <davem@davemloft.net>
14397
85429b1a
DM
14398 * NEWS: Mention IFUNC testsuite enhancements.
14399
d283e353
DM
14400 * po/pl.po: Update from translation team.
14401 * po/bg.po: Likewise.
14402
bc38c906
DM
14403 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14404 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14405
a181b0d7
DM
144062012-12-11 David S. Miller <davem@davemloft.net>
14407
4641d57e
DM
14408 * po/sv.po: Update from translation team.
14409
f7bc6495
DM
14410 * po/vi.po: Update from translation team.
14411
6fc9048f
DM
14412 * po/cs.po: Update from translation team.
14413
a181b0d7
DM
14414 * po/de.po: Update from translation team.
14415 * po/eo.po: Likewise.
14416 * po/nl.po: Likewise.
14417
f70bfe80
SP
144182012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14419
3c8b4190
SP
14420 [BZ #14246]
14421 * manual/argp.texi (Argp Helper Functions): Move node to follow
14422 Argp Parsing State.
14423
f70bfe80
SP
14424 [BZ #14872]
14425 * manual/conf.texi (Limits on File System Capacity): Mention if
14426 terminating null is included in the max size.
14427
188f0adf
AJ
144282012-12-10 Andreas Jaeger <aj@suse.de>
14429
14430 * po/cs.po: Update from translation team.
14431
56e7d3ad
SP
144322012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14433
14434 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14435 void pointer and cast to uintptr_t.
14436 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14437 path.
14438 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14439 * sysdeps/s390/s390-64/memset.S: Likewise.
14440
76f2d2ea 144412012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14442
14443 [BZ #14833]
14444 * menual/message.texi (Message Translation): Fix typos.
14445 (Helper programs for gettext): Likewise.
14446
67cbf9a2
AS
144472012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14448
14449 [BZ #14898]
14450 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14451 Change to -1.
14452
682d0e9a
DM
144532012-12-07 David S. Miller <davem@davemloft.net>
14454
14455 * po/libc.pot: Update.
14456
573cd484
RH
144572012-12-07 Richard Henderson <rth@redhat.com>
14458
7e9da188 14459 [BZ #10114]
573cd484
RH
14460 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14461 normal/normal case to before the switch.
14462 (_FP_DIV): Likewise.
14463
e933a943
MF
144642012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14465 Mike Frysinger <vapier@gentoo.org>
14466
14467 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14468 check for __NR_fadvise64_64.
14469
82123268
CM
144702012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14471
14472 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14473 0, not just to plain "0" as a statement.
14474 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14475 with cw.
14476
d9814526
JM
144772012-12-06 Joseph Myers <joseph@codesourcery.com>
14478
14479 * NEWS: Use sourceware.org in Bugzilla URL.
14480
7728c574
SP
144812012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14482
f16946dd
SP
14483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14484 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14485
5704bbcb
SP
14486 * stdio-common/tst-put-error.c (do_test): Add newline to the
14487 padded test to ensure flush.
14488
17aa0516
JL
144892012-12-05 Jeff Law <law@redhat.com>
14490
14491 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14492
363313b5
JM
144932012-12-05 Joseph Myers <joseph@codesourcery.com>
14494
effbd42a
JM
14495 * README: Don't refer to ports add-on as distributed separately.
14496 Mention AArch64 in list of systems supported in the ports add-on.
14497
87600365
JM
14498 * LICENSES: Add more non-FSF copyright and license notices.
14499
a0d7066a
JM
14500 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14501 ((unused)).
14502
66ca5a5b
JM
14503 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14504
363313b5
JM
14505 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14506 10000 as width of padded output.
14507
b37984ad
JM
145082012-12-04 Joseph Myers <joseph@codesourcery.com>
14509
9003570a
JM
14510 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14511
b37984ad
JM
14512 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14513 variable LX with __attribute__ ((unused)).
14514 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14515 Likewise.
14516 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14519 with __attribute__ ((unused)).
14520
c8df52ec
DM
145212012-12-04 David S. Miller <davem@abraco.davemloft.net>
14522
14523 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14524
b3b099af
JM
145252012-12-04 Joseph Myers <joseph@codesourcery.com>
14526
c33aa6e3
JM
14527 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14528 (CFLAGS-nldbl-acos.c): New variable.
14529 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14530 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14531 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14532 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14533 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14534 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14535 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14536 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14537 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14538 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14539 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14540 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14541 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14542 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14543 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14544 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14545 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14546 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14547 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14548 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14549 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14550 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14551 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14552 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14553 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14554 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14555 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14556 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14557 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14558 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14559 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14560 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14561 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14562 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14563 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14564 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14565 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14566 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14567 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14568 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14569 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14570 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14571 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14572 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14573 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14574 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14575 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14576 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14577 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14578 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14579 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14580 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14581 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14582 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14583 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14584 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14585 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14586 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14587 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14588 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14589 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14590 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14591 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14592 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14593 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14594 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14595 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14596 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14597 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14598 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14599 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14600 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14601 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14602 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14603 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14604 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14605 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14606 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14607 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14608 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14609 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14610 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14611 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14612 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14613 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14614 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14615 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14616 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14617 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14618 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14619 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14620 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14621 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14622 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14623 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14624 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14625 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14626
20f0018d
JM
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14628 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14629
b3b099af
JM
14630 [BZ #14914]
14631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14632 whole low double instead of just low 47 bits when splitting values
14633 into two parts.
14634
029264d1
AM
146352012-12-03 Allan McRae <allan@archlinux.org>
14636
14637 * manual/stdio.texi (Predefined Printf Handlers): Remove
14638 @hsep and @vsep usage.
14639
c9d6789e
MF
146402012-12-03 Mike Frysinger <vapier@gentoo.org>
14641
14642 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14643 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14644
4b7634a5
JL
146452012-12-03 Jeff Law <law@redhat.com>
14646
14647 * time/sys/time.h (settimeofday): Do not mark TV argument
14648 as __nonnull.
14649
eb6cbd24
MF
146502012-12-01 Mike Frysinger <vapier@gentoo.org>
14651
14652 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14653 when currently writing and seek to current position when not.
14654 * libio/Makefile (tests): Remove bug-fclose1.
14655 * libio/bug-fclose1.c: Delete.
14656
f638872a
JM
146572012-12-01 Joseph Myers <joseph@codesourcery.com>
14658
14659 * manual/arith.texi (feenableexcept): Fix typo.
14660 (fedisableexcept): Likewise.
14661
48085d14
RM
146622012-11-30 Roland McGrath <roland@hack.frob.com>
14663
14664 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14665 second, differently-typed declaration, rather than a cast.
14666
1a538b9f
SP
146672012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14668
14669 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14670 * include/rpc/svc.h: ... here.
14671
d07f2ff1 146722012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
14673
14674 [BZ #13013]
14675 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14676 depending n and resplen2 to catch cases where answer
14677 equals answerp2.
14678
c93ec1f0
CD
146792012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14680
14681 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14682 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14683
37db69de
MF
146842012-11-29 Mike Frysinger <vapier@gentoo.org>
14685
14686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14687
e10c4e4f
RM
146882012-11-29 Roland McGrath <roland@hack.frob.com>
14689
14690 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14691
2af1b328
JL
146922012-11-28 Jeff Law <law@redhat.com>
14693
14694 [BZ #13761]
14695 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14696 dataset_temporary. Track alloca usage into alloca_used.
14697 If dataset is large allocate and release it via malloc/free.
14698
111db5b1
FW
146992012-06-04 Florian Weimer <fweimer@redhat.com>
14700
f06cc227 14701 [BZ #14197]
111db5b1
FW
14702 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14703
dd694abd
DM
147042012-11-28 David S. Miller <davem@davemloft.net>
14705
14706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14707
9984dd01
JM
147082012-11-28 Joseph Myers <joseph@codesourcery.com>
14709
14710 [BZ #14803]
14711 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14712 of pi/2 rounded to nearest to 64 bits.
14713 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14714 nearest to 64 bits.
14715 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14716 bits.
14717
14bc93a9
JL
147182012-11-28 Jeff Law <law@redhat.com>
14719 Martin Osvald <mosvald@redhat.com>
14720
14721 [BZ #14889]
14722 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14723 * sunrpc/svc.c: Include time.h.
14724 (__svc_accept_failed): New function.
14725 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14726 any reason other than EINTR, call __svc_accept_failed.
14727 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14728 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14729
e3c6aa3a
AS
147302012-11-28 Andreas Schwab <schwab@suse.de>
14731
14732 * scripts/abilist.awk: Also handle indirect functions in .opd
14733 section.
14734
1bead169
JM
147352012-11-28 Joseph Myers <joseph@codesourcery.com>
14736
14737 [BZ #13881]
14738 * sysdeps/x86/fpu/powl_helper.c: New file.
14739 * sysdeps/x86/fpu/Makefile: Likewise.
14740 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14741 (p3): New object.
14742 (__ieee754_powl): Use __powl_helper for finite arguments except
14743 integer exponents below 8.
14744 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14745 (p3): New object.
14746 (__ieee754_powl): Use __powl_helper for finite arguments except
14747 integer exponents below 8.
14748 * math/libm-test.inc (pow_test): Add more tests and enable some
14749 previously disabled tests.
14750 * sysdeps/i386/fpu/libm-test-ulps: Update.
14751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14752
0817d63d
SP
147532012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14754 Carlos O'Donell <carlos_odonell@mentor.com>
14755
14756 * nss/makedb.c (is_prime): Assert that input is odd and greater
14757 than 4. Note that fact in a comment too.
14758 (next_prime): Add 4 to input.
14759
de2fd463
SP
147602012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14761
14762 [BZ #11741]
14763 * libio/Makefile (tests): Add test case tst-fwrite-error.
14764 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14765 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14766 * libio/tst-fwrite-error.c: New test case.
14767
c515fb51
L
147682012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14769
14770 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14771 before casting to void *.
14772 * include/libc-internal.h (__pointer_type): New macro.
14773 (__integer_if_pointer_type_sub): Likewise.
14774 (__integer_if_pointer_type): Likewise.
14775 (cast_to_integer): Likewise.
14776 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14777 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14778 before casting to atomic64_t.
14779 (atomic_exchange_acq): Likewise.
14780 (__arch_exchange_and_add_body): Likewise.
14781 (__arch_add_body): Likewise.
14782 (atomic_add_negative): Likewise.
14783 (atomic_add_zero): Likewise.
14784
4cf77aa9
JM
147852012-11-26 Joseph Myers <joseph@codesourcery.com>
14786
14787 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14788 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14789 (add_fdes): Likewise.
14790 (linear_search_fdes): Likewise.
14791 (binary_search_unencoded_fdes): Likewise.
14792
d260b3b4
AS
147932012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14794
14795 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14796
67060746
AC
147972012-11-24 Adam Conrad <adconrad@0c3.net>
14798
14799 * configure.in: Autodetect C++ header directories.
14800 * configure: Regenerated.
14801
800938a1
MF
148022012-11-23 Mike Frysinger <vapier@gentoo.org>
14803
14804 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14805
4e6e34e6
AS
148062012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14807
14808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14809
7c7feb47
JM
148102012-11-22 Joseph Myers <joseph@codesourcery.com>
14811
7184dcdf
JM
14812 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14813 LDBL_MANT_DIG == 106]: Disable some tests.
14814 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14815 Likewise.
14816 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14817 Likewise.
14818
0a42601f
JM
14819 [BZ #14871]
14820 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14821 input for small inputs. Return +/- pi/2 for large inputs.
14822 * math/libm-test.inc (atan_test): Add more tests.
14823
79c9b9fe
JM
14824 * sysdeps/generic/unwind-dw2-fde-glibc.c
14825 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14826 __attribute__ ((unused)).
14827
c60d3bf2
JM
14828 [BZ #14645]
14829 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14830 x * y if x and y are nonzero and z is zero.
14831
ef1e0867
JM
14832 [BZ #14811]
14833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14834 nonzero exponents with absolute value below 0x1p-117 to +/-
14835 0x1p-117.
14836
1468ded3
JM
14837 [BZ #14869]
14838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14839 up arguments below 2**-450, not just those below 2**-500.
14840 * math/libm-test.inc (hypot_test): Add another test.
14841
8e27e3cc
JM
14842 [BZ #14868]
14843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14844 Return a+b for ratio over 2**120, not 2**60.
14845 * math/libm-test.inc (hypot_test): Add another test.
14846
c9c0279b
JM
14847 * math/libm-test.inc (clog_test): Use
14848 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14849 (clog10_test): Likewise.
14850
7c7feb47
JM
14851 [BZ #6778]
14852 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14853
fff1530e
AS
148542012-11-22 Andreas Schwab <schwab@suse.de>
14855
14856 * sysdeps/i386/fpu/libm-test-ulps: Update.
14857
94558d30
PT
148582012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14859
14860 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14861 printf output with newline.
14862
7e1be741
L
148632012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14864
6bfea974
L
14865 [BZ #14865]
14866 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14867 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14868 -z nodlopen, -z initfirst and -z execstack support.
14869 * configure: Regenerated.
14870
7e1be741
L
14871 * elf/elf.h (DF_1_NODIRECT): New macro.
14872 (DF_1_IGNMULDEF): Likewise.
14873 (DF_1_NOKSYMS): Likewise.
14874 (DF_1_NOHDR): Likewise.
14875 (DF_1_EDITED): Likewise.
14876 (DF_1_NORELOC): Likewise.
14877 (DF_1_SYMINTPOSE): Likewise.
14878 (DF_1_GLOBAUDIT): Likewise.
14879 (DF_1_SINGLETON): Likewise.
14880 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14881 DT_1_SUPPORTED_MASK bits.
14882 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14883
105ce2ce
CD
148842012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14885
14886 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14887
123be9de
TS
148882012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14889
d072f3f7
TS
14890 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14891 macro.
14892
123be9de
TS
14893 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14894 (sendmmsg): Move declarations...
14895 * socket/sys/socket.h: ... here.
14896 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14897 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14898 include it from...
14899 * socket/recvmmsg.c: ... this new file.
14900 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14901 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14902 definition of __sendmmsg hidden.
14903 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14904 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14905 Move ENOSYS stub into and include it from...
14906 * socket/sendmmsg.c: ... this new file.
14907 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14908 (sysdep_routines): Move recvmmsg and sendmmsg...
14909 * socket/Makefile (routines): ... here.
14910 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14911 (GLIBC_PRIVATE): Add __sendmmsg.
14912 * include/sys/socket.h (__sendmmsg): Add declarations.
14913 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14914 sendmmsg.
14915
cf9a5d18
JM
149162012-11-20 Joseph Myers <joseph@codesourcery.com>
14917
14918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14919 variable I1 with __attribute__ ((unused)).
14920 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14921
ecd4caf9
JM
149222012-11-19 Joseph Myers <joseph@codesourcery.com>
14923
be14d48f
JM
14924 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14925 DUMMY variables with __attribute__ ((unused)).
14926
ecd4caf9
JM
14927 * bits/byteswap.h: Include <bits/types.h>.
14928 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14929
986cab95
PT
149302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14931
14932 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14933 string_t. Do not manually set errno.
14934 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14935 length with __strnlen. Make sure to both set errno and return it on
14936 failure.
14937
6d33cc9d
DM
149382012-11-19 David S. Miller <davem@davemloft.net>
14939
14940 With help from Joseph Myers.
14941 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14942 very large arguments properly.
14943 * math/libm-test.inc (atan_test): New tests.
14944 (atan2_test): New tests.
14945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14947
ee663277
JM
149482012-11-19 Joseph Myers <joseph@codesourcery.com>
14949
877f2d8e
JM
14950 [BZ #14856]
14951 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14952 Define to 3.
14953
116fc08a
JM
14954 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14955 [POSIX] (EADDRNOTAVAIL): Likewise.
14956 [POSIX] (EAFNOSUPPORT): Likewise.
14957 [POSIX] (EALREADY): Likewise.
14958 [POSIX] (ECONNABORTED): Likewise.
14959 [POSIX] (ECONNREFUSED): Likewise.
14960 [POSIX] (ECONNRESET): Likewise.
14961 [POSIX] (EDESTADDRREQ): Likewise.
14962 [POSIX] (EDQUOT): Likewise.
14963 [POSIX] (EHOSTUNREACH): Likewise.
14964 [POSIX] (EIDRM): Likewise.
14965 [POSIX] (EISCONN): Likewise.
14966 [POSIX] (ELOOP): Likewise.
14967 [POSIX] (EMULTIHOP): Likewise.
14968 [POSIX] (ENETDOWN): Likewise.
14969 [POSIX] (ENETUNREACH): Likewise.
14970 [POSIX] (ENOBUFS): Likewise.
14971 [POSIX] (ENODATA): Likewise.
14972 [POSIX] (ENOLINK): Likewise.
14973 [POSIX] (ENOMSG): Likewise.
14974 [POSIX] (ENOPROTOOPT): Likewise.
14975 [POSIX] (ENOSR): Likewise.
14976 [POSIX] (ENOSTR): Likewise.
14977 [POSIX] (ENOTCONN): Likewise.
14978 [POSIX] (ENOTSOCK): Likewise.
14979 [POSIX] (EOPNOTSUPP): Likewise.
14980 [POSIX] (EOVERFLOW): Likewise.
14981 [POSIX] (EPROTO): Likewise.
14982 [POSIX] (EPROTONOSUPPORT): Likewise.
14983 [POSIX] (EPROTOTYPE): Likewise.
14984 [POSIX] (ESTALE): Likewise.
14985 [POSIX] (ETIME): Likewise.
14986 [POSIX] (ETXTBSY): Likewise.
14987 [POSIX] (EWOULDBLOCK): Likewise.
14988 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14989 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14990 [POSIX] (SEEK_CUR): Likewise.
14991 [POSIX] (SEEK_END): Likewise.
14992 [POSIX || UNIX98] (mode_t): Do not require.
14993 [POSIX] (off_t): Likewise.
14994 [POSIX] (pid_t): Likewise.
14995 [POSIX] (sys/stat.h): Do not allow header.
14996 [POSIX] (unistd.h): Likewise.
14997 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14998 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14999 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15000 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15001 require.
15002 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15003 sigevent): Specify elements.
15004 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15005 entry.
15006 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15007 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15008
a483863f
JM
15009 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15010 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15011 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15012 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15013 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15014 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15015 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15016 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15017 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15018 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15019 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15020 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15021 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15022 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15023 Likewise.
15024 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15025 Likewise.
15026 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15027 Likewise.
15028 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15029 Likewise.
15030 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15033 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15034 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15035 Specify lower bound on value.
15036 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15037 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15038 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15039 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15042 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15043 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15044 value.
15045 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15046 as optional.
15047 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15053 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15054 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15055 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15056 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15057 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15058 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15059 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15060 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15061 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15062 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15063 entry.
15064 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15065 optional.
15066 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15067 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15068 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15069 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15070 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15071 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15072 Likewise.
15073 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15074 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15075 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15076 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15077 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15078 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15079 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15080 as optional.
15081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15083 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15084 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15085 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15086 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15087 specify as optional.
15088 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15089 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15090 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15091 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15092 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15093 [XPG3] (NL_LANGMAX): Likewise.
15094 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15095 [POSIX || XPG3] (NL_NMAX): Likewise.
15096 [POSIX || XPG3] (NL_SETMAX): Likewise.
15097 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15098 [XPG3] (NZERO): Likewise.
15099 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15100 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15101 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15102 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15103 (REG_ERANGE): Expect.
15104 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15105 optional-constant.
15106 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15107 Use (void) in prototype.
15108 [POSIX] (*_t): Allow.
15109 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15110 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15111 (WRDE_BADVAL): Expect.
15112
5ba924e3
JM
15113 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15114 expect.
15115 [XPG3 || XPG4] (O_RSYNC): Likewise.
15116 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15117 Likewise.
15118 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15119 [XPG3 || XPG4] (sigqueue): Likewise.
15120 [XPG3 || XPG4] (sigtimedwait): Likewise.
15121 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15122 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15123 [XPG3 || XPG4] (vsnprintf): Likewise.
15124 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15125 Likewise.
15126 [XPG3 || XPG4] (blksize_t): Likewise.
15127 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15128 Likewise.
15129 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15130 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15131 [XPG3 || XPG4] (struct itimerspec): Likewise.
15132 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15133 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15134 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15135 [XPG3 || XPG4] (clockid_t): Likewise.
15136 [XPG3 || XPG4] (timer_t): Likewise.
15137 [XPG3 || XPG4] (clock_getres): Likewise.
15138 [XPG3 || XPG4] (clock_gettime): Likewise.
15139 [XPG3 || XPG4] (clock_settime): Likewise.
15140 [XPG3 || XPG4] (nanosleep): Likewise.
15141 [XPG3 || XPG4] (timer_create): Likewise.
15142 [XPG3 || XPG4] (timer_delete): Likewise.
15143 [XPG3 || XPG4] (timer_gettime): Likewise.
15144 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15145 [XPG3 || XPG4] (timer_settime): Likewise.
15146 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15147 [XPG3 || XPG4] (getlogin_r): Likewise.
15148 [XPG3 || XPG4] (pread): Likewise.
15149 [XPG3 || XPG4] (pthread_atfork): Likewise.
15150 [XPG3 || XPG4] (pwrite): Likewise.
15151
ee663277
JM
15152 [BZ #14835]
15153 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15154 <bits/siginfo.h>.
15155
942caa16
PT
151562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15157
e19af380
PT
15158 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15159 finalizing MALLSTREAM.
15160
942caa16
PT
15161 * sysdeps/mach/hurd/syncfs.c: New file.
15162
cfde9b46
SP
151632012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15164
15165 [BZ #14719]
15166 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15167 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15168 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15169 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15170 (_nss_dns_gethostbyname4_r): Likewise.
15171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15172 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15173
f6da27e5
PH
151742012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15175
15176 [BZ #13763]
15177 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15178
6665d4a2
SM
151792012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15180
1f51ee92
SM
15181 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15182 * elf/cache.c (print_entry): Print ",AArch64" for
15183 FLAG_AARCH64_LIB64
15184
6665d4a2
SM
15185 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15186 * elf/cache.c (print_entry): Print ",hard-float" for
15187 FLAG_ARM_LIBHF.
15188
05b227bd
DM
151892012-11-18 David S. Miller <davem@davemloft.net>
15190
15191 With help from Joseph Myers.
15192 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15193 cutoff to 2**-13.
15194 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15195 cutoff to 2**-25.
15196 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15197 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15198 small.
15199 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15200 * math/libm-test.inc (y0_test): New tests.
15201 (y1_test): New tests.
15202 * sysdeps/i386/fpu/libm-test-ulps: Update.
15203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15205
786b0b67
AS
152062012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15207
15208 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15209 64-bit targets.
15210 * configure: Regenerated.
15211
8e18b86d
DM
152122012-11-17 David S. Miller <davem@davemloft.net>
15213
15214 [BZ #14811]
15215 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15216 nonzero exponents with absolute value below 0x1p-128 to +/-
15217 0x1p-128.
15218
531f1ae0
JM
152192012-11-17 Joseph Myers <joseph@codesourcery.com>
15220
12df29e2
JM
15221 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15222
150dc1a0
JM
15223 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15224
531f1ae0
JM
15225 * posix/getconf-speclist.c: New file.
15226 * posix/posix-envs.def: Likewise.
15227 * posix/confstr.c (START_ENV_GROUP): New macro.
15228 (END_ENV_GROUP): Likewise.
15229 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15230 (KNOWN_PRESENT_ENV_STRING): Likewise.
15231 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15232 (UNKNOWN_ENVIRONMENT): Likewise.
15233 (confstr): Include posix-envs.def instead of handling
15234 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15235 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15236 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15237 (END_ENV_GROUP): Likewise.
15238 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15239 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15240 (UNKNOWN_ENVIRONMENT): Likewise.
15241 (__sysconf): Include posix-envs.def instead of handling associated
15242 cases directly here.
15243 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15244 preprocessing getconf-speclist.c rather than running getconf or
15245 generating empty file.
15246
a93f9cbc
PT
152472012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15248
15249 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15250
d64d9f87
AL
152512012-11-16 Andrej Lajovic <natrij@gmail.com>
15252
15253 [BZ #14672]
15254 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15255
447885eb
DM
152562012-11-16 David S. Miller <davem@davemloft.net>
15257
15258 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15259 smaller than LDBL_EPSILON/2.0L, just return xm1.
15260
bcbf9830
L
152612012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15262
15263 * elf/tst-array1.c (init): Set constructor priority to 1000.
15264 (fini): Set destructor priority to 1000.
15265 * elf/tst-array2dep.c: Likewise.
15266
2b766585
SP
152672012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15268
15269 [BZ #11741]
15270 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15271 (_IO_new_file_xsputn): Also return EOF if none of the input
15272 data was written when overflow failed.
15273 * libio/iopadn.c (_IO_padn): Likewise.
15274 * libio/iowpadn.c (_IO_wpadn): Likewise.
15275 * stdio-common/tst-put-error.c: Add copyright notice.
15276 (do_test): Add case for printing padded string.
15277 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15278 _IO_padn returned error.
15279 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15280 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15281 return EOF.
15282
b1848fde
SP
152832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15284
15285 * libio/libioP.h: Add comment note that the references to C++
15286 bits are now obsolete.
15287
2fd89785
MS
152882012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15289
15290 * math/libm-test.inc (check_complex): Use asprintf.
15291
e3ea5409
JM
152922012-11-14 Joseph Myers <joseph@codesourcery.com>
15293
15294 * debug/pcprofiledump.c (print_version): Update copyright year.
15295 * malloc/memusagestat.c (print_version): Likewise.
15296
2e64d265
L
152972012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 [BZ #14831]
15300 * elf/Makefile (tests): Add tst-audit8.
15301 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15302 ($(objpfx)tst-audit8.out): New target.
15303 (tst-audit8-ENV): New variable.
15304 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15305 audit if l_reloc_result is NULL.
15306 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15307 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15308 * elf/tst-audit8.c: New file.
15309
c485e4d2
MS
153102012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15311
15312 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15313 * misc/Makefile (CFLAGS-select.c): Define.
15314 * posix/Makefile (CFLAGS-pause.c): Define.
15315
3a0d900a
DM
153162012-11-13 David S. Miller <davem@davemloft.net>
15317
15318 * crypt/Makefile: Move test targets after toplevel Rules
15319 inclusion. Grab any necessary sysdep routines when linking.
15320 * crypt/md5.c (md5_process_block): Remove define, we will always
15321 name it __md5_process_block.
15322 (md5_finish_ctx): Update md5_process_block call.
15323 (md5_stream): Likewise.
15324 (md5_process_bytes): Likewise.
15325 (md5_process_block): Rename to __md5_process_block and move to ...
15326 * crypt/md5-block.c: ... here.
15327 * crypt/sha256.c (sha256_process_block): Move to ...
15328 * crypt/sha256-block.c: ... here.
15329 * crypt/sha512.c (sha512_process_block): Move to ...
15330 * crypt/sha512-block.c: ... here.
15331 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15332 path.
15333 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15334 * sysdeps/sparc/sparc64/multiarch/Makefile
15335 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15336 crypt subdir.
15337 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15339 multiarch changes.
15340 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15341 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15342 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15343 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15344 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15345 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15346 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15347 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15348 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15349 file.
15350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15351 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15352 file.
15353 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15354
8ca89318
JM
153552012-11-13 Joseph Myers <joseph@codesourcery.com>
15356
e27d476a
JM
15357 * timezone/tzselect.ksh: Update from tzcode git revision
15358 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15359 * timezone/zdump.c: Likewise.
15360 * timezone/zic.c: Likewise.
15361 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15362 in TZVERSION setting, not $(PKGVERSION).
15363 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15364 REPORT_BUGS_TO settings.
15365
8ca89318
JM
15366 [BZ #14838]
15367 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15368 macro.
15369
47594329
MS
153702012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15371
15372 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15373 detection to immediately after _FP_ROUND().
15374 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15375 bits are 0.
15376
640ac3f1
DM
153772012-11-11 David S. Miller <davem@davemloft.net>
15378
15379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15380 inttypes.h
15381 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15382 __close rather than their public counterparts.
15383
3d2577bb
JM
153842012-11-10 Joseph Myers <joseph@codesourcery.com>
15385
15386 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15387 file.
15388 [UNIX98] (sem_timedwait): Do not expect.
15389 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15390 [XPG4 || UNIX98] (sockatmark): Do not expect.
15391 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15392 (clock_getcpuclockid): Do not expect.
15393 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15394 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15395 Do not expect.
15396 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15397 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15398 [UNIX98] (vwscanf): Likewise.
15399 [UNIX98] (vswscanf): Likewise.
15400
fb1ae1ee
JM
154012012-11-09 Joseph Myers <joseph@codesourcery.com>
15402
9ec6f8bd
JM
15403 * timezone/version.h: Remove file.
15404 * timezone/README: Do not refer to version.h.
15405 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15406 $(objpfx)version.h.
15407 ($(objpfx)zdump.o): Likewise.
c3f81911 15408 ($(objpfx)version.h): New target.
9ec6f8bd 15409
0aa8f8a1
JM
15410 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15411 2012i.
15412 * timezone/README: Don't mention modification to tzselect.ksh.
15413 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15414 work on unmodified tzselect.ksh. Substitute version numbers in
15415 tzselect.ksh.
15416
4e87147f
JM
15417 * Makefile (format-me): Remove.
15418 (INSTALL): Adjust indentation. Use commands directly instead of
15419 using $(format-me).
15420
8b748aed
JM
15421 * aclocal.m4 (ACX_PKGVERSION): New macro.
15422 (ACX_BUGURL): Likewise.
15423 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15424 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15425 (REPORT_BUGS_TO): Likewise.
15426 * configure: Regenerated.
15427 * config.h.in (PKGVERSION): New macro.
15428 (REPORT_BUGS_TO): Likewise.
15429 * config.make.in (PKGVERSION): New variable.
15430 (PKGVERSION_TEXI): Likewise.
15431 (REPORT_BUGS_TO): Likewise.
15432 (REPORT_BUGS_TEXI): Likewise.
15433 * Makefile (format-me): Use -I$(common-objpfx)manual.
15434 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15435 ($(common-objpfx)manual/%): New target.
15436 (manual/%): Remove target.
15437 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15438 (print_version): Use PKGVERSION.
15439 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15440 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15441 and REPORT_BUGS_TO.
15442 ($(objpfx)xtrace): Likewise.
15443 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15444 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15445 (print_version): Use PKGVERSION.
15446 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15447 (do_version): Use PKGVERSION.
15448 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15449 REPORT_BUGS_TO.
15450 (common-ldd-rewrite): Likewise.
15451 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15452 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15453 (print_version): Use PKGVERSION.
15454 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15455 * elf/pldd.c (argp_program_bug_address): Remove variable.
15456 (more_help): New function.
15457 (argp): Use more_help.
15458 (print_version): Use PKGVERSION.
15459 * elf/sln.c (main): Use PKGVERSION.
15460 (usage): Use REPORT_BUGS_TO.
15461 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15462 (top level): Use PKGVERSION.
15463 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15464 (print_version): Use PKGVERSION.
15465 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15466 (print_version): Use PKGVERSION.
15467 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15468 (print_version): Use PKGVERSION.
15469 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15470 (print_version): Use PKGVERSION.
15471 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15472 (print_version): Use PKGVERSION.
15473 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15474 (print_version): Use PKGVERSION.
15475 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15476 and BUGURL.
15477 ($(objpfx)memusage): Likewise.
15478 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15479 (do_version): Use PKGVERSION.
15480 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15481 (print_version): Use PKGVERSION.
15482 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15483 ($PKGVERSION): New variable.
15484 ($REPORT_BUGS_TO): Likewise.
15485 (usage): Use $REPORT_BUGS_TO.
15486 (top level): Use $PKGVERSION.
15487 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15488 ($(objpfx)pkgvers.texi): New rule.
15489 ($(objpfx)stamp-pkgvers): Likewise.
15490 * manual/install.texi: Include pkgvers.texi.
15491 (--with-pkgversion): Document new configure option.
15492 (--with-bugurl): Likewise.
15493 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15494 than necessarily for this particular distribution. Use
15495 REPORT_BUGS_TO for where to report bugs.
15496 * INSTALL: Regenerated.
15497 * manual/libc.texinfo: Include pkgvers.texi.
15498 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15499 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15500 (print_version): Use PKGVERSION.
15501 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15502 (print_version): Use PKGVERSION.
15503 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15504 (print_version): Use PKGVERSION.
15505 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15506 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15507 macro.
15508 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15509 (print_version): Use PKGVERSION.
15510 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15511 (print_version): Use PKGVERSION.
15512 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15513 and PKGVERSION.
15514
92e4b6a9
JM
15515 * timezone/checktab.awk: Update from tzcode 2012i.
15516 * timezone/ialloc.c: Likewise.
15517 * timezone/private.h: Likewise.
15518 * timezone/scheck.c: Likewise.
15519 * timezone/tzfile.h: Likewise.
15520 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15521 (TZVERSION): Hardcode tzcode version number.
15522 * timezone/zdump.c: Update from tzcode 2012i.
15523 * timezone/zic.c: Likewise.
15524 * timezone/version.h: New file.
15525 * timezone/README: Describe version.h. Update upstream location.
15526
9bde902c
JM
15527 [BZ #14824]
15528 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15529 (mktemp): Enable declaration.
15530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15534 Likewise.
15535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15536 Likewise.
15537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15538 Likewise.
15539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15540 Likewise.
15541 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15542 Likewise.
15543 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15544 Likewise.
15545
fb1ae1ee
JM
15546 [BZ #14821]
15547 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15548 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15549 for copies of such integer values.
15550 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15551 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15552
2c1adbcb
AJ
155532012-11-09 Andreas Jaeger <aj@suse.de>
15554
15555 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15556 definitions and declarations that are provided by
15557 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15558
d0f8457e
AK
155592012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15560
3a235abb 15561 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15562 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15563 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15564 definition.
15565
57241e26
MS
155662012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15567
15568 * elf/elf.h: Update comment before AArch64 relocations.
15569
60e8270d
DM
155702012-11-07 David S. Miller <davem@davemloft.net>
15571
15572 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15573 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15574 (__start_context): Declare.
15575 (__makecontext_ret): Delete.
15576 (__makecontext): Hook up __start_context instead of
15577 __makecontext_ret.
15578 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15579 (sysdep_routines): Add __start_context when in stdlib.
15580
0fbb0fbc
JM
155812012-11-07 Joseph Myers <joseph@codesourcery.com>
15582
15583 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15584 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15585 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15586 hardcoded "nm".
15587 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15588 (READELF): New variable. Use it instead of hardcoded "readelf".
15589
eb48db7e
L
155902012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15591
15592 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15593 * sysdeps/x86/Makefile: Here.
15594 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15595 * sysdeps/x86/tst-xmmymm.sh: This.
15596
05bcf62a
JM
155972012-11-07 Joseph Myers <joseph@codesourcery.com>
15598
c4b6cf53
JM
15599 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15600 expectations.
15601 [UNIX98] (pthread_barrier_t): Do not expect.
15602 [UNIX98] (pthread_barrierattr_t): Likewise.
15603 [UNIX98] (pthread_spinlock_t): Likewise.
15604 [UNIX98] (pthread_barrier_destroy): Likewise.
15605 [UNIX98] (pthread_barrier_init): Likewise.
15606 [UNIX98] (pthread_barrier_wait): Likewise.
15607 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15608 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15609 [UNIX98] (pthread_barrierattr_init): Likewise.
15610 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15611 [UNIX98] (pthread_getcpuclockid): Likewise.
15612 [UNIX98] (pthread_mutex_timedlock): Likewise.
15613 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15614 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15615 [UNIX98] (pthread_sigmask): Likewise.
15616 [UNIX98] (pthread_spin_destroy): Likewise.
15617 [UNIX98] (pthread_spin_init): Likewise.
15618 [UNIX98] (pthread_spin_lock): Likewise.
15619 [UNIX98] (pthread_spin_trylock): Likewise.
15620 [UNIX98] (pthread_spin_unlock): Likewise.
15621 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15622 Do not expect.
15623 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15624 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15625 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15626 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15627 [XPG3 || XPG4] (pthread_key_t): Likewise.
15628 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15629 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15630 [XPG3 || XPG4] (pthread_once_t): Likewise.
15631 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15632 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15633 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15634 [XPG3 || XPG4] (pthread_t): Likewise.
15635
cbe6e120
JM
15636 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15637 not expect.
15638 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15639
1b126443
JM
15640 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15641 Change function return type to int.
15642
b961a573
JM
15643 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15644 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15645 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15646 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15647 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15648 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15649 [!POSIX] (posix_madvise): Likewise.
15650 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15651 && !UNIX98].
15652 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15653 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15654 (mode_t): Likewise.
15655 (posix_mem_offset): Likewise.
15656 (posix_typed_mem_get_info): Likewise.
15657 (posix_typed_mem_open): Likewise.
15658
9e188909
JM
15659 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15660 Change condition to [XOPEN2K8].
15661
05bcf62a
JM
15662 * conform/conformtest.pl: Preprocess allow-header data with -x c
15663 instead of from stdin.
15664 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15665 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15666 [C99-based standards] (cerfc): Likewise.
15667 [C99-based standards] (cexp2): Likewise.
15668 [C99-based standards] (cexpm1): Likewise.
15669 [C99-based standards] (clog10): Likewise.
15670 [C99-based standards] (clog1p): Likewise.
15671 [C99-based standards] (clog2): Likewise.
15672 [C99-based standards] (clgamma): Likewise.
15673 [C99-based standards] (ctgamma): Likewise.
15674 [C99-based standards] (cerff): Likewise.
15675 [C99-based standards] (cerfcf): Likewise.
15676 [C99-based standards] (cexp2f): Likewise.
15677 [C99-based standards] (cexpm1f): Likewise.
15678 [C99-based standards] (clog10f): Likewise.
15679 [C99-based standards] (clog1pf): Likewise.
15680 [C99-based standards] (clog2f): Likewise.
15681 [C99-based standards] (clgammaf): Likewise.
15682 [C99-based standards] (ctgammaf): Likewise.
15683 [C99-based standards] (cerfl): Likewise.
15684 [C99-based standards] (cerfcl): Likewise.
15685 [C99-based standards] (cexp2l): Likewise.
15686 [C99-based standards] (cexpm1l): Likewise.
15687 [C99-based standards] (clog10l): Likewise.
15688 [C99-based standards] (clog1pl): Likewise.
15689 [C99-based standards] (clog2l): Likewise.
15690 [C99-based standards] (clgammal): Likewise.
15691 [C99-based standards] (ctgammal): Likewise.
15692 * conform/data/inttypes.h-data [C99-based standards]: Include
15693 stdint.h-data. Remove all expectations for stdint.h contents.
15694 [C99-based standards] (PRI*): Do not allow.
15695 [C99-based standards] (SCN*): Likewise.
15696 [C99-based standards] (*_t): Likewise.
15697 [C99-based-standards] (PRId8): Expect macro.
15698 [C99-based-standards] (PRIi8): Likewise.
15699 [C99-based-standards] (PRIo8): Likewise.
15700 [C99-based-standards] (PRIu8): Likewise.
15701 [C99-based-standards] (PRIx8): Likewise.
15702 [C99-based-standards] (PRIX8): Likewise.
15703 [C99-based-standards] (SCNd8): Likewise.
15704 [C99-based-standards] (SCNi8): Likewise.
15705 [C99-based-standards] (SCNo8): Likewise.
15706 [C99-based-standards] (SCNu8): Likewise.
15707 [C99-based-standards] (SCNx8): Likewise.
15708 [C99-based-standards] (PRIdLEAST8): Likewise.
15709 [C99-based-standards] (PRIiLEAST8): Likewise.
15710 [C99-based-standards] (PRIoLEAST8): Likewise.
15711 [C99-based-standards] (PRIuLEAST8): Likewise.
15712 [C99-based-standards] (PRIxLEAST8): Likewise.
15713 [C99-based-standards] (PRIXLEAST8): Likewise.
15714 [C99-based-standards] (SCNdLEAST8): Likewise.
15715 [C99-based-standards] (SCNiLEAST8): Likewise.
15716 [C99-based-standards] (SCNoLEAST8): Likewise.
15717 [C99-based-standards] (SCNuLEAST8): Likewise.
15718 [C99-based-standards] (SCNxLEAST8): Likewise.
15719 [C99-based-standards] (PRIdFAST8): Likewise.
15720 [C99-based-standards] (PRIiFAST8): Likewise.
15721 [C99-based-standards] (PRIoFAST8): Likewise.
15722 [C99-based-standards] (PRIuFAST8): Likewise.
15723 [C99-based-standards] (PRIxFAST8): Likewise.
15724 [C99-based-standards] (PRIXFAST8): Likewise.
15725 [C99-based-standards] (SCNdFAST8): Likewise.
15726 [C99-based-standards] (SCNiFAST8): Likewise.
15727 [C99-based-standards] (SCNoFAST8): Likewise.
15728 [C99-based-standards] (SCNuFAST8): Likewise.
15729 [C99-based-standards] (SCNxFAST8): Likewise.
15730 [C99-based-standards] (PRId16): Likewise.
15731 [C99-based-standards] (PRIi16): Likewise.
15732 [C99-based-standards] (PRIo16): Likewise.
15733 [C99-based-standards] (PRIu16): Likewise.
15734 [C99-based-standards] (PRIx16): Likewise.
15735 [C99-based-standards] (PRIX16): Likewise.
15736 [C99-based-standards] (SCNd16): Likewise.
15737 [C99-based-standards] (SCNi16): Likewise.
15738 [C99-based-standards] (SCNo16): Likewise.
15739 [C99-based-standards] (SCNu16): Likewise.
15740 [C99-based-standards] (SCNx16): Likewise.
15741 [C99-based-standards] (PRIdLEAST16): Likewise.
15742 [C99-based-standards] (PRIiLEAST16): Likewise.
15743 [C99-based-standards] (PRIoLEAST16): Likewise.
15744 [C99-based-standards] (PRIuLEAST16): Likewise.
15745 [C99-based-standards] (PRIxLEAST16): Likewise.
15746 [C99-based-standards] (PRIXLEAST16): Likewise.
15747 [C99-based-standards] (SCNdLEAST16): Likewise.
15748 [C99-based-standards] (SCNiLEAST16): Likewise.
15749 [C99-based-standards] (SCNoLEAST16): Likewise.
15750 [C99-based-standards] (SCNuLEAST16): Likewise.
15751 [C99-based-standards] (SCNxLEAST16): Likewise.
15752 [C99-based-standards] (PRIdFAST16): Likewise.
15753 [C99-based-standards] (PRIiFAST16): Likewise.
15754 [C99-based-standards] (PRIoFAST16): Likewise.
15755 [C99-based-standards] (PRIuFAST16): Likewise.
15756 [C99-based-standards] (PRIxFAST16): Likewise.
15757 [C99-based-standards] (PRIXFAST16): Likewise.
15758 [C99-based-standards] (SCNdFAST16): Likewise.
15759 [C99-based-standards] (SCNiFAST16): Likewise.
15760 [C99-based-standards] (SCNoFAST16): Likewise.
15761 [C99-based-standards] (SCNuFAST16): Likewise.
15762 [C99-based-standards] (SCNxFAST16): Likewise.
15763 [C99-based-standards] (PRId32): Likewise.
15764 [C99-based-standards] (PRIi32): Likewise.
15765 [C99-based-standards] (PRIo32): Likewise.
15766 [C99-based-standards] (PRIu32): Likewise.
15767 [C99-based-standards] (PRIx32): Likewise.
15768 [C99-based-standards] (PRIX32): Likewise.
15769 [C99-based-standards] (SCNd32): Likewise.
15770 [C99-based-standards] (SCNi32): Likewise.
15771 [C99-based-standards] (SCNo32): Likewise.
15772 [C99-based-standards] (SCNu32): Likewise.
15773 [C99-based-standards] (SCNx32): Likewise.
15774 [C99-based-standards] (PRIdLEAST32): Likewise.
15775 [C99-based-standards] (PRIiLEAST32): Likewise.
15776 [C99-based-standards] (PRIoLEAST32): Likewise.
15777 [C99-based-standards] (PRIuLEAST32): Likewise.
15778 [C99-based-standards] (PRIxLEAST32): Likewise.
15779 [C99-based-standards] (PRIXLEAST32): Likewise.
15780 [C99-based-standards] (SCNdLEAST32): Likewise.
15781 [C99-based-standards] (SCNiLEAST32): Likewise.
15782 [C99-based-standards] (SCNoLEAST32): Likewise.
15783 [C99-based-standards] (SCNuLEAST32): Likewise.
15784 [C99-based-standards] (SCNxLEAST32): Likewise.
15785 [C99-based-standards] (PRIdFAST32): Likewise.
15786 [C99-based-standards] (PRIiFAST32): Likewise.
15787 [C99-based-standards] (PRIoFAST32): Likewise.
15788 [C99-based-standards] (PRIuFAST32): Likewise.
15789 [C99-based-standards] (PRIxFAST32): Likewise.
15790 [C99-based-standards] (PRIXFAST32): Likewise.
15791 [C99-based-standards] (SCNdFAST32): Likewise.
15792 [C99-based-standards] (SCNiFAST32): Likewise.
15793 [C99-based-standards] (SCNoFAST32): Likewise.
15794 [C99-based-standards] (SCNuFAST32): Likewise.
15795 [C99-based-standards] (SCNxFAST32): Likewise.
15796 [C99-based-standards] (PRId64): Likewise.
15797 [C99-based-standards] (PRIi64): Likewise.
15798 [C99-based-standards] (PRIo64): Likewise.
15799 [C99-based-standards] (PRIu64): Likewise.
15800 [C99-based-standards] (PRIx64): Likewise.
15801 [C99-based-standards] (PRIX64): Likewise.
15802 [C99-based-standards] (SCNd64): Likewise.
15803 [C99-based-standards] (SCNi64): Likewise.
15804 [C99-based-standards] (SCNo64): Likewise.
15805 [C99-based-standards] (SCNu64): Likewise.
15806 [C99-based-standards] (SCNx64): Likewise.
15807 [C99-based-standards] (PRIdLEAST64): Likewise.
15808 [C99-based-standards] (PRIiLEAST64): Likewise.
15809 [C99-based-standards] (PRIoLEAST64): Likewise.
15810 [C99-based-standards] (PRIuLEAST64): Likewise.
15811 [C99-based-standards] (PRIxLEAST64): Likewise.
15812 [C99-based-standards] (PRIXLEAST64): Likewise.
15813 [C99-based-standards] (SCNdLEAST64): Likewise.
15814 [C99-based-standards] (SCNiLEAST64): Likewise.
15815 [C99-based-standards] (SCNoLEAST64): Likewise.
15816 [C99-based-standards] (SCNuLEAST64): Likewise.
15817 [C99-based-standards] (SCNxLEAST64): Likewise.
15818 [C99-based-standards] (PRIdFAST64): Likewise.
15819 [C99-based-standards] (PRIiFAST64): Likewise.
15820 [C99-based-standards] (PRIoFAST64): Likewise.
15821 [C99-based-standards] (PRIuFAST64): Likewise.
15822 [C99-based-standards] (PRIxFAST64): Likewise.
15823 [C99-based-standards] (PRIXFAST64): Likewise.
15824 [C99-based-standards] (SCNdFAST64): Likewise.
15825 [C99-based-standards] (SCNiFAST64): Likewise.
15826 [C99-based-standards] (SCNoFAST64): Likewise.
15827 [C99-based-standards] (SCNuFAST64): Likewise.
15828 [C99-based-standards] (SCNxFAST64): Likewise.
15829 [C99-based-standards] (PRIdMAX): Likewise.
15830 [C99-based-standards] (PRIiMAX): Likewise.
15831 [C99-based-standards] (PRIoMAX): Likewise.
15832 [C99-based-standards] (PRIuMAX): Likewise.
15833 [C99-based-standards] (PRIxMAX): Likewise.
15834 [C99-based-standards] (PRIXMAX): Likewise.
15835 [C99-based-standards] (SCNdMAX): Likewise.
15836 [C99-based-standards] (SCNiMAX): Likewise.
15837 [C99-based-standards] (SCNoMAX): Likewise.
15838 [C99-based-standards] (SCNuMAX): Likewise.
15839 [C99-based-standards] (SCNxMAX): Likewise.
15840 [C99-based-standards] (PRIdPTR): Likewise.
15841 [C99-based-standards] (PRIiPTR): Likewise.
15842 [C99-based-standards] (PRIoPTR): Likewise.
15843 [C99-based-standards] (PRIuPTR): Likewise.
15844 [C99-based-standards] (PRIxPTR): Likewise.
15845 [C99-based-standards] (PRIXPTR): Likewise.
15846 [C99-based-standards] (SCNdPTR): Likewise.
15847 [C99-based-standards] (SCNiPTR): Likewise.
15848 [C99-based-standards] (SCNoPTR): Likewise.
15849 [C99-based-standards] (SCNuPTR): Likewise.
15850 [C99-based-standards] (SCNxPTR): Likewise.
15851 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15852 allow.
15853 * conform/data/stdint.h-data: Update comments to clarify
15854 requirements.
15855 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15856 type.
15857 [C99-based standards] (INT8_MAX): Likewise.
15858 [C99-based standards] (INT16_MIN): Likewise.
15859 [C99-based standards] (INT16_MAX): Likewise.
15860 [C99-based standards] (INT32_MIN): Likewise.
15861 [C99-based standards] (INT32_MAX): Likewise.
15862 [C99-based standards] (INT64_MIN): Likewise.
15863 [C99-based standards] (INT64_MAX): Likewise.
15864 [C99-based standards] (UINT8_MAX): Likewise.
15865 [C99-based standards] (UINT16_MAX): Likewise.
15866 [C99-based standards] (UINT32_MAX): Likewise.
15867 [C99-based standards] (UINT64_MAX): Likewise.
15868 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15869 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15870 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15871 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15872 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15873 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15874 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15875 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15876 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15877 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15878 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15879 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15880 [C99-based standards] (INT_FAST8_MIN): Likewise.
15881 [C99-based standards] (INT_FAST8_MAX): Likewise.
15882 [C99-based standards] (INT_FAST16_MIN): Likewise.
15883 [C99-based standards] (INT_FAST16_MAX): Likewise.
15884 [C99-based standards] (INT_FAST32_MIN): Likewise.
15885 [C99-based standards] (INT_FAST32_MAX): Likewise.
15886 [C99-based standards] (INT_FAST64_MIN): Likewise.
15887 [C99-based standards] (INT_FAST64_MAX): Likewise.
15888 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15889 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15890 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15891 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15892 [C99-based standards] (INTPTR_MIN): Likewise.
15893 [C99-based standards] (INTPTR_MAX): Likewise.
15894 [C99-based standards] (UINTPTR_MAX): Likewise.
15895 [C99-based standards] (INTMAX_MIN): Likewise.
15896 [C99-based standards] (INTMAX_MAX): Likewise.
15897 [C99-based standards] (UINTMAX_MAX): Likewise.
15898 [C99-based standards] (PTRDIFF_MIN): Likewise.
15899 [C99-based standards] (PTRDIFF_MAX): Likewise.
15900 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15901 [C99-based standards] (SIZE_MAX): Likewise.
15902 [C99-based standards] (WCHAR_MAX): Likewise.
15903 [C99-based standards] (WINT_MAX): Likewise.
15904 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15905 constraint on value.
15906 [C99-based standards] (WCHAR_MIN): Likewise.
15907 [C99-based standards] (WINT_MIN): Likewise.
15908 [C99-based standards] (*_t): Allow.
15909 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15910 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15911 Include math.h-data and complex.h-data. Remove all expectations
15912 of math.h and complex.h contents.
15913 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15914 at end of line.
15915 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15916 (struct tm): Expect tag.
15917 [C99-based-standards] (wcstof): Expect function.
15918 [C99-based-standards] (wcstold): Likewise.
15919 [C99-based-standards] (wcstoll): Likewise.
15920 [C99-based-standards] (wcstoull): Likewise.
15921 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15922 macro-int-constant. Specify type.
15923 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15924 constraint on value.
15925 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15926 Specify type.
15927 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15928 Specify value.
15929 [ISO C standards]: Do not allow headers.
15930 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15931 wcs[abcdefghijklmnopqrstuvwxyz]*.
15932 [ISO C standards] (*_t): Do not allow.
15933 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15934 Expect function.
15935 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15936 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15937 Specify type.
15938 [ISO C standards]: Do not allow headers.
15939 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15940 is[abcdefghijklmnopqrstuvwxyz]*.
15941 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15942 to[abcdefghijklmnopqrstuvwxyz]*.
15943 [ISO C standards] (*_t): Do not allow.
15944 * conform/data/stdalign.h-data: New file.
15945 * conform/data/stdbool.h-data: Likewise.
15946 * conform/data/stdnoreturn.h-data: Likewise.
15947
7514feb8
RM
159482012-11-07 Roland McGrath <roland@hack.frob.com>
15949
15950 [BZ #14815]
15951 * manual/filesys.texi (Directory Entries): Typo fix.
15952 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15953
19b2ecfc
MS
159542012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15955
15956 * elf/elf.h (EM_AARCH64): New macro.
15957 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15958 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15959 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15960 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15961 (R_AARCH64_TLSDESC): Likewise.
15962 (NT_ARM_TLS): Likewise.
15963 (NT_ARM_HW_BREAK): Likewise.
15964 (NT_ARM_HW_WATCH): Likewise.
15965
60e235ee
JM
159662012-11-07 Joseph Myers <joseph@codesourcery.com>
15967
15968 [BZ #14811]
15969 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15970 (__ieee754_powl): Saturate nonzero exponents with absolute value
15971 below 0x1p-79 to +/- 0x1p-79.
15972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15973 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15974 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15975 nonzero exponents with absolute value below 0x1p-32 to +/-
15976 0x1p-32.
15977 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15978 (__ieee754_powl): Saturate nonzero exponents with absolute value
15979 below 0x1p-79 to +/- 0x1p-79.
15980 * math/libm-test.inc (pow_test): Add more tests.
15981
0ab234b7
AK
159822012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15983
15984 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15985 _dl_s390_cap_flags with kernel. Increase string length.
15986 (_dl_s390_platforms): Add z196 and zEC12.
15987
45832f74
JM
159882012-11-07 Joseph Myers <joseph@codesourcery.com>
15989
15990 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15991 Change XOPEN21K to XOPEN2K.
15992
19218757
MK
159932012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15994
15995 * string/memmove.c: Use memcpy when possible.
15996
c5f45721
AJ
159972012-11-06 Andreas Jaeger <aj@suse.de>
15998
15999 * po/eo.po: Update from translation team.
16000
82477c28
JM
160012012-11-06 Joseph Myers <joseph@codesourcery.com>
16002
16003 [BZ #14793]
16004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16005 exponent and small x and y exponents, scale x or y up. Increase
16006 by 2 the exponent used in scaling up.
16007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16009 * math/libm-test.inc (fma_test): Add more tests.
16010 (fma_test_towardzero): Likewise.
16011 (fma_test_downward): Likewise.
16012 (fma_test_upward): Likewise.
16013
99252c8c
JM
160142012-11-05 Joseph Myers <joseph@codesourcery.com>
16015
acfa885f
JM
16016 [BZ #14805]
16017 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16018 fenv_t *.
16019
99252c8c
JM
16020 [BZ #14801]
16021 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16022 namespace for names of struct fields.
16023 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16024 fenv_t fields.
16025 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16026 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16027
d6d98dea
ST
160282012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16029
16030 [BZ #3665]
16031 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16032
e10bb107
TS
160332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16034
16035 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16036 PTR_DEMANGLE.
16037
16038 [BZ #5246]
16039 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16040 PTR_DEMANGLE.
16041
a0c2940d
JM
160422012-11-04 Joseph Myers <joseph@codesourcery.com>
16043
16044 [BZ #14797]
16045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16046 definitely overflow as x * y not x * y + z.
16047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16048 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16049 * math/libm-test.inc (fma_test): Add more tests.
16050 (fma_test_towardzero): Likewise.
16051 (fma_test_downward): Likewise.
16052 (fma_test_upward): Likewise.
16053
b830319d
TS
160542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16055
16056 [BZ #157]
16057
16058 * include/stub-tag.h: Remove file.
16059 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16060 '#include' of it.
16061 * manual/maint.texi (Porting): Don't reference it.
16062 * Makerules ($(objpfx)stubs): Likewise.
16063 * dirent/closedir.c: Don't include <stub-tag.h>.
16064 * dirent/dirfd.c: Likewise.
16065 * dirent/fdopendir.c: Likewise.
16066 * dirent/getdents.c: Likewise.
16067 * dirent/getdents64.c: Likewise.
16068 * dirent/opendir.c: Likewise.
16069 * dirent/readdir.c: Likewise.
16070 * dirent/readdir64.c: Likewise.
16071 * dirent/readdir64_r.c: Likewise.
16072 * dirent/readdir_r.c: Likewise.
16073 * dirent/rewinddir.c: Likewise.
16074 * dirent/seekdir.c: Likewise.
16075 * dirent/telldir.c: Likewise.
16076 * gmon/profil.c: Likewise.
16077 * grp/setgroups.c: Likewise.
16078 * inet/if_index.c: Likewise.
16079 * io/access.c: Likewise.
16080 * io/chdir.c: Likewise.
16081 * io/chmod.c: Likewise.
16082 * io/chown.c: Likewise.
16083 * io/close.c: Likewise.
16084 * io/dup.c: Likewise.
16085 * io/dup2.c: Likewise.
16086 * io/dup3.c: Likewise.
16087 * io/euidaccess.c: Likewise.
16088 * io/faccessat.c: Likewise.
16089 * io/fchdir.c: Likewise.
16090 * io/fchmod.c: Likewise.
16091 * io/fchmodat.c: Likewise.
16092 * io/fchown.c: Likewise.
16093 * io/fchownat.c: Likewise.
16094 * io/fcntl.c: Likewise.
16095 * io/flock.c: Likewise.
16096 * io/fstatfs.c: Likewise.
16097 * io/fstatfs64.c: Likewise.
16098 * io/fstatvfs.c: Likewise.
16099 * io/fstatvfs64.c: Likewise.
16100 * io/futimens.c: Likewise.
16101 * io/fxstat.c: Likewise.
16102 * io/fxstat64.c: Likewise.
16103 * io/fxstatat.c: Likewise.
16104 * io/fxstatat64.c: Likewise.
16105 * io/getcwd.c: Likewise.
16106 * io/isatty.c: Likewise.
16107 * io/lchmod.c: Likewise.
16108 * io/lchown.c: Likewise.
16109 * io/link.c: Likewise.
16110 * io/linkat.c: Likewise.
16111 * io/lseek.c: Likewise.
16112 * io/lseek64.c: Likewise.
16113 * io/lxstat64.c: Likewise.
16114 * io/mkdir.c: Likewise.
16115 * io/mkdirat.c: Likewise.
16116 * io/mkfifo.c: Likewise.
16117 * io/mkfifoat.c: Likewise.
16118 * io/open.c: Likewise.
16119 * io/open64.c: Likewise.
16120 * io/openat.c: Likewise.
16121 * io/openat64.c: Likewise.
16122 * io/pipe.c: Likewise.
16123 * io/pipe2.c: Likewise.
16124 * io/poll.c: Likewise.
16125 * io/posix_fadvise.c: Likewise.
16126 * io/posix_fadvise64.c: Likewise.
16127 * io/posix_fallocate.c: Likewise.
16128 * io/posix_fallocate64.c: Likewise.
16129 * io/read.c: Likewise.
16130 * io/readlink.c: Likewise.
16131 * io/readlinkat.c: Likewise.
16132 * io/rmdir.c: Likewise.
16133 * io/sendfile.c: Likewise.
16134 * io/sendfile64.c: Likewise.
16135 * io/statfs.c: Likewise.
16136 * io/statfs64.c: Likewise.
16137 * io/statvfs.c: Likewise.
16138 * io/statvfs64.c: Likewise.
16139 * io/symlink.c: Likewise.
16140 * io/symlinkat.c: Likewise.
16141 * io/ttyname.c: Likewise.
16142 * io/ttyname_r.c: Likewise.
16143 * io/umask.c: Likewise.
16144 * io/unlink.c: Likewise.
16145 * io/unlinkat.c: Likewise.
16146 * io/utime.c: Likewise.
16147 * io/utimensat.c: Likewise.
16148 * io/write.c: Likewise.
16149 * io/xmknod.c: Likewise.
16150 * io/xmknodat.c: Likewise.
16151 * io/xstat.c: Likewise.
16152 * io/xstat64.c: Likewise.
16153 * login/getpt.c: Likewise.
16154 * login/grantpt.c: Likewise.
16155 * login/unlockpt.c: Likewise.
16156 * math/e_acoshl.c: Likewise.
16157 * math/e_acosl.c: Likewise.
16158 * math/e_asinl.c: Likewise.
16159 * math/e_atan2l.c: Likewise.
16160 * math/e_atanhl.c: Likewise.
16161 * math/e_coshl.c: Likewise.
16162 * math/e_expl.c: Likewise.
16163 * math/e_fmodl.c: Likewise.
16164 * math/e_gammal_r.c: Likewise.
16165 * math/e_hypotl.c: Likewise.
16166 * math/e_j0l.c: Likewise.
16167 * math/e_j1l.c: Likewise.
16168 * math/e_jnl.c: Likewise.
16169 * math/e_lgammal_r.c: Likewise.
16170 * math/e_log10l.c: Likewise.
16171 * math/e_log2l.c: Likewise.
16172 * math/e_logl.c: Likewise.
16173 * math/e_powl.c: Likewise.
16174 * math/e_rem_pio2l.c: Likewise.
16175 * math/e_sinhl.c: Likewise.
16176 * math/e_sqrtl.c: Likewise.
16177 * math/fclrexcpt.c: Likewise.
16178 * math/fedisblxcpt.c: Likewise.
16179 * math/feenablxcpt.c: Likewise.
16180 * math/fegetenv.c: Likewise.
16181 * math/fegetexcept.c: Likewise.
16182 * math/fegetround.c: Likewise.
16183 * math/feholdexcpt.c: Likewise.
16184 * math/fesetenv.c: Likewise.
16185 * math/fesetround.c: Likewise.
16186 * math/feupdateenv.c: Likewise.
16187 * math/fgetexcptflg.c: Likewise.
16188 * math/fraiseexcpt.c: Likewise.
16189 * math/fsetexcptflg.c: Likewise.
16190 * math/ftestexcept.c: Likewise.
16191 * math/k_cosl.c: Likewise.
16192 * math/k_rem_pio2l.c: Likewise.
16193 * math/k_sinl.c: Likewise.
16194 * math/k_tanl.c: Likewise.
16195 * math/s_asinhl.c: Likewise.
16196 * math/s_atanl.c: Likewise.
16197 * math/s_cbrtl.c: Likewise.
16198 * math/s_erfl.c: Likewise.
16199 * math/s_expm1l.c: Likewise.
16200 * math/s_log1pl.c: Likewise.
16201 * math/s_tanhl.c: Likewise.
16202 * misc/acct.c: Likewise.
16203 * misc/brk.c: Likewise.
16204 * misc/chflags.c: Likewise.
16205 * misc/chroot.c: Likewise.
16206 * misc/fchflags.c: Likewise.
16207 * misc/fgetxattr.c: Likewise.
16208 * misc/flistxattr.c: Likewise.
16209 * misc/fremovexattr.c: Likewise.
16210 * misc/fsetxattr.c: Likewise.
16211 * misc/fsync.c: Likewise.
16212 * misc/ftruncate.c: Likewise.
16213 * misc/futimes.c: Likewise.
16214 * misc/futimesat.c: Likewise.
16215 * misc/getdomain.c: Likewise.
16216 * misc/getdtsz.c: Likewise.
16217 * misc/gethostid.c: Likewise.
16218 * misc/gethostname.c: Likewise.
16219 * misc/getloadavg.c: Likewise.
16220 * misc/getpagesize.c: Likewise.
16221 * misc/getsysstats.c: Likewise.
16222 * misc/getxattr.c: Likewise.
16223 * misc/gtty.c: Likewise.
16224 * misc/ioctl.c: Likewise.
16225 * misc/lgetxattr.c: Likewise.
16226 * misc/listxattr.c: Likewise.
16227 * misc/llistxattr.c: Likewise.
16228 * misc/lremovexattr.c: Likewise.
16229 * misc/lsetxattr.c: Likewise.
16230 * misc/lutimes.c: Likewise.
16231 * misc/madvise.c: Likewise.
16232 * misc/mincore.c: Likewise.
16233 * misc/mlock.c: Likewise.
16234 * misc/mlockall.c: Likewise.
16235 * misc/mmap.c: Likewise.
16236 * misc/mprotect.c: Likewise.
16237 * misc/msync.c: Likewise.
16238 * misc/munlock.c: Likewise.
16239 * misc/munlockall.c: Likewise.
16240 * misc/munmap.c: Likewise.
16241 * misc/preadv.c: Likewise.
16242 * misc/preadv64.c: Likewise.
16243 * misc/ptrace.c: Likewise.
16244 * misc/pwritev.c: Likewise.
16245 * misc/pwritev64.c: Likewise.
16246 * misc/readv.c: Likewise.
16247 * misc/reboot.c: Likewise.
16248 * misc/remap_file_pages.c: Likewise.
16249 * misc/removexattr.c: Likewise.
16250 * misc/revoke.c: Likewise.
16251 * misc/select.c: Likewise.
16252 * misc/setdomain.c: Likewise.
16253 * misc/setegid.c: Likewise.
16254 * misc/seteuid.c: Likewise.
16255 * misc/sethostid.c: Likewise.
16256 * misc/sethostname.c: Likewise.
16257 * misc/setregid.c: Likewise.
16258 * misc/setreuid.c: Likewise.
16259 * misc/setxattr.c: Likewise.
16260 * misc/sstk.c: Likewise.
16261 * misc/stty.c: Likewise.
16262 * misc/swapoff.c: Likewise.
16263 * misc/swapon.c: Likewise.
16264 * misc/sync.c: Likewise.
16265 * misc/syncfs.c: Likewise.
16266 * misc/syscall.c: Likewise.
16267 * misc/truncate.c: Likewise.
16268 * misc/ualarm.c: Likewise.
16269 * misc/usleep.c: Likewise.
16270 * misc/ustat.c: Likewise.
16271 * misc/utimes.c: Likewise.
16272 * misc/vhangup.c: Likewise.
16273 * misc/writev.c: Likewise.
16274 * posix/_exit.c: Likewise.
16275 * posix/alarm.c: Likewise.
16276 * posix/execve.c: Likewise.
16277 * posix/fexecve.c: Likewise.
16278 * posix/fork.c: Likewise.
16279 * posix/fpathconf.c: Likewise.
16280 * posix/getaddrinfo.c: Likewise.
16281 * posix/getegid.c: Likewise.
16282 * posix/geteuid.c: Likewise.
16283 * posix/getgid.c: Likewise.
16284 * posix/getgroups.c: Likewise.
16285 * posix/getlogin.c: Likewise.
16286 * posix/getlogin_r.c: Likewise.
16287 * posix/getpgid.c: Likewise.
16288 * posix/getpid.c: Likewise.
16289 * posix/getppid.c: Likewise.
16290 * posix/getresgid.c: Likewise.
16291 * posix/getresuid.c: Likewise.
16292 * posix/getsid.c: Likewise.
16293 * posix/getuid.c: Likewise.
16294 * posix/glob64.c: Likewise.
16295 * posix/nanosleep.c: Likewise.
16296 * posix/pathconf.c: Likewise.
16297 * posix/pause.c: Likewise.
16298 * posix/posix_madvise.c: Likewise.
16299 * posix/pread.c: Likewise.
16300 * posix/pread64.c: Likewise.
16301 * posix/pwrite.c: Likewise.
16302 * posix/pwrite64.c: Likewise.
16303 * posix/sched_getaffinity.c: Likewise.
16304 * posix/sched_getp.c: Likewise.
16305 * posix/sched_gets.c: Likewise.
16306 * posix/sched_primax.c: Likewise.
16307 * posix/sched_primin.c: Likewise.
16308 * posix/sched_rr_gi.c: Likewise.
16309 * posix/sched_setaffinity.c: Likewise.
16310 * posix/sched_setp.c: Likewise.
16311 * posix/sched_sets.c: Likewise.
16312 * posix/sched_yield.c: Likewise.
16313 * posix/setgid.c: Likewise.
16314 * posix/setlogin.c: Likewise.
16315 * posix/setpgid.c: Likewise.
16316 * posix/setresgid.c: Likewise.
16317 * posix/setresuid.c: Likewise.
16318 * posix/setsid.c: Likewise.
16319 * posix/setuid.c: Likewise.
16320 * posix/sleep.c: Likewise.
16321 * posix/spawni.c: Likewise.
16322 * posix/sysconf.c: Likewise.
16323 * posix/times.c: Likewise.
16324 * posix/wait.c: Likewise.
16325 * posix/wait3.c: Likewise.
16326 * posix/wait4.c: Likewise.
16327 * posix/waitpid.c: Likewise.
16328 * resolv/gai_sigqueue.c: Likewise.
16329 * resource/getpriority.c: Likewise.
16330 * resource/getrlimit.c: Likewise.
16331 * resource/getrusage.c: Likewise.
16332 * resource/nice.c: Likewise.
16333 * resource/setpriority.c: Likewise.
16334 * resource/setrlimit.c: Likewise.
16335 * resource/ulimit.c: Likewise.
16336 * rt/aio_cancel.c: Likewise.
16337 * rt/aio_fsync.c: Likewise.
16338 * rt/aio_read.c: Likewise.
16339 * rt/aio_sigqueue.c: Likewise.
16340 * rt/aio_suspend.c: Likewise.
16341 * rt/aio_write.c: Likewise.
16342 * rt/clock_getres.c: Likewise.
16343 * rt/clock_gettime.c: Likewise.
16344 * rt/clock_nanosleep.c: Likewise.
16345 * rt/clock_settime.c: Likewise.
16346 * rt/lio_listio.c: Likewise.
16347 * rt/mq_close.c: Likewise.
16348 * rt/mq_getattr.c: Likewise.
16349 * rt/mq_notify.c: Likewise.
16350 * rt/mq_open.c: Likewise.
16351 * rt/mq_receive.c: Likewise.
16352 * rt/mq_send.c: Likewise.
16353 * rt/mq_setattr.c: Likewise.
16354 * rt/mq_timedreceive.c: Likewise.
16355 * rt/mq_timedsend.c: Likewise.
16356 * rt/mq_unlink.c: Likewise.
16357 * rt/shm_open.c: Likewise.
16358 * rt/shm_unlink.c: Likewise.
16359 * rt/timer_create.c: Likewise.
16360 * rt/timer_delete.c: Likewise.
16361 * rt/timer_getoverr.c: Likewise.
16362 * rt/timer_gettime.c: Likewise.
16363 * rt/timer_settime.c: Likewise.
16364 * setjmp/__longjmp.c: Likewise.
16365 * setjmp/setjmp.c: Likewise.
16366 * signal/kill.c: Likewise.
16367 * signal/killpg.c: Likewise.
16368 * signal/raise.c: Likewise.
16369 * signal/sigaction.c: Likewise.
16370 * signal/sigaltstack.c: Likewise.
16371 * signal/sigblock.c: Likewise.
16372 * signal/sigignore.c: Likewise.
16373 * signal/sigintr.c: Likewise.
16374 * signal/signal.c: Likewise.
16375 * signal/sigpause.c: Likewise.
16376 * signal/sigpending.c: Likewise.
16377 * signal/sigqueue.c: Likewise.
16378 * signal/sigreturn.c: Likewise.
16379 * signal/sigset.c: Likewise.
16380 * signal/sigsetmask.c: Likewise.
16381 * signal/sigstack.c: Likewise.
16382 * signal/sigsuspend.c: Likewise.
16383 * signal/sigtimedwait.c: Likewise.
16384 * signal/sigvec.c: Likewise.
16385 * signal/sigwait.c: Likewise.
16386 * signal/sigwaitinfo.c: Likewise.
16387 * signal/sysv_signal.c: Likewise.
16388 * socket/accept.c: Likewise.
16389 * socket/accept4.c: Likewise.
16390 * socket/bind.c: Likewise.
16391 * socket/connect.c: Likewise.
16392 * socket/getpeername.c: Likewise.
16393 * socket/getsockname.c: Likewise.
16394 * socket/getsockopt.c: Likewise.
16395 * socket/isfdtype.c: Likewise.
16396 * socket/listen.c: Likewise.
16397 * socket/recv.c: Likewise.
16398 * socket/recvfrom.c: Likewise.
16399 * socket/recvmsg.c: Likewise.
16400 * socket/send.c: Likewise.
16401 * socket/sendmsg.c: Likewise.
16402 * socket/sendto.c: Likewise.
16403 * socket/setsockopt.c: Likewise.
16404 * socket/shutdown.c: Likewise.
16405 * socket/sockatmark.c: Likewise.
16406 * socket/socket.c: Likewise.
16407 * socket/socketpair.c: Likewise.
16408 * stdio-common/ctermid.c: Likewise.
16409 * stdio-common/cuserid.c: Likewise.
16410 * stdio-common/remove.c: Likewise.
16411 * stdio-common/rename.c: Likewise.
16412 * stdio-common/renameat.c: Likewise.
16413 * stdio-common/tempname.c: Likewise.
16414 * stdlib/getcontext.c: Likewise.
16415 * stdlib/makecontext.c: Likewise.
16416 * stdlib/setcontext.c: Likewise.
16417 * stdlib/swapcontext.c: Likewise.
16418 * stdlib/system.c: Likewise.
16419 * streams/fattach.c: Likewise.
16420 * streams/fdetach.c: Likewise.
16421 * streams/getmsg.c: Likewise.
16422 * streams/getpmsg.c: Likewise.
16423 * streams/putmsg.c: Likewise.
16424 * streams/putpmsg.c: Likewise.
16425 * sysdeps/unix/bsd/getpt.c: Likewise.
16426 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16427 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16428 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16430 Likewise.
16431 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16432 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16433 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16434 * sysvipc/msgctl.c: Likewise.
16435 * sysvipc/msgget.c: Likewise.
16436 * sysvipc/msgrcv.c: Likewise.
16437 * sysvipc/msgsnd.c: Likewise.
16438 * sysvipc/semctl.c: Likewise.
16439 * sysvipc/semget.c: Likewise.
16440 * sysvipc/semop.c: Likewise.
16441 * sysvipc/semtimedop.c: Likewise.
16442 * sysvipc/shmat.c: Likewise.
16443 * sysvipc/shmctl.c: Likewise.
16444 * sysvipc/shmdt.c: Likewise.
16445 * sysvipc/shmget.c: Likewise.
16446 * termios/tcdrain.c: Likewise.
16447 * termios/tcflow.c: Likewise.
16448 * termios/tcflush.c: Likewise.
16449 * termios/tcgetattr.c: Likewise.
16450 * termios/tcgetpgrp.c: Likewise.
16451 * termios/tcsendbrk.c: Likewise.
16452 * termios/tcsetattr.c: Likewise.
16453 * termios/tcsetpgrp.c: Likewise.
16454 * time/adjtime.c: Likewise.
16455 * time/clock.c: Likewise.
16456 * time/getitimer.c: Likewise.
16457 * time/gettimeofday.c: Likewise.
16458 * time/setitimer.c: Likewise.
16459 * time/settimeofday.c: Likewise.
16460 * time/stime.c: Likewise.
16461 * time/time.c: Likewise.
16462
164632012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16464
a20492cf
PT
16465 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16466 /usr/old/bin.
16467
72e182e3
PT
16468 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16469 instead of spaces.
16470 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16471
fbeafede
JM
164722012-11-03 Joseph Myers <joseph@codesourcery.com>
16473
5b5b04d6
JM
16474 [BZ #14796]
16475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16476 FE_TONEAREST before applying Dekker multiplication and Knuth
16477 addition. Clear inexact exceptions and check for exact zero
16478 results afterwards.
16479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16480 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16482 * math/libm-test.inc (fma_test): Add more tests.
16483 (fma_test_towardzero): Likewise.
16484 (fma_test_downward): Likewise.
16485 (fma_test_upward): Likewise.
16486 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16487 function.
16488 (libc_fesetround): New macro.
16489 (libc_fesetroundf): Likewise.
16490 (libc_fesetroundl): Likewise.
16491 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16492 function.
16493 (libc_fesetround_387): Likewise.
16494 (libc_fesetroundf): New macro.
16495 (libc_fesetround): Likewise.
16496 (libc_fesetroundl): Likewise.
16497 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16498 function.
16499 (libc_fesetroundf): New macro.
16500 (libc_fesetround): Likewise.
16501 (libc_fesetroundl): Likewise.
16502 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16503 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16504 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16505 libm_hidden_ver.
16506 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16507 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16508 libm_hidden_def.
16509 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16510 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16511 libm_hidden_ver.
16512 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16513 libm_hidden_def.
16514
fbeafede
JM
16515 [BZ #3439]
16516 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16517 integer constant usable in #if and use that to give value to enum
16518 constant.
16519 (FE_DIVBYZERO): Likewise.
16520 (FE_UNDERFLOW): Likewise.
16521 (FE_OVERFLOW): Likewise.
16522 (FE_INVALID): Likewise.
16523 (FE_INVALID_SNAN): Likewise.
16524 (FE_INVALID_ISI): Likewise.
16525 (FE_INVALID_IDI): Likewise.
16526 (FE_INVALID_ZDZ): Likewise.
16527 (FE_INVALID_IMZ): Likewise.
16528 (FE_INVALID_COMPARE): Likewise.
16529 (FE_INVALID_SOFTWARE): Likewise.
16530 (FE_INVALID_SQRT): Likewise.
16531 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16532 (FE_TONEAREST): Likewise.
16533 (FE_TOWARDZERO): Likewise.
16534 (FE_UPWARD): Likewise.
16535 (FE_DOWNWARD): Likewise.
16536 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16537 (FE_DIVBYZERO): Likewise.
16538 (FE_OVERFLOW): Likewise.
16539 (FE_UNDERFLOW): Likewise.
16540 (FE_INEXACT): Likewise.
16541 (FE_TONEAREST): Likewise.
16542 (FE_DOWNWARD): Likewise.
16543 (FE_UPWARD): Likewise.
16544 (FE_TOWARDZERO): Likewise.
16545 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16546 (FE_UNDERFLOW): Likewise.
16547 (FE_OVERFLOW): Likewise.
16548 (FE_DIVBYZERO): Likewise.
16549 (FE_INVALID): Likewise.
16550 (FE_TONEAREST): Likewise.
16551 (FE_TOWARDZERO): Likewise.
16552 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16553 (FE_OVERFLOW): Likewise.
16554 (FE_UNDERFLOW): Likewise.
16555 (FE_DIVBYZERO): Likewise.
16556 (FE_INEXACT): Likewise.
16557 (FE_TONEAREST): Likewise.
16558 (FE_TOWARDZERO): Likewise.
16559 (FE_UPWARD): Likewise.
16560 (FE_DOWNWARD): Likewise.
16561 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16562 (FE_DIVBYZERO): Likewise.
16563 (FE_OVERFLOW): Likewise.
16564 (FE_UNDERFLOW): Likewise.
16565 (FE_INEXACT): Likewise.
16566 (FE_TONEAREST): Likewise.
16567 (FE_DOWNWARD): Likewise.
16568 (FE_UPWARD): Likewise.
16569 (FE_TOWARDZERO): Likewise.
16570
105ca950
CM
165712012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16572
16573 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16574
a542b389
AS
165752012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16576
16577 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16578 commands. Quote $PWD.
16579 (blacklist_exports): Don't use remove_newlines. Replace "declare
16580 -x" by "export".
16581 (remove_newlines): Remove.
16582
f62c8abc
L
165832012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16584
16585 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16586 * stdlib/stdlib.h (atof): Moved to ...
16587 * include/bits/stdlib-float.h: Here. New file.
16588 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16589 * stdlib/bits/stdlib-float.h: New file.
16590 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16591 -mno-sse -mno-mmx.
16592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16593 <xmmintrin.h>.
16594
0155d5b2
JM
165952012-11-02 Joseph Myers <joseph@codesourcery.com>
16596
a68d0680
JM
16597 * conform/conformtest.pl (@headers): Add fenv.h.
16598 * conform/data/fenv.h-data: New file.
16599 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16600 include of <math/fenv.h>.
16601
caf7f573
JM
16602 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16603 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16604 && !UNIX98]. Enables tests for XOPEN2K8.
16605 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16606 POSIX2008]: Likewise.
16607
6c073ad6
JM
16608 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16609 (struct rusage): Do not expect type or its members.
16610
0155d5b2
JM
16611 [BZ #3439]
16612 * math/math.h (FP_NAN): Define macro to integer constant usable in
16613 #if and use that to give value to enum constant.
16614 (FP_INFINITE): Likewise.
16615 (FP_ZERO): Likewise.
16616 (FP_SUBNORMAL): Likewise.
16617 (FP_NORMAL): Likewise.
16618
b5dcacb4
AS
166192012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16620
16621 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16622 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16623 arguments.
16624
f7934be8
RM
166252012-11-02 Roland McGrath <roland@hack.frob.com>
16626
16627 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16628 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16629 autoconf-time if not.
16630 * configure.in: Remove AC_PREREQ.
16631
d7d08bde
TMQMF
166322012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16633
16634 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16635 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16636 of the internal implementation.
16637
dcdae19a
JM
166382012-11-02 Joseph Myers <joseph@codesourcery.com>
16639
16640 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16641 except include of <misc/sys/syslog.h>.
16642
d6cffd3e
AS
166432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16644
16645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16646 function returns with a NULL context exit with zero.
16647
b3563932
TMQMF
166482012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16649
16650 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16651
b288a93d
L
166522012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16653
16654 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16655 (run_program_cmd): This.
16656 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16657 (tst_langinfo): New variable. Use it.
16658
a2421a68
SAS
166592012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16660
16661 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16662 floating point opcodes.
16663
6f796e1b
TS
166642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16665
7402596b
TS
16666 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16667 variable.
16668
d0d4f868
TS
16669 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16670
6f796e1b
TS
16671 * sysdeps/mach/hurd/powerpc: Remove directory.
16672 * sysdeps/mach/powerpc: Likewise.
16673
4da224a2
AS
166742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16675
16676 * scripts/check-local-headers.sh: Ignore c++ headers.
16677
341dd673
TS
166782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16679
16680 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16681 __libc_cleanup_region_start argument.
16682
473611b2
JM
166832012-11-01 Joseph Myers <joseph@codesourcery.com>
16684
16685 [BZ #14784]
16686 [BZ #14785]
16687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16688 x * y using scaling, not as x * y + z.
16689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16691 * math/libm-test.inc (fma_test): Add more tests.
16692 (fma_test_towardzero): Likewise.
16693 (fma_test_downward): Likewise.
16694 (fma_test_upward): Likewise.
16695
4078da3d
TS
166962012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16697
16698 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16699
903252aa
JM
167002012-10-31 Joseph Myers <joseph@codesourcery.com>
16701
16702 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16703 New variable.
16704
cbc818d0
TS
167052012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16706
16707 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16708
5a03cb1e
AS
167092012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16710
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16712 Fix sort order.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16714 Likewise.
16715
90aff2ff
TMQMF
167162012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16717
16718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16719 Fix the order of the list for glibc 2.17.
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16721 Likewise.
16722
1818fcb7
AS
167232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16724
16725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16726
ef82f4da
JM
167272012-10-31 Joseph Myers <joseph@codesourcery.com>
16728
16a0e2ec
JM
16729 [BZ #14610]
16730 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16731 for low part of x being zero before using __atanl (y).
16732 * math/libm-test.inc (atan2_test): Add another test.
16733
0eb69512
JM
16734 * manual/install.texi (Configuring and compiling): Document
16735 general use of test-wrapper and test-wrapper-env.
16736 * INSTALL: Regenerated.
16737
ef82f4da
JM
16738 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16739 (__fma): Do not extract and scale down low bits on after-rounding
16740 systems when result rounded to normal precision would have normal
16741 exponent.
16742 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16743 (__fmal): Do not extract and scale down low bits on after-rounding
16744 systems when result rounded to normal precision would have normal
16745 exponent.
16746 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16747 (__fmal): Do not extract and scale down low bits on after-rounding
16748 systems when result rounded to normal precision would have normal
16749 exponent.
16750 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16751 macro.
16752 (fma_test): Add more tests.
16753 (fma_test_towardzero): Likewise.
16754 (fma_test_downward): Likewise.
16755 (fma_test_upward): Likewise.
16756
954ef0d9
L
167572012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16758
16759 * sysdeps/i386/tininess.h: Renamed to ...
16760 * sysdeps/x86/tininess.h: This.
16761 * sysdeps/x86_64/tininess.h: Removed.
16762
df61ffb2
JM
167632012-10-30 Joseph Myers <joseph@codesourcery.com>
16764
16765 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16766 input. Use $(build-program-cmd).
16767 ($(objpfx)tst-array1-static.out): Likewise.
16768 ($(objpfx)tst-array2.out): Likewise.
16769 ($(objpfx)tst-array3.out): Likewise.
16770 ($(objpfx)tst-array4.out): Likewise.
16771 ($(objpfx)tst-array5.out): Likewise.
16772 ($(objpfx)tst-array5-static.out): Likewise.
16773
01767843
CM
167742012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16775
47cc1490
CM
16776 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16777 if defined.
16778
01767843
CM
16779 * nss/nsswitch.h (nss_interface_function): Provide new
16780 macro for use with NSS functions.
16781 * grp/initgroups.c: Use new macro.
16782 * nss/getXXbyYY.c: Likewise.
16783 * nss/getXXbyYY_r.c: Likewise.
16784 * nss/getXXent.c: Likewise.
16785 * nss/getXXent_r.c: Likewise.
16786 * sysdeps/posix/getaddrinfo.c: Likewise.
16787
8321aa97
AJ
167882012-10-30 Andreas Jaeger <aj@suse.de>
16789
16790 * po/ru.po: Update Russion translation from translation project.
16791
2a27fd6d
JM
167922012-10-30 Joseph Myers <joseph@codesourcery.com>
16793
8627a232
JM
16794 [BZ #14152]
16795 [BZ #14783]
16796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16797 result and shift together with sticky bit instead of replicating
16798 round-to-nearest rounding.
16799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16801 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16802 missing underflow exceptions.
16803 (fma_test_towardzero): Add more tests.
16804 (fma_test_downward): Likewise.
16805 (fma_test_upward): Likewise.
16806
2a27fd6d
JM
16807 [BZ #14047]
16808 * sysdeps/generic/tininess.h: New file.
16809 * sysdeps/i386/tininess.h: Likewise.
16810 * sysdeps/sh/tininess.h: Likewise.
16811 * sysdeps/x86_64/tininess.h: Likewise.
16812 * stdlib/tst-strtod-underflow.c: Likewise.
16813 * stdlib/tst-tininess.c: Likewise.
16814 * stdlib/strtod_l.c: Include <tininess.h>.
16815 (round_and_return): Do not set errno for exact underflow cases.
16816 Force an underflow exception when setting errno for underflow.
16817 Determine underflow based on rounding to normal precision if
16818 TININESS_AFTER_ROUNDING.
16819 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16820 ERANGE for exact underflow cases.
16821 * stdlib/Makefile (tests): Add tst-tininess and
16822 tst-strtod-underflow.
16823 ($(objpfx)tst-tininess): Use $(link-libm).
16824 ($(objpfx)tst-strtod-underflow): Likewise.
16825
e7170363
AJ
168262012-10-30 Andreas Jaeger <aj@suse.de>
16827
e5088dc6
AJ
16828 [BZ#14767]
16829 * elf/Makefile (tests): Remove conditional for have-initfini-array
16830 since this is now always required and the variable does not exist
16831 anymore.
16832 (tests-static): Likewise.
16833 (modules-names): Likewise.
16834
e7170363 16835 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16836
16837 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16838 merged with constructor/destructor.
16839 (init_array): Likewise.
16840 * elf/tst-array2dep.c (fini_array): Likewise.
16841 (init_array): Likewise.
16842
60457d8a
MF
168432012-10-29 Mike Frysinger <vapier@gentoo.org>
16844
16845 * manual/message.texi: Delete @cartouche tags.
16846
8bece752
PT
168472012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16848
94ce799f
PT
16849 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16850 EOPNOTSUPP.
16851 * sysdeps/mach/hurd/fsync.c: Likewise.
16852
8bece752
PT
16853 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16854 [_POSIX_REALTIME_SIGNALS]: Change condition to
16855 [_POSIX_REALTIME_SIGNALS > 0].
16856
86ebe6b1
AJ
168572012-10-27 Andreas Jaeger <aj@suse.de>
16858
16859 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16860 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16862 [__WORDSIZE != 64]: Likewise.
16863
54399c08
L
168642012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16865
16866 * iconvdata/tst-table.sh: Remove ${SHELL}.
16867 * iconvdata/tst-tables.sh: Likewise.
16868
e2211bed
DM
168692012-10-25 David S. Miller <davem@davemloft.net>
16870
16871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16872 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16873 of strtoull.
16874
f303f97c
DM
16875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16876 ifunc-impl-list.c
16877 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16878 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16879 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16880 file.
16881
1e9d84cd
RM
168822012-10-25 Roland McGrath <roland@hack.frob.com>
16883
16884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16885 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16886 __getdirentries.
16887
df381762
JM
168882012-10-25 Joseph Myers <joseph@codesourcery.com>
16889 Jim Blandy <jimb@codesourcery.com>
16890
16891 * scripts/cross-test-ssh.sh: New file.
16892 * manual/install.texi (Configuring and compiling): Document use of
16893 cross-test-ssh.sh.
16894 * INSTALL: Regenerated.
16895
bff64913
PT
168962012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16897
16898 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16899 EOPNOTSUPP.
16900
25fe8932
JM
169012012-10-25 Joseph Myers <joseph@codesourcery.com>
16902
16903 * Makeconfig (run-program-prefix): Fix comment.
16904
cc1290d0
JM
169052012-10-24 Joseph Myers <joseph@codesourcery.com>
16906 Jim Blandy <jimb@codesourcery.com>
16907
16908 * Makeconfig (test-wrapper): New variable,
16909 (test-wrapper-env): Likewise.
16910 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16911 (run-built-tests): Define to yes.
16912 (run-program-prefix): Use $(test-wrapper).
16913 (built-program-cmd): Likewise.
16914 * Rules (make-test-out): Use $(test-wrapper-env) and
16915 $(host-built-program-cmd).
16916 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16917 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16918 tst-pathopt.sh.
16919 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16920 $(test-wrapper-env) to tst-rtld-load-self.sh.
16921 ($(objpfx)order2.out): Use $(test-wrapper).
16922 ($(objpfx)tst-initorder.out): Likewise.
16923 ($(objpfx)tst-initorder2.out): Likewise.
16924 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16925 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16926 (test_wrapper_env): New variable. Use it to run ld.so.
16927 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16928 Use it to run ld.so.
16929 (test_wrapper_env): Likewise.
16930 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16931 $(test-wrapper) to run-iconv-test.sh.
16932 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16933 (ICONV): Use $test_wrapper.
16934 * posix/Makefile ($(objpfx)globtest.out): Pass
16935 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16936 globtest.sh, not $(run-program-prefix).
16937 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16938 (test_wrapper): Likewise.
16939 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16940 set together with run_via_rtld_prefix.
16941 (run_program_prefix): Define in terms of test_wrapper and
16942 run_via_rtld_prefix.
16943
6e6249d0
RM
169442012-10-24 Roland McGrath <roland@hack.frob.com>
16945
16946 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16947 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16948 Targets removed.
16949
16950 [BZ #14743]
16951 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16952 Declare __clock_getres, __clock_gettime, __clock_settime,
16953 __clock_nanosleep, and __clock_getcpuclockid.
16954 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16955 Remove librt_hidden_def (clock_gettime).
16956 * sysdeps/unix/clock_gettime.c: Likewise.
16957 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16959 * rt/clock_getres.c: Define __clock_getres as an alias.
16960 * sysdeps/posix/clock_getres.c: Likewise.
16961 * rt/clock_settime.c: Define __clock_settime as an alias.
16962 * sysdeps/unix/clock_settime.c: Likewise.
16963 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16964 * sysdeps/unix/clock_nanosleep.c: Likewise.
16965 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16966 * rt/clock-compat.c: New file.
16967 * rt/Makefile (librt-routines): Add clock-compat and move
16968 $(clock-routines) to ...
16969 (routines): ... here, new variable.
16970 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16971 Don't add get_clockfreq here.
16972 * rt/Versions (libc: GLIBC_2.17): New version set.
16973 Add clock_* symbols here.
16974 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16975 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16976 (GLIBC_2.17): Add clock_* symbols.
16977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16981 Likewise.
16982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16983 Likewise.
16984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16988 * NEWS: Mention the move.
16989
16990 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16991 Use __open, __read, __close rather than their public counterparts.
16992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16993 (__get_clockfreq_via_cpuinfo): Likewise.
16994 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16995 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16996
16997 * config.h.in (HAVE_IFUNC): New #undef.
16998 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16999 was successful.
17000 * configure: Regenerated.
17001
0cae3f4b
MF
170022012-10-24 Mike Frysinger <vapier@gentoo.org>
17003
17004 * configure.in: Move READELF check to start of file.
17005 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17006 libc_cv_asm_gnu_indirect_function in the process.
17007 * configure: Regenerated.
17008
8175a253
MF
170092012-10-24 Mike Frysinger <vapier@gentoo.org>
17010
17011 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17012 send the output to /dev/null.
17013 (libc_cv_cc_with_libunwind): Likewise.
17014 (libc_cv_as_noexecstack): Likewise.
17015 * configure: Regenerate.
17016
0708a7d1
JM
170172012-10-24 Joseph Myers <joseph@codesourcery.com>
17018
10b40d85
JM
17019 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17020
0708a7d1
JM
17021 * posix/globtest.sh (TMPDIR): Do not set.
17022 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17023 (testout): Likewise.
17024
9fddec1a
AJ
170252012-10-24 Andreas Jaeger <aj@suse.de>
17026
3a8db22f
AJ
17027 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17028 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17029 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17030 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17031 posix_fadvise64, posix_fallocate64.
17032
9fddec1a
AJ
17033 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17034 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17035 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17036 Likewise.
17037 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17038 Likewise.
17039 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17040
17041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17042 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17043 <bits/fcntl-linux.h>.
17044 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17045
17046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17047 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17048 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17049 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17050 [__WORDSIZE != 64]: Likewise.
17051
ebfd1bbd
JM
170522012-10-23 Joseph Myers <joseph@codesourcery.com>
17053
03ac099f
JM
17054 * Makeconfig (run-built-tests): New variable.
17055 * Rules [$(cross-compiling) = yes]: Change condition to
17056 [$(run-built-tests) = no].
17057 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17058 to [$(run-built-tests) = yes].
17059 * elf/Makefile [$(cross-compiling) = no]: Likewise
17060 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17061 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17062 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17063 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17064 * io/Makefile [$(cross-compiling) = no]: Likewise.
17065 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17066 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17067 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17068 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17069 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17070 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17071 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17072 * string/Makefile [$(cross-compiling) = no]: Likewise.
17073
ebfd1bbd
JM
17074 * posix/Makefile ($(objpfx)globtest.out): Pass
17075 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17076 $(rtld-installed-name).
17077 * posix/globtest.sh (elf_objpfx): Remove variable.
17078 (rtld_installed_name): Likewise.
17079 (library_path): Likewise.
17080 (run_program_prefix): New variable. Use for running globtest
17081 binary.
17082
166bca24
JB
170832012-10-23 Jim Blandy <jimb@codesourcery.com>
17084 Joseph Myers <joseph@codesourcery.com>
17085
17086 * Makeconfig (host-built-program-cmd): New variable.
17087 * elf/Makefile (tst-stackguard1-ARGS): Use
17088 $(host-built-program-cmd).
17089 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17090 (tst-spawn-ARGS): Likewise.
17091 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17092
88866099
JM
170932012-10-23 Joseph Myers <joseph@codesourcery.com>
17094 Jim Blandy <jimb@codesourcery.com>
17095
17096 * Makeconfig (run-via-rtld-prefix): New variable.
17097 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17098 (built-program-cmd): Likewise.
17099
b4b4c296
AJ
171002012-10-22 Andreas Jaeger <aj@suse.de>
17101
17102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17103 __O_RSYNC if it exists, otherwise to O_SYNC.
17104
6fb54a22
JB
171052012-10-22 Jim Blandy <jimb@codesourcery.com>
17106 Joseph Myers <joseph@codesourcery.com>
17107
17108 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17109 /dev/null.
17110 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17111 from /dev/null
17112 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17113 /dev/null.
17114
481b90b9
AJ
171152012-10-22 Andreas Jaeger <aj@suse.de>
17116
2a0e2669
AJ
17117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17118 Define always.
17119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17120
76e38f9a
AJ
17121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17122 bits/fcntl-linux.h.
17123
7cd37b43
AJ
17124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17125 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17126
481b90b9
AJ
17127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17128 to __O_LARGEFILE.
17129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17130 to __O_LARGEFILE.
17131
aba75984
JB
171322012-10-21 Jim Blandy <jimb@codesourcery.com>
17133 Joseph Myers <joseph@codesourcery.com>
17134
17135 * config.make.in (NM): New variable.
17136
88d4247f
AJ
171372012-10-21 Andreas Jaeger <aj@suse.de>
17138
17139 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17140 definitions and declarations that are provided by
17141 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17142
f2eed205
L
171432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17144
17145 [BZ #14683]
17146 * elf/Makefile (tests-static): Add tst-leaks1-static.
17147 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17148 ($(objpfx)tst-leaks1-static): New rule.
17149 ($(objpfx)tst-leaks1-static-mem): Likewise.
17150 (tst-leaks1-static-ENV): New macro.
17151 * elf/dl-open.c (dl_open_worker): Check the main application
17152 only if SHARED is defined.
17153 * elf/tst-leaks1-static.c: New file.
17154
335e6931
AJ
171552012-10-20 Andreas Jaeger <aj@suse.de>
17156
17157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17158 generic values for Linux.
17159 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17160 and declarations that are provided by <bits/fcntl-linux.h> and
17161 include <bits/fcntl-linux.h>.
17162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17164
ac5c94d3
RM
171652012-10-20 Roland McGrath <roland@hack.frob.com>
17166
17167 * io/fcntl.h: Move include of <bits/types.h> to the top and
17168 include it unconditionally.
17169
de54b33a
L
171702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17171
228cfb01
L
17172 * wcsmbs/Makefile (tests-ifunc): New variable.
17173 (tests): Add $(tests-ifunc).
17174 * wcsmbs/test-wcschr-ifunc.c: New file.
17175 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17176 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17177 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17178 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17179 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17180
69f07e5f
L
17181 * string/Makefile (tests-ifunc): New variable.
17182 (tests): Add $(tests-ifunc).
17183 * string/test-memccpy.c (TEST_NAME): New macro.
17184 * string/test-memchr.c (TEST_NAME): Likewise.
17185 * string/test-memcmp.c (TEST_NAME): Likewise.
17186 * string/test-memcpy.c (TEST_NAME): Likewise.
17187 * string/test-memmem.c (TEST_NAME): Likewise.
17188 * string/test-memmove.c (TEST_NAME): Likewise.
17189 * string/test-memset.c (TEST_NAME): Likewise.
17190 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17191 * string/test-stpcpy.c (TEST_NAME): Likewise.
17192 * string/test-stpncpy.c (TEST_NAME): Likewise.
17193 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17194 * string/test-strcasestr.c (TEST_NAME): Likewise.
17195 * string/test-strcat.c (TEST_NAME): Likewise.
17196 * string/test-strchr.c (TEST_NAME): Likewise.
17197 * string/test-strcmp.c(TEST_NAME): Likewise.
17198 * string/test-strcpy.c (TEST_NAME): Likewise.
17199 * string/test-strcspn.c (TEST_NAME): Likewise.
17200 * string/test-strlen.c (TEST_NAME): Likewise.
17201 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17202 * string/test-strncmp.c (TEST_NAME): Likewise.
17203 * string/test-strncpy.c (TEST_NAME): Likewise.
17204 * string/test-strnlen.c (TEST_NAME): Likewise.
17205 * string/test-strpbrk.c (TEST_NAME): Likewise.
17206 * string/test-strrchr.c (TEST_NAME): Likewise.
17207 * string/test-strspn.c (TEST_NAME): Likewise.
17208 * string/test-strstr.c (TEST_NAME): Likewise.
17209 * string/test-bcopy-ifunc.c: New file.
17210 * string/test-bzero-ifunc.c: Likewise.
17211 * string/test-memccpy-ifunc.c: Likewise.
17212 * string/test-memchr-ifunc.c: Likewise.
17213 * string/test-memcmp-ifunc.c: Likewise.
17214 * string/test-memcpy-ifunc.c: Likewise.
17215 * string/test-memmem-ifunc.c: Likewise.
17216 * string/test-memmove-ifunc.c: Likewise.
17217 * string/test-mempcpy-ifunc.c: Likewise.
17218 * string/test-memset-ifunc.c: Likewise.
17219 * string/test-rawmemchr-ifunc.c: Likewise.
17220 * string/test-stpcpy-ifunc.c: Likewise.
17221 * string/test-stpncpy-ifunc.c: Likewise.
17222 * string/test-strcasecmp-ifunc.c: Likewise.
17223 * string/test-strcasestr-ifunc.c: Likewise.
17224 * string/test-strcat-ifunc.c: Likewise.
17225 * string/test-strchr-ifunc.c: Likewise.
17226 * string/test-strchrnul-ifunc.c: Likewise.
17227 * string/test-strcmp-ifunc.c: Likewise.
17228 * string/test-strcpy-ifunc.c: Likewise.
17229 * string/test-strcspn-ifunc.c: Likewise.
17230 * string/test-strlen-ifunc.c: Likewise.
17231 * string/test-strncasecmp-ifunc.c: Likewise.
17232 * string/test-strncat-ifunc.c: Likewise.
17233 * string/test-strncmp-ifunc.c: Likewise.
17234 * string/test-strncpy-ifunc.c: Likewise.
17235 * string/test-strnlen-ifunc.c: Likewise.
17236 * string/test-strpbrk-ifunc.c: Likewise.
17237 * string/test-strrchr-ifunc.c: Likewise.
17238 * string/test-strspn-ifunc.c: Likewise.
17239 * string/test-strstr-ifunc.c: Likewise.
17240
de54b33a
L
17241 * debug/Makefile (tests-ifunc): New variable.
17242 (tests): Add $(tests-ifunc).
17243 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17244 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17245 * debug/test-stpcpy_chk-ifunc.c: New file.
17246 * debug/test-strcpy_chk-ifunc.c: Likewise.
17247
88481c16
SP
172482012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17249
17250 [BZ #13601]
17251 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17252 header is not read in.
17253
135948bd
JM
172542012-10-19 Joseph Myers <joseph@codesourcery.com>
17255
89f1c388
JM
17256 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17257 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17258 directly. Pass built executable to script as
17259 $(built-program-cmd).
17260 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17261 $testprogram without using LD_LIBRARY_PATH and $ldso.
17262
e40a0d21
JM
17263 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17264 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17265 $(rtld-installed-name).
17266 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17267 (rtld_installed_name): Likewise.
17268 (library_path): Likewise.
17269 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17270 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17271 $(run-program-prefix) to tst-tables.sh.
17272 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17273 it to run tst-table-from and tst-table-to.
17274 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17275 Pass it to tst-table.sh.
17276 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17277 $(run-program-prefix) to tst-gettext.sh.
17278 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17279 tst-translit.sh.
17280 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17281 tst-gettext2.sh.
17282 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17283 to run tst-gettext.
17284 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17285 to run tst-gettext2.
17286 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17287 to run tst-translit.
17288 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17289 $(run-program-prefix) to tst-mtrace.sh.
17290 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17291 to run tst-mtrace.
17292 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17293 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17294 $(rtld-installed-name).
17295 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17296 (rtld_installed_name): Likewise.
17297 (run_program_prefix): New variable. Use it to run wordexp-test.
17298
728e272a
JM
17299 * Makeconfig (ARCH): Remove all definitions.
17300 (machine): Likewise.
17301 [ARCH]: Remove conditional code.
17302 [!objdir]: Give error.
17303 [!objdir] (objpfx): Remove.
17304 [!objdir] (common-objpfx): Likewise.
17305 [!objdir] (common-objdir): Likewise.
17306 * configure.in (config_makefile): Remove. Hardcode Makefile in
17307 AC_CONFIG_FILES call.
17308 * configure: Regenerated.
17309
d528cdcf
JM
17310 [BZ #13888]
17311 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17312 or TMPDIR.
17313 (testout): Likewise.
17314
135948bd
JM
17315 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17316 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17317 $(rtld-installed-name).
17318 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17319 (rtld_installed_name): Likwise.
17320 (runit): Remove function.
17321 (run_getconf): New variable, Use it for running getconf binary.
17322
38c78296
L
173232012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17324
17325 [BZ #14716]
17326 * string/test-memmem.c (check_result): New function.
17327 (do_one_test): Use it.
17328 (check1): New function.
17329 (test_main): Use it.
17330
d077f65f
MT
173312012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17332
17333 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17334
ced52c71
JM
173352012-10-18 Joseph Myers <joseph@codesourcery.com>
17336
17337 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17338 (_G_LSEEK64): Likewise.
17339 (_G_MMAP64): Likewise.
17340 (_G_FSTAT64): Likewise.
17341 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17342 (_G_LSEEK64): Likewise.
17343 (_G_MMAP64): Likewise.
17344 (_G_FSTAT64): Likewise.
17345 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17346 unconditional. Call __mmap64 directly.
17347 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17348 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17349 __lseek64 directly.
17350 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17351 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17352 __mmap64 directly.
17353 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17354 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17355 __lseek64 directly.
17356 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17357 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17358 __lseek64 directly.
17359 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17360 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17361 __lseek64 directly.
17362 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17363 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17364 __fxstat64 directly.
17365 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17366 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17367 unconditional.
17368 (freopen64) [!_G_OPEN64]: Remove conditional code.
17369 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17370 unconditional.
17371 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17372 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17373 unconditional.
17374 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17375 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17376 unconditional.
17377 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17378 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17379 unconditional.
17380 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17381 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17382 unconditional.
17383 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17384 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17385 unconditional.
17386 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17387 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17388 unconditional.
17389 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17390
b741de23
SP
173912012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17392
17393 [BZ #12140]
17394 * manual/memory.texi (Malloc Tunable Parameters): Add note
17395 about free list pointers overwriting some perturb bytes.
17396 Wording suggested by Roland McGrath.
17397
f9b9d9c9
JM
173982012-10-17 Joseph Myers <joseph@codesourcery.com>
17399
17400 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17401 (lgamma_test): Likewise.
17402 (tgamma_test): Likewise.
17403
172a631a
FW
174042012-10-16 Florian Weimer <fweimer@redhat.com>
17405
17406 [BZ #14700]
17407 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17408 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17409
e9f37252
MK
174102012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17411
17412 * NEWS: Mention BZ #14716.
17413 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17414 when removing AVAILABLE1_USES_J macro.
17415
d394eb74
L
174162012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17417
17418 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17419 (__bswap_64): __uint64_t for unsigned 64-bit int.
17420
ca38dc17
AS
174212012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17422
17423 * include/string.h (memmem): Declare libc hidden alias.
17424 * string/memmem.c (memmem): Define libc hidden alias.
17425 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17426 __read, __close instead of open, read, close.
17427
9a387d1f
L
174282012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17429
ac49ecaf
L
17430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17431 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17432 global and hidden.
17433 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17434 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17435 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17436 Likewise.
17437 (__rawmemchr_sse2): Likewise.
17438 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17439 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17440 (__strchr_sse2): Likewise.
17441 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17442 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17443 (__strcasecmp_sse2): Likewise.
17444 (__strncasecmp_sse2): Likewise.
17445 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17446 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17447 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17448 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17449 (__strrchr_sse2): Likewise.
17450 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17451 ifunc-impl-list.c.
17452 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17453 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17454 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17455 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17456 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17457 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17458 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17459 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17460 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17461 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17462 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17463 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17464 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17465 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17466 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17467 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17468 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17469 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17470 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17471 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17472 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17473 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17474 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17475 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17476 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17478 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17479 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17480 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17481 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17482
b090e8ea
L
17483 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17484 global and hidden.
17485 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17486 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17487 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17488 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17489 Likewise.
17490 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17491 Likewise.
17492 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17493 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17494 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17495 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17496 ifunc-impl-list.c.
17497 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17498 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17499 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17500 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17501 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17502 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17503 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17504 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17505 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17506 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17507 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17508 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17509 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17510 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17511 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17513 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17514 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17515 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17516 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17517 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17518 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17519 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17520 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17521 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17522 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17523 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17524 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17525 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17526 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17527 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17528 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17529 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17530 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17531 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17532 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17533 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17534 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17535 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17536 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17537 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17538
11dd4af6
L
17539 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17540 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17541 * include/ifunc-impl-list.h: New file.
17542 * misc/ifunc-impl-list.c: Likewise.
17543 * misc/Makefile (routines): Add ifunc-impl-list.
17544 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17545 * string/test-string.h: Include <ifunc-impl-list.h>.
17546 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17547 impl_array): New variables.
17548 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17549 are defined.
17550 (test_init): Call __libc_ifunc_impl_list to initialize
17551 func_list if TEST_IFUNC and TEST_NAME are defined.
17552
9a387d1f
L
17553 * string/Makefile (strop-tests): Add bcopy and bzero.
17554 * string/test-bcopy.c: New file.
17555 * string/test-bzero.c: Likewise.
17556 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17557 defined.
17558 * string/test-memset.c: Support bzero test if TEST_BZERO is
17559 defined.
17560 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17561 __libc_memmove.
17562 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17563 __libc_memset.
17564 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17565 of memset.
17566
472371b9
JM
175672012-10-10 Joseph Myers <joseph@codesourcery.com>
17568
1e4a9536
JM
17569 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17570 * configure: Regenerated.
17571
d173d12e
JM
17572 * Makeconfig (+link-static-before-libc): Don't include
17573 $(link-static-libc).
17574
472371b9
JM
17575 * libio/libio.h (_IO_pos_t): Remove.
17576
89a3ad0b
AO
175772012-10-10 Alexandre Oliva <aoliva@redhat.com>
17578
17579 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17580 McGrath.
17581
e7451425
AO
175822012-10-10 Alexandre Oliva <aoliva@redhat.com>
17583
17584 * crypt/crypt-entry.c: Include fips-private.h.
17585 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17586 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17587 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17588 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17589
4ba74a35
AO
175902012-10-10 Alexandre Oliva <aoliva@redhat.com>
17591
17592 * crypt/crypt-private.h: Include stdbool.h.
17593 (_ufc_setup_salt_r): Return bool.
17594 * crypt/crypt-entry.c: Include errno.h.
17595 (__crypt_r): Return NULL with EINVAL for bad salt.
17596 * crypt/crypt_util.c (bad_for_salt): New.
17597 (_ufc_setup_salt_r): Check that salt is long enough and within
17598 the specified alphabet.
17599 * crypt/badsalttest.c: New file.
17600 * crypt/Makefile (tests): Add it.
17601 ($(objpfx)badsalttest): New.
17602
f96f1242
MK
176032012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17604
17605 * NEWS: Add entry for BZ #14602.
17606
0e8e0c1c
JM
176072012-10-09 Joseph Myers <joseph@codesourcery.com>
17608
17609 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17610 type-generic.
17611 * math/libm-test.inc: Update comment listing what functions and
17612 macros are tested.
17613 (isgreater_test): New function.
17614 (isgreaterequal_test): Likewise.
17615 (isless_test): Likewise.
17616 (islessequal_test): Likewise.
17617 (islessgreater_test): Likewise.
17618 (isunordered_test): Likewise.
17619 (main): Call the new functions.
17620
273edc5e
RM
176212012-10-09 Roland McGrath <roland@hack.frob.com>
17622
b8493de0
RM
17623 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17624 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17625 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17626 * sysdeps/i386/configure: Regenerated.
17627 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17628 * sysdeps/mach/configure: Regenerated.
17629 * sysdeps/mach/hurd/configure: Regenerated.
17630 * sysdeps/powerpc/configure: Regenerated.
17631 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17632 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17633 * sysdeps/s390/s390-32/configure: Regenerated.
17634 * sysdeps/s390/s390-64/configure: Regenerated.
17635 * sysdeps/sh/configure: Regenerated.
17636 * sysdeps/sparc/configure: Regenerated.
17637 * sysdeps/unix/sysv/linux/configure: Regenerated.
17638 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17639 * sysdeps/x86_64/configure: Regenerated.
17640
273edc5e
RM
17641 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17642 defined. Don't check if MAP is NULL.
17643
c8450f70
JM
176442012-10-09 Joseph Myers <joseph@codesourcery.com>
17645
17646 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17647 (_G_stat64): Likewise.
17648 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17649 (_G_stat64): Likewise.
17650 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17651 instead of struct _G_stat64.
17652 * libio/fileops.c (mmap_remap_check): Likewise.
17653 (decide_maybe_mmap): Likewise.
17654 (_IO_new_file_seekoff): Likewise.
17655 (_IO_file_stat): Likewise.
17656 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17657 _G_off64_t.
17658 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17659 instead of struct _G_stat64.
17660 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17661
57e605ba
MK
176622012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17663
17664 [BZ #14602]
17665 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17666 Replace with ...
17667 (CHECK_EOL): New macro.
17668 (two_way_short_needle): Check beginning of haystack for EOL. Use
17669 CHECK_EOL.
17670 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17671 Replace with CHECK_EOL.
17672 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17673 Replace with CHECK_EOL.
17674
ef1bb361
JM
176752012-10-08 Joseph Myers <joseph@codesourcery.com>
17676
17677 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17678 type-generic.
17679 * math/libm-test.inc: Update comment listing what functions and
17680 macros are tested.
17681 (finite_test): New function.
17682 (isinf_test): Likewise.
17683 (isnan_test): Likewise.
17684 (fpclassify_test): Test subnormal input.
17685 (isfinite_test): Likewise.
17686 (isnormal_test): Likewise.
17687 (main): Call the new functions.
17688
55f11534
JN
176892012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17690
17691 [BZ #14660]
17692 * Makerules (%.dynsym): Force C locale when running
17693 $(OBJDUMP) --dynamic-syms.
17694
1ab29350
AS
176952012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17696
17697 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17698 <stdint.h>.
17699
f1ecb7ef
DM
177002012-10-06 David S. Miller <davem@davemloft.net>
17701
17702 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17703 upper 32-bits of the length value in %o2 since we use branch-on-register
17704 tests which consider the entire 64-bit register.
17705
5d41d91a
L
177062012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17707
17708 * string/test-strstr.c (check2): Add a test for page boundary.
17709
3baddb72
DM
177102012-10-05 David S. Miller <davem@davemloft.net>
17711
17712 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17713 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17714 file.
17715 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17716 sysdep_routines.
17717 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17718 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17719 and bzero when HWCAP_SPARC_CRYPTO is present.
17720
9cee5585
L
177212012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17722
d7e0dab9
L
17723 [BZ #14602]
17724 * string/test-strstr.c (check2): New function.
17725 (test_main): Call check2.
17726
03759f47
L
17727 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17728 and bug-strchr1.
17729 * string/bug-strcasestr1.c (do_test): Moved to ...
17730 * string/test-strcasestr.c (check1): Here. New function.
17731 (do_one_test): Break out result checking code into ...
17732 (check_result): This. New function.
17733 (do_one_test): Call check_result.
17734 (test_main): Call check1.
17735 * string/bug-strchr1.c (do_test): Moved to ...
17736 * string/test-strchr.c (check1): Here. New function.
17737 (do_one_test): Break out result checking code into ...
17738 (check_result): This. New function.
17739 (do_one_test): Call check_result.
17740 (test_main): Call check1.
17741 * string/bug-strstr1.c (main): Moved to ...
046f153e 17742 * string/test-strstr.c (check1): Here. New function.
03759f47
L
17743 (do_one_test): Break out result checking code into ...
17744 (check_result): This. New function.
17745 (do_one_test): Call check_result.
17746 (test_main): Call check1.
17747 * string/bug-strcasestr1.c: Removed.
17748 * string/bug-strchr1.c: Likewise.
17749 * string/bug-strstr1.c: Likewise.
17750
53cea63e
L
17751 * elf/Makefile (dl-routines): Add hwcaps.
17752 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17753 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17754 (_dl_important_hwcaps): Moved to ...
17755 * elf/dl-hwcaps.c: Here. New file.
17756 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17757
9cee5585 17758 [BZ #14557]
bb859b06
L
17759 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17760 if IS_IN_rtld isn't defined.
17761
9cee5585
L
17762 * elf/dl-support.c (_dl_sysinfo_map): New.
17763 Include "get-dynamic-info.h" and "setup-vdso.h".
17764 (_dl_non_dynamic_init): Call setup_vdso.
17765 * elf/dynamic-link.h: Don't include <assert.h>.
17766 (elf_get_dynamic_info): Moved to ...
17767 * elf/get-dynamic-info.h: Here. New file.
17768 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17769 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17770 * elf/setup-vdso.h: Here. New file.
17771 * elf/rtld.c: Include "setup-vdso.h".
17772 (dl_main): Call setup_vdso.
17773
23c31b76
JM
177742012-10-05 Joseph Myers <joseph@codesourcery.com>
17775
28234b07
JM
17776 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17777 creal in comment listing functions tested. List finite, isinf,
17778 isnan, isless, islessequal, isgreater, isgreaterequal,
17779 islessgreater, isunordered, lgamma_r and pow10 as functions and
17780 macros not tested. Mention which functions not tested are aliases
17781 for other functions. Fix typo. Note that signs of NaNs are not
17782 tested.
17783
23c31b76
JM
17784 * scripts/config.guess: Update from config.git.
17785 * scripts/config.sub: Likewise.
17786
9043e228
RM
177872012-10-04 Roland McGrath <roland@hack.frob.com>
17788
17789 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17790 * misc/madvise.c (madvise): Renamed to __madvise.
17791 Make madvise a weak alias.
17792 * include/sys/mman.h: Declare __madvise.
17793 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17794 * sysdeps/unix/syscalls.list
17795 (madvise): Make __madvise the strong name, and madvise a weak alias.
17796 * sysdeps/unix/sysv/linux/syscalls.list
17797 (madvise, mmap): Remove redundant entries.
17798 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17799 * malloc/malloc.c (mtrim): Likewise.
17800 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17801
f57f8055
RM
178022012-10-03 Roland McGrath <roland@hack.frob.com>
17803
17804 * sysdeps/mach/hurd/dl-cache.c: File removed.
17805 * config.h.in (USE_LDCONFIG): New #undef.
17806 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17807 * configure: Regenerated.
17808 * elf/Makefile (dl-routines): Add dl-cache only under
17809 [$(use-ldconfig) = yes].
17810 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17811 cache on [USE_LDCONFIG].
17812 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17813 [USE_LDCONFIG].
17814 * elf/rtld.c (dl_main): Likewise.
17815
5bb0c10a
PT
178162012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17817
17818 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17819 _SC_LEVEL4_CACHE_LINESIZE.
17820
010188c6
RM
178212012-10-03 Roland McGrath <roland@hack.frob.com>
17822
17823 * sysdeps/unix/bsd/confstr.h: File removed.
17824
b6c5ec07
AO
178252012-10-02 Alexandre Oliva <aoliva@redhat.com>
17826
17827 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17828 sys/sdt-config.h.
17829
408223d4
RM
178302012-10-02 Roland McGrath <roland@hack.frob.com>
17831
17832 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17833 Make 'mapoff' field ElfW(Off) rather than off_t.
17834
bb9510dc
DL
178352012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17836
fc997c6e
DL
17837 * nscd/Makefile: Remove nscd-cflags and all its users.
17838 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17839 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17840
bb9510dc
DL
17841 [BZ #10631]
17842 * malloc.c (malloc_printerr): Clarify error message.
17843
05699367
L
178442012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17845
17846 [BZ #14648]
17847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17848 Set bit_FMA_Usable if FMA is supported.
17849 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17850 macro.
17851 (bit_FMA4_Usable): Updated.
17852 (index_FMA_Usable): New macro.
17853 (CPUID_FMA): Likewise
17854 (HAS_FMA): Defined with bit_FMA_Usable.
17855
51367701
RM
178562012-10-01 Roland McGrath <roland@hack.frob.com>
17857
17858 * bits/types.h (__swblk_t): Type removed.
17859 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17860 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17862 (__SWBLK_T_TYPE): Likewise.
17863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17864 (__SWBLK_T_TYPE): Likewise.
17865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17866 (__SWBLK_T_TYPE): Likewise.
17867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17868 (__SWBLK_T_TYPE): Likewise.
17869
4d57bf63 178702012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17871 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17872
17873 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17874 (xdr_mapname): Use YPMAXMAP as maxsize.
17875 (xdr_peername): Use YPMAXPEER as maxsize.
17876 (xdr_keydat): Use YPAXRECORD as maxsize.
17877 (xdr_valdat): Use YPMAXRECORD as maxsize.
17878
93c65d43
RM
178792012-10-01 Roland McGrath <roland@hack.frob.com>
17880
497a03d6
RM
17881 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17882
93c65d43
RM
17883 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17884 * csu/init-first.c: ... here.
17885 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17886 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17887 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17888 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17889 * sysdeps/i386/init-first.c: File removed.
17890 * sysdeps/sh/init-first.c: File removed.
17891
bec749fd
JM
178922012-10-01 Joseph Myers <joseph@codesourcery.com>
17893
17894 [BZ #14645]
17895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17896 if x * y might underflow to zero and z is zero.
17897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17899 * math/libm-test.inc (min_subnorm_value): New variable.
17900 (fma_test): Add more tests.
17901 (fma_test_towardzero): Likewise.
17902 (fma_test_downward): Likewise
17903 (fma_test_upward): Likewise.
17904 (initialize): Set min_subnorm_value.
17905
8ec5b013
JM
179062012-09-29 Joseph Myers <joseph@codesourcery.com>
17907
17908 [BZ #14638]
17909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17910 0 + 0.
17911 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17912 mode for addition resulting in exact zero.
17913 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17914 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17915 exact 0 + 0.
17916 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17918 * math/libm-test.inc (fma_test): Add more tests.
17919 (fma_test_towardzero): New function.
17920 (fma_test_downward): Likewise.
17921 (fma_test_upward): Likewise.
17922 (main): Call the new functions.
17923
b1fa802e
DM
179242012-09-28 David S. Miller <davem@davemloft.net>
17925
17926 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17927
d3b9fd9e
RM
179282012-09-28 Roland McGrath <roland@hack.frob.com>
17929
ea4d37b3
RM
17930 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17931 instead of SIGALRM.
17932
ac51c949
RM
17933 * sysdeps/gnu/_G_config.h: Moved to ...
17934 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17935 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17936 * sysdeps/generic/_G_config.h: ... here.
17937
28c195f7
RM
17938 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17939
848917f9
RM
17940 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17941
6bacf05b
RM
17942 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17943 Conditionalize target on [libnss_test1.so-version].
17944
91363dbb
RM
17945 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17946
cc87f7d8
RM
17947 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17948 (elfobjdir): Move out of conditionals.
17949
b1c608fe
RM
17950 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17951 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17952 (__nss_lookup_function): Conditionalize label remove_from_tree on
17953 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17954
1d9a6d96
DM
179552012-09-28 David S. Miller <davem@davemloft.net>
17956
17957 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17958 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17959 file.
17960 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17961 sysdep_routines.
17962 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17964 when HWCAP_SPARC_CRYPTO is present.
17965
72581615
PT
179662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17967
17968 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17969
715a900c
JL
179702012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17971
17972 [BZ #6530]
17973 * stdio-common/vfprintf.c (process_string_arg): Revert
17974 2000-07-22 change.
17975
179762011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17977
17978 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17979 for testcase.
17980 * stdio-common/tst-sprintf.c: Include <locale.h>
17981 (main): Test sprintf's handling of incomplete multibyte
17982 characters.
17983
9bac1d86
L
179842012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17985
17986 * elf/dl-runtime.c (VERSYMIDX): Removed.
17987 * elf/dl-version.c (VERSYMIDX): Likewise.
17988 * elf/do-rel.h (VERSYMIDX): Likewise.
17989 (VALIDX): Likewise.
17990 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17991 * elf/rtld.c (VALIDX): Likewise.
17992 (ADDRIDX): Likewise.
9bac1d86
L
17993 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17994 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17995 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17996 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17997 (VALIDX): Likewise.
17998 (ADDRIDX): Likewise.
9bac1d86 17999
b31606c0
PT
180002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18001
18002 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18003
11541177
JL
180042012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18005
18006 [BZ #11438]
18007 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18008 to global scope.
18009 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18010 addresses are in the same scope as 192.0.2/24.
18011 * posix/gai.conf: Document new scope table defaults.
18012
adb26fae
SP
180132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18014
18015 [BZ #5298]
18016 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18017 for ftell. Compute offsets from write pointers instead.
18018 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18019
4573c6b0
SP
180202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18021
18022 [BZ #14543]
18023 * libio/Makefile (tests): New test case tst-fseek.
18024 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18025 combination works in wide mode.
18026 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18027 state when the external buffer state changes.
18028
aa9bbfe6
DM
180292012-09-27 David S. Miller <davem@davemloft.net>
18030
18031 [BZ #14376]
18032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18033 pass reloc->r_addend in as the 'high' argument to
18034 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18035
784421e7
DM
18036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18037
c39bc8b8
PT
180382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18039
18040 * rt/tst-aio2.c: Include <pthread.h>.
18041 * rt/tst-aio3.c: Likewise.
18042
1ccc2399
SE
180432012-09-27 Steve Ellcey <sellcey@mips.com>
18044
18045 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18046
31ed4153
L
180472012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18048
25f5f885
L
18049 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18050 contents on [SHARED].
31ed4153 18051
b7bfe116
MP
180522012-09-26 Marek Polacek <polacek@redhat.com>
18053
18054 [BZ #14530]
18055 [BZ #13741]
18056 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18057 for C++ and GCC <4.3 as well as for non GCC compilers.
18058
43c4edba
MT
180592012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18060
18061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18062
6a1bf82f
RM
180632012-09-25 Roland McGrath <roland@hack.frob.com>
18064
18065 * Makefile.in (all, install): Declare with .PHONY.
18066 Reported by Michael Hope <michael.hope@linaro.org>.
18067
8ad11b9a
TMQMF
180682012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18069
18070 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18071 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18072 system header.
18073 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18074 Likewise.
18075 (sydep_routines): Add the new and the internal functions.
18076 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18077 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18079 (GLIBC_2.17): Add the new function.
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18081 (GLIBC_2.17): Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18083 (GLIBC_2.17): Likewise.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18085 (GLIBC_2.17): Likewise.
18086 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18087
7e2fca8d
AM
180882012-09-25 Alan Modra <amodra@gmail.com>
18089
18090 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18091 Add release barrier before setting once_control to say
18092 initialisation is done. Add hints on lwarx. Use macro in
18093 place of isync.
18094 (clear_once_control): Add release barrier.
18095
b87c4b24
JM
180962012-09-25 Joseph Myers <joseph@codesourcery.com>
18097
d032e0d2
JM
18098 [BZ #13629]
18099 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18100 specially.
18101 * math/s_clog10.c (__clog10): Likewise.
18102 * math/s_clog10f.c (__clog10f): Likewise.
18103 * math/s_clog10l.c (__clog10l): Likewise.
18104 * math/s_clogf.c (__clogf): Likewise.
18105 * math/s_clogl.c (__clogl): Likewise.
18106 * math/Makefile (libm-calls): Add x2y2m1.
18107 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18108 (__x2y2m1): Likewise.
18109 (__x2y2m1l): Likewise.
18110 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18111 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18115 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18116 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18117 * sysdeps/i386/fpu/libm-test-ulps: Update.
18118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18119
b87c4b24
JM
18120 [BZ #14621]
18121 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18122 int as type of variable DEPTH.
18123 (glob): Use size_t instead of int as type of variables NEWCOUNT
18124 and OLD_PATHC.
18125
6d3bf199
LD
181262012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18127
22bf5c17
LD
18128 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18129 Add s_sincosf-sse2.
18130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18131 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18132 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18133 macros for using routine as __sincosf_ia32.
18134 Use macro for function declaration and weak_alias.
18135 * sysdeps/i386/fpu/libm-test-ulps: Update.
18136
18137 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18139
18140 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18141 subnormal argument.
18142 * math/s_cexpf.c (__cexpf): Likewise.
18143 * math/s_csinf.c (__csinf): Likewise.
18144 * math/s_csinhf.c (__csinhf): Likewise.
18145 * math/s_ctanf.c (__ctanf): Likewise.
18146 * math/s_ctanhf.c (__ctanhf): Likewise.
18147 * math/s_ccosh.c (__ccoshf): Likewise.
18148 * math/s_cexp.c (__cexpl): Likewise.
18149 * math/s_csin.c (__csin): Likewise.
18150 * math/s_csinh.c (__csinh): Likewise.
18151 * math/s_ctan.c (__ctan): Likewise.
18152 * math/s_ctanh.c (ctanh): Likewise.
18153 * math/s_ccoshl.c (__ccoshl): Likewise.
18154 * math/s_cexpl.c (__cexpl): Likewise.
18155 * math/s_csinl.c (__csinl): Likewise.
18156 * math/s_csinhl.c (__csinhl): Likewise.
18157 * math/s_ctanl.c (__ctanl): Likewise.
18158 * math/s_ctanhl.c (__ctanhl): Likewise.
18159
203e5603
JM
181602012-09-25 Joseph Myers <joseph@codesourcery.com>
18161
18162 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18163 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18164 (_IO_off_t): Define to __off_t, not _G_off_t.
18165 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18166 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18167 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18168 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18169 type of __dummy and __dummy2 fields.
18170 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18171 (_G_ssize_t): Likewise.
18172 (_G_off_t): Likewise.
18173 (_G_pid_t): Likewise.
18174 (_G_uid_t): Likewise.
18175 (_G_wchar_t): Likewise.
18176 (_G_wint_t): Likewise.
18177 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18178 (_G_ssize_t): Likewise.
18179 (_G_off_t): Likewise.
18180 (_G_pid_t): Likewise.
18181 (_G_uid_t): Likewise.
18182 (_G_wchar_t): Likewise.
18183 (_G_wint_t): Likewise.
18184 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18185 (_G_ssize_t): Likewise.
18186 (_G_off_t): Likewise.
18187 (_G_pid_t): Likewise.
18188 (_G_uid_t): Likewise.
18189 (_G_wchar_t): Likewise.
18190 (_G_wint_t): Likewise.
18191
9fab36eb
SP
181922012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18193
18194 * malloc/arena.c: Include malloc-sysdep.h.
18195 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18196 is sufficient to shrink the heap or an unmap is needed.
18197 * sysdeps/generic/malloc-sysdep.h: New file. Define
18198 new function check_may_shrink_heap.
18199 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18200 new function check_may_shrink_heap.
18201
2b4f00d1
SP
182022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18203
18204 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18205 comments.
18206
9a9028b1
DL
182072012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18208
57c69bef
DL
18209 * catgets/test-gencat.sh: Add "set -e".
18210 * elf/tst-pathopt.sh: Likewise.
18211 * grp/tst_fgetgrent.sh: Likewise.
18212 * iconvdata/run-iconv-test.sh: Likewise.
18213 * intl/tst-gettext.sh: Likewise.
18214 * intl/tst-gettext2.sh: Likewise.
18215 * intl/tst-gettext4.sh: Likewise.
18216 * intl/tst-gettext6.sh: Likewise.
18217 * intl/tst-translit.sh: Likewise.
18218 * io/ftwtest-sh: Likewise.
18219 * libio/test-freopen.sh: Likewise.
18220 * malloc/tst-mtrace.sh: Likewise.
18221 * posix/globtest.sh: Likewise.
18222 * posix/tst-getconf.sh: Likewise.
18223 * posix/wordexp-tst.sh: Likewise.
18224 * stdio-common/tst-printf.sh: Likewise.
18225 * stdio-common/tst-unbputc.sh: Likewise.
18226 * stdlib/tst-fmtmsg.sh: Likewise.
18227 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18228 * catgets/Makefile: Do not specify -e option when running
18229 testsuite shell scripts.
18230 * elf/Makefile: Likewise.
18231 * grp/Makefile: Likewise.
18232 * iconvdata/Makefile: Likewise.
18233 * intl/Makefile: Likewise.
18234 * io/Makefile: Likewise.
18235 * libio/Makefile: Likewise.
18236 * malloc/Makefile: Likewise.
18237 * posix/Makefile: Likewise.
18238 * stdio-common/Makefile: Likewise.
18239 * stdlib/Makefile: Likewise.
18240 * sysdeps/x86_64/Makefile: Likewise.
18241
9a9028b1
DL
18242 * io/ftwtest-sh: Add copyright header.
18243 * posix/globtest.sh: Likewise.
18244 * posix/tst-getconf.sh: Likewise.
18245 * posix/wordexp-tst.sh: Likewise.
18246 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18247
ced6f16e
L
182482012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18249
94b32c39
L
18250 [BZ #13679]
18251 * Makeconfig (+link): Defined as $(+link-static) if
18252 $(build-shared) isn't yes.
18253 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18254 isn't yes.
18255 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18256
189e935b
L
18257 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18258
ced6f16e
L
18259 [BZ #14562]
18260 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18261 new chunk size with MALLOC_ALIGN_MASK.
18262
a9f8e53a
JM
182632012-09-24 Joseph Myers <joseph@codesourcery.com>
18264
18265 [BZ #5044]
18266 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18267 <rounding-mode.h>.
18268 (__printf_fphex): Determine rounding using get_rounding_mode and
18269 round_away.
18270 * stdio-common/tst-printf-round.c (struct hex_test): New
18271 structure.
18272 (hex_tests): New variable.
18273 (test_hex_in_one_mode): New function.
18274 (do_test): Also run tests for hex float output.
18275
43153109
JM
182762012-09-21 Joseph Myers <joseph@codesourcery.com>
18277
18278 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18279 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18280 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18281 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18282 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18283 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18284 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18285 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18286
8a26625d
JM
182872012-09-20 Joseph Myers <joseph@codesourcery.com>
18288
18289 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18290 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18291 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18292 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18293
f3fd569c
DL
182942012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18295
18296 [BZ #14579]
18297 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18298 mode only.
18299 * elf/tst-rtld-load-self.sh: New test.
18300 * elf/Makefile: Run it.
18301
63bbedd4
JM
183022012-09-18 Joseph Myers <joseph@codesourcery.com>
18303
18304 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18305 (tst-writev-ENV): Remove.
18306 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18307
626f8b6a
CM
183082012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18309
18310 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18311
b7aaa4d6
JM
183122012-09-17 Joseph Myers <joseph@codesourcery.com>
18313
18314 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18315 unconditional.
18316 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18317 Likewise.
18318 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18319 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18320 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18321 Likewise.
18322
65513990
L
183232012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18324
18325 [BZ #14587]
18326 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18327 * config.make.in (have-cpp-asm-debuginfo): Removed.
18328 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18329 * configure: Regenerated.
18330
784761be
JM
183312012-09-14 Joseph Myers <joseph@codesourcery.com>
18332
18333 [BZ #5044]
18334 * stdio-common/printf_fp.c: Include <stdbool.h> and
18335 <rounding-mode.h>.
18336 (___printf_fp): Determine rounding using get_rounding_mode and
18337 round_away.
18338 * stdio-common/tst-printf-round.c: New file.
18339 * stdio-common/Makefile (tests): Add tst-printf-round.
18340 (link-libm): New variable.
18341 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18342
9503345f
L
183432012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18344
18345 [BZ #14576]
18346 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18347 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18348 Likewise.
18349 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18350 Likewise.
18351
ad35fc00
JM
183522012-09-13 Joseph Myers <joseph@codesourcery.com>
18353
18354 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18355 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18356 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18357 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18358
6c9b0f68
JM
183592012-09-12 Joseph Myers <joseph@codesourcery.com>
18360
18361 [BZ #14518]
18362 * include/rounding-mode.h: New file.
18363 * sysdeps/generic/get-rounding-mode.h: Likewise.
18364 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18365 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18366 (MAX_VALUE): New macro.
18367 (MIN_VALUE): Likewise.
18368 (overflow_value): New function.
18369 (underflow_value): Likewise.
18370 (round_and_return): Use overflow_value and underflow_value to
18371 determine return values in overflow and underflow cases. Use
18372 round_away to determine rounding depending on rounding mode.
18373 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18374 determine return values in overflow and underflow cases.
18375 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18376 (struct test_results): New structure.
18377 (struct test): Use struct test_results to store expected results
18378 for all rounding modes.
18379 (TEST): Include expected results for all rounding modes.
18380 (test_in_one_mode): New function.
18381 (do_test): Use test_in_one_mode to compute and check results.
18382 Check results for all rounding modes.
18383 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18384 $(link-libm).
18385
19fcedd5
AM
183862012-12-09 Allan McRae <allan@archlinux.org>
18387
1e9d84cd 18388 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18389
8bbfd2f1
JM
183902012-09-11 Joseph Myers <joseph@codesourcery.com>
18391
18392 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18393 (_G_int32_t): Likewise.
18394 (_G_uint16_t): Likewise.
18395 (_G_uint32_t): Likewise.
18396 (_G_HAVE_BOOL): Likewise.
18397 (_G_HAVE_ATEXIT): Likewise.
18398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18399 (_G_HAVE_IO_FILE_OPEN): Likewise.
18400 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18401 (_G_int32_t): Likewise.
18402 (_G_uint16_t): Likewise.
18403 (_G_uint32_t): Likewise.
18404 (_G_HAVE_BOOL): Likewise.
18405 (_G_HAVE_ATEXIT): Likewise.
18406 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18407 (_G_HAVE_IO_FILE_OPEN): Likewise.
18408 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18409 (_G_int32_t): Likewise.
18410 (_G_uint16_t): Likewise.
18411 (_G_uint32_t): Likewise.
18412 (_G_HAVE_BOOL): Likewise.
18413 (_G_HAVE_ATEXIT): Likewise.
18414 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18415 (_G_HAVE_IO_FILE_OPEN): Likewise.
18416
b1dc5912
L
184172012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18418
18419 * csu/libc-tls.c: Update copyright years.
18420
0e886ef9
JM
184212012-09-10 Joseph Myers <joseph@codesourcery.com>
18422
28361c5e
JM
18423 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18424 [!_G_USING_THUNKS]: Remove conditional code.
18425 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18426 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18427
0e886ef9
JM
18428 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18429 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18430 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18431 (_G_VTABLE_LABEL_PREFIX): Likewise.
18432 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18433 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18434 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18435 (_G_VTABLE_LABEL_PREFIX): Likewise.
18436 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18437 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18438 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18439 (_G_VTABLE_LABEL_PREFIX): Likewise.
18440 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18441
bcba7aa2
L
184422012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18443
18444 * libio/Makefile: Include ../Makeconfig before tests.
18445 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18446 only if $(build-shared) is yes.
18447
06585ee8
L
18448 * iconv/gconv_db.c: Update copyright years.
18449
80ccd52c
LD
184502012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18451
18452 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18453 unwind info if defined PIC. Fix special cases description.
18454 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18455
18456 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18457 DP_HI_MASK entry.
18458 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18459
691bc9c1
L
184602012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18461
3d9b46b3
L
18462 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18463
de2139a9
L
18464 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18465 is NULL.
18466
5ca78dd0
L
18467 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18468 (LDLIBS-tst-chk4): This.
18469 (LDFLAGS-tst-chk5): Renamed to ...
18470 (LDLIBS-tst-chk5): This.
18471 (LDFLAGS-tst-chk6): Renamed to ...
18472 (LDLIBS-tst-chk6): This.
18473 (LDFLAGS-tst-lfschk4): Renamed to ...
18474 (LDLIBS-tst-lfschk4): This.
18475 (LDFLAGS-tst-lfschk5): Renamed to ...
18476 (LDLIBS-tst-lfschk5): This.
18477 (LDFLAGS-tst-lfschk6): Renamed to ...
18478 (LDLIBS-tst-lfschk6): This.
18479
691bc9c1
L
18480 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18481 on $(common-objpfx)soversions.mk.
18482
65cafb1c
JM
184832012-09-07 Joseph Myers <joseph@codesourcery.com>
18484
18485 [BZ #10014]
18486 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18487 example host name.
18488
c78ab094
SP
184892012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18490
18491 * malloc/arena.c (arena_get_retry): New function that gets
18492 another arena for the caller to try its request on.
18493 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18494 current arena cannot fulfill the request.
18495 (__libc_memalign): Likewise.
18496 (__libc_memalign): Likewise.
18497 (__libc_pvalloc): Likewise.
18498 (__libc_calloc): Likewise.
18499
01f49f59
JT
185002012-09-05 John Tobey <john.tobey@gmail.com>
18501
18502 [BZ #13542]
18503 * manual/arith.texi (Operations on Complex): Fix description
18504 of carg branch cut.
18505
4c23fed5
JM
185062012-09-06 Joseph Myers <joseph@codesourcery.com>
18507
1d3c8572
JM
18508 [BZ #10014]
18509 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18510 host name.
18511
4c23fed5
JM
18512 [BZ #10038]
18513 * manual/memory.texi (Memory): Make order of menu items match
18514 order of sections.
18515
04570aaa
L
185162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18517
18518 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18519 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18520 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18521
b80af2f4
L
185222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18523
18524 * csu/libc-tls.c (static_dtv): Renamed to ...
18525 (_dl_static_dtv): This. Make it global.
18526 (_dl_initial_dtv): Removed.
18527 (__libc_setup_tls): Updated.
18528 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18529 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18530 DL_INITIAL_DTV.
18531
2abe9f15
PM
185322012-09-06 Petr Machata <pmachata@redhat.com>
18533
18534 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18535 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18536 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18537 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18538
0948c3af
L
185392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18540
18541 [BZ #14545]
18542 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18543 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18544 freeing dtv[-1].
18545
a5055ad1
L
185462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18547
18548 [BZ #14544]
18549 * Makeconfig (link-static-before-libc): Replace $(+prector)
18550 with $(+prectorT).
18551 (link-static-after-libc): Replace $(+postctor) with
18552 $(+postctorT).
18553 (link-bounded): Replace $(+prector)/$(+postctor) with
18554 $(+prectorT)/$(+postctorT).
18555 (+prectorT): New macro.
18556 (+postctorT): Likewise.
18557
ed8c2ecd
JM
185582012-09-06 Joseph Myers <joseph@codesourcery.com>
18559
18560 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18561 (round_str): Handle values above the maximum for IBM long double
18562 as inexact.
18563 * stdlib/tst-strtod-round.c (tests): Regenerated.
18564
14c996c8
AK
185652012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18566
18567 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18568 assembler flag.
18569 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18570 zarch_nohighgprs around the zarch optimized routines.
18571 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18572 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18573 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18574 for zarch.
18575
430d6ce6
DM
185762012-09-05 David S. Miller <davem@davemloft.net>
18577
18578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18579
ff04dda4
DM
18580 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18581 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18582 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18583 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18584 entries.
18585
24d4e01b
AO
185862012-09-05 Alexandre Oliva <aoliva@redhat.com>
18587
18588 * malloc/arena.c: Fold copyright years.
18589 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18590
61d58174
AO
185912012-09-05 Alexandre Oliva <aoliva@redhat.com>
18592
18593 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18594
20196a5e
AO
185952012-09-05 Alexandre Oliva <aoliva@redhat.com>
18596
18597 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18598
5c447383
AO
185992012-09-05 Alexandre Oliva <aoliva@redhat.com>
18600
18601 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18602 change internal state upon failure.
18603
fad64255
AO
186042012-09-05 Alexandre Oliva <aoliva@redhat.com>
18605
18606 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18607 * malloc/memusage.c (mmap): Likewise.
18608 (mmap64, mremap): Likewise. Adjust name in comment.
18609
1ffb8c90
SP
186102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18611
18612 * libio/fileops.c: Fix typos in comments.
18613 * libio/oldfileops.c: Likewise.
18614 * libio/wfileops.c: Likewise.
18615
6ef9cc37
SP
186162012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18617
18618 [BZ #1349]
18619 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18620 (tst-malloc-usable-ENV): Set environment for test case.
18621 * malloc/hooks.c (malloc_check_get_size): New function to get
18622 requested size.
18623 * malloc/malloc.c (musable): Use malloc_check_get_size.
18624 * malloc/tst-malloc-usable.c: New test case.
18625
4d038ae3
AS
186262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18627
18628 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18629
c4e85184
AM
186302012-09-05 Allan McRae <allan@archlinux.org>
18631
b9dafc56 18632 [BZ #13966]
c4e85184
AM
18633 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18634 determine header location.
18635 * configure: Regenerated.
18636
e1343020
AS
186372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18638
18639 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18640 float format.
18641 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
18642 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18643 format.
e1343020
AS
18644 (test): Regenerate.
18645
0a9f1987
DM
186462012-09-04 David S. Miller <davem@davemloft.net>
18647
18648 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18649 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18650 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18651
29237804
FW
186522012-09-04 Florian Weimer <fweimer@redhat.com>
18653
18654 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18655 failures.
18656
edb3cb88
FW
18657 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18658
60160d83
JM
186592012-09-04 Joseph Myers <joseph@codesourcery.com>
18660
18661 [BZ #9914]
18662 * libio/iogetdelim.c: Include <limits.h>.
18663 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18664 + len + 1 would overflow.
18665
bcd6c8dc
AJ
186662012-09-03 Andreas Jaeger <aj@suse.de>
18667
18668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18669 * sysdeps/i386/fpu/libm-test-ulps: Update.
18670
4ffffbd2
LD
186712012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18672
18673 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18674 Add s_sinf-sse2, s_conf-sse2.
18675
18676 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18677 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18678 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18679 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18680
18681 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18682 for using routine as __sinf_ia32.
18683 Use macro for function declaration and weak_alias.
18684 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18685 for using routine as __cosf_ia32.
18686 Use macro for function declaration and weak_alias.
18687
18688 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18689 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18690
18691 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18692 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18694
18695 * math/libm-test.inc (cos_test): Add more test cases.
18696 (sin_test): Likewise.
18697 (sincos_test): Likewise.
18698
511fa286
AK
186992012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18700
18701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18702 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18703 hidden.
18704 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18705
5f30cfec
L
187062012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18707
18708 [BZ #14538]
18709 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18710 first element of the GOT.
18711 (elf_machine_load_address): Return the difference between
18712 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18713
0786794f
AM
187142012-09-01 Allan McRae <allan@archlinux.org>
18715
5f30cfec
L
18716 [BZ #13412]
18717 * configure.in (AWK): Require gawk version 3.0 or later.
18718 * configure: Regenerated.
0786794f 18719
26889eac
JM
187202012-09-01 Joseph Myers <joseph@codesourcery.com>
18721
18722 * sysdeps/unix/sysv/linux/kernel-features.h
18723 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18725 [__NR_clock_getres]: Make code unconditional.
18726 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18727 (clock_getcpuclockid): Remove code left unreachable by removal of
18728 conditionals.
18729 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18730 code unconditional.
18731 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18732 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18733 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18734 Make code unconditional.
18735 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18736 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18737 * sysdeps/unix/sysv/linux/clock_settime.c
18738 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18739 conditional code.
18740 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18741 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18742
d22e28b0
L
187432012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18744
18745 [BZ #14476]
18746 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18747 scripts/test-installation.pl.
18748
18749 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18750 and $ld_so_version if it is set.
18751
050af9c4
SP
187522012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18753
18754 [BZ #14516]
18755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18756 failure if reading from procfs failed.
18757 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18758
ad845c0b
JM
187592012-08-27 Joseph Myers <joseph@codesourcery.com>
18760
18761 * sysdeps/unix/sysv/linux/kernel-features.h
18762 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18763 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18764 Remove conditional code.
18765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18766 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18767 Remove conditional code.
18768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18769 * sysdeps/unix/sysv/linux/i386/fxstat.c
18770 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18772 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18773 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18775 * sysdeps/unix/sysv/linux/i386/lxstat.c
18776 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18778 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18779 Remove conditional code.
18780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18781 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18782 Remove conditional code.
18783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18784 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18785 <kernel-features.h>.
18786 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18787 Remove.
18788 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18789 Remove conditional code.
18790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18791 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18792 Remove conditional.
18793
5dbf56af
MF
187942012-08-27 Mike Frysinger <vapier@gentoo.org>
18795
18796 [BZ #5400]
18797 * NEWS: Add fixed bug number.
18798
d6e70f43
JM
187992012-08-27 Joseph Myers <joseph@codesourcery.com>
18800
7efb4737
JM
18801 [BZ #14519]
18802 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18803 underflowing exponent in case of negative sign.
18804 * stdlib/tst-strtod-round-data: Add more tests.
18805 * stdlib/tst-strtod-round.c (tests): Regenerated.
18806
af92131a
JM
18807 [BZ #3479]
18808 * stdlib/strtod_l.c (NDIG): Remove.
18809 (HEXNDIG): Likewise.
18810 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18811 smallest representable value.
18812 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18813 lie within an exact representation of 1/2 ulp of the result.
18814 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18815 unconditionally.
18816 (TENS_P9_IDX): Define unconditionally.
18817 (TENS_P9_SIZE): Likewise.
18818 (TENS_P10_IDX): Likewise.
18819 (TENS_P10_SIZE): Likewise.
18820 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18821 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18822 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18823 entries for 10^2^13 and 10^2^14.
18824 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18825 (TENS_P13_IDX): Define.
18826 (TENS_P13_SIZE): Likewise.
18827 (TENS_P14_IDX): Likewise.
18828 (TENS_P14_SIZE): Likewise.
18829 (_fpioconst_pow10): Change array size to
18830 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18831 unconditional.
18832 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18833 1024]: Add entries for 10^2^13 and 10^2^14.
18834 [LAST_POW10 > _LAST_POW10]: Remove #error.
18835 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18836 (_fpioconst_pow10): Change array size to
18837 FPIOCONST_POW10_ARRAY_SIZE.
18838 * stdlib/gen-fpioconst.c: New file.
18839 * stdlib/gen-tst-strtod-round.c: Likewise.
18840 * stdlib/tst-strtod-round-data: Likewise.
18841 * stdlib/tst-strtod-round.c: Likewise.
18842 * stdlib/Makefile (tests): Add tst-strtod-round.
18843
d6e70f43
JM
18844 [BZ #14459]
18845 * stdlib/strtod_l.c: Include <stdint.h>.
18846 (NDEBUG): Do not define.
18847 (round_and_return): Change EXPONENT parameter to type intmax_t.
18848 Rearrange calculations to avoid internal overflow possibilities.
18849 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18850 Rearrange calculations to avoid internal overflow possibilities.
18851 Assert that number fits inside MPNSIZE limbs.
18852 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18853 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18854 calculations and add assertions to avoid internal overflow
18855 possibilities. Add casts to avoid signed/unsigned operations.
18856 * stdlib/tst-strtod-overflow.c: New file.
18857 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18858
1f529f7d
MP
188592012-08-25 Marek Polacek <polacek@redhat.com>
18860
18861 * time/time.h: Fix some typos in comments.
18862
59a629f1
RM
188632012-08-23 Roland McGrath <roland@hack.frob.com>
18864
18865 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18866 * posix/tst-rfc3484-2.c: Likewise.
18867 * posix/tst-rfc3484-3.c: Likewise.
18868
d3bafbc9
SM
188692012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18870
18871 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18872 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18873
4efcc022
JM
188742012-08-23 Joseph Myers <joseph@codesourcery.com>
18875
18876 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18877 #include of fxstatat64.c.
18878
3cc3ef96
RM
188792012-08-22 Roland McGrath <roland@hack.frob.com>
18880
f04e2132
RM
18881 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18882 * shadow/getspent_r.c: Likewise.
18883 * shadow/getspnam.c: Likewise.
18884 * shadow/getspnam_r.c: Likewise.
18885 * gshadow/getsgent.c: Likewise.
18886 * gshadow/getsgent_r.c: Likewise.
18887 * gshadow/getsgnam.c: Likewise.
18888 * gshadow/getsgnam_r.c: Likewise.
18889 * inet/getnetbyad.c: Likewise.
18890 * inet/getnetbyad_r.c: Likewise.
18891 * inet/getnetbynm.c: Likewise.
18892 * inet/getnetbynm_r.c: Likewise.
18893 * inet/getnetent.c: Likewise.
18894 * inet/getnetent_r.c: Likewise.
18895 * inet/getproto.c: Likewise.
18896 * inet/getproto_r.c: Likewise.
18897 * inet/getprtent.c: Likewise.
18898 * inet/getprtent_r.c: Likewise.
18899 * inet/getprtname.c: Likewise.
18900 * inet/getprtname_r.c: Likewise.
18901 * inet/getrpcbyname.c: Likewise.
18902 * inet/getrpcbyname_r.c: Likewise.
18903 * inet/getrpcbynumber.c: Likewise.
18904 * inet/getrpcbynumber_r.c: Likewise.
18905 * inet/getrpcent.c: Likewise.
18906 * inet/getrpcent_r.c: Likewise.
18907 * inet/getaliasent.c: Likewise.
18908 * inet/getaliasent_r.c: Likewise.
18909 * inet/getaliasname.c: Likewise.
18910 * inet/getaliasname_r.c: Likewise.
18911 * nscd/getgrgid_r.c: Likewise.
18912 * nscd/getgrnam_r.c: Likewise.
18913 * nscd/gethstbyad_r.c: Likewise.
18914 * nscd/gethstbynm3_r.c: Likewise.
18915 * nscd/getpwnam_r.c: Likewise.
18916 * nscd/getpwuid_r.c: Likewise.
18917 * nscd/getsrvbynm_r.c: Likewise.
18918 * nscd/getsrvbypt_r.c: Likewise.
18919 * nscd/gai.c: Likewise.
18920
c53d909c
RM
18921 * configure.in (build_nscd): New substituted variable, set
18922 by --disable-build-nscd and defaults to $use_nscd.
18923 * configure: Regenerated.
18924 * config.make.in (build-nscd): New substituted variable.
18925 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18926 Change conditional to require [$(build-nscd) = yes] as well.
18927 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18928
3cc3ef96
RM
18929 [BZ# 13696]
18930 * configure.in (use_nscd): New substituted variable, set by
18931 --disable-nscd. If enabled, define USE_NSCD.
18932 * configure: Regenerated.
18933 * config.h.in: Add USE_NSCD.
18934 * config.make.in (use-nscd): New substituted variable.
18935 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18936 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18937 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18938 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18939 (CFLAGS-getgrnam_r.c): Likewise.
18940 (CFLAGS-initgroups.c): Likewise.
18941 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18942 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18943 Variables removed.
18944 * inet/getnetgrent_r.c
18945 (nscd_setnetgrent): New function, broken out of ...
18946 (setnetgrent): ... here. Call it.
18947 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18948 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18949 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18950 * nscd/Makefile (routines, aux): Move definitions after include of
18951 Makeconfig. Conditionalize on [$(use-nscd) != no].
18952 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18953 Conditionalize on [USE_NSCD].
18954 (is_nscd, nscd_init_cb): Likewise.
18955 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18956 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18957 * nss/nss_db/db-init.c: Likewise.
18958 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18959 [USE_NSCD].
18960 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18961 (make_request): Use it.
18962 (cache_valid_p): New function.
18963 (__check_pf): Use it.
18964 * NEWS: Add item for --disable-nscd.
18965
07e51550
DL
189662012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18967
18968 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18969 to support sed >= 4.2.1-20-ga9bf076.
18970 * configure: Regenerated.
18971
35a5b08b
RM
189722012-08-22 Roland McGrath <roland@hack.frob.com>
18973
18974 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18975 Conditionalize whole body on [IREL].
18976
8479f23a
JL
189772012-08-22 Jeff Law <law@redhat.com>
18978
18979 [BZ #14505]
18980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18981 if the family is PF_UNSPEC.
18982
48da0b21
MF
189832012-08-22 Mike Frysinger <vapier@gentoo.org>
18984
18985 * Makerules (lib-version): Rename from V.
18986 (install-lib-nosubdir): Change V to lib-version.
18987
15d0da8c
WS
189882012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18989
18990 [BZ #14252]
18991 * powerpc32/power6/wcschr.c: New file.
18992 * powerpc32/power6/wcscpy.c: New file.
18993 * powerpc32/power6/wcsrchr.c: New file.
18994 * powerpc64/power6/wcschr.c: New file.
18995 * powerpc64/power6/wcscpy.c: New file.
18996 * powerpc64/power6/wcsrchr.c: New file.
18997
bcca0895
MK
189982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18999
19000 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19001 (two_way_short_needle): Use it.
5a4aaa33
RM
19002 * string/strstr.c (AVAILABLE1_USES_J): Define.
19003 * string/strcasestr.c: Likewise.
99677e57
MK
19004
19005 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19006 array references.
19007 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19008
400726de
MK
19009 [BZ #11607]
19010 * NEWS: Add an entry.
19011 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19012 define their defaults.
19013 (two_way_short_needle): Detect end-of-string on-the-fly.
19014 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19015 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19016 * string/bug-strcasestr1.c: New test.
19017 * string/Makefile: Run it.
19018
20a71f2c
MK
190192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19020
19021 [BZ #11607]
19022 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19023 the first character.
19024
21ad0558
RM
190252012-08-21 Roland McGrath <roland@hack.frob.com>
19026
19027 * csu/elf-init.c (__libc_csu_irel): Function removed.
19028 * csu/libc-start.c (apply_irel): New function.
19029 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19030
0e1d9911
JM
190312012-08-21 Joseph Myers <joseph@codesourcery.com>
19032
19033 * sysdeps/unix/sysv/linux/kernel-features.h
19034 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19035 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19036 <kernel-features.h>.
19037 [__NR_fadvise64_64]: Make code unconditional.
19038 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19039 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19040 !__NR_fadvise64_64)]: Likewise.
19041 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19042 !__NR_fadvise64_64))]: Likewise.
19043 [__NR_fadvise64]: Make code unconditional.
19044 [!__NR_fadvise64]: Remove conditional code.
19045 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19046 <kernel-features.h>.
19047 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19048 unconditional.
19049 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19050 conditional code.
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19052 not include <kernel-features.h>.
19053 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19054 unconditional.
19055 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19056 conditional code.
19057 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19058 include <kernel-features.h>.
19059 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19060 unconditional.
19061 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19062 conditional code.
19063
14a50c9d
WS
190642012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19065
19066 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19067 slight instruction rearrangements per scrollpipe analysis.
19068 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19069
c0f4faf0
RM
190702012-08-20 Roland McGrath <roland@hack.frob.com>
19071
696da859
RM
19072 * manual/syslog.texi (syslog; vsyslog, closelog):
19073 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19074 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19075
c0f4faf0
RM
19076 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19077 DSOCAPS to match condition on defining it.
19078
348363b2
JM
190792012-08-20 Joseph Myers <joseph@codesourcery.com>
19080
a35cbf28
JM
19081 * sysdeps/unix/sysv/linux/kernel-features.h
19082 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19084 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19085 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19087 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19088 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19090 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19091 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19092
445f7ecd
JM
19093 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19094 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19095
348363b2
JM
19096 * sysdeps/unix/sysv/linux/kernel-features.h
19097 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19098 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19099 unconditional.
19100 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19101 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19102 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19103 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19104 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19105 Make code unconditional.
19106 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19107 (__mmap64) [!__NR_mmap2]: Likewise.
19108 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19109 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19110 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19111 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19112 [__NR_mmap2]: Make code unconditional.
19113 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19114 (__mmap64) [!__NR_mmap2]: Likewise.
19115
bc5bc0e5
AK
191162012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19117
19118 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19119
88d506de
AJ
191202012-08-18 Andreas Jaeger <aj@suse.de>
19121
19122 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19123
493387d2
MF
191242012-08-18 Mike Frysinger <vapier@gentoo.org>
19125
19126 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19127 * include/unistd.h (__have_sock_cloexec): Likewise.
19128 (__have_pipe2): Likewise.
19129 (__have_dup3): Likewise.
19130
a277af22
MF
191312012-08-18 Mike Frysinger <vapier@gentoo.org>
19132
19133 [BZ #9685]
19134 * include/unistd.h (__have_pipe2): Change define into an extern int.
19135 (__have_dup3): Likewise.
19136 * socket/have_sock_cloexec.c: Include fcntl.h.
19137 (__have_pipe2): New variable.
19138 (__have_dup3): Likewise.
19139
fdab8fd3
MF
191402012-08-17 Mike Frysinger <vapier@gentoo.org>
19141
19142 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19143
31035e80
MP
191442012-08-17 Marek Polacek <polacek@redhat.com>
19145
19146 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19147 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19148
3bd9e993
RM
191492012-08-17 Roland McGrath <roland@hack.frob.com>
19150
c91c505f
RM
19151 * configure.in: Add AC_SUBST for sysheaders.
19152 * configure: Regenerated.
19153 * config.make.in (sysheaders): New substituted variable.
19154
7c6f9d53
RM
19155 * sysdeps/unix/mkfifo.c: Moved ...
19156 * sysdeps/posix/mkfifo.c: ... here.
19157 * sysdeps/unix/mkfifoat.c: Moved ...
19158 * sysdeps/posix/mkfifoat.c: ... here.
19159
19160 * sysdeps/unix/utime.c: Moved ...
19161 * sysdeps/posix/utime.c: ... here.
19162
19163 * sysdeps/unix/time.c: Moved ...
19164 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19165 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19166 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19167
19168 * sysdeps/unix/nice.c: Moved ...
19169 * sysdeps/posix/nice.c: ... here.
19170
19171 * sysdeps/unix/alarm.c: Moved ...
19172 * sysdeps/posix/alarm.c: ... here.
19173
3bd9e993
RM
19174 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19175
d1f09384
JL
191762012-08-17 Jeff Law <law@redhat.com>
19177
19178 * intl/Makefile (codeset_mo): New variable.
19179 ($(codeset_mo)): New target.
19180 (tst-codeset.out): Depend on that. Remove explicit rule.
19181 (tst-gettext3.out, tst-gettext5.out): Likewise.
19182 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19183 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19184 * intl/tst-codeset.sh: Remove.
19185 * intl/tst-gettext3.sh: Likewise.
19186 * intl/tst-gettext5.sh: Likewise.
19187
2ae1ae5c
RM
191882012-08-17 Roland McGrath <roland@hack.frob.com>
19189
c31fdb83
RM
19190 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19191 * sysdeps/unix/syscalls.list: ... here.
19192
a0844057
RM
19193 * sysdeps/posix/getaddrinfo.c
19194 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19195 (gaiconf_init, gaiconf_reload): Use them.
19196 [!_STATBUF_ST_NSEC]
19197 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19198 Define using time_t rather than struct timespec.
19199
750c1f2a
RM
19200 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19201 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19202 Macros removed.
19203 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19204 [!NO_THREADS].
19205 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19206 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19207 Likewise.
19208
2ae1ae5c
RM
19209 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19210 __libc_cleanup_push argument.
19211
e66a42f5
RM
19212 * bits/param.h: New file.
19213 * misc/sys/param.h: New file.
19214 * include/sys/param.h: New file.
19215 * misc/Makefile (headers): Add bits/param.h.
19216 * sysdeps/generic/sys/param.h: File removed.
19217 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19218 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19219 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19220 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19221
b7c08a66
RM
19222 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19223 last change.
19224
b2e1c562
RM
19225 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19226 [_IO_MTSAFE_IO].
19227 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19228 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19229 New macros.
19230
c75ccd4c
RM
19231 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19232 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19233 rather than -D_IO_MTSAFE_IO conditionally.
19234 * stdio-common/Makefile (CPPFLAGS): Likewise.
19235 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19236 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19237 Use $(libio-mtsafe).
19238 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19239 of -D_IO_MTSAFE_IO.
19240 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19241 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19242 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19243 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19244 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19245 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19246 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19247 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19248 (CFLAGS-fread_u_chk.c): Likewise.
19249 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19250 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19251 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19252 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19253 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19254 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19255 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19256 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19257 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19258
19259 * libio/Makefile: Test [$(libc-reentrant) = yes]
19260 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19261
19262 * Makeconfig
19263 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19264 * sysdeps/pthread/configure: File removed.
19265 * sysdeps/pthread/Makeconfig: New file.
19266 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19267 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19268
d9195db8
GB
192692012-08-16 Gary Benson <gbenson@redhat.com>
19270
19271 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19272 unmapping the first object in a namespace.
19273
86466cd9
RM
192742012-08-16 Roland McGrath <roland@hack.frob.com>
19275
19276 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19277 (__internal_setnetgrent): ... this. Add internal_function to
19278 definition. Add libc_hidden_def.
19279 (setnetgrent): Update caller.
19280 (internal_endnetgrent): Renamed to ...
19281 (__internal_endnetgrent): ... this. Add internal_function to
19282 definition. Add libc_hidden_def.
19283 (endnetgrent): Update caller.
19284 (internal_getnetgrent_r): Renamed to ...
19285 (__internal_getnetgrent_r): ... this. Add internal_function to
19286 definition. Add libc_hidden_def.
19287 (__getnetgrent_r): Update caller.
19288 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19289
c3c8283c
JM
192902012-08-16 Joseph Myers <joseph@codesourcery.com>
19291
19292 * stdlib/longlong.h: Update from GCC.
19293
db1ee0a8
RM
192942012-08-16 Roland McGrath <roland@hack.frob.com>
19295
19296 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19297 on _QL, which is set by umul_ppmm but never used.
19298 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19299 variables, which are set by GMP macros but never used.
19300 * stdio-common/_itowa.c (_itowa): Likewise.
19301 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19302 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19303
30f69637
CD
193042012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19305
19306 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19307 struct La_sh_regs is not constant.
19308 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19309 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19310 and struct La_sparc64_regs are not constant.
19311
93a78ac4
JM
193122012-08-16 Joseph Myers <joseph@codesourcery.com>
19313
19314 * sysdeps/unix/sysv/linux/kernel-features.h
19315 (__ASSUME_POSIX_TIMERS): Remove.
19316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19318 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19319 Make code unconditional.
19320 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19321 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19322 Make code unconditional.
19323 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19324 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19325 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19326 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19327 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19328 Make code unconditional.
19329 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19330 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19331 (__libc_missing_posix_timers): Remove.
19332
dd924cd7
RM
193332012-08-15 Roland McGrath <roland@hack.frob.com>
19334
4b4f2771
RM
19335 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19336 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19337
601c888b
RM
19338 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19339
176790a7
RM
19340 * elf/dl-sym.c: Include <stdlib.h>.
19341
329bc018
RM
19342 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19343 constants, which avoids warnings in 32-bit builds.
19344
e04e272d
RM
19345 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19346 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19347
952bf94a
RM
19348 * misc/lseek.c: File moved to ...
19349 * io/lseek.c: ... here.
19350
7c99b50a
RM
19351 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19352
dd924cd7
RM
19353 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19354 shifting LEN more than 31 bits at once.
19355
b3f479a8
LD
193562012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19357
19358 [BZ #14195]
8c4ae0d4
RM
19359 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19360 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19361 * string/test-strncasecmp.c (check1): Renamed to...
19362 (bz12205): ...this.
19363 (bz14195): Add new testcase for two empty input strings and N > 0.
19364 (test_main): Call new testcase, adapt for renamed function.
19365
9c55864e
AJ
193662012-08-15 Andreas Jaeger <aj@suse.de>
19367
19368 [BZ #14090]
19369 * crypt/md5test2.c: New test, based on test supplied by Serge
19370 Belyshev <belyshev@depni.sinp.msu.ru>.
19371 * crypt/Makefile (xtests): Add md5test-giant..
19372 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19373
02dcb6c5
PE
193742012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19375
19376 [BZ #14090]
19377 * crypt/md5.c (md5_process_block): Don't assume the buffer
19378 length is less than 2**32.
19379 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19380 length is less than 2**64.
19381
a3f95dcc
RM
193822012-08-15 Roland McGrath <roland@hack.frob.com>
19383
be75d758
RM
19384 * string/str-two-way.h: Include <sys/param.h>.
19385 (MAX): Macro removed.
19386
7312ca90
RM
19387 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19388 Move #define and #undef of memmove to just before and after
19389 including <string.h>.
19390
9a0a5486
RM
19391 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19392 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19393 and after including <string.h>. Move declarations of
19394 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19395 to before #include "string/memmove.c".
19396
67cc348d
RM
19397 * include/dirent.h: Declare __getdirentries.
19398
a3f95dcc
RM
19399 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19400 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19401
ca98e171
MF
194022012-08-14 Mike Frysinger <vapier@gentoo.org>
19403
19404 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19405 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19406 * sysdeps/i386/configure: Regenerated.
19407 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19408 STABS_CURRENT_FILE, and STABS_FUN.
19409 (END): Remove call to STABS_FUN_END.
19410 (STABS_CURRENT_FILE1): Delete.
19411 (STABS_CURRENT_FILE): Likewise.
19412 (STABS_FUN): Likewise.
19413 (STABS_FUN_END): Likewise.
19414 (STABS_FUN2): Likewise.
19415 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19416 * sysdeps/x86_64/configure: Regenerated.
19417
5908bf46
RM
194182012-08-14 Roland McGrath <roland@hack.frob.com>
19419
19420 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19421 * elf/dl-lookup.c: Likewise.
5908bf46 19422
f2c05b9e
JM
194232012-08-14 Joseph Myers <joseph@codesourcery.com>
19424
19425 * sysdeps/unix/sysv/linux/kernel-features.h
19426 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19427 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19428 unconditionally.
19429 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19430 unconditionally.
19431 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19432 condition on __ASSUME_CLONE_THREAD_FLAGS.
19433
e11f5155
AJ
194342012-08-14 Andreas Jaeger <aj@suse.de>
19435
19436 * sysdeps/i386/fpu/libm-test-ulps: Update.
19437
51a9ba86
MK
194382012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19439
2fdd4f78
AJ
19440 * include/atomic.h (atomic_exchange_and_add): Split into ...
19441 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19442 New atomic macros.
51a9ba86 19443
ba6cba9e
MT
194442012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19445
19446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19447
42443a47
JL
194482012-08-13 Jeff Law <law@redhat.com>
19449
19450 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19451 null byte in the output string.
19452
121dce05
JM
194532012-08-10 Joseph Myers <joseph@codesourcery.com>
19454
19455 * sysdeps/unix/sysv/linux/kernel-features.h
19456 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19457 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19458 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19459 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19460 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19461 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19462 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19463
bf51f568
JL
194642012-08-09 Jeff Law <law@redhat.com>
19465
19466 [BZ #13939]
19467 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19468 When avoid_arena is set, don't retry in the that arena. Pick the
19469 next one, whatever it might be.
19470 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19471 (arena_lock): Pass in new parameter to arena_get2.
19472 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19473 arena_get2.
19474 (__libc_malloc): Unify retrying after main arena failure with
19475 __libc_memalign version.
19476 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19477
f85fa270
L
194782012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19479
19480 [BZ #14166]
19481 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19482 to __redirect_strstr.
19483 (__strstr_sse42): Use typeof __redirect_strstr.
19484 (__strstr_ia32): Likewise.
19485 (__libc_strstr): New prototype.
19486 (strstr): Renamed to ...
19487 (__libc_strstr): This.
19488 (strstr): New strong alias of __libc_strstr.
19489 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19490 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19491 __redirect_time.
19492 Include <time.h>.
19493 (__libc_time): New prototype.
19494 (time_ifunc): Replace time with __libc_time.
19495 (time): New strong alias and hidden definition of __libc_time.
19496 (__GI_time): Remove strong alias.
19497 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19498 Include <stddef.h>.
19499 (memmove): Redefined to __redirect_memmove.
19500 (__memmove_sse2): Use typeof __redirect_memmove.
19501 (__memmove_ssse3): Likewise.
19502 (__memmove_ssse3_back): Likewise.
19503 (__libc_memmove): New prototype.
19504 (memmove): Renamed to ...
19505 (__libc_memmove): This.
19506 (memmove): New strong alias of __libc_memmove.
19507
33b4a91e
MS
195082012-08-08 Mark Salter <msalter@redhat.com>
19509
19510 * elf/elf.h
19511 (R_MN10300_TLS_GD): Define.
19512 (R_MN10300_TLS_LD): Likewise.
19513 (R_MN10300_TLS_LDO): Likewise.
19514 (R_MN10300_TLS_GOTIE): Likewise.
19515 (R_MN10300_TLS_IE): Likewise.
19516 (R_MN10300_TLS_LE): Likewise.
19517 (R_MN10300_TLS_DTPMOD): Likewise.
19518 (R_MN10300_TLS_DTPOFF): Likewise.
19519 (R_MN10300_TLS_TPOFF): Likewise.
19520 (R_MN10300_SYM_DIFF): Likewise.
19521 (R_MN10300_ALIGN): Likewise.
19522 (R_MN10300_NUM): Update.
19523
b36137f1
JM
195242012-08-08 Joseph Myers <joseph@codesourcery.com>
19525
19526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19527 Remove.
19528
cdd915fd
RM
195292012-08-08 Roland McGrath <roland@hack.frob.com>
19530
a2433aac
RM
19531 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19532
cdd915fd
RM
19533 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19534 sysdeps/unix -> sysdeps/posix move.
19535 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19536
bf9b740a
AM
195372012-08-07 Allan McRae <allan@archlinux.org>
19538
19539 [BZ #14303]
19540 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19541 (SUNOS_CPP): Likewise.
19542 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19543 not found.
19544 (open_input): Call CPP using execvp.
19545
93df14ee
JM
195462012-08-07 Joseph Myers <joseph@codesourcery.com>
19547
19548 * sysdeps/unix/sysv/linux/kernel-features.h
19549 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19550 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19551 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19552 (__ASSUME_WAITID_SYSCALL): Likewise.
19553 * sysdeps/unix/sysv/linux/dl-execstack.c
19554 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19555 code unconditional.
19556 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19557 conditional code.
19558 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19559 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19560 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19561 code.
19562 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19563 unconditional.
19564 [__ASSUME_WAITID_SYSCALL]: Likewise.
19565 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19566
d34689de
RM
195672012-08-07 Roland McGrath <roland@hack.frob.com>
19568
a281decc
RM
19569 * sysdeps/unix/closedir.c: Renamed to ...
19570 * sysdeps/posix/closedir.c: ... here.
19571 * sysdeps/unix/dirfd.c: Renamed to ...
19572 * sysdeps/posix/dirfd.c: ... here.
19573 * sysdeps/unix/dirstream.h: Renamed to ...
19574 * sysdeps/posix/dirstream.h: ... here.
19575 * sysdeps/unix/fdopendir.c: Renamed to ...
19576 * sysdeps/posix/fdopendir.c: ... here.
19577 * sysdeps/unix/opendir.c: Renamed to ...
19578 * sysdeps/posix/opendir.c: ... here.
19579 * sysdeps/unix/readdir.c: Renamed to ...
19580 * sysdeps/posix/readdir.c: ... here.
19581 * sysdeps/unix/readdir_r.c: Renamed to ...
19582 * sysdeps/posix/readdir_r.c: ... here.
19583 * sysdeps/unix/rewinddir.c: Renamed to ...
19584 * sysdeps/posix/rewinddir.c: ... here.
19585 * sysdeps/unix/seekdir.c: Renamed to ...
19586 * sysdeps/posix/seekdir.c: ... here.
19587 * sysdeps/unix/telldir.c: Renamed to ...
19588 * sysdeps/posix/telldir.c: ... here.
19589 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19590 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19591 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19592 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19593
22895b47
RM
19594 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19595 * bits/fcntl.h: ... here.
19596
707a53b6
RM
19597 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19598 not 0.
19599 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19600 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19601 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19602 (struct flock): Move l_start, l_len to the beginning.
19603 Use __pid_t for l_pid.
19604 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19605 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19606 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19607 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19608 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19609 [__USE_LARGEFILE64] (struct flock64): New type.
19610 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19611
f0bd3e25
RM
19612 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19613 * bits/dirent.h: ... here.
19614
d34689de
RM
19615 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19616 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19617
6dad2c06
JM
196182012-08-07 Joseph Myers <joseph@codesourcery.com>
19619
19620 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19621 Change from 2.6.0 to 2.6.16.
19622 * sysdeps/unix/sysv/linux/configure: Regenerated.
19623 * sysdeps/unix/sysv/linux/kernel-features.h
19624 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19625 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19626 version.
19627 (__ASSUME_UTIMES): Likewise.
19628 (__ASSUME_CLONE_STOPPED): Remove.
19629 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19630 architectures, not kernel version.
19631 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19632 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19633 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19634 (__ASSUME_WAITID_SYSCALL): Likewise.
19635 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19636 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19637 * README: State 2.6.16 as minimum Linux kernel version. Do not
19638 refer to older versions.
19639
03af9520
RM
196402012-08-06 Roland McGrath <roland@hack.frob.com>
19641
8e49df1d
RM
19642 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19643 Define alphasort64 as an alias.
19644 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19645 Define versionsort64 as an alias.
19646 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19647 Define scandir64 as an alias.
19648 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19649 Define scandirat64 as an alias.
19650 * dirent/alphasort64.c (alphasort64):
19651 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19652 * dirent/versionsort64.c: Likewise.
19653 * dirent/scandir64.c: Likewise.
19654 * dirent/scandirat64.c: Likewise.
19655 * sysdeps/wordsize-64/alphasort.c: File removed.
19656 * sysdeps/wordsize-64/alphasort64.c: File removed.
19657 * sysdeps/wordsize-64/scandir.c: File removed.
19658 * sysdeps/wordsize-64/scandir64.c: File removed.
19659 * sysdeps/wordsize-64/scandirat.c: File removed.
19660 * sysdeps/wordsize-64/scandirat64.c: File removed.
19661 * sysdeps/wordsize-64/versionsort.c: File removed.
19662 * sysdeps/wordsize-64/versionsort64.c: File removed.
19663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19670 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19671
19672 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19674 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19676 [defined __arch64__ || defined __sparcv9]
19677 (__INO_T_MATCHES_INO64_T): New macro.
19678 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19679 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19680 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19681 * sysdeps/unix/sysv/linux/bits/dirent.h
19682 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19683 (_DIRENT_MATCHES_DIRENT64): New macro.
19684
03af9520
RM
19685 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19686 Define lockf64 as an alias.
19687 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19688 Define fseeko64 as an alias.
19689 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19690 Define ftello64 as an alias.
19691 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19692 Define _IO_fgetpos64 and fgetpos64 as aliases.
19693 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19694 Define _IO_fsetpos64 and fsetpos64 as aliases.
19695 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19696 Conditionalize body on this.
19697 * libio/fseeko64.c: Likewise.
19698 * libio/ftello64.c: Likewise.
19699 * libio/iofgetpos64.c: Likewise.
19700 * libio/iofsetpos64.c: Likewise.
19701 * sysdeps/wordsize-64/lockf.c: File removed.
19702 * sysdeps/wordsize-64/lockf64.c: File removed.
19703 * sysdeps/wordsize-64/fseeko.c: File removed.
19704 * sysdeps/wordsize-64/fseeko64.c: File removed.
19705 * sysdeps/wordsize-64/ftello.c: File removed.
19706 * sysdeps/wordsize-64/ftello64.c: File removed.
19707 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19708 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19709 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19710 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19712 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19721
19722 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19724 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19726 [defined __arch64__ || defined __sparcv9]
19727 (__OFF_T_MATCHES_OFF64_T): New macro.
19728 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19729 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19731 (__OFF_T_MATCHES_OFF64_T): New macro.
19732
c5757acd
L
197332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19734
19735 * stdlib/secure-getenv.c (__secure_getenv): Replace
19736 GLIBC_2_16 with GLIBC_2_17.
19737
3a31811e
L
197382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19739
19740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19742
faa2bccb
DM
197432012-08-03 David S. Miller <davem@davemloft.net>
19744
19745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19746
85fe1997
JM
197472012-08-03 Joseph Myers <joseph@codesourcery.com>
19748
19749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19750 Remove.
19751 (__ASSUME_CORRECT_SI_PID): Likewise.
19752 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19753 (__ASSUME_TMPFS_NAME): Likewise.
19754 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19755 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19756 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19757 (HAVE_AUX_SECURE): Make definition unconditional.
19758 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19759 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19760
4f75b7a0
RM
197612012-08-03 Roland McGrath <roland@hack.frob.com>
19762
19763 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19764 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19765 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19766 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19767 __eloop_threshold instead of SYMLOOP_MAX.
19768
19769 * sysdeps/generic/eloop-threshold.h: New file.
19770 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19771 of MAXSYMLINKS.
19772 * elf/chroot_canon.c (chroot_canon): Likewise.
19773
7aab07e4
JM
197742012-08-03 Joseph Myers <joseph@codesourcery.com>
19775
19776 [BZ #13717]
19777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19778 Change to 2.6.0 everywhere.
19779 * sysdeps/unix/sysv/linux/configure: Regenerated.
19780 * sysdeps/unix/sysv/linux/kernel-features.h
19781 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19782 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19783 kernel versions.
19784 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19785 (__ASSUME_FUTEX_REQUEUE): Remove.
19786 (__ASSUME_STATFS64): Define unconditionally.
19787 (__ASSUME_AT_SECURE): Likewise.
19788 (__ASSUME_CORRECT_SI_PID): Likewise.
19789 (__ASSUME_TGKILL): Define without depending on kernel version for
19790 i386.
19791 (__ASSUME_UTIMES): Likewise.
19792 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19793 kernel version.
19794 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19795 (__ASSUME_TMPFS_NAME): Likewise.
19796 * README: Update reference to Linux kernel versions.
19797
b67e9372
MP
197982012-08-02 Marek Polacek <polacek@redhat.com>
19799
1f529f7d 19800 [BZ# 14150]
b67e9372
MP
19801 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19802 libc_cv_asm_type_prefix with %.
19803 * configure: Regenerated.
d2441631
RM
19804 * include/libc-symbols.h: Remove comment about
19805 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19806 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19807 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19808 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19809 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19810 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19811 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19812 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19813 * elf/tst-unique2mod1.c: Likewise.
19814 * elf/tst-unique1mod2.c: Likewise.
19815 * elf/tst-unique1mod1.c: Likewise.
19816 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19817 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19818 Replace ASM_TYPE_DIRECTIVE with .type.
19819 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19820 * sysdeps/i386/sysdep.h: Likewise.
19821 * sysdeps/x86_64/sysdep.h: Likewise.
19822 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19824 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19825 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19826 * sysdeps/powerpc/powerpc32/sysdep.h:
19827 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19828 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19829 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19830 * sysdeps/i386/fpu/e_powf.S: Likewise.
19831 * sysdeps/i386/fpu/e_expl.S: Likewise.
19832 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19834 * sysdeps/i386/fpu/e_pow.S: Likewise.
19835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19839 * sysdeps/i386/fpu/e_log2.S: Likewise.
19840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19842 * sysdeps/i386/fpu/e_powl.S: Likewise.
19843 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19844 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19845 * sysdeps/i386/fpu/e_logl.S: Likewise.
19846 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19847 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19848 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19849 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19850 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19851 * sysdeps/i386/fpu/e_log.S: Likewise.
19852 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19853 * sysdeps/i386/fpu/e_logf.S: Likewise.
19854 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19856 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19857 * sysdeps/i386/fpu/e_log10.S: Likewise.
19858 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19859 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19860 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19861 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19862 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19863 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19864 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19865 * sysdeps/i386/i686/strtok.S: Likewise.
19866 * sysdeps/i386/i386-mcount.S: Likewise.
19867 * sysdeps/i386/strtok.S: Likewise.
19868 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19869 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19870 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19871 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19872 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19873 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19874 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19875 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19876 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19877 * sysdeps/x86_64/_mcount.S: Likewise.
19878 * sysdeps/x86_64/strtok.S: Likewise.
19879 * sysdeps/sh/_mcount.S: Likewise.
19880
2747bf9a
RM
198812012-08-01 Roland McGrath <roland@hack.frob.com>
19882
19883 * libio/iofopen.c: Include <fcntl.h>.
19884 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19885 (_IO_fopen64, fopen64): Define as aliases.
19886 * libio/iofopen64.c: Include <fcntl.h>.
19887 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19888 Conditionalize body on this.
19889 * sysdeps/wordsize-64/iofopen.c: File removed.
19890 * sysdeps/wordsize-64/iofopen64.c: File removed.
19891
3fb791b8
MP
198922012-08-01 Marek Polacek <polacek@redhat.com>
19893
19894 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19895 Use dlfcn directly instead of a variable.
19896 (binfmt-subdir): Do not define.
19897 (dlfcn): Likewise.
19898
a9f1039f
JM
198992012-08-01 Joseph Myers <joseph@codesourcery.com>
19900
23bddc06
JM
19901 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19902 Remove all definitions.
19903 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19904 <kernel-features.h>.
19905 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19906 (miss_F_GETOWN_EX): Remove all definitions.
19907 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19908 macro definition.
19909 [!__ASSUME_FCNTL64]: Remove conditional code.
19910 [__ASSUME_FCNTL64]: Make code unconditional.
19911 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19912 <kernel-features.h>.
19913 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19914 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19915 (lockf64) [__NR_fcntl64]: Make code unconditional.
19916 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19917
a9f1039f
JM
19918 * sysdeps/unix/sysv/linux/kernel-features.h
19919 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19920 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19921 Make code unconditional.
19922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19925 [__NR_vfork]: Make code unconditional.
19926 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19927 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19929 [__NR_vfork]: Make code unconditional.
19930 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19931 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19932
09c0ee5f
RM
199332012-08-01 Roland McGrath <roland@hack.frob.com>
19934
48aec5b9
RM
19935 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19936 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19937
cd97c966
RM
19938 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19939 Define mkstemp64 as an alias.
3f55550c
RM
19940 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19941 Define mkstemps64 as an alias.
cd97c966
RM
19942 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19943 Define mkostemp64 as an alias.
b8625cfc
RM
19944 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19945 Define mkostemps64 as an alias.
cd97c966
RM
19946 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19947 Conditionalize body on this.
19948 * misc/mkostemp64.c: Likewise.
b8625cfc 19949 * misc/mkostemps64.c: Likewise.
3f55550c 19950 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19951 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19952 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19953 * sysdeps/wordsize-64/mkostemp.c: File removed.
19954 * sysdeps/wordsize-64/mkstemp.c: File removed.
19955 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19958 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19959
09c0ee5f
RM
19960 [BZ #14138]
19961 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19962 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19963 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19964 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19965
19966 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19967 compat_symbol macros from <shlib-compat.h> rather than the underlying
19968 default_symbol_version and symbol_version macros, so that DEFAULT
19969 lines in shlib-versions are respected.
19970 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19971
7e66ee51
FW
199722012-08-01 Florian Weimer <fweimer@redhat.com>
19973
19974 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19975 Declare with warn_unused_result.
19976 (setgid, setregid, setegid, setresgid): Likewise.
19977 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19978 Likewise.
19979 * WUR-REPORT: Remove set*id functions.
19980
d2a54255
PT
199812012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19982
19983 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19984
7ecdb005
RM
199852012-07-31 Roland McGrath <roland@hack.frob.com>
19986
b4180a5e 19987 [BZ #10191]
789bd351
RM
19988 * include/sys/socket.h (__libc_accept, __libc_accept4):
19989 Add attribute_hidden.
19990 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19991
40ce302d
RM
19992 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19993 use of PTR_MANGLE.
19994 * inet/getnetgrent_r.c (setup): Likewise.
19995
7ecdb005
RM
19996 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19997
e2eabb2c
DM
199982012-07-31 David S. Miller <davem@davemloft.net>
19999
20000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20001
d0419dbf
JM
200022012-07-31 Joseph Myers <joseph@codesourcery.com>
20003
20004 [BZ #13629]
20005 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20006 value between 1.0 and 2.0 and smaller part has absolute value less
20007 than 1.0.
20008 * math/s_clog10.c (__clog10): Likewise.
20009 * math/s_clog10f.c (__clog10f): Likewise.
20010 * math/s_clog10l.c (__clog10l): Likewise.
20011 * math/s_clogf.c (__clogf): Likewise.
20012 * math/s_clogl.c (__clogl): Likewise.
20013 * math/libm-test.inc (clog_test): Add more tests.
20014 (clog10_test): Likewise.
20015 * sysdeps/i386/fpu/libm-test-ulps: Update.
20016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20017
2bc13872
FW
200182012-07-31 Florian Weimer <fweimer@redhat.com>
20019
20020 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20021 Exit with zero in case no suitable GID is found, and write a
20022 message to standard error.
20023
bea9b193
RM
200242012-07-30 Roland McGrath <roland@hack.frob.com>
20025
20026 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20027 rather than to 1.
20028 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20029 (MAXPATHLEN): Removed.
20030 (NOGROUP, NODEV): New macros.
20031 (setbit, clrbit, isset, isclr): New macros.
20032 (howmany, roundup, powerof2): New macros.
20033 (DEV_BSIZE): New macro.
20034
20035 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20036 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20037
20038 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20039 definition on [!__NO_LONG_DOUBLE_MATH].
20040
20041 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20042 PTR_MANGLE and PTR_DEMANGLE.
20043
20044 * socket/accept4.c (accept4): Rename to __libc_accept4.
20045 Define accept4 as a weak alias.
20046
20047 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20048 on [_DIRENT_HAVE_D_TYPE].
20049 * io/ftw.c (ftw_dir): Likewise.
20050
20051 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20052
20053 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20054
20055 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20056 Use the BSD numbers rather than the arbitrary ones we had.
20057 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20058 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20059 (SIGXCPU, SIGXFSZ): New macros.
20060 (_NSIG): Now 32.
20061
20062 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20063 initializer on [_LIBC_REENTRANT].
20064
20065 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20066 definitions inside [_POSIX_MAPPED_FILES].
20067
20068 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20069
20070 * dirent/opendir.c: Include <fcntl.h>.
20071
20072 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20073 (__libc_getspecific): Likewise.
20074 (__libc_key_create): Likewise.
20075
20076 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20077 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20078 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20079 (tmpfile64): Define as alias.
20080 * sysdeps/wordsize-64/tmpfile.c: File removed.
20081 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20084
20085 * stdio-common/vfscanf.c: Include <stdbool.h>.
20086 * nss/makedb.c: Likewise.
20087 * stdio-common/_i18n_number.h: Likewise.
20088 * argp/argp-help.c: Likewise.
20089 * posix/wordexp.c: Likewise.
20090 * sysdeps/posix/spawni.c: Likewise.
20091 * nss/nss_files/files-initgroups.c: Likewise.
20092 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20093 * nss/nss_files/files-initgroups.c: Likewise.
20094 * nss/nss_db/db-netgrp.c: Likewise.
20095 * nss/nss_db/db-initgroups.c: Likewise.
20096 * io/fchmodat.c: Include <sys/stat.h>.
20097
20098 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20099 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20100
20101 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20102 [HAVE_MMAP].
20103
20104 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20105 Add multiple inclusion protection.
20106
e5abc686
DM
201072012-07-27 David S. Miller <davem@davemloft.net>
20108
20109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20110
815e6fa3
GB
201112012-07-27 Gary Benson <gbenson@redhat.com>
20112
20113 [BZ #14298]
20114 * elf/rtld.c: Include <stap-probe.h>.
20115 (dl_main): Added static probes "init_start" and "init_complete".
20116 * elf/dl-load.c: Include <stap-probe.h>.
20117 (lose): Take new parameter "nsid".
20118 Added static probe "map_failed".
20119 (_dl_map_object_from_fd): Pass namespace id to lose.
20120 Added static probe "map_start".
20121 (open_verify): Pass namespace id to lose.
20122 * elf/dl-open.c: Include <stap-probe.h>.
20123 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20124 and "reloc_complete".
20125 * elf/dl-close.c: Include <stap-probe.h>.
20126 (_dl_close_worker): Added static probes "unmap_start" and
20127 "unmap_complete".
20128 * elf/rtld-debugger-interface.txt: New file documenting the above.
20129
9f98c16c
RM
201302012-07-26 Roland McGrath <roland@hack.frob.com>
20131
20132 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20133 rather than a string variable.
20134 * sunrpc/rpc_main.c (h_output): Likewise.
20135 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20136
f3c22df3
PT
201372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20138
20139 * inet/check_native.c: New file.
20140
3129cfc6
JM
201412012-07-26 Joseph Myers <joseph@codesourcery.com>
20142
da865e95
JM
20143 [BZ #13629]
20144 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20145 if larger part has absolute value 1.0.
20146 * math/s_clog10.c (__clog10): Likewise.
20147 * math/s_clog10f.c (__clog10f): Likewise.
20148 * math/s_clog10l.c (__clog10l): Likewise.
20149 * math/s_clogf.c (__clogf): Likewise.
20150 * math/s_clogl.c (__clogl): Likewise.
20151 * math/libm-test.inc (clog_test): Add more tests.
20152 (clog10_test): Likewise.
20153 * sysdeps/i386/fpu/libm-test-ulps: Update.
20154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20155
3129cfc6
JM
20156 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20157 (pltexit): Likewise.
20158 (La_regs): Likewise.
20159 (La_retval): Likewise.
20160 (int_retval): Likewise.
20161 Update #error for removed macros to refer only to definitions in
20162 tst-audit.h.
20163 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20164 macro.
20165 (pltexit): Likewise.
20166 (La_regs): Likewise.
20167 (La_retval): Likewise.
20168 (int_retval): Likewise.
20169 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20170 macro.
20171 (pltexit): Likewise.
20172 (La_regs): Likewise.
20173 (La_retval): Likewise.
20174 (int_retval): Likewise.
20175 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20176 macro.
20177 (pltexit): Likewise.
20178 (La_regs): Likewise.
20179 (La_retval): Likewise.
20180 (int_retval): Likewise.
20181 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20182 macro.
20183 (pltexit): Likewise.
20184 (La_regs): Likewise.
20185 (La_retval): Likewise.
20186 (int_retval): Likewise.
20187 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20188 macro.
20189 (pltexit): Likewise.
20190 (La_regs): Likewise.
20191 (La_retval): Likewise.
20192 (int_retval): Likewise.
20193 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20194 macro.
20195 (pltexit): Likewise.
20196 (La_regs): Likewise.
20197 (La_retval): Likewise.
20198 (int_retval): Likewise.
20199 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20200 macro definitions in tst-audit.h.
20201 * sysdeps/i386/tst-audit.h: New file.
20202 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20203 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20204 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20205 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20206 * sysdeps/sh/tst-audit.h: Likewise.
20207 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20208 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20209 * sysdeps/x86_64/tst-audit.h: Likewise.
20210
bfc07087
AJ
202112012-07-26 Andreas Jaeger <aj@suse.de>
20212
b1b2aaf8
AJ
20213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20214 ptrace.
20215
20216 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20217 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20218 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20219 PTRACE_O_MASK.
20220 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20221 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20222 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20223
bfc07087
AJ
20224 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20225 value.
20226
20227 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20228 _sigsys.
20229 (si_call_addr, si_syscall, si_arch): Define new macro.
20230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20231 _sigsys.
20232 (si_call_addr, si_syscall, si_arch): Define new marcro.
20233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20234 _sigsys.
20235 (si_call_addr, si_syscall, si_arch): Define new macro.
20236 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20237 _sigsys.
20238 (si_call_addr, si_syscall, si_arch): Define new macro.
20239
89b4b02f
JM
202402012-07-25 Joseph Myers <joseph@codesourcery.com>
20241
20242 [BZ #13717]
20243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20244 Change to 2.4.21 where previously 2.4.1.
20245 * sysdeps/unix/sysv/linux/configure: Regenerated.
20246 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20247 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20248 Linux kernel version.
20249 (__ASSUME_STD_AUXV): Remove.
20250 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20251 kernel version.
20252 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20253 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20254 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20255 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20256 (__ASSUME_NETLINK_SUPPORT): Likewise.
20257 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20258 (__no_netlink_support): Remove conditional definition.
20259 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20260 Remove.
20261 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20262 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20264 (if_nameindex_ioctl): Remove.
20265 (if_nameindex_netlink): Do not handle __no_netlink_support.
20266 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20267 code.
20268 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20269 Remove conditional code.
20270 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20271 code.
20272 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20273 unconditional.
20274 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20275 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20276 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20277 Remove.
20278 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20279 [!__ASSUME_STD_AUXV]: Remove conditional code.
20280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20281 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20282 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20284 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20286 code.
20287 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20289 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20290 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20291 conditional code.
20292 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20294 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20295 code.
20296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20297 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20298 conditional code.
20299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20300 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20301 code unconditional.
20302 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20303 conditional code.
20304 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20305 unconditional.
20306 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20307 conditional code.
20308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20309 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20310 unconditional.
20311 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20312 conditional code.
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20314 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20315 code unconditional.
20316 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20317 conditional code.
20318 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20319 unconditional.
20320 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20321 conditional code.
20322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20323 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20324 code unconditional.
20325 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20326 conditional code.
20327 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20328 unconditional.
20329 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20330 conditional code.
20331
842a39cd
AS
203322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20333
20334 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20336 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20337 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20338 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20339 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20341 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20342 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20343 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20344 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20345 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20346 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20347 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20348 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20349 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20350 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20352 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20354 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20355 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20356 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20357
84b3fd84
FW
203582012-07-25 Florian Weimer <fweimer@redhat.com>
20359
20360 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20361 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20362 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20363 Introduce __libc_secure_getenv.
0c7936d5
FW
20364 * stdlib/Versions (2.17): Add secure_getenv
20365 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20366 * stdlib/secure-getenv.c: Rename __secure_getenv to
20367 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20368 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20369 * stdlib/tst-secure-getenv.c: New.
20370 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20371 * manual/startup.texi (Environment Access): Document
20372 secure_getenv.
84b3fd84
FW
20373 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20374 __libc_secure_getenv.
20375 * inet/ruserpass.c (ruserpass): Likewise.
20376 * malloc/mtrace.c (mtrace): Likewise.
20377 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20378 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20379 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20380 * sysdeps/posix/tempname.c: Likewise. Evaluate
20381 HAVE_SECURE_GETENV.
20382 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20383 __secure_getenv to __libc_secure_getenv.
84b3fd84 20384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20386 Likewise.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20388 Likewise.
20389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20396
56e49b71
JM
203972012-07-25 Joseph Myers <joseph@codesourcery.com>
20398
20399 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20400 (struct La_i86_retval): Likewise.
20401 (struct La_x86_64_regs): Likewise.
20402 (struct La_x86_64_retval): Likewise.
20403 (struct La_x32_regs): Likewise.
20404 (struct La_x32_retval): Likewise.
20405 (struct La_ppc32_regs): Likewise.
20406 (struct La_ppc32_retval): Likewise.
20407 (struct La_ppc64_regs): Likewise.
20408 (struct La_ppc64_retval): Likewise.
20409 (struct La_sh_regs): Likewise.
20410 (struct La_sh_retval): Likewise.
20411 (struct La_s390_32_regs): Likewise.
20412 (struct La_s390_32_retval): Likewise.
20413 (struct La_s390_64_regs): Likewise.
20414 (struct La_s390_64_retval): Likewise.
20415 (struct La_sparc32_regs): Likewise.
20416 (struct La_sparc32_retval): Likewise.
20417 (struct La_sparc64_regs): Likewise.
20418 (struct La_sparc64_retval): Likewise.
20419 (struct audit_ifaces): Remove architecture-specific pltenter and
20420 pltexit members.
20421 * sysdeps/i386/ldsodefs.h: New file.
20422 * sysdeps/powerpc/ldsodefs.h: Likewise.
20423 * sysdeps/s390/ldsodefs.h: Likewise.
20424 * sysdeps/sh/ldsodefs.h: Likewise.
20425 * sysdeps/sparc/ldsodefs.h: Likewise.
20426 * sysdeps/x86_64/ldsodefs.h: Likewise.
20427
354691b7
MP
204282012-07-25 Marek Polacek <polacek@redhat.com>
20429
20430 [BZ #6808]
20431 * math/libm-test.inc (yn_test): Add another test.
20432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20433 to ERANGE when the result is +-Inf.
20434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20435 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20436 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20438
bf9e2071
JM
204392012-07-24 Joseph Myers <joseph@codesourcery.com>
20440
20441 * conform/data/time.h-data (NULL): Use macro-constant. Require
20442 equal to 0.
20443 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20444 clock_t.
20445 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20446
57633811
TS
204472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20448
20449 * configure.in <sysdeps resolving>: Correct printing
20450 Implies_before.
20451 * configure: Regenerate.
20452
c23c33b0
TS
204532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20454
20455 * math/w_ilogb.c: Include <limits.h>.
20456 * math/w_ilogbl.c: Likewise.
20457
b5982523
JM
204582012-07-20 Joseph Myers <joseph@codesourcery.com>
20459
20460 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20461 va_copy. Document allowing for unavailable va_copy only as
20462 pre-C99 compatibility.
20463 * manual/string.texi (Copying and Concatenation): Use va_copy
20464 instead of __va_copy in concat example.
20465
ac4ea442
PT
204662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20467
20468 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20469 (__sendto): Use create_address_port. Initialize APORT and deallocate
20470 it if not null.
20471
f98eafbd
PT
20472 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20473 with O_NOLINK passed to __file_name_lookup.
20474
898c7aab
PT
20475 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20476 with O_NOLINK passed to __file_name_lookup.
20477
0ced335a
PT
20478 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20479 negative N or less than NGIDS.
20480
b3404dbd
PT
20481 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20482 type to string_t. Set ERANGE as errno and return it if NAME is not big
20483 enough. Use memcpy instead of strncpy.
20484
0f48659e
JM
204852012-07-20 Joseph Myers <joseph@codesourcery.com>
20486
20487 * elf/Makefile (check-data): Remove.
20488 (localplt.data): New vpath directive.
20489 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20490 instead of $(check-data).
20491 * scripts/data/localplt-generic.data: Move to ...
20492 * sysdeps/generic/localplt.data: ... here.
20493 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20494 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20495 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20497 ... here.
20498 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20500 ... here.
20501 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20503 ... here.
20504 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20506 ... here.
20507 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20509 ... here.
20510 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20512 ... here.
20513
d37cbdaa
AZ
205142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20515
20516 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20517 PPC32 and PPC64 files.
20518 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20519 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20520
46f85fc2
AK
205212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20522
20523 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20524 __makecontext_ret to ...
20525 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20526 ... here and call exit if uc_link is NULL. New file.
20527 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20528 __makecontext_ret.S.
20529 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20530 __makecontext_ret to ...
20531 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20532 ... here and call exit if uc_link is NULL. New file.
20533 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20534 __makecontext_ret.S.
20535
08f43f9b
AK
205362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20537
20538 * elf/elf.h (R_390_IRELATIVE): New definition.
20539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20540 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20541 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20542 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20543 (elf_machine_lazy_rel): Likewise.
20544 * sysdeps/s390/dl-irel.h: New file.
20545 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20546 * sysdeps/s390/s390-64/memset.S: New asm code.
20547 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20548 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20550 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20551 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20552 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20554 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20555 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20556 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20557 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20558 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20559 * sysdeps/s390/s390-32/memset.S: New asm code.
20560 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20561
3b05db33
MP
205622012-07-17 Marek Polacek <polacek@redhat.com>
20563
20564 [BZ #14349]
20565 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20566 * sysdeps/s390/s390-64/configure.in: Likewise.
20567 * sysdeps/sparc/configure.in: Likewise.
20568 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20569 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20570 * sysdeps/i386/configure.in: Likewise.
20571 * sysdeps/x86_64/configure.in: Likewise.
20572 * sysdeps/sh/configure.in: Likewise.
20573 * sysdeps/s390/s390-32/configure: Regenerated.
20574 * sysdeps/s390/s390-64/configure: Likewise.
20575 * sysdeps/x86_64/configure: Likewise.
20576 * sysdeps/sh/configure: Likewise.
20577 * sysdeps/powerpc/powerpc64/configure: Likewise.
20578 * sysdeps/powerpc/powerpc32/configure: Likewise.
20579 * sysdeps/sparc/configure: Likwise.
20580 * sysdeps/i386/configure: Likewise.
20581
a66877c6
MP
20582 * elf/dl-open.c: Comment fixes.
20583
cfc82fd8
JM
205842012-07-17 Joseph Myers <joseph@codesourcery.com>
20585
bd29910a
JM
20586 * Makefile [CXX] (check-data): Remove.
20587 [CXX] (c++-types.data): New vpath directive.
20588 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20589 vpath. Do not allow for C++ type data being missing.
20590 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20591 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20592 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20593 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20594 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20595 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20596 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20598 ... here.
20599 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20601 ... here.
20602 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20604 ... here.
20605 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20607 ... here.
20608 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20610 ... here.
20611 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20613 ... here.
20614 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20616 ... here.
20617 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20619
cfc82fd8
JM
20620 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20621 definitions to architecture-specific files.
20622 (TLS_IE): Likewise.
20623 (TLS_LD): Likewise.
20624 (TLS_GD): Likewise.
20625 * sysdeps/i386/tls-macros.h: New file.
20626 * sysdeps/powerpc/tls-macros.h: Likewise.
20627 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20628 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20629 * sysdeps/sh/tls-macros.h: Likewise.
20630 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20631 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20632 * sysdeps/x86_64/tls-macros.h: Likewise.
20633
f7db3170
TS
206342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20635
07cbfc23
TS
20636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20637 zero value for regular exit case.
20638
f7db3170
TS
20639 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20640 (__start_context): Preserve zero value for regular exit case.
20641
dc97c227
TS
206422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20643 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20644
20645 * manual/setjmp.texi (setcontext): Clarify normal process
20646 termination when uc_link is the null pointer.
20647 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20648 exit call.
20649
d0cd7d02
AS
206502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20651
20652 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20653 preprocessor. Test for each exception mask separately.
20654
dd318934
AJ
206552012-07-16 Andreas Jaeger <aj@suse.de>
20656
20657 * po/ru.po: Update from translation team.
20658
8048311a
JM
206592012-07-15 Joseph Myers <joseph@codesourcery.com>
20660
20661 * conform/data/string.h-data (NULL): Use macro-constant. Require
20662 equal to 0.
20663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20664 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20665 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20666 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20668
b637d46e
AJ
206692012-07-13 Andreas Jaeger <aj@suse.de>
20670
20671 * po/fr.po: Update from translation team.
20672
541428fe
MP
206732012-07-12 Marek Polacek <polacek@redhat.com>
20674
20675 [BZ #14173]
20676 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20678 loop condition.
20679
ec332e94
JM
206802012-07-12 Joseph Myers <joseph@codesourcery.com>
20681
20682 [BZ #13717]
20683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20684 Change to 2.4.1 where previously 2.4.0.
20685 * sysdeps/unix/sysv/linux/configure: Regenerated.
20686 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20687 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20688 version.
20689 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20690 (__ASSUME_AT_CLKTCK): Remove.
20691 (__ASSUME_AT_PAGESIZE): Likewise.
20692 (__ASSUME_AT_XID): Likewise.
20693 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20694 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20695 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20696 unconditionally.
20697 (HAVE_AUX_PAGESIZE): Likewise.
20698 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20699 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20700 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20701
7b6e99be
JB
207022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20703
20704 [BZ #14307]
20705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20706 the temporary buffer used to invoke __gethostbyname2_r,
20707 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20708 host_data / struct gaih_addrtuple.
20709 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20710 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20711 header file nss/nsswitch.h.
20712 * nss/nsswitch.h (global scope): Add definition of implementation
20713 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20714 resolv/nss_dns/dns-host.c).
20715
608404eb
AJ
207162012-07-11 Andreas Jaeger <aj@suse.de>
20717
20718 * po/fr.po: Update from translation team.
20719
71220aca
AJ
20720 * po/sv.po: Update from translation team
20721 * po/fr.po: Another update from translation team.
20722
28cfe843
AZ
207232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20724
20725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20726 for subnormals or multiply small sinh result by itself.
20727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20729
6b90f981
DM
207302012-07-11 David S. Miller <davem@davemloft.net>
20731
20732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20733
c6825772
AS
207342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20735
20736 [BZ #14347]
20737 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20738 (INTERNAL_MARK): Shift it here.
20739
7b8e0d49
MP
207402012-07-10 Marek Polacek <polacek@redhat.com>
20741
20742 [BZ #14151]
20743 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20744 libc_cv_asm_global_directive with .globl.
20745 * configure: Regenerated.
20746 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20747 with .globl.
20748 * sysdeps/i386/configure: Regenerated.
20749 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20750 with .globl.
20751 * sysdeps/x86_64/configure: Regenerated.
20752 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20753 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20754 * elf/tst-unique2mod2.c: Likewise.
20755 * elf/tst-unique2mod1.c: Likewise.
20756 * elf/tst-unique1mod2.c: Likewise.
20757 * elf/tst-unique1mod1.c: Likewise.
20758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20759 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20761 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20762 * sysdeps/mach/sysdep.h: Likewise.
20763 * sysdeps/i386/sysdep.h: Likewise.
20764 * sysdeps/i386/i386-mcount.S: Likewise.
20765 * sysdeps/x86_64/_mcount.S: Likewise.
20766 * sysdeps/x86_64/sysdep.h: Likewise.
20767 * sysdeps/sh/_mcount.S: Likewise.
20768 * sysdeps/sh/sysdep.h: Likewise.
20769 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20770 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20771 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20772 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20773 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20774 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20775 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20776 * locale/localeinfo.h: Likewise.
20777 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20778 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20779
6c55cda3
RM
207802012-07-09 Roland McGrath <roland@hack.frob.com>
20781
20782 [BZ #14336]
20783 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20784 system".
20785 * manual/message.texi (The Uniforum approach): Likewise.
20786 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20787 (glibc iconv Implementation): Likewise.
20788
638a572e
JM
207892012-07-09 Joseph Myers <joseph@codesourcery.com>
20790
20791 [BZ #14337]
20792 * math/s_clog.c (__clog): Avoid scaling a value down where that
20793 could result in underflow.
20794 * math/s_clog10.c (__clog10): Likewise.
20795 * math/s_clog10f.c (__clog10f): Likewise.
20796 * math/s_clog10l.c (__clog10l): Likewise.
20797 * math/s_clogf.c (__clogf): Likewise.
20798 * math/s_clogl.c (__clogl): Likewise.
20799 * math/libm-test.inc (clog_test): Add more tests.
20800 (clog10_test): Likewise.
20801 * sysdeps/i386/fpu/libm-test-ulps: Update.
20802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20803
261f4859
AS
208042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20805
0abaf3e4
AS
20806 [BZ #14283]
20807 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20808 by 7 not 8 to examine high bit of fractional part.
20809
261f4859
AS
20810 [BZ #14042]
20811 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20812 for call to __mcount_internal.
20813 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20814 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20815 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20816
f17ac40d
JM
208172012-07-06 Joseph Myers <joseph@codesourcery.com>
20818
9ad63c23
JM
20819 [BZ #14154]
20820 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20821 approximation for values within 0x1p-13f of an odd multiple of
20822 pi/4.
20823 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20824 exception. Add more tests.
20825 * sysdeps/i386/fpu/libm-test-ulps: Update.
20826
f17ac40d
JM
20827 [BZ #6778]
20828 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20829 inputs and return -1 for them. Do not check for +Inf in case not
20830 reachable for +Inf.
20831 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20832 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20834 and return -1 for them. Do not check for +Inf in case not
20835 reachable for +Inf.
20836 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20837 define.
20838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20839 and return -1 for them. Do not check for +Inf in case not
20840 reachable for +Inf.
20841 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20842 spurious underflow.
20843 * sysdeps/i386/fpu/libm-test-ulps: Update.
20844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20845
fb21f89b
MF
208462012-07-06 Mike Frysinger <vapier@gentoo.org>
20847
20848 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20849
cdfe2c5e
JM
208502012-07-05 Joseph Myers <joseph@codesourcery.com>
20851
20852 [BZ #14157]
20853 [BZ #14331]
20854 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20855 could result in spurious underflow. Scale down values above
20856 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20857 * math/s_csqrtf.c (__csqrtf): Likewise.
20858 * math/s_csqrtl.c (__csqrtl): Likewise.
20859 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20860 spurious underflow.
20861 * sysdeps/i386/fpu/libm-test-ulps: Update.
20862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20863
70d35b67
AS
208642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20865
704bc459
AS
20866 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20867 xopen-msg.sed.
20868 * catgets/xopen-msg.awk: New file.
20869 * catgets/xopen-msg.sed: Removed.
20870
70d35b67
AS
20871 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20872 po2text.sed.
20873 * intl/po2test.awk: New file.
20874 * intl/po2test.sed: Removed.
20875
ca61cf32
JM
208762012-07-04 Joseph Myers <joseph@codesourcery.com>
20877
20878 [BZ #14328]
20879 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20880 or multiply small sinh result by itself.
20881 * math/s_ctanf.c (__ctanf): Likewise.
20882 * math/s_ctanh.c (__ctanh): Likewise.
20883 * math/s_ctanhf.c (__ctanhf): Likewise.
20884 * math/s_ctanhl.c (__ctanhl): Likewise.
20885 * math/s_ctanl.c (__ctanl): Likewise.
20886 * math/libm-test.inc (ctan_test_tonearest): New function.
20887 (ctan_test_towardzero): Likewise.
20888 (ctan_test_downward): Likewise.
20889 (ctan_test_upward): Likewise.
20890 (ctanh_test_tonearest): Likewise.
20891 (ctanh_test_towardzero): Likewise.
20892 (ctanh_test_downward): Likewise.
20893 (ctanh_test_upward): Likewise.
20894 (main): Call these new functions.
20895 * sysdeps/i386/fpu/libm-test-ulps: Update.
20896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20897
ca48a46a
MF
208982012-07-03 Mike Frysinger <vapier@gentoo.org>
20899
20900 * .gitignore: Delete /ports entry.
20901
9d63d37d
AJ
209022012-07-03 Andreas Jaeger <aj@suse.de>
20903
20904 * po/bg.po: Update from translation team.
20905 * po/cs.po: Likewise.
20906 * po/de.po: Likewise.
20907 * po/hr.po: Likewise.
20908 * po/nl.pl: Likewise.
20909 * po/pl.po: Likewise.
20910 * po/vi.po: Likewise.
20911
370ca3d2
JM
209122012-07-03 Joseph Myers <joseph@codesourcery.com>
20913
95f5a9a8
JM
20914 * Makeconfig [!+link] (+link-before-libc): New variable.
20915 [!+link] (+link-after-libc): Likewise.
20916 [!+link] (+link-tests): Likewise.
20917 [!+link] (+link): Define in terms of $(+link-before-libc) and
20918 $(+link-after-libc).
20919 [!+link-static] (+link-static-before-libc): New variable.
20920 [!+link-static] (+link-static-after-libc): Likewise.
20921 [!+link-static] (+link-static-tests): Likewise.
20922 [!+link-static] (+link-static): Define in terms of
20923 $(+link-static-before-libc) and $(+link-static-after-libc).
20924 [build-shared] (link-libc-before-gnulib): New variable.
20925 [build-shared] (link-libc-tests): Likewise.
20926 [build-shared] (link-libc): Define in terms of
20927 $(link-libc-before-gnulib).
20928 [!build-shared] (link-libc-tests): New variable.
20929 (link-libc-static-tests): New variable.
20930 [!gnulib] (gnulib-arch): New variable.
20931 [!gnulib] (gnulib-tests): Likewise.
20932 [!gnulib] (static-gnulib-arch): Likewise.
20933 [!gnulib] (static-gnulib-tests): Likewise.
20934 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20935 Define with "=" instead of ":=".
20936 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20937 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20938 * Rules (binaries-all-notests): New variable.
20939 (binaries-all-tests): Likewise.
20940 (binaries-static-notests): Likewise.
20941 (binaries-static-tests): Likewise.
20942 (binaries-all): Define using $(binaries-all-notests) and
20943 $(binaries-all-tests).
20944 (binaries-static): Define using $(binaries-static-notests) and
20945 $(binaries-static-tests).
20946 (binaries-shared-tests): New variable.
20947 (binaries-shared-notests): Likewise.
20948 (binaries-shared): Remove variable.
20949 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20950 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20951 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20952 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20953 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20954 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20955 * elf/Makefile (sln-modules): New variable.
20956 (extra-objs): Add $(sln-modules:=.o).
20957 (ldconfig-modules): Add static-stubs.
20958 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20959 * elf/static-stubs.c: New file.
20960
7a845b2c
JM
20961 [BZ #14283]
20962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20963 by 7 not 8 to examine high bit of fractional part. Use volatile
20964 variables when splitting into final array of floats if
20965 __FLT_EVAL_METHOD__ != 0.
20966 * math/libm-test.inc (cos_test): Add another test.
20967 (sin_test): Likewise.
20968 * sysdeps/i386/fpu/libm-test-ulps: Update.
20969
e2283f38
JM
20970 [BZ #14273]
20971 * math/libm-test.inc (cosh_test): Add more tests.
20972
370ca3d2
JM
20973 * version.h (RELEASE): Set to "development".
20974 (VERSION): Set to "2.16.90".
20975
ee9247c3
CD
209762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20977
20978 * NEWS: Update copyright. Remove last-updated date.
20979 Mention math library bug fixes and timezone data changes.
20980 * README: Mention GNU/Hurd, x32, and HPPA support status.
20981
4648c381
TS
209822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20983
20984 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20985
aac78a43
AJ
209862012-06-27 Andreas Jaeger <aj@suse.de>
20987
20988 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20989
ed3dbfad
AJ
209902012-06-25 Andreas Jaeger <aj@suse.de>
20991
20992 * sysdeps/s390/fpu/libm-test-ulps: Update.
20993
4d0ee855
AS
209942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20995 Thomas Schwinge <thomas@codesourcery.com>
20996
20997 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20998 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21000 fanotify_mark.
21001
af1bce34
TS
210022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21003
a9fa33ba
TS
21004 * sysdeps/mach/start.c: Remove file.
21005 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21006 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21007 * sysdeps/sh/init-first.c: Likewise.
21008
58f902b8
TS
21009 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21010 registers for frame unwinding purposes, add CFI directives.
21011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21013 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21014 Likewise.
21015
1518f58b
TS
21016 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21017 __fortify_fail returning.
21018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21019
db9b5059
TS
21020 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21021 sysdeps/sh/____longjmp_chk.S.
21022 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21023 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21024 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21025 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21026
967705fe
TS
21027 * sysdeps/sh/abort-instr.h: New file.
21028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21029 process in case exit returns.
21030
a9def8c4
TS
21031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21032 initialize the GOT register before use.
21033
2a649725
TS
21034 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21035 calculation of ARGC > 4.
21036
af1bce34
TS
21037 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21038 meaningful names to some local labels.
21039
d230f50a
KK
210402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21041 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21042
21043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21044 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21045 (__arch_compare_and_exchange_val_16_acq): Likewise.
21046 (__arch_compare_and_exchange_val_32_acq): Likewise.
21047 (atomic_exchange_and_add): Fix gUSA sequence.
21048 (atomic_add): Likewise.
21049 (atomic_add_negative): Likewise.
21050 (atomic_add_zero): Likewise.
21051 (atomic_bit_test_set): Likewise.
21052
0479b305
AS
210532012-06-22 Andreas Schwab <schwab@redhat.com>
21054
21055 [BZ #13579]
21056 * include/link.h (struct link_map): Add l_free_initfini.
21057 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21058 l_initfini.
21059 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21060 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21061 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21062 set.
21063
0e3933b9
CD
210642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21065
21066 * configure.in: Use AC_LANG_SOURCE.
21067 * configure: Regenerate.
21068
4248b1b1
RM
210692012-06-22 Roland McGrath <roland@hack.frob.com>
21070
21071 * configure.in (libc_cv_localstatedir): New substituted variable.
21072 * configure: Regenerated.
21073 * config.make.in (localstatedir): New variable, substituted from
21074 libc_cv_localstatedir.
21075 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21076 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21077 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21078 * sysdeps/gnu/configure: Regenerated.
21079
006dd861
JL
210802012-06-21 Jeff Law <law@redhat.com>
21081
21082 [BZ #14277]
21083 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21084 free. Simplify list management for _LIBC case.
21085
79662d42
JM
210862012-06-21 Joseph Myers <joseph@codesourcery.com>
21087
b7abb4bf
JM
21088 [BZ #14273]
21089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21090 Clear sign bit of 64-bit integer value before comparing against
21091 overflow value.
21092
79662d42
JM
21093 * sysdeps/mach/configure: Regenerated.
21094
1f150908
L
210952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21096
21097 [BZ #14278]
21098 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21099
28363bbf
JL
211002012-06-21 Jeff Law <law@redhat.com>
21101
21102 [BZ #13882]
21103 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21104 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21106 * elf/dl-open.c (dl_open_worker): Likewise.
21107
09615db4
CD
211082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21109
21110 * scripts/list-sources.sh: Scan PORTS for translations.
21111 * po/libc.pot: Regenerated.
21112
2174c6dd
AJ
211132012-06-21 Andreas Jaeger <aj@suse.de>
21114
21115 [BZ #12194]
21116 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21117 warning.
21118 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21119 * bits/byteswap-16.h (__bswap_16): Likewise.
21120 * bits/byteswap.h (__bswap_constant_16): Likewise.
21121
3ee947b1
L
211222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21123
21124 [BZ #14117]
a2f34833
L
21125 * sysdeps/i386/fpu_control.h: Removed.
21126 * sysdeps/x86_64/fpu_control.h: Moved to ...
21127 * sysdeps/x86/fpu_control.h: Here.
21128
3ee947b1
L
21129 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21130 (_FPU_SETCW): Likewise.
21131
ed1825f8
L
211322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21133
25f1282a
L
21134 [BZ #14117]
21135 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21136 * sysdeps/x86/fpu/bits/mathinline.h: This.
21137 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21138
ed1825f8
L
21139 [BZ #14050]
21140 [BZ #14117]
21141 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21142 functions if __x86_64__ is defined.
21143
36d54b74
CLT
211442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21145
21146 * string/endian.h: Add !__ASSEMBLER__ condition for including
21147 conversion interfaces.
21148
10285c21
JM
211492012-06-15 Joseph Myers <joseph@codesourcery.com>
21150
21151 [BZ #14241]
21152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21153 of ABS(x) in calculating zero to negative powers other than odd
21154 integers.
21155 * math/libm-test.inc (pow_test): Add more tests.
21156
06c5abbd
AJ
211572012-06-15 Andreas Jaeger <aj@suse.de>
21158
21159 * manual/contrib.texi (Contributors): Update entry of Liubov
21160 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21161 Machado Filho.
21162
a3aeac40
CH
211632012-06-15 Cyril Hrubis <metan@ucw.cz>
21164
21165 * string/string.h: Add __wur to GNU version of strerror_r.
21166
49bdf4c1
L
211672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21168
21169 [BZ #14229]
21170 * string/Makefile (tests): Add tst-strtok_r.
21171 * string/tst-strtok_r.c: New file.
21172 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21173 RAX_LP/RDX_LP on SAVE_PTR.
21174
834f9b8d
RM
211752012-06-14 Roland McGrath <roland@hack.frob.com>
21176
21177 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21178
75fa1921
JM
211792012-06-14 Joseph Myers <joseph@codesourcery.com>
21180
21181 * libm_test.inc (csqrt_test): Allow more spurious underflow
21182 exceptions.
21183 (j0_test): Likewise.
21184 (j1_test): Likewise.
21185 (y0_test): Likewise.
21186 (y1_test): Likewise.
21187
771766df
CD
211882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21189
21190 * po/Makefile (libc.pot): Use UTF-8 charset.
21191
ceb9e56b
PP
211922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21193
21194 [BZ #14210]
21195 Suppress sign-conversion warning from FD_SET.
21196 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21197 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21198 not unsigned long int.
21199 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21200
ddb28975
L
212012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21202
21203 [BZ #14050]
21204 [BZ #14117]
21205 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21206 __extern_always_inline instead of __extern_inline.
21207 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21208 (__signbit): Likewise.
21209 (__signbitl): Support C++ namespace.
21210 (lrintf): New inline function.
21211 (lrint): Likewise.
21212 (llrintf): Likewise.
21213 (llrint): Likewise.
21214 (fmaxf): Likewise.
21215 (fmax): Likewise.
21216 (fminf): Likewise.
21217 (fmin): Likewise.
21218 (rint): Likewise.
21219 (rintf): Likewise.
21220 (ceil): Likewise.
21221 (ceilf): Likewise.
21222 (floor): Likewise.
21223 (floorf): Likewise.
21224 (nearbyint): Likewise.
21225 (nearbyintf): Likewise.
21226
d7b4fb26
TS
212272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21228
21229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21230 non-default versions.
21231
eb55f5c2
RM
212322012-06-11 Roland McGrath <roland@hack.frob.com>
21233
21234 [BZ #14218]
21235 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21236
366af02c
TS
212372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21238
99ff6e5c
TS
21239 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21240 (FE_UPWARD, FE_DOWNWARD): Don't define.
21241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21243
366af02c
TS
21244 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21245 reading it.
21246 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21248
793ea851
KK
212492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21250
21251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21253 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21255
a728a38f
L
212562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21257
21258 [BZ #14117]
c08010c7
L
21259 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21260 * sysdeps/i386/fpu/Implies: New file.
21261 * sysdeps/x86_64/fpu/Implies: Likewise.
21262 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21263 * sysdeps/x86/fpu/bits/fenv.h: This.
21264
a728a38f
L
21265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21266 __SSE_MATH__.
21267
6e230d11
SP
212682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21269
21270 [BZ #14134]
21271 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21272 character 0xffff that matches the last element of the
21273 conversion table.
21274
1b671feb
AZ
212752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21276
21277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21278 fmodl commit.
21279
6043738b
AZ
212802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21281
21282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21283 values higher than 25.6283.
21284
34ae0b32
AZ
212852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21286
21287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21288 subnormal exponent extraction and add some __builtin_expect.
21289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21290 Fix for subnormal mantissa calculation.
21291
1214ec8f
MF
212922012-06-04 Mike Frysinger <vapier@gentoo.org>
21293
21294 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21295 cpu2 is -1 and errno is not ENOSYS.
21296
f3d1f93c
L
212972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21298
21299 [BZ #14117]
0e4a3cd7
L
21300 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21301 * sysdeps/x86/bits/string.h: This.
21302 * sysdeps/x86_64/bits/string.h: Removed.
21303
6704c645
L
21304 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21305 if not compiling for x86-64, but compiling for >= i486.
21306
48495318
L
21307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21308 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21309
14adcbfc
L
21310 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21311 New macro from Linux kernel 3.4.0.
21312 (FP_XSTATE_MAGIC2): Likewise.
21313 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21314 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21315 (struct _fpx_sw_bytes): New struct.
21316 (struct _xsave_hdr): Likewise.
21317 (struct _ymmh_state): Likewise.
21318 (struct _xstate): Likewise.
21319
68e408ab
L
21320 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21321 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21323 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21325 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21326
f3d1f93c
L
21327 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21328 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21329 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21330 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21331 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21332 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21333
d9dc34cd
TMQMF
213342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21335
21336 [BZ #13743]
21337 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21338 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21339 (sysdep_headers): Include sys/platform/ppc.h.
21340 * sysdeps/powerpc/test-gettimebase.c: Test for
21341 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21342 * manual/Makefile (appendices): Include platform.texi.
21343 * manual/contrib.texi (Contributors): Update @node pointers.
21344 * manual/maint.texi (Maintenance): Likewise.
21345 (Platform): New node.
21346 * manual/platform.texi: New file. Document the new features.
21347
4af3879c
SP
213482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21349 Jakub Jelinek <jakub@redhat.com>
21350
21351 [BZ #14188]
21352 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21353 where __builtin_expect is unavailable.
21354
2fd6ff13
DM
213552012-06-03 David S. Miller <davem@davemloft.net>
21356
21357 * stdlib/longlong.h: Updated from GCC.
21358
173f7220
AS
213592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21360
21361 [BZ #14042]
21362 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21363 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21364 __mcount_internal.
21365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21366 (GLIBC_2.16): Likewise.
21367
f34a1c6f
L
213682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21369
21370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21371
88a4576f
JM
213722012-06-01 Joseph Myers <joseph@codesourcery.com>
21373
ea32bcdd
JM
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21375 (default-abi): New variable.
21376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21378 variable.
21379 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21380 Likewise.
21381 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21382 Likewise.
21383 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21384 Likewise.
21385
88a4576f
JM
21386 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21387 definition. Document in comment.
21388
402fe938
DM
213892012-06-01 David S. Miller <davem@davemloft.net>
21390
21391 * stdlib/longlong.h: Updated from GCC.
21392
3553723f
L
213932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21394
21395 [BZ #14117]
3bd872c4
L
21396 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21397 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21398 sys/debugreg.h sys/io.h here.
21399 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21400 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21401 sys/io.h.
21402 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21403 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21404 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21405 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21406 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21407 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21408
3553723f
L
21409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21410 Define only if __x86_64__ is defined.
21411
4842e4fe
JM
214122012-06-01 Joseph Myers <joseph@codesourcery.com>
21413
c5bfe3d5
JM
21414 [BZ #14048]
21415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21416 Use int64_t for variable i.
21417 * math/libm-test.inc (fmod_test): Add more tests.
21418
4842e4fe
JM
21419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21420 z computation is not scheduled after fetestexcept.
21421 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21422 Use math_force_eval instead of asm to ensure calculation scheduled
21423 before exception test.
21424 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21425 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21426
efb73488
AJ
214272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21428
21429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21430 computation is not scheduled after fetestexcept.
21431
29bcce7c
L
214322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21433
21434 [BZ #14117]
21435 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21436 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21437
73a68f94
AZ
214382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21439
21440 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21441 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21442
67b6df78
L
214432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21444
edf2933a 21445 [BZ #14117]
ebc64a18
L
21446 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21447 <bits/wordsize.h>.
21448 (__WCHAR_MIN): Support __WORDSIZE == 64.
21449 (__WCHAR_MAX): Likewise.
21450
edf2933a
L
21451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21453
57c6cf40
L
21454 [BZ #14183]
21455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21456 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21457
67b6df78 21458 [BZ #14117]
8eb6281e
L
21459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21461
aac639f4
L
21462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21463 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21464
67b6df78
L
21465 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21466 Defined to 1 if __x86_64__ isn't defined.
21467 (_STAT_VER_LINUX_OLD): New.
21468 (st_atime): Remove duplicate.
21469 (st_mtime): Likewise.
21470 (st_ctime): Likewise.
21471
1c2cfe81
DM
214722012-05-31 David S. Miller <davem@davemloft.net>
21473
21474 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21475 entries.
21476
5be8418c
AS
214772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21478
e7725326
AS
21479 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21480 gen-libm-test.pl.
21481
5be8418c
AS
21482 [BZ #14132]
21483 * elf/dl-reloc.c: Include <_itoa.h>.
21484 (_dl_reloc_bad_type): Remove use of INTUSE.
21485 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21486 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21487 * stdio-common/psiginfo.c (psiginfo): Likewise.
21488 * stdio-common/psignal.c (psignal): Likewise.
21489 * string/strsignal.c (strsignal): Likewise.
21490 * include/signal.h (_sys_siglist): Declare hidden proto.
21491 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21492 INTVARDEF with libc_hidden_data_def.
21493 * stdio-common/itoa-udigits.c: Likewise.
21494 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21495 (_itoa_lower_digits_internal): Remove declaration.
21496 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21497 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21498 (_sys_sigabbrev_internal): Remove aliases.
21499 (_sys_siglist): Define hidden alias.
21500
507352f1
MT
215012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21502
21503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21504 bits/sysctl.h.
21505
42bbb1c3
L
215062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21507
21508 [BZ #14117]
6bd784b6
L
21509 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21510 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21511
8bca20f0
L
21512 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21513 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21514 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21515 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21517 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21518
f9e890a9
L
21519 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21521 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21522
471101a1
L
21523 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21524 with __addr.
21525 (insw): Likewise.
21526 (insl): Likewise.
21527 (outsb): Likewise.
21528 (outsw): Likewise.
21529 (outsl): Likewise.
21530
6451c862
L
21531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21533 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21534
a254b8c9
L
21535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21536 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21538 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21539 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21540 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21541
b8dfdd92
L
21542 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21543 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21544
578cd270
L
21545 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21546 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21547
de662f5f
L
21548 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21550 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21551
25653439
L
21552 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21553 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21554 to ...
21555 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21556
6bad24a0
L
21557 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21559 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21560
42bbb1c3
L
21561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21562 for x86-64.
21563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21564
2d10d547
JM
215652012-05-31 Joseph Myers <joseph@codesourcery.com>
21566
21567 * math/math.h (M_El): Use two more decimal places.
21568 (M_LOG2El): Likewise.
21569 (M_LOG10El): Likewise.
21570 (M_LN2l): Likewise.
21571 (M_LN10l): Likewise.
21572 (M_PIl): Likewise.
21573 (M_PI_2l): Likewise.
21574 (M_PI_4l): Likewise.
21575 (M_1_PIl): Likewise.
21576 (M_2_PIl): Likewise.
21577 (M_2_SQRTPIl): Likewise.
21578 (M_SQRT2l): Likewise.
21579 (M_SQRT1_2l): Likewise.
21580
f230c29b
DM
215812012-05-31 David S. Miller <davem@davemloft.net>
21582
21583 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21584 values between float registers.
21585 * sysdeps/sparc/sparc64/memset.S: Likewise.
21586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21587
fed806c3
MF
215882012-05-31 Mike Frysinger <vapier@gentoo.org>
21589
21590 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21591 -D_FORTIFY_SOURCE=1.
21592 (CPPFLAGS-tst-longjmp_chk.c): Define.
21593 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21594 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21595 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21596 CFLAGS-tst-wchar-h.c.
21597
30917259
MP
215982012-05-31 Marek Polacek <polacek@redhat.com>
21599
21600 [BZ #14132]
21601 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21602 __endmntent_internal): Remove declaration.
21603 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21604 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21605 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21606
1c58d5dc
DM
216072012-05-30 David S. Miller <davem@davemloft.net>
21608
21609 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21610 (___Q_simulate_exceptions): Use real FP ops rather than writing
21611 into the %fsr.
21612 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21613 Likewise.
21614
7dc00e0d
L
216152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21616
21617 [BZ #14117]
0bd53985
L
21618 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21619 * sysdeps/x86/bits/xtitypes.h: This.
21620
3a257e66
L
21621 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21622 * sysdeps/x86/bits/wordsize.h: This.
21623
62f62904
L
21624 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21625 * sysdeps/x86/bits/huge_vall.h: This.
21626
404fe9d9
L
21627 * sysdeps/i386/bits/select.h: Removed.
21628 * sysdeps/x86_64/bits/select.h: Renamed to ...
21629 * sysdeps/x86/bits/select.h: This.
21630
d48d0446
L
21631 * sysdeps/i386/bits/setjmp.h: Removed.
21632 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21633 * sysdeps/x86/bits/setjmp.h: This.
21634
7dc00e0d
L
21635 * sysdeps/i386/bits/mathdef.h: Removed.
21636 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21637 * sysdeps/x86/bits/mathdef.h: This.
21638
03277f8f
AS
216392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21640
21641 [BZ #14132]
21642 * include/sys/socket.h (__connect_internal)
21643 (__libc_sa_len_internal): Remove declaration.
21644 (__connect, __libc_sa_len): Declare hidden_proto.
21645 (SA_LEN): Remove use of INTUSE.
21646 * socket/connect.c: Add libc_hidden_def.
21647 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21648 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21649 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21650 alias.
21651 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21652 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21653 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21654 of adding _internal alias.
21655
13764867
L
216562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21657
21658 [BZ #14117]
6bd97696
L
21659 * sysdeps/i386/bits/link.h: Removed.
21660 * sysdeps/i386/bits/linkmap.h: Likewise.
21661 * sysdeps/x86_64/bits/link.h: Renamed to ...
21662 * sysdeps/x86/bits/link.h: This.
21663 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21664 * sysdeps/x86/bits/linkmap.h: This.
21665
f726f0bb
L
21666 * sysdeps/i386/bits/endian.h: Removed.
21667 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21668 * sysdeps/x86/bits/endian.h: This.
21669
13764867
L
21670 * sysdeps/i386/bits/byteswap.h: Removed.
21671 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21672 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21673 * sysdeps/x86/bits/byteswap.h: This.
21674 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21675 * sysdeps/x86/bits/byteswap-16.h: This.
21676 * sysdeps/i386/Implies: Add x86.
21677 * sysdeps/x86_64/Implies: Likewise.
21678
ae251b0b
DM
216792012-05-30 David S. Miller <davem@davemloft.net>
21680
21681 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21682 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21684 (FP_TRAPPING_EXCEPTIONS): Define.
21685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21686 (FP_TRAPPING_EXCEPTIONS): Define.
21687 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21688 subnormals only when inexact has been signalled or underflow
21689 exceptions are enabled.
21690 (_FP_PACK_CANONICAL): Likewise.
21691
d5c90867
L
216922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21693
21694 [BZ #14183]
21695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21696 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21697
63f1549e
RH
216982012-05-30 Richard Henderson <rth@twiddle.net>
21699
8d8f2279
RH
21700 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21701 with #ifndef NOT_IN_libc.
21702
63f1549e
RH
21703 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21704 marked to avoid plt entry.
21705
0ab0291b
L
217062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21707
21708 [BZ #14112]
21709 * Makeconfig (default-abi): New macro.
21710 (abi-includes): Likewise.
21711 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21712 $(abi-$(default-abi)-lib-soname) for soname if defined.
21713 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21714 abi-variants.
21715 * Makefile (installed-stubs): Likewise.
21716 * include/stubs-biarch.h: Removed.
21717 * scripts/lib-names.awk: Only handle one library at a time.
21718 * scripts/soversions.awk: Remove WORDSIZE support.
21719 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21720 entries.
21721 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21722 Removed.
21723 (syscall-list-default-condition): Likewise.
21724 (syscall-list-default-condition): Likewise.
21725 (syscall-list-includes): Likewise.
21726 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21727 syscall-list-* with abi-*. Handle undefined abi-variants.
21728 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21729 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21730 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21731 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21732 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21733 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21734 Removed.
21735 (syscall-list-32-options): Likewise.
21736 (syscall-list-32-condition): Likewise.
21737 (syscall-list-64-options): Likewise.
21738 (syscall-list-64-condition): Likewise.
21739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21740 macro.
21741 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21742 Renamed to ...
21743 (abi-*): This.
21744 (abi-64-ld-soname): New macro.
21745 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21746 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21747 Renamed to ...
21748 (abi-*): This.
21749 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21750 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21751
4da0431d
JM
217522012-05-30 Joseph Myers <joseph@codesourcery.com>
21753
3a85279c
JM
21754 * sysdeps/unix/sysv/linux/kernel-features.h
21755 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21756 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21757 include <kernel-features.h>.
21758 [!__NR_ftruncate64]: Remove conditional code.
21759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21760 [__NR_ftruncate64]: Make code unconditional.
21761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21762 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21763 include <kernel-features.h>.
21764 [!__NR_ftruncate64]: Remove conditional code.
21765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21766 [__NR_ftruncate64]: Make code unconditional.
21767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21769 include <kernel-features.h>.
21770 [!__NR_ftruncate64]: Remove conditional code.
21771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21772 [__NR_ftruncate64]: Make code unconditional.
21773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21775 include <kernel-features.h>.
21776 [!__NR_ftruncate64]: Remove conditional code.
21777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21778 [__NR_ftruncate64]: Make code unconditional.
21779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21780
4da0431d
JM
21781 * configure.in (libc_cv_fpie): Weaken to a compile test using
21782 LIBC_TRY_CC_OPTION.
21783 * configure: Regenerated.
21784
11ef492c
AK
217852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21786
21787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21791 Refreshed.
21792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21798 Refreshed.
21799
d66ef399
DM
218002012-05-27 David S. Miller <davem@davemloft.net>
21801
21802 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21803 (___Q_zero): New.
21804 (__Q_simulate_exceptions): Return void. Change to simulate
21805 exceptions by writing into the %fsr.
21806 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21807 (__Qp_handle_exceptions): Likewise.
21808 (numbers): Delete.
21809 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21810 __Qp_handle_exceptions.
21811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21812 __Qp_handle_exceptions.
21813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21814 as unused and give dummy FP_RND_NEAREST initializer.
21815 (FP_INHIBIT_RESULTS): Define.
21816 (___Q_simulate_exceptions): Update declaration.
21817 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21818 formatting.
21819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21820 as unused and give dummy FP_RND_NEAREST initializer.
21821 (__Qp_handle_exceptions): Update declaration.
21822 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21823 formatting.
21824
04fb54b5
TS
218252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21826
21827 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21828 the temporary FPU control word.
21829 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21830 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21832 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21834 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21835 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21837 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21838 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21840
3f99608f
KK
218412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21842
21843 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21844 fields.
21845
65a4de4e
CLT
218462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21847
21848 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21849 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21850 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21851 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21852 Likewise.
21853 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21854 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21855 Likewise.
21856
15749d40
UD
218572012-05-27 Ulrich Drepper <drepper@gmail.com>
21858
21859 * po/h.po: Update from translation team.
21860
25dbcb27
AS
218612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21862
3d3f8e55
AS
21863 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21864
25dbcb27
AS
21865 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21866 handling of denormals.
21867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21868 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21869 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21870 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21874 Likewise.
21875
7ad47a80 218762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21877
21878 [BZ #14152]
21879 * math/libm-test.inc (fma_test): Don't always expect underflow
21880 exception.
21881
9c6ea9fa
SP
218822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21883
21884 [BZ #12416]
21885 * elf/tst-execstack.c: Include stackinfo.h.
21886 (do_test): Adjust test case to ensure that pthread_getattr_np
21887 behaviour remains the same after marking stack executable.
21888
a8239222
JM
218892012-05-25 Joseph Myers <joseph@codesourcery.com>
21890
21891 * sysdeps/unix/sysv/linux/kernel-features.h
21892 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21893 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21894 kernel-features.h.
21895 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21896 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21897 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21898 kernel-features.h.
21899 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21900 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21901
918b5606
L
219022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21903
21904 * configure.in: Define the default includes to being none.
21905 * configure: Regenerated.
21906
3a097cc7
RM
219072012-05-25 Roland McGrath <roland@hack.frob.com>
21908
8422c9a5
RM
21909 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21910 * sysdeps/x86_64/setjmp.S: Likewise.
21911 * sysdeps/i386/bsd-setjmp.S: Likewise.
21912 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21913 * sysdeps/i386/setjmp.S: Likewise.
21914 * sysdeps/i386/__longjmp.S: Likewise.
21915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21916 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21917
3a097cc7
RM
21918 * include/stap-probe.h: New file.
21919 * configure.in: Handle --enable-systemtap.
21920 * configure: Regenerated.
21921 * config.h.in (USE_STAP_PROBE): New #undef.
21922 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21923 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21924 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21925
21708942
JM
219262012-05-25 Joseph Myers <joseph@codesourcery.com>
21927
21928 [BZ #13717]
21929 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21930 to 2.4.0 where earlier.
21931 * sysdeps/unix/sysv/linux/configure: Regenerated.
21932 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
21941 [__ASSUME_32BITUIDS]: Make code unconditional.
21942 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21943 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21944 <kernel-features.h>.
21945 [__ASSUME_32BITUIDS]: Make code unconditional.
21946 [!__ASSUME_32BITUIDS]: Remove conditional code.
21947 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21948 <kernel-features.h>.
21949 [__ASSUME_32BITUIDS]: Make code unconditional.
21950 [!__ASSUME_32BITUIDS]: Remove conditional code.
21951 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21952 <kernel-features.h>.
21953 [__ASSUME_32BITUIDS]: Make code unconditional.
21954 [!__ASSUME_32BITUIDS]: Remove conditional code.
21955 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21956 <kernel-features.h>.
21957 [__ASSUME_32BITUIDS]: Make code unconditional.
21958 [!__ASSUME_32BITUIDS]: Remove conditional code.
21959 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21960 <kernel-features.h>.
21961 [__ASSUME_32BITUIDS]: Make code unconditional.
21962 [!__ASSUME_32BITUIDS]: Remove conditional code.
21963 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21964 <kernel-features.h>.
21965 [__ASSUME_32BITUIDS]: Make code unconditional.
21966 [!__ASSUME_32BITUIDS]: Remove conditional code.
21967 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21968 <kernel-features.h>.
21969 [__ASSUME_32BITUIDS]: Make code unconditional.
21970 [!__ASSUME_32BITUIDS]: Remove conditional code.
21971 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21972 <kernel-features.h>.
21973 [__ASSUME_32BITUIDS]: Make code unconditional.
21974 [!__ASSUME_32BITUIDS]: Remove conditional code.
21975 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21976 <kernel-features.h>.
21977 [__ASSUME_32BITUIDS]: Make code unconditional.
21978 [!__ASSUME_32BITUIDS]: Remove conditional code.
21979 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21980 <kernel-features.h>.
21981 [__ASSUME_32BITUIDS]: Make code unconditional.
21982 [!__ASSUME_32BITUIDS]: Remove conditional code.
21983 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21984 <kernel-features.h>.
21985 [__NR_setresgid] (__setresgid): Do not declare.
21986 [__ASSUME_32BITUIDS]: Make code unconditional.
21987 [!__ASSUME_32BITUIDS]: Remove conditional code.
21988 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21989 <kernel-features.h>.
21990 [__NR_setresuid] (__setresuid): Do not declare.
21991 [__ASSUME_32BITUIDS]: Make code unconditional.
21992 [!__ASSUME_32BITUIDS]: Remove conditional code.
21993 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21994 <kernel-features.h>.
21995 [__ASSUME_32BITUIDS]: Make code unconditional.
21996 [!__ASSUME_32BITUIDS]: Remove conditional code.
21997 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21998 <kernel-features.h>.
21999 [__ASSUME_32BITUIDS]: Make code unconditional.
22000 [!__ASSUME_32BITUIDS]: Remove conditional code.
22001 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22002 <kernel-features.h>.
22003 [__ASSUME_32BITUIDS]: Make code unconditional.
22004 [!__ASSUME_32BITUIDS]: Remove conditional code.
22005 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22006 <kernel-features.h>.
22007 [__ASSUME_32BITUIDS]: Make code unconditional.
22008 [!__ASSUME_32BITUIDS]: Remove conditional code.
22009 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22010 <kernel-features.h>.
22011 [__ASSUME_32BITUIDS]: Make code unconditional.
22012 [!__ASSUME_32BITUIDS]: Remove conditional code.
22013 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22014 <kernel-features.h>.
22015 [__ASSUME_32BITUIDS]: Make code unconditional.
22016 [!__ASSUME_32BITUIDS]: Remove conditional code.
22017 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22018 <kernel-features.h>.
22019 [__ASSUME_32BITUIDS]: Make code unconditional.
22020 [!__ASSUME_32BITUIDS]: Remove conditional code.
22021 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22022 <kernel-features.h>.
22023 [__ASSUME_32BITUIDS]: Make code unconditional.
22024 [!__ASSUME_32BITUIDS]: Remove conditional code.
22025 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22026 <kernel-features.h>.
22027 [__ASSUME_32BITUIDS]: Make code unconditional.
22028 [!__ASSUME_32BITUIDS]: Remove conditional code.
22029 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22030 <kernel-features.h>.
22031 [__ASSUME_32BITUIDS]: Make code unconditional.
22032 [!__ASSUME_32BITUIDS]: Remove conditional code.
22033 * sysdeps/unix/sysv/linux/kernel-features.h
22034 (__ASSUME_SETRESUID_SYSCALL): Remove.
22035 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22036 (__ASSUME_32BITUIDS): Likewise.
22037 (__ASSUME_LDT_WORKS): Likewise.
22038 (__ASSUME_O_DIRECTORY): Likewise.
22039 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22040 architecture but not kernel version.
22041 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22042 (__ASSUME_MMAP2_SYSCALL): Likewise.
22043 (__ASSUME_STAT64_SYSCALL): Likewise.
22044 (__ASSUME_IPC64): Likewise.
22045 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22046 <kernel-features.h>.
22047 [__ASSUME_32BITUIDS]: Make code unconditional.
22048 [!__ASSUME_32BITUIDS]: Remove conditional code.
22049 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22050 <kernel-features.h>.
22051 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22052 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22053 132096]: Remove conditional code.
22054 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22055 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22056 <kernel-features.h>.
22057 [__ASSUME_32BITUIDS]: Make code unconditional.
22058 [!__ASSUME_32BITUIDS]: Remove conditional code.
22059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22060 <kernel-features.h>.
22061 [__ASSUME_32BITUIDS]: Make code unconditional.
22062 [!__ASSUME_32BITUIDS]: Remove conditional code.
22063 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22064 <kernel-features.h>.
22065 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22066 unconditional.
22067 (__setresgid): Do not declare.
22068 [__ASSUME_32BITUIDS]: Make code unconditional.
22069 [!__ASSUME_32BITUIDS]: Remove conditional code.
22070 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22071 <kernel-features.h>.
22072 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22073 unconditional.
22074 (__setresuid): Do not declare.
22075 [__ASSUME_32BITUIDS]: Make code unconditional.
22076 [!__ASSUME_32BITUIDS]: Remove conditional code.
22077 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22078 <kernel-features.h>.
22079 [__ASSUME_32BITUIDS]: Make code unconditional.
22080 [!__ASSUME_32BITUIDS]: Remove conditional code.
22081 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22082 <kernel-features.h>.
22083 [__ASSUME_32BITUIDS]: Make code unconditional.
22084 [!__ASSUME_32BITUIDS]: Remove conditional code.
22085
a386f1cc
RH
220862012-05-25 Richard Henderson <rth@twiddle.net>
22087
22088 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22089 dl_hwcap to ifunc resolver.
22090 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22091 elf_ifunc_invoke.
22092 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22093 dl_hwcap to ifunc resolver.
22094 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22095
b6550497
JM
220962012-05-24 Joseph Myers <joseph@codesourcery.com>
22097
22098 [BZ #14153]
22099 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22100 for |x| <= 2**-26, not 2**-57.
22101 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22102 exception.
22103
b0bc23a1
JL
221042012-05-24 Jeff Law <law@redhat.com>
22105
22106 * stdio-common/Makefile (tests): Add bug25.
22107 * stdio-common/bug25.c: New test.
22108
347c92e9
L
221092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 [BZ #13576]
22112 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22113 multiple of MALLOC_ALIGNMENT in size.
22114 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22115
6bcc8b3f
JM
221162012-05-24 Joseph Myers <joseph@codesourcery.com>
22117
22118 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22119 Require >= 256.
22120 (FILENAME_MAX): Use macro-int-constant.
22121 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22122 (_IOFBF): Use macro-int-constant.
22123 (_IOLBF): Likewise.
22124 (_IONBF): Likewise.
22125 (SEEK_CUR): Likewise.
22126 (SEEK_END): Likewise.
22127 (SEEK_SET): Likewise.
22128 (TMP_MAX): Likewise.
22129 (EOF): Use macro-int-constant. Require < 0.
22130 (NULL): Use macro-constant. Require == 0.
22131 (stdin): Require type to be FILE *.
22132 (stdout): Likewise.
22133 (stderr): Likewise.
22134 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22135 macro-int-constant.
22136 (EXIT_SUCCESS): Likewise.
22137 (NULL): Use macro-constant. Require == 0.
22138 (RAND_MAX): Use macro-int-constant.
22139 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22140 [C99-based standards] (strtof): Require function.
22141 [C99-based standards] (strtold): Likewise.
22142 [C99-based standards] (strtoll): Likewise.
22143 [C99-based standards] (strtoull): Likewise.
22144 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22145 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22146 [ISO || ISO99 || ISO11] (math.h): Likewise.
22147 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22148 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22150
d18ea0c5
AS
221512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22152
22153 [BZ #14132]
56d25bb8
AS
22154 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22155 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22156 * intl/dgettext.c (DCGETTEXT): Likewise.
22157 * intl/gettext.c (DCGETTEXT): Likewise.
22158 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22159 * posix/regex_internal.h (gettext): Likewise.
22160 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22161 Remove declaration.
22162 * include/argz.h (__argz_count_internal)
22163 (__argz_stringify_internal): Remove declaration.
22164 (__argz_count, __argz_stringify): Declare hidden proto.
22165 * intl/dcgettext.c: Remove use of INTDEF.
22166 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22167 * string/argz-stringify.c: Likewise.
22168 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22169 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22170 Declare hidden proto.
d18ea0c5
AS
22171 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22172 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22173 Declare hidden proto.
22174 * include/stdio.h (__asprintf_internal): Don't declare.
22175 (__asprintf): Don't define as macro. Declare hidden proto.
22176 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22177 (__fsetlocking): Declare hidden proto.
22178 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22179 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22180 hidden proto.
22181 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22182 (_IO_setlinebuf): Remove use of INTUSE.
22183 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22184 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22185 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22186 Remove declaration.
22187 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22188 (_IO_do_flush): Remove use of INTUSE.
22189 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22190 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22191 (_IO_adjust_column, _IO_least_wmarker)
22192 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22193 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22194 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22195 (_IO_default_doallocate, _IO_wdefault_doallocate)
22196 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22197 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22198 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22199 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22200 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22201 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22202 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22203 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22204 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22205 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22206 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22207 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22208 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22209 proto.
22210 (_IO_flush_all_internal, _IO_adjust_column_internal)
22211 (_IO_default_uflow_internal, _IO_default_finish_internal)
22212 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22213 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22214 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22215 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22216 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22217 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22218 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22219 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22220 (_IO_file_close_internal, _IO_file_close_it_internal)
22221 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22222 (_IO_file_init_internal, _IO_file_attach_internal)
22223 (_IO_file_fopen_internal, _IO_file_read_internal)
22224 (_IO_file_sync_internal, _IO_file_seek_internal)
22225 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22226 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22227 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22228 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22229 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22230 (_IO_list_all_internal, _IO_link_in_internal)
22231 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22232 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22233 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22234 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22235 (_IO_do_write_internal, _IO_padn_internal)
22236 (_IO_getline_info_internal, _IO_getline_internal)
22237 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22238 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22239 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22240 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22241 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22242 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22243 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22244 with libc_hidden_ver, remove use of INTUSE.
22245 * libio/genops.c: Likewise.
22246 * libio/freopen.c: Likewise.
22247 * libio/freopen64.c: Likewise.
22248 * libio/iofclose.c: Likewise.
22249 * libio/iofdopen.c: Likewise.
22250 * libio/iofflush.c: Likewise.
22251 * libio/iofflush_u.c: Likewise.
22252 * libio/iofgets.c: Likewise.
22253 * libio/iofgets_u.c: Likewise.
22254 * libio/iofopen.c: Likewise.
22255 * libio/iofopncook.c: Likewise.
22256 * libio/iofread.c: Likewise.
22257 * libio/iofread_u.c: Likewise.
22258 * libio/ioftell.c: Likewise.
22259 * libio/iofwrite.c: Likewise.
22260 * libio/iogetline.c: Likewise.
22261 * libio/iogets.c: Likewise.
22262 * libio/iogetwline.c: Likewise.
22263 * libio/iopadn.c: Likewise.
22264 * libio/iopopen.c: Likewise.
22265 * libio/ioseekoff.c: Likewise.
22266 * libio/ioseekpos.c: Likewise.
22267 * libio/iosetbuffer.c: Likewise.
22268 * libio/iosetvbuf.c: Likewise.
22269 * libio/ioungetc.c: Likewise.
22270 * libio/ioungetwc.c: Likewise.
22271 * libio/iovdprintf.c: Likewise.
22272 * libio/iovsprintf.c: Likewise.
22273 * libio/iovsscanf.c: Likewise.
22274 * libio/memstream.c: Likewise.
22275 * libio/obprintf.c: Likewise.
22276 * libio/oldfileops.c: Likewise.
22277 * libio/oldiofclose.c: Likewise.
22278 * libio/oldiofdopen.c: Likewise.
22279 * libio/oldiofopen.c: Likewise.
22280 * libio/oldiopopen.c: Likewise.
22281 * libio/oldstdfiles.c: Likewise.
22282 * libio/putc.c: Likewise.
22283 * libio/setbuf.c: Likewise.
22284 * libio/setlinebuf.c: Likewise.
22285 * libio/stdfiles.c: Likewise.
22286 * libio/strops.c: Likewise.
22287 * libio/vasprintf.c: Likewise.
22288 * libio/vscanf.c: Likewise.
22289 * libio/vsnprintf.c: Likewise.
22290 * libio/vswprintf.c: Likewise.
22291 * libio/wfiledoalloc.c: Likewise.
22292 * libio/wfileops.c: Likewise.
22293 * libio/wgenops.c: Likewise.
22294 * libio/wmemstream.c: Likewise.
22295 * libio/wstrops.c: Likewise.
22296 * libio/__fpurge.c: Likewise.
22297 * libio/__fsetlocking.c: Likewise.
22298 * assert/assert.c: Likewise.
22299 * debug/fgets_chk.c: Likewise.
22300 * debug/fgets_u_chk.c: Likewise.
22301 * debug/fread_chk.c: Likewise.
22302 * debug/fread_u_chk.c: Likewise.
22303 * debug/gets_chk.c: Likewise.
22304 * debug/obprintf_chk.c: Likewise.
22305 * debug/vasprintf_chk.c: Likewise.
22306 * debug/vdprintf_chk.c: Likewise.
22307 * debug/vsnprintf_chk.c: Likewise.
22308 * debug/vsprintf_chk.c: Likewise.
22309 * malloc/mtrace.c: Likewise.
22310 * misc/error.c: Likewise.
22311 * misc/syslog.c: Likewise.
22312 * stdio-common/asprintf.c: Likewise.
22313 * stdio-common/fxprintf.c: Likewise.
22314 * stdio-common/getw.c: Likewise.
22315 * stdio-common/isoc99_fscanf.c: Likewise.
22316 * stdio-common/isoc99_scanf.c: Likewise.
22317 * stdio-common/isoc99_vfscanf.c: Likewise.
22318 * stdio-common/isoc99_vscanf.c: Likewise.
22319 * stdio-common/isoc99_vsscanf.c: Likewise.
22320 * stdio-common/printf-prs.c: Likewise.
22321 * stdio-common/printf_fp.c: Likewise.
22322 * stdio-common/printf_fphex.c: Likewise.
22323 * stdio-common/printf_size.c: Likewise.
22324 * stdio-common/putw.c: Likewise.
22325 * stdio-common/scanf.c: Likewise.
22326 * stdio-common/sprintf.c: Likewise.
22327 * stdio-common/tmpfile.c: Likewise.
22328 * stdio-common/vfprintf.c: Likewise.
22329 * stdio-common/vfscanf.c: Likewise.
22330 * stdlib/strfmon_l.c: Likewise.
22331 * sunrpc/openchild.c: Likewise.
22332 * sunrpc/xdr_stdio.c: Likewise.
22333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22334 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22335
d6c33fda
RM
223362012-05-24 Roland McGrath <roland@hack.frob.com>
22337
c1487492
RM
22338 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22339
22340 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22341 in the third column, to generate for the shared library an IFUNC
22342 that uses _dl_vdso_vsym.
22343 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22344 * Makeconfig (object-suffixes-noshared): New variable.
22345
22346 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22347 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22348 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22349 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22350
d6c33fda
RM
22351 [BZ #14132]
22352 * include/sys/time.h (__gettimeofday): Remove macro.
22353 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22354 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22355 Remove INTDEF.
22356 (__gettimeofday): Add libc_hidden_def.
22357 (gettimeofday): Add libc_hidden_weak.
22358 * sysdeps/mach/gettimeofday.c: Likewise.
22359 * sysdeps/posix/gettimeofday.c: Likewise.
22360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22361 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22363 (__gettimeofday_internal): Remove strong_alias.
22364 (__gettimeofday): Add libc_hidden_def.
22365 (gettimeofday): Add libc_hidden_weak.
22366 * sysdeps/unix/syscalls.list (gettimeofday):
22367 Remove __gettimeofday_internal alias.
22368
b5a2bbe6
L
223692012-05-24 Daniel Jacobowitz <drow@false.org>
22370 H.J. Lu <hongjiu.lu@intel.com>
22371
22372 [BZ #12495]
22373 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22374 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22375 (largebin_index_32_big): New.
22376 (largebin_index): Use it for 16-byte alignment.
22377 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22378 correction with front_misalign.
22379
cfba4fda
L
223802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22381
7f907421
L
22382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22384 Likewise.
22385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22386 Likewise.
22387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22388 Likewise.
22389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22390 Likewise.
22391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22392 Likewise.
22393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22394 Likewise.
22395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22396 Likewise.
22397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22398 Likewise.
22399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22400 Likewise.
22401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22402 Likewise.
22403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22404 Likewise.
22405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22406 Likewise.
22407
cfba4fda
L
22408 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22409 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22410
80bad0cc
JM
224112012-05-24 Joseph Myers <joseph@codesourcery.com>
22412
7a25eb06
JM
22413 [BZ #10846]
22414 [BZ #14036]
22415 * math/libm-test.inc (exp_test): Add test from bug 14036.
22416 (pow_test): Add test from bug 10846.
22417
795405f9
JM
22418 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22419 and other flags.
22420 (special_function): Do not include flags in test name.
22421 (parse_args): Likewise.
22422 * sysdeps/i386/fpu/libm-test-ulps: Update.
22423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22424 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22427
80bad0cc
JM
22428 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22429 exceptions.
22430 * math/libm-test.inc ("Philosophy"): Update comment about
22431 exception testing.
22432 (UNDERFLOW_EXCEPTION): New macro.
22433 (UNDERFLOW_EXCEPTION_OK): Likewise.
22434 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22435 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22436 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22437 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22438 (INVALID_EXCEPTION_OK): Update value.
22439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22440 (OVERFLOW_EXCEPTION_OK): Likewise.
22441 (IGNORE_ZERO_INF_SIGN): Likewise.
22442 (test_exceptions): Handle underflow exceptions.
22443 (acos_test): Update for underflow exception expectations.
22444 (cexp_test): Likewise.
22445 (clog_test): Likewise.
22446 (clog10_test): Likewise.
22447 (csqrt_test): Likewise.
22448 (ctan_test): Likewise.
22449 (ctanh_test): Likewise.
22450 (exp_test): Likewise.
22451 (exp10_test): Likewise.
22452 (exp2_test): Likewise.
22453 (expm1_test): Likewise.
22454 (fma_test): Likewise.
22455 (j0_test): Likewise.
22456 (jn_test): Likewise.
22457 (nexttoward_test): Likewise.
22458 (pow_test): Likewise.
22459 (scalbn_test): Likewise.
22460 (scalbln_test): Likewise.
22461 (tan_test): Likewise.
22462 (y1_test): Likewise.
22463 * sysdeps/i386/fpu/libm-test-ulps: Update.
22464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22465
9e0e3d0b
DM
224662012-05-23 David S. Miller <davem@davemloft.net>
22467
22468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22469 (__libc_sigaction): Remove unused local variables.
22470
ccd0a08f
L
224712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22472
22473 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22474
62bdf9a6
PE
224752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22476
f8591f80
PE
22477 mktime: avoid signed integer overflow
22478 * time/mktime.c (__mktime_internal): Do not mishandle the case
22479 where diff == INT_MIN.
22480
94c7d826
PE
22481 mktime: simplify computation of average
22482 * time/mktime.c (ranged_convert): Use new time_t_avg function
22483 instead of rolling our own (probably-slower) code.
22484
ce73d683
PE
22485 mktime: do not assume signed right shift propagates sign bit
22486 * time/mktime.c (isdst_differ): New static function.
22487 (__mktime_internal): No need to normalize tm_isdst now.
22488 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22489 tm_isdst values.
22490
72a22e59
PE
22491 mktime: merge another wrapv change from gnulib
22492 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22493 from some compilers.
22494
68605433
PE
22495 mktime: remove incorrect attempt at unusual arithmetics
22496 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22497 The code didn't really work on such machines anyway.
22498 (TYPE_MINIMUM): Assume two's complement.
22499 (twos_complement_arithmetic): Verify that long_int and time_t
22500 are two's complement (or unsigned, in the latter case).
22501
03cf7fe3
PE
22502 mktime: check signed shifts on long_int and time_t, too
22503 * time/mktime.c (SHR): Check that shifts work as desired
22504 on the types long_int and time_t too, as SHR is used on
22505 such types.
22506
f04dfbc2
PE
22507 mktime: do not assume 'long' is wide enough
22508 * time/mktime.c (verify): Move decl up.
22509 (long_int): New type.
22510 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22511 to remove assumption in the code that 'long' is wide enough to
22512 store year values. This assumption is not true on x32 and on
22513 some non-glibc platforms.
22514
62bdf9a6
PE
22515 mktime: merge wrapv change from gnulib
22516 * time/mktime.c (WRAPV): New macro.
22517 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22518 (guess_time_tm, __mktime_internal): Do not assume that signed
22519 integer overflow wraps around; modern compilers generate code
22520 where this assumption is no longer valid.
22521
5e292e4f
L
225222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22523
22524 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22525 Replace "jmp L(pseudo_end)" with "ret".
22526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22527 Likewise.
22528
8caf8c87
AJ
225292012-05-23 Andreas Jaeger <aj@suse.de>
22530
22531 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22532 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22533
1a09dc56
AJ
225342012-05-23 Andreas Jaeger <aj@suse.de>
22535 Maximilian Attems <max@stro.at>
22536
22537 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22538 New macros.
22539
1c87aba0
L
225402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22541
22542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22543 code so that pseudo_end is just ret and the stack pointer is
22544 correct also for static library in error case.
22545
40e45bd5
JM
225462012-05-23 Joseph Myers <joseph@codesourcery.com>
22547
c2670533
JM
22548 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22549 move to syscalls.list.
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22554
40e45bd5
JM
22555 * manual/install.texi (Running make install): Do not mention Linux
22556 kernel version for which pt_chown is not needed.
22557 (Linux): Do not mention problems with nscd with 2.0 kernels.
22558 * INSTALL: Regenerated.
22559
be08eda5
AJ
225602012-05-23 Andreas Jaeger <aj@suse.de>
22561
22562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22563 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22564 macro.
22565 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22567 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22568 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22569 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22570 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22573 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22575 * sysdeps/unix/sysv/linux/bits/in.h
22576 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22577
a6a056bb
RM
225782012-05-22 Roland McGrath <roland@hack.frob.com>
22579
22580 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22581 (PREPARE_VERSION): Just use assert instead, it will be elided
22582 under [NDEBUG] anyway.
22583
c9009328
L
225842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22585
22586 * sysdeps/unix/sysv/linux/Makefile: Include
22587 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 22588 (sysdep_routines): Remove sysctl.
c9009328
L
22589 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22590 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22591 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22592 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22593 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22594
73338355
AJ
225952012-05-22 Andreas Jaeger <aj@suse.de>
22596
22597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22598 that pseudo_end is just ret and the stack pointer is correct also
22599 for static library in error case.
22600
d44638b0
PP
226012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22602
22603 [BZ #14122]
22604 * nss/nsswitch.c (defconfig_entries): New variable.
22605 (__nss_database_lookup): Don't leak defconfig entries.
22606 (nss_parse_service_list): Don't leak on error paths.
22607 (free_database_entries): New function.
22608 (free_defconfig): New function.
22609 (free_mem): Move common code to free_database_entries.
22610
31a39bd8
L
226112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22612
da0331a8
L
22613 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22614 Add arch_prctl.
22615 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22616
31a39bd8
L
22617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22618 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22620 New macro.
22621 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22622 (INTERNAL_SYSCALL_TYPES): Likewise.
22623 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22624 (LOAD_REGS_TYPES_[1-6]): Likewise.
22625 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22626 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22627
45470df3
AZ
226282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22629
22630 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22631 copysignl for GLIBC_2_0.
22632 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22633 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22635 logbl for GLIBC_2_0.
22636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22638
98a61bcb
L
226392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22640
a4f6e481
L
22641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22643
f63d5db6
L
22644 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22645 Use "neg %eax".
22646
98a61bcb
L
22647 * time/mktime.c: Update copyright years.
22648
95770f14
PE
226492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22650
6226efbd
PE
22651 mktime: merge comment-quoting-style change from gnulib
22652 * time/mktime.c: Quote 'like this' in comments.
22653 The GNU coding standards suggest that we no longer quote `like this',
22654 as "`" and "'" are typically rendered asymmetrically nowadays.
22655 The typical gnulib style is to quote 'like this' when quoting
22656 code, and "like this" when quoting English.
22657
b99e4f78
PE
22658 * time/mktime.c (compile-command): Add "-I.".
22659
643e01e6
PE
22660 mktime: merge mktime-internal.h change from gnulib
22661 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22662
2554247d
PE
22663 mktime: merge time_r change from gnulib
22664 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22665
826dd0ab
PE
22666 mktime: merge DEBUG change from gnulib
22667 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22668 case system <time.h> has a #define.
22669
bd83aabe
PE
22670 mktime: merge <sys/types.h> change from gnulib
22671 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22672 since <time.t> is now guaranteed to define time_t.
22673
95770f14
PE
22674 mktime: merge HAVE_CONFIG_H change from gnulib
22675 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22676
5e1a27a9
L
226772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22678
0e44a77e
L
22679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22680 Use "neg %eax".
22681
5e1a27a9
L
22682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22683 __rlim_t cast.
22684 (struct rusage): Use anonymous union to pad each field to
22685 __syscall_slong_t.
22686
46259bec
DM
226872012-05-21 David S. Miller <davem@davemloft.net>
22688
22689 * Makefules (o-iterator): Remove .s cases.
22690 (compile-command.s): Delete.
22691 (COMPILE.s): Delete.
22692 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22693
59f0c22e
JM
226942012-05-21 Joseph Myers <joseph@codesourcery.com>
22695
22696 * configure.in (libc_cv_predef_stack_protector): Only consider
22697 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22698 * configure: Regenerated.
22699
20c07380
L
227002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22701
bbb3154b
L
22702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22703 New macro. Use R*LP on int and pointer.
22704 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
22705 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22706 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
22707 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22708
20c07380
L
22709 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22710 [__WORDSIZE_TIME64_COMPAT32] instead of
22711 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22712 (struct utmp): Likewise.
22713 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22714 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22715 Renamed to ...
22716 (__WORDSIZE_TIME64_COMPAT32): This.
22717 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22718 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22719 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22720 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22722 (__WORDSIZE_TIME64_COMPAT32): New macro.
22723
d8d1017e
AJ
227242012-05-21 Andreas Jaeger <aj@suse.de>
22725
22726 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22727 only if [SHARED]. Add prototype for __wcschr_ia32.
22728
6c7fb145
RM
227292012-05-21 Roland McGrath <roland@hack.frob.com>
22730
22731 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22732 of %rbp unmolested in the jmp_buf while mangling the low bits.
22733 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22734 unmolested high bits of %rbp while demangling the low bits.
22735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22736
66274218
AJ
227372012-05-21 Andreas Jaeger <aj@suse.de>
22738
07c58f8f
AJ
22739 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22740 * sunrpc/svc_simple.c: Use it for registerrpc.
22741 * sunrpc/xcrypt.c: Use it for passwd2des.
22742
66274218
AJ
22743 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22744
61f65140
L
227452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22746
22747 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22748 Don't define if [__SYSCALL_WORDSIZE != 32].
22749 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22750 New macro.
22751
5fefb436
AJ
227522012-05-21 Bruno Haible <bruno@clisp.org>
22753 Andreas Jaeger <aj@suse.de>
22754
22755 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22756 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22757 inptr and inend for must_buffer_ch.
22758 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22759 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22760 * stdio-common/Makefile (tests): Remove bug15.
22761 (bug15-ENV): Remove macro.
22762 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22763 anymore.
22764
d8e272ab
AJ
227652012-05-19 Andreas Jaeger <aj@suse.de>
22766 Roland McGrath <roland@hack.frob.com>
22767
22768 * manual/contrib.texi: Completely rewritten. It contains now an
22769 alphabetical list of contributors and their contributions.
22770
4a56a162
RH
227712012-05-21 Richard Henderson <rth@twiddle.net>
22772
22773 * misc/getauxval.c (__getauxval): Use unsigned long int.
22774 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22775 (getauxval): Use unsigned long int.
22776
d024d23c
L
227772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22778
22779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22780
cbc00a03
RM
227812012-05-21 Roland McGrath <roland@hack.frob.com>
22782
22783 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22784 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22785 __alignof__ (long double).
22786
478143fa
AZ
227872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22788
22789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22790
c7683a6d
RH
227912012-05-20 Richard Henderson <rth@twiddle.net>
22792
22793 * misc/getauxval.c: New file.
22794 * misc/sys/auxv.h: New file.
22795 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22796 (routines): Add getauxval.
22797 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22798 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22799 * elf/dl-sysdep.c (_dl_auxv): Remove.
22800 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22801 * elf/dl-support.c (_dl_auxv): New variable.
22802 (_dl_aux_init): Initialize it.
22803 * manual/startup.texi (Auxiliary Vector): New node.
22804 * sysdeps/generic/bits/hwcap.h: New file.
22805 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22806 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22807 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22808 * sysdeps/sparc/sysdep.h: ... here. Include it.
22809 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22812 Update.
c7683a6d
RH
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22821
a6f1845d
AZ
228222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22823
22824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22825
cbcbe830
DM
228262012-05-19 David S. Miller <davem@davemloft.net>
22827
22828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22829
e0b16cc2
JM
228302012-05-19 Joseph Myers <joseph@codesourcery.com>
22831
22832 [BZ #14123]
22833 * math/s_ccosh.c: Include <float.h>
22834 (__ccosh): Avoid internal overflow calculating sinh and cosh
22835 values before multiplying by sin and cos values.
22836 * math/s_ccoshf.c: Likewise.
22837 * math/s_ccoshl.c: Likewise.
22838 * math/s_csin.c: Likewise.
22839 * math/s_csinf.c: Likewise.
22840 * math/s_csinl.c: Likewise.
22841 * math/s_csinh.c: Likewise.
22842 * math/s_csinhf.c: Likewise.
22843 * math/s_csinhl.c: Likewise.
22844 * math/libm-test.inc (ccos_test): Add more tests.
22845 (ccosh_test): Likewise.
22846 (csin_test): Likewise.
22847 (csinh_test): Likewise.
22848 * sysdeps/i386/fpu/libm-test-ulps: Update.
22849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22850
6ad13e08
L
228512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22852
f66f0ce8
L
22853 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22854 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22855
6ad13e08
L
22856 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22857
b1d072a7
JM
228582012-05-19 Joseph Myers <joseph@codesourcery.com>
22859
22860 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22861 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22862 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22863 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22864 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22865 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22866 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22867 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22868 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22869 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22870 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22871 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22872 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22873 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22874 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22875 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22876 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22877 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22878 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22879 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22880 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22881 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22882 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22883 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22884 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22885 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22886 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22887 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22888 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22889 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22890 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22891
9eae47cb
AJ
228922012-05-18 Andreas Jaeger <aj@suse.de>
22893
22894 * csu/.gitignore: Delete.
22895
bb07f69f
L
228962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22897
22898 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22899 (timex): Use __syscall_slong_t.
22900
e6bdb741
AJ
229012012-05-18 Andreas Jaeger <aj@suse.de>
22902 Carlos O'Donell <carlos_odonell@mentor.com>
22903
22904 * manual/install.texi (Configuring and compiling): Update
22905 description about files modified in the source directory.
d6c33fda 22906 * INSTALL: Regenerated.
e6bdb741 22907
1b74487e
L
229082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22909
22910 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22911 value. Use "or" to set return value to -1.
22912 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22913 negate return value.
22914
a88b64b9
TMQMF
229152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22916
22917 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22918 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22919 failure if the compiler has Graphite support disabled.
22920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22921 Likewise.
22922 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22923 CFLAGS-memmove.c): Likewise.
22924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22925 Likewise.
22926
3707636e
L
229272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22928
610b8622
L
22929 * sysdeps/x86_64/x32/_itoa.h: New file.
22930
7cd195df
L
22931 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22932 getdents system call only if kernel and user dirents have the
22933 same d_ino and d_off.
22934
94b07d20
L
22935 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22936 LLONG_MAX != LONG_MAX.
22937 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22938 (_fitoa_word): Likewise.
22939
18298070
L
22940 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22941 years.
22942 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22944 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22945
553c7ea4
L
22946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22947 include <bits/wordsize.h>. Check __x86_64__ instead of
22948 __WORDSIZE.
22949 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22950 if __x86_64__ is defined. Use anonymous union on fpstate.
22951
3707636e
L
22952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22953 anonymous union.
22954
b53ef01a
AS
229552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22956
37fb1dc0
AS
22957 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22958 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22959 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22960 Refer to _rtld_local_ro instead of _rtld_global_ro.
22961 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22962 Likewise.
22963 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22964 Likewise.
22965 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22966 Likewise.
22967 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22968 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22969 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22970
b53ef01a
AS
22971 * sysdeps/powerpc/powerpc32/dl-machine.c
22972 (__elf_machine_runtime_setup) [PROF]: Don't reference
22973 _dl_prof_resolve.
22974
7a185db2
AJ
229752012-05-18 Andreas Jaeger <aj@suse.de>
22976
22977 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22978 function only available for GCCs before 3.4 since GCC 3.4
22979 introduced a builtin.
22980 (lrint): Likewise.
22981 (llrintf): Likewise.
22982 (llrint): Likewise.
22983 (fmaxf): Likewise.
22984 (fmax): Likewise.
22985 (fminf): Likewise.
22986 (fmin): Likewise.
22987 (rint): Likewise.
22988 (rintf): Likewise.
22989 (nearbyint): Likewise.
22990 (nearbyintf): Likewise.
22991 (ceil): Likewise.
22992 (ceilf): Likewise.
22993 (floor): Likewise.
22994 (floorf): Likewise.
22995
3e5aef87
L
229962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22997
428bd707
L
22998 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22999 on both fields and cast pointer to __syscall_ulong_t.
23000
3e5aef87
L
23001 * bits/types.h (__fsword_t): New type.
23002 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23003 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23005 (__FSWORD_T_TYPE): Likewise.
23006 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23007 (__FSWORD_T_TYPE): Likewise.
23008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23009 (__FSWORD_T_TYPE): Likewise.
23010 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23011 (__FSWORD_T_TYPE): Likewise.
23012 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23013 __SWORD_TYPE with __fsword_t.
23014 (statfs64): Likewise.
23015
1ba7c3dc
DM
230162012-05-17 David S. Miller <davem@davemloft.net>
23017
23018 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23019
59910343
AJ
230202012-05-17 Andreas Jaeger <aj@suse.de>
23021
23022 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23023 warning.
23024
2e4c1e9e
L
230252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23026
23027 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23028
de7f5ce7
AJ
230292012-05-17 Andreas Jaeger <aj@suse.de>
23030
23031 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23032 when it is used.
23033
286abc3d
CM
230342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23035
23036 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23037
477cc68e
L
230382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23039
23040 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23041 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23042
1a0994f5
CD
230432012-05-17 Andreas Jaeger <aj@suse.de>
23044 Carlos O'Donell <carlos_odonell@mentor.com>
23045
23046 [BZ #14059]
23047 * sysdeps/x86_64/multiarch/init-arch.h
23048 (bit_YMM_Usable): Rename to...
23049 (bit_AVX_Usable): ... this.
23050 (bit_FMA4_Usable): New macro.
23051 (bit_XMM_state): New macro.
23052 (bit_YMM_state): New macro.
23053 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23054 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23055 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23056 (CPUID_OSXSAVE): New macro.
23057 (CPUID_AVX): New macro.
23058 (CPUID_FMA4): New macro.
23059 (index_YMM_Usable): Rename to...
23060 (index_AVX_Usable): ... this.
23061 (HAS_AVX): Use HAS_ARCH_FEATURE.
23062 (HAS_FMA4): Likewise.
23063 (HAS_YMM_USABLE): Remove.
23064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23065 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23066 are present.
23067 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23068 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23069 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23070 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23071 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23072
0af797de
CM
230732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23074
23075 * math/libm-test.c: Support platforms without multiple rounding modes.
23076 * math/bug-nextafter.c: Support platforms without FP exceptions.
23077 * math/bug-nexttoward.c: Likewise.
23078 * math/test-fenv.c: Likewise.
23079 * math/test-misc.c: Likewise.
23080 * stdlib/bug-getcontext.c: Likewise.
23081
e39745ff
AJ
230822012-05-17 Andreas Jaeger <aj@suse.de>
23083
23084 * manual/examples/search.c (critter_cmp): Change signature to
23085 avoid warnings.
23086 * manual/string.texi (Collation Functions): Likewise.
23087
48970aba
L
230882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23089
23090 * bits/types.h: Fold copyright years.
23091 * bits/typesizes.h: Likewise.
23092 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23096 * time/time.h: Likewise.
23097
bedee953
PP
230982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23099
23100 [BZ #208]
23101 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23102 in instead of returning them. Return void.
23103 (__libc_mallinfo): Accumulate over all arenas.
23104 (__malloc_stats): Adjust for change in int_mallinfo interface.
23105
61653dfb
RM
231062012-05-16 Roland McGrath <roland@hack.frob.com>
23107
30b99d79
RM
23108 [BZ #10375]
23109 * configure.in (NM): Add AC_CHECK_TOOL for it.
23110 (libc_extra_cflags): New substituted variable.
23111 Check for -fstack-protector being used implicitly.
23112 * configure: Regenerated.
23113 * config.make.in (config-extra-cflags): New variable,
23114 gets @libc_extra_cflags@.
23115 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23116
61653dfb
RM
23117 [BZ #10375]
23118 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23119 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23120 * configure: Regenerated.
23121 * config.make.in (CPPUNDEFS): New substituted variable.
23122 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23123 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23124 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23125
661768bb
L
231262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23127
23128 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23129 (mq_attr): Use __syscall_slong_t.
23130
d4261567
L
231312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23132
23133 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23134 Check __x86_64__ instead of __WORDSIZE.
23135 (_STAT_VER_LINUX): Likewise.
23136 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23137 __syscall_ulong_t and __syscall_slong_t.
23138 (stat64): Likewise.
23139
cf3ff365
L
231402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23141
23142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23143
76cf3e4d
L
231442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23145
23146 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23147
a637753a
L
231482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23149
23150 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23151 __syscall_ulong_t.
23152
d5e05119
L
23153 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23154 include <bits/wordsize.h>. Check __x86_64__ instead of
23155 __WORDSIZE.
23156 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23157 defined.
23158 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23159
f62ee380
L
23160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23161 include <bits/wordsize.h>. Check __x86_64__ instead of
23162 __WORDSIZE.
23163 (user_regs_struct): Use "__extension__ unsigned long long"
23164 instead of "unsigned long" if __x86_64__ is defined.
23165 (user): Likewise. Pad after pointer field if __ILP32__ is
23166 defined.
23167
4e124ced
JM
231682012-05-16 Joseph Myers <joseph@codesourcery.com>
23169
6a3951a0
JM
23170 * configure.in (makeinfo): Require version 4.5 or later. Allow
23171 versions 5 to 9.
23172 * configure: Regenerated.
23173 * manual/install.texi (texinfo): Increase version requirement to
23174 4.5 or later.
23175 * INSTALL: Regenerated.
23176
4e124ced
JM
23177 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23178
953ca31a
L
231792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23180
23181 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23182
617aca05
L
23183 * sysdeps/x86_64/x32/ffs.c: New file.
23184
5762f7ae
L
23185 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23186 __syscall_ulong_t.
23187 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23188 defined. Use __syscall_ulong_t.
23189 (shminfo): Use __syscall_ulong_t.
23190 (shm_info): Likewise.
23191
a26b6856
L
23192 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23193 __syscall_ulong_t.
23194
cb2b9ef7
L
23195 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23196 <bits/wordsize.h>.
23197 (msgqnum_t): Use __syscall_ulong_t.
23198 (msglen_t): Likewise.
23199 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23200 __syscall_ulong_t.
23201
34683bb0
L
23202 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23204
84a68786
L
23205 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23206
48baa5f1
L
23207 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23208 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23209
180be88b
L
23210 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23211 __syscall_slong_t.
23212
5e90c8ad
L
23213 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23214 include <bits/wordsize.h>. Check __x86_64__ instead of
23215 __WORDSIZE.
23216
23dfb58b
L
23217 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23218 "unsigned long long int" if __x86_64__ is defined.
23219 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23220
ce5d54b0
L
23221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23223 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23224
13dc9eac
L
23225 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23226 <stdint.h>.
23227 (GET_PC): Cast to uintptr_t first.
23228 (GET_FRAME): Likewise.
23229 (GET_STACK): Likewise.
23230
a7895d15
L
23231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23238 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23239 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23243 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23249 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23251 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23260
656416c9
AS
232612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23262
5bd66283
AS
23263 * Makerules (+depfiles): Also collect depfiles from .oS in
23264 $(extra-objs).
23265 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23266 .oS, $(libnldbl-routines)).
23267
656416c9
AS
23268 * Makerules (native-compile-mkdep-flags): Define.
23269 * sunrpc/Makefile (extra-objs): Add $(addprefix
23270 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23271 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23272 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23273 calling $(make-target-directory).
23274
a46f2169
L
232752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23276
23277 * bits/types.h (__snseconds_t): Removed.
23278 * time/time.h (struct timespec): Replace __snseconds_t with
23279 __syscall_slong_t.
23280 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23281 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23282 Likewise.
23283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23284 (__SNSECONDS_T_TYPE): Likewise.
23285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23286 (__SNSECONDS_T_TYPE): Likewise.
23287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23288 (__SNSECONDS_T_TYPE): Likewise.
23289
6af6528b
L
232902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23291
23292 * sysdeps/mach/hurd/bits/typesizes.h
23293 (__SYSCALL_SLONG_TYPE): New macro.
23294 (__SYSCALL_ULONG_TYPE): Likewise.
23295
de986b56
L
232962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23297
23298 * bits/types.h (__syscall_slong_t): New type.
23299 (__syscall_ulong_t): Likewise.
23300
23301 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23302 (__SYSCALL_ULONG_TYPE): Likewise.
23303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23304 (__SYSCALL_SLONG_TYPE): Likewise.
23305 (__SYSCALL_ULONG_TYPE): Likewise.
23306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23307 (__SYSCALL_SLONG_TYPE): Likewise.
23308 (__SYSCALL_ULONG_TYPE): Likewise.
23309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23310 (__SYSCALL_SLONG_TYPE): Likewise.
23311 (__SYSCALL_ULONG_TYPE): Likewise.
23312
85736dc7
L
233132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23314
23315 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23316 Add sigaltstack-offsets.sym.
23317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23318 <sigaltstack-offsets.h>.
23319 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23320 longjmp_msg pointer.
23321 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23322 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23323 signal stack.
23324 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23325
cc03b296
JM
233262012-05-15 Joseph Myers <joseph@codesourcery.com>
23327
a9538892
JM
23328 * elf/stackguard-macros.h: Remove file.
23329 * sysdeps/generic/stackguard-macros.h: New file.
23330 * sysdeps/i386/stackguard-macros.h: Likewise.
23331 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23332 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23333 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23334 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23335 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23336 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23337 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23338 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23339 <elf/stackguard-macros.h>.
23340
cc03b296
JM
23341 [BZ #14109]
23342 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23343 __aligned__ in attribute.
23344 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23345 (gregset_t): Likewise.
23346
93171016
L
233472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23348
23349 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23350 * sysdeps/x86_64/64/Implies-after: Here. New file.
23351 * sysdeps/x86_64/x32/Implies-after: New file.
23352
d86813a0
L
233532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23354
23355 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23356 and access return value for _dl_profile_fixup. Use R10_LP to
23357 load frame size.
23358
2953ec75
L
233592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23360
23361 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23362
3b550e9e
L
233632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23364
23365 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23366 * sysdeps/x86_64/x32/sysdep.h: New file.
23367
eda41706
L
233682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23369
23370 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23371 * sysdeps/x86_64/setjmp.S: Likewise.
23372
9ea01d93
AZ
233732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23374
23375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23377 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23378 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23379 remove unused global constant.
23380
02a91938
CM
233812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23382
23383 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23384 include of <not-cancel.h>.
23385
6540185f
RM
233862012-05-15 Roland McGrath <roland@hack.frob.com>
23387
23388 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23389
509072a0
AJ
233902012-05-15 Jeff Law <law@redhat.com>
23391 Andreas Jaeger <aj@suse.de>
23392
23393 [BZ #13594]
23394 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23395 out from...
23396 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23397 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23398 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23399 code changing __hst_map_handle.map.
23400
ba75122d
RM
234012012-05-15 Roland McGrath <roland@hack.frob.com>
23402
23403 * configure.in (sysnames): Look for Implies-before and Implies-after
23404 files.
23405 * configure: Regenerated.
23406
890d8bd8
L
234072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23408
23409 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23410 8-byte data alignment with LP_SIZE alignment.
23411
f6ee6623
L
234122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23413
23414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23415 into R10_LP.
23416
ea2626f6
L
234172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23418
23419 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23420
085f715e
L
234212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23422
23423 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23424 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23426 Likewise.
23427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23428
be8498fc
L
234292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23430
23431 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23432 (stackinfo_sub_sp): Likewise.
23433
70bc83b9
L
234342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23435
23436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23437 RAX_LP.
23438
9bc0b730
L
234392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23440
23441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23442 into R*_LP.
23443
6d2850e7
L
234442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23445
23446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23447 sizes into R*_LP.
23448
3cb84561
L
234492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23450
23451 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23452
54e2ed81
L
234532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23454
23455 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23456 into R11_LP and load __x86_64_shared_cache_size_half into
23457 R8_LP.
23458
8a17f349
L
234592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23460
23461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23462 R8_LP.
23463
777b1eea
AZ
234642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23465
23466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23467 logb for POWER7.
23468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23469 logbf for POWER7.
23470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23471 logbl for POWER7.
23472 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23473 powerpc32/power7/fpu/s_logb.c via #include.
23474 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23475 powerpc32/power7/fpu/s_logbf.c via #include.
23476 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23477 powerpc32/power7/fpu/s_logbl.c via #include.
23478
d20d4ac2
JM
234792012-05-15 Joseph Myers <joseph@codesourcery.com>
23480
23481 * README.libm: Remove file.
23482
6cdef1ab
L
234832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23484
23485 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23486 count for x32. Use R*_LP and omit operand-size suffix.
23487
0b254d8f
L
234882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23489
23490 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23491 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23492 * sysdeps/x86_64/x32/shlib-versions: New file.
23493
ceb809dc
RM
234942012-05-14 Roland McGrath <roland@hack.frob.com>
23495
23496 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23497 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23498 Use _dl_fatal_printf instead.
23499
37f1abd4
JM
235002012-05-14 Joseph Myers <joseph@codesourcery.com>
23501
23502 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23503 set if not set by the user. Do not allow for being unset.
23504 * sysdeps/unix/sysv/linux/configure: Regenerated.
23505
11de3a33
L
235062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23507
23508 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23509 the `q' suffix from lea and replace .quad with ASM_ADDR.
23510
e02f153a
L
235112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23512
23513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23514 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23515 instead of $17.
23516 (PTR_DEMANGLE): Likewise.
23517
520ae0fd
L
235182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23519
23520 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23521 (LP_OP): Likewise.
23522 (ASM_ADDR): Likewise.
23523 (RAX_LP): Likewise.
23524 (RBP_LP): Likewise.
23525 (RBX_LP): Likewise.
23526 (RCX_LP): Likewise.
23527 (RDI_LP): Likewise.
23528 (RSI_LP): Likewise.
23529 (RSP_LP): Likewise.
23530 (R8_LP): Likewise.
23531 (R9_LP): Likewise.
23532 (R10_LP): Likewise.
23533 (R10_LP): Likewise.
23534 (R11_LP): Likewise.
23535 (R12_LP): Likewise.
23536 (R13_LP): Likewise.
23537 (R14_LP): Likewise.
23538 (R15_LP): Likewise.
23539
b985be81
L
235402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23541
23542 * sysdeps/x86_64/x32/dl-machine.h: New file.
23543
6a4888ff
AJ
235442012-05-14 Andreas Jaeger <aj@suse.de>
23545
23546 * manual/Makefile (subdir): Remove export of subdir.
23547 (all): Remove target.
23548 (.PHONY): Remove all from list.
23549 (mkinstalldirs): Remove.
23550 (.PHONY): Remove installdirs from list.
23551 ($(inst_infodir)/libc.info): Use make-target-directory.
23552 (installdirs): Remove.
23553 (subdir_%): Remove.
23554 (glibc-targets): Remove.
23555 (lib): Remove.
23556 (stubs): Remove.
23557 ($(objpfx)stubs ../po/manual.pot): Remove.
23558 ($(objpfx)stamp%): Remove.
23559 (make-target-directory): Remove.
23560 (subdir_install): Remove.
23561 (routines): Remove.
23562 (aux): Remove.
23563 (sources): Remove.
23564 (objects): Remove.
23565 (headers): Remove.
23566
23567 [BZ #13750]
23568 * manual/.gitignore: Remove, it's not needed anymore.
23569 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23570 all files in it.
23571 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23572 directory.
23573 (texis): Renamed to $(objpfx)texis.
23574 (texis-path): New, contains path to generated files.
23575 (chapters.%): Use texis-path for complete path, add extra argument
23576 libc-texinfo.sh.
23577 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23578 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23579 (summary,texi, stamp-summary): Use complete path of
23580 files. Generate files in build dir.
23581 (dir-add.texi): Build in build dir.
23582 (libm-err.texi,stamp-libm-err): Likewise.
23583 (version.texi, stamp-version): Likewise.
23584 (.%c.texi): Likewise.
23585 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23586 (mostlyclean): Remove target.
23587 (realclean): Remove target.
23588 (generated): Add new variable with contents from mostlyclean and
23589 realclean, remove entries duplicated in common-mostlyclean, add
23590 stamp-libm-err and stamp-version.
23591 (generated-dirs): Add libc directory.
23592 ($(inst_infodir)/libc.info): Install files from build dir.
23593
23594 * manual/install.texi (Configuring and compiling): Adjust since
23595 the info files are not part of the tar ball anymore.
23596
7ac77294
AJ
235972012-05-14 Andreas Jaeger <aj@suse.de>
23598
23599 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23600 variable.
23601
ffb7875d
JM
236022012-05-14 Joseph Myers <joseph@codesourcery.com>
23603
23604 [BZ #13717]
23605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23606 to 2.2.0 where earlier.
23607 * sysdeps/unix/sysv/linux/configure: Regenerated.
23608 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23609 Remove conditional code.
23610 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23611 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23612 Remove conditional code.
23613 [!__NR_lchown]: Likewise.
23614 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23615 [__NR_lchown]: Likewise.
23616 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23617 comment referencing __ASSUME_LCHOWN_SYSCALL.
23618 * sysdeps/unix/sysv/linux/i386/sigaction.c
23619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23621 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23622 Remove conditional code.
23623 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23624 (__protocol_available): Remove #if 0 code.
23625 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23626 conditional code.
23627 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23628 * sysdeps/unix/sysv/linux/kernel-features.h
23629 (__ASSUME_GETCWD_SYSCALL): Don't define.
23630 (__ASSUME_REALTIME_SIGNALS): Likewise.
23631 (__ASSUME_PREAD_SYSCALL): Likewise.
23632 (__ASSUME_PWRITE_SYSCALL): Likewise.
23633 (__ASSUME_POLL_SYSCALL): Likewise.
23634 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23635 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23636 non-SPARC.
23637 (__ASSUME_SIOCGIFNAME): Don't define.
23638 (__ASSUME_MSG_NOSIGNAL): Likewise.
23639 (__ASSUME_SENDFILE): Define unconditionally.
23640 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23641 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23642 conditional code.
23643 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23644 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23645 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23646 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23647 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23648 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23649 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23663 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23669 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23674 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23675 Remove conditional code.
23676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23677 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23678 Remove conditional code.
23679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23680 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23681 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23682 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23683 Remove conditional code.
23684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23685 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23686 Remove conditional code.
23687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23688 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23689 Remove conditional code.
23690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23691 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23692 Remove conditional code.
23693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23694 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23695 Remove conditional code.
23696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23697 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23700 * sysdeps/unix/sysv/linux/sigaction.c
23701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23703 * sysdeps/unix/sysv/linux/sigpending.c
23704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23706 * sysdeps/unix/sysv/linux/sigprocmask.c
23707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23709 * sysdeps/unix/sysv/linux/sigsuspend.c
23710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23713 (__libc_missing_rt_sigs): Remove.
23714 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23715 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23716 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23717 Remove conditional code.
23718 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23719 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23720 return 1.
23721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23722 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23724 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23725
1bfb7291
AJ
237262012-05-14 Andreas Jaeger <aj@suse.de>
23727
caae5a81
AJ
23728 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23729 it's not used in glibc.
23730 (__coshm1): Likewise.
23731 (__acosh1p): Likewise.
23732 (__sgn): Likewise.
23733
1bfb7291
AJ
23734 * manual/string.texi (Copying and Concatenation): Add missing
23735 variable in concat example.
23736 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23737
c044d724
L
237382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23739
144c5467 23740 [BZ #14103]
c044d724
L
23741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23742 __builtin_clzl with __builtin_clzll.
23743
2523c62b
L
237442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23745
23746 [BZ #14104]
23747 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23748 libc_freeres_ptr.
23749
d7bb4c42
LD
237502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23751
23752 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23753 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23754 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23755 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23756
9dc4e1fb
MF
237572012-05-14 Mike Frysinger <vapier@gentoo.org>
23758
23759 * NEWS: Update ia64 info.
23760
c7df0112
AS
237612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23762
23763 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23764 used as bcopy.
23765
dc70356c
TS
237662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23767
23768 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23769 * sysdeps/unix/syscalls.list (dup3): Likewise.
23770 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23771 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23772
9fb1a21f
L
237732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23774
23775 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23776 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23777
4822a2a5
L
237782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23779
23780 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23781 thread pointer.
23782 (TLS_IE): Use mov/add instead of movq/addq to load thread
23783 pointer.
23784 (TLS_GD_PREFIX): New.
23785 (TLS_GD): Use it.
23786
842b81d6
DM
237872012-05-11 David S. Miller <davem@davemloft.net>
23788
23789 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23790 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23791 (_FPU_SETCW): Likewise.
23792
1cf463cd
L
237932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23794
23795 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23796 is 32-byte aligned.
23797
60cc4a18
AS
237982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23799
23800 [BZ #11837]
23801 * iconvdata/gb18030.c: Update tables.
23802 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23803 characters specially.
23804 (BODY for TO_LOOP): Add encoding of missing ranges.
23805
febb44a4
TS
238062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23807
23808 [BZ #13673]
23809 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23810 * sysdeps/mach/hurd/dup3.c: Likewise.
23811 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23812 * sysdeps/powerpc/memmove.c:: Likewise.
23813
0a10fb9e
L
238142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23815
23816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23817 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23818
df8a552f
L
238192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23820
23821 * elf/elf.h (R_X86_64_RELATIVE64): New.
23822 (R_X86_64_NUM): Updated.
23823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23824 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23825 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23826 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23827 tst-quad1pie tst-quad2pie
23828 (modules-names): Add tst-quadmod1 tst-quadmod2.
23829 ($(objpfx)tst-quad1): New dependency.
23830 ($(objpfx)tst-quad2): Likewise.
23831 ($(objpfx)tst-quad1pie): Likewise.
23832 ($(objpfx)tst-quad2pie): Likewise.
23833 * sysdeps/x86_64/tst-quad1.c: New file.
23834 * sysdeps/x86_64/tst-quad1pie.c: New file.
23835 * sysdeps/x86_64/tst-quad2.c: Likewise.
23836 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23837 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23838 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23839 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23840 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23841
f34d6f84
ST
238422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23843
f42d41d1
ST
23844 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23845 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23846 * streams/stropts.h (t_scalar_t): Define type.
23847
3c3571fc
ST
23848 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23849 (_PATH_PRESERVE): Set to "/var/lib".
23850 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23851
61f06bd3
ST
23852 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23853 instead of int.
23854
918d4d71
ST
23855 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23856 if __dir_mkfile succeeded.
23857
f34d6f84
ST
23858 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23859 checking for _hurd_dtablesize. Unlock it right after having
23860 finished _hurd_dtable allocation.
23861
10589b4a
TS
238622012-05-10 Thomas Schwinge <thomas@schwinge.name>
23863
674cdbc7
TS
23864 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23865 * sysdeps/mach/hurd/configure: Regenerated.
23866 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23867 special-casing to...
23868 * sysdeps/gnu/configure.in: ... this new file.
23869 * sysdeps/unix/sysv/linux/configure: Regenerated.
23870 * sysdeps/gnu/configure: New generated file.
23871
8e41b99f
TS
23872 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23873 for Linux: use nsec instead of usec, as well as:
23874 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23875 members of type struct timespec.
23876 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23877 New macros.
23878 (struct stat64): Likewise.
23879 (_STATBUF_ST_NSEC): New macro.
23880 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23881
10589b4a
TS
23882 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23883 __strtoul_internal rather than strtoul.
23884
63643c85
PT
238852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23886
23887 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23888 and reject them.
23889
3faebe6a
ST
238902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23891
23892 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23893 which preserves existing values.
23894 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23895
c6474b07
PT
238962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23897
23898 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23899 TIMEOUT values. Return EINVAL for NFDS values either negative or
23900 greater than FD_SETSIZE.
23901
1043890b
ST
239022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23903
23904 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23905 allocated, call __vm_protect to finish enabling the existing space, and
23906 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23907 allocate the remainder.
23908
37ed8b9b
PT
239092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23910
23911 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23912 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23913
db653660
ST
239142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23915
37ed8b9b
PT
23916 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23917 sysdeps/mach/hurd/readlink.c.
b29d4053 23918
db653660
ST
23919 * posix/tst-sysconf.c (posix_options): Only use
23920 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23921 _POSIX_SYNCHRONIZED_IO when they are defined
23922 * sysdeps/mach/hurd/bits/posix_opt.h:
23923 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23924 (_XOPEN_REALTIME): Undefine macro.
23925 (_XOPEN_REALTIME_THREADS): Undefine macro.
23926 (_XOPEN_SHM): Undefine macro.
23927 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23928 macro to -1.
23929 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23930 macro to -1.
23931 (_POSIX_ASYNC_IO): Undefine macro.
23932 (_POSIX_PRIORITIZED_IO): Undefine macro.
23933 (_POSIX_SPIN_LOCKS): Define macro to -1.
23934
ee16e894
ST
23935 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23936 SA_NODEFER, SA_RESETHAND.
23937 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23938 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23939 F_DUPFD_CLOEXEC.
23940
6103ae3b
TS
239412012-05-10 Thomas Schwinge <thomas@schwinge.name>
23942
23943 * elf/Makefile (pldd-modules): Define unconditionally.
23944
80b4e5f3
TS
239452012-05-10 Thomas Schwinge <thomas@schwinge.name>
23946
23947 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23948
edadcbd6
ST
239492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23950
23951 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23952 Return ENOENT when name is empty.
23953 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23954
80694780
TS
239552012-05-10 Thomas Schwinge <thomas@schwinge.name>
23956
1792c087
TS
23957 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23958
80694780
TS
23959 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23960
6b645f0d
ST
239612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23962
80694780
TS
23963 Fix mlock in all cases except non-readable pages.
23964 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23965 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23966
6b645f0d
ST
23967 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23968 (__mkdir): When path is `/', just fail with EEXIST.
23969 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23970
e468f8a3
TS
239712012-05-10 Thomas Schwinge <thomas@schwinge.name>
23972
23973 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23974 <sys/uio.h> (for writev).
23975 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23976 and <sys/param.h> (for MIN).
23977
a4186cff
PT
239782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23979
23980 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23981 REQUESTED_TIME. Properly set the remaining time and return EINTR
23982 if interrupted.
23983
510bbf14
TS
239842012-05-10 Thomas Schwinge <thomas@schwinge.name>
23985
23986 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23987 Depend on against $(link-rpcuserlibs).
23988
5d5722e8
ST
239892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23990
a4186cff
PT
23991 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23992 (__libc_stack_end): Do not use attribute_relro.
23993 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23994 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23995 to libthread-provided value.
a4186cff
PT
23996 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23997 attribute_relro.
5d5722e8 23998
37233df9
TS
239992012-05-10 Thomas Schwinge <thomas@schwinge.name>
24000
be971a2b
TS
24001 [BZ #3748]
24002 * bits/libc-lock.h (__libc_once_get): New macro.
24003 * sysdeps/mach/bits/libc-lock.h: Likewise.
24004 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24006 instead of using implementation details.
24007
37233df9
TS
24008 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24009 * libio/freopen.c: Likewise.
24010 * libio/freopen64.c: Likewise.
24011 * misc/syslog.c: Likewise.
24012 * nscd/connections.c: Likewise.
24013 * nscd/netgroupcache.c: Likewise.
24014 * sysdeps/posix/getcwd.c: Likewise.
24015
38de94a5
RM
240162012-05-10 Roland McGrath <roland@hack.frob.com>
24017
24018 * math/w_ilogbf.c: Add #include <limits.h>.
24019
67530489
ST
240202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24021
a4186cff 24022 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24023 path instead of returning without unlocking.
24024
67530489
ST
24025 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24026 immediate-write ioctls.
24027 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24028
5aa3a74a
TS
240292012-05-10 Thomas Schwinge <thomas@schwinge.name>
24030
18bad2ae
TS
24031 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24032 __builtin_frame_address instead of making assumptions about the
24033 location of the return address relative to DATA. Force early load of
24034 the return address.
24035 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24036 __builtin_frame_address.
24037
5aa3a74a
TS
24038 dup3 for GNU Hurd.
24039 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24040 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24041 implement dup3 and do some further code clean-ups.
24042 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24043 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24044
ecd0de9a
ST
240452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24046
cd9fa985
ST
24047 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24048
a4186cff
PT
24049 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24050 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24051 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24052 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24053 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24054 d->port.lock.
802ca5a5 24055
a4186cff
PT
24056 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24057 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24058 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24059
bcf55240
TS
240602012-05-10 Thomas Schwinge <thomas@schwinge.name>
24061
6960eb42
TS
24062 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24063 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24064 definitions.
24065
eb43375f
TS
24066 accept4 for GNU Hurd.
24067 * include/sys/socket.h (__libc_accept4): New prototype.
24068 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24069 to implement __libc_accept4.
24070 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24071 __libc_accept4.
24072 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24073
bcf55240
TS
24074 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24075 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24076 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24077 signal-defines.sym.
24078
6178c55b
ST
240792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24080
a4186cff 24081 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24082
6f080c2f
TS
240832012-05-10 Thomas Schwinge <thomas@schwinge.name>
24084
24085 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24086 assertion on O_CLOEXEC flag.
24087 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24088 * hurd/intern-fd.c: Likewise.
24089 * hurd/port2fd.c: Likewise.
24090
bcfe3a54
ST
240912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24092
24093 [BZ #3906]
24094 * bits/in.h (IPV6_PKTINFO): Define new macro.
24095 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24096
89c9aa49
AZ
240972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24098
24099 [BZ #13954]
24100 [BZ #13955]
24101 [BZ #13956]
24102 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24104 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24105 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24107 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24108 * math/libm-test.inc (logb_test) : Additional logb tests.
24109
021db4be
AJ
241102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24111 Andreas Jaeger <aj@suse.de>
24112
24113 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24114 * configure: Regenerated.
24115 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24116 * config.make.in (link-obsolete-rpc): New substituted variable.
24117 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24118 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24119 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24120 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24121 so that libc.a contains the symbols.
24122 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24123 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24124 * sunrpc/auth_none.c: Likewise.
24125 * sunrpc/auth_unix.c: Likewise.
24126 * sunrpc/authdes_prot.c: Likewise.
24127 * sunrpc/authuxprot.c: Likewise.
24128 * sunrpc/clnt_gen.c: Likewise.
24129 * sunrpc/clnt_perr.c: Likewise.
24130 * sunrpc/clnt_raw.c: Likewise.
24131 * sunrpc/clnt_simp.c: Likewise.
24132 * sunrpc/clnt_tcp.c: Likewise.
24133 * sunrpc/clnt_udp.c: Likewise.
24134 * sunrpc/clnt_unix.c: Likewise.
24135 * sunrpc/des_crypt.c: Likewise.
24136 * sunrpc/des_soft.c: Likewise.
24137 * sunrpc/get_myaddr.c: Likewise.
24138 * sunrpc/key_call.c: Likewise.
24139 * sunrpc/key_prot.c: Likewise.
24140 * sunrpc/netname.c: Likewise.
24141 * sunrpc/pm_getmaps.c: Likewise.
24142 * sunrpc/pm_getport.c: Likewise.
24143 * sunrpc/pmap_clnt.c: Likewise.
24144 * sunrpc/pmap_prot.c: Likewise.
24145 * sunrpc/pmap_prot2.c: Likewise.
24146 * sunrpc/pmap_rmt.c: Likewise.
24147 * sunrpc/publickey.c: Likewise.
24148 * sunrpc/rpc_cmsg.c: Likewise.
24149 * sunrpc/rpc_common.c: Likewise.
24150 * sunrpc/rpc_dtable.c: Likewise.
24151 * sunrpc/rpc_prot.c: Likewise.
24152 * sunrpc/rpc_thread.c: Likewise.
24153 * sunrpc/rtime.c: Likewise.
24154 * sunrpc/svc.c: Likewise.
24155 * sunrpc/svc_auth.c: Likewise.
24156 * sunrpc/svc_raw.c: Likewise.
24157 * sunrpc/svc_run.c: Likewise.
24158 * sunrpc/svc_tcp.c: Likewise.
24159 * sunrpc/svc_udp.c: Likewise.
24160 * sunrpc/svc_unix.c: Likewise.
24161 * sunrpc/svcauth_des.c: Likewise.
24162 * sunrpc/xcrypt.c: Likewise.
24163 * sunrpc/xdr.c: Likewise.
24164 * sunrpc/xdr_array.c: Likewise.
24165 * sunrpc/xdr_float.c: Likewise.
24166 * sunrpc/xdr_intXX_t.c: Likewise.
24167 * sunrpc/xdr_mem.c: Likewise.
24168 * sunrpc/xdr_rec.c: Likewise.
24169 * sunrpc/xdr_ref.c: Likewise.
24170 * sunrpc/xdr_sizeof.c: Likewise.
24171 * sunrpc/xdr_stdio.c: Likewise.
24172
b5c086a2
RM
241732012-05-10 Roland McGrath <roland@hack.frob.com>
24174
24175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24176 change. Update copyright years.
24177
6d74dd09
JM
241782012-05-10 Joseph Myers <joseph@codesourcery.com>
24179
24180 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24181
28e72501
MK
241822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24183 Joseph Myers <joseph@codesourcery.com>
24184 Paul Pluzhnikov <ppluzhnikov@google.com>
24185
24186 [BZ #14012]
24187 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24188 requiring rpcgen.
24189 [cross-compiling] (extra-libs): Likewise.
24190 [cross-compiling] (extra-libs-others): Likewise.
24191 [cross-compiling] (librpcsvc-routines): Likewise.
24192 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24193 [cross-compiling] (omit-deps): Likewise.
24194 (sunrpc-CPPFLAGS): New variable.
24195 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24196 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24197 (cross-rpcgen-objs): New variable.
24198 (extra-objs): Append $(cross-rpcgen-objs).
24199 ($(cross-rpcgen-objs)): New rule.
24200 ($(objpfx)cross-rpcgen): Likewise.
24201 (rpcgen-cmd): Define to use $(built-program-file). Expand
24202 comment.
24203 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24204 ($(objpfx)x%.stmp): Likewise.
24205 * sunrpc/proto.h [IS_IN_build] (_): Define.
24206 [IS_IN_build] (_libc_intl_domainname): Likewise.
24207
c8c59454
L
242082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24209
24210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24211 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24212 and R_X86_64_TPOFF64.
24213
6f27cd16
JM
242142012-05-10 Joseph Myers <joseph@codesourcery.com>
24215
24216 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24217 sysdeps/unix/sysv/syscalls.list.
24218 (stime): Likewise.
24219 (utime): Likewise.
24220 * sysdeps/unix/sysv/syscalls.list: Remove file.
24221
02467e1c
PE
242222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24223
24224 [BZ #3440]
24225 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24226 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24227 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24228 (__LC_IDENTIFICATION): Make these macros useful in #if
24229 expressions, as required by C99.
24230
da392631
AS
242312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24232
24233 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24234 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24235 after this.
24236
8115f29b
L
242372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24238
24239 * stdlib/longlong.h: Updated from GCC.
24240
bdd74070
AJ
242412012-05-09 Andreas Jaeger <aj@suse.de>
24242
edfe0dbe
AJ
24243 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24244 default is first entry.
24245 (run_mode): Set type.
24246 (main): Remove informal message about syslog.
24247 (options): Fix typo.
24248
bcfe3a54
ST
24249 [BZ #14053]
24250 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24251 to asm.
bcfe3a54
ST
24252 (lrint): Likewise.
24253 (llrintf): Likewise.
24254 (llrint): Likewise.
24255 (rint): Likewise.
24256 (rintf): Likewise.
24257 (nearbyint): Likewise.
24258 (nearbyintf): Likewise.
bdd74070 24259
91d8d69e
AJ
242602012-05-09 Andreas Jaeger <aj@suse.de>
24261 Pedro Alves <palves@redhat.com>
24262
24263 * nscd/nscd.c (run_mode): Use enum.
24264 (main): Cleanup coding style issue.
24265
bb90b80b
AJ
242662012-05-09 Alexandre Oliva <aoliva@redhat.com>
24267 Andreas Jaeger <aj@suse.de>
24268
bcfe3a54
ST
24269 * nscd/nscd.c (go_background): Replaced with...
24270 (run_mode): ... this.
bb90b80b 24271 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24272 (options): Add -F --foreground.
24273 (main): Implement it.
24274 (parse_opt): Parse it.
bb90b80b 24275
1a4b75a1
AJ
242762012-05-09 Andreas Jaeger <aj@suse.de>
24277
24278 [BZ #14083]
24279 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24280 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24281 -Wconversion warning.
24282 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24283 Likewise.
24284
b1cc2472
JM
242852012-05-09 Joseph Myers <joseph@codesourcery.com>
24286
24287 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24288 == 0.
24289 (LC_ALL): Use macro-int-constant.
24290 (LC_COLLATE): Likewise.
24291 (LC_CTYPE): Likewise.
24292 (LC_MESSAGES): Likewise.
24293 (LC_MONETARY): Likewise.
24294 (LC_NUMERIC): Likewise.
24295 (LC_TIME): Likewise.
24296 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24297 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24299 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24300 Specify type.
24301 [C99-based standards] (float_t): Expect type.
24302 [C99-based standards] (double_t): Expect type.
24303 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24304 type.
24305 [C99-based standards] (HUGE_VALL): Likewise.
24306 [C99-based standards] (INFINITY): Likewise.
24307 [C99-based standards] (NAN): Likewise.
24308 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24309 [C99-based standards] (FP_NAN): Likewise.
24310 [C99-based standards] (FP_NORMAL): Likewise.
24311 [C99-based standards] (FP_SUBNORMAL): Likewise.
24312 [C99-based standards] (FP_ZERO): Likewise.
24313 [C99-based standards] (FP_FAST_FMA): Use
24314 optional-macro-int-constant. Specify type. Require == 1.
24315 [C99-based standards] (FP_FAST_FMAF): Likewise.
24316 [C99-based standards] (FP_FAST_FMAL): Likewise.
24317 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24318 [C99-based standards] (FP_ILOGBNAN): Likewise.
24319 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24320 Specify type.
24321 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24322 [C99-based standards] (math_errhandling): Specify type.
24323 [ISO99 || ISO11] (signgam): Do not allow.
24324 [non-C99-based standards] (copysignf): Do not allow.
24325 [non-C99-based standards] (exp2f): Likewise.
24326 [non-C99-based standards] (log2f): Likewise.
24327 [non-C99-based standards] (modff): Allow.
24328 [non-C99-based standards] (erff): Do not allow.
24329 [non-C99-based standards] (erfcf): Likewise.
24330 [non-C99-based standards] (gammaf): Likewise.
24331 [non-C99-based standards] (hypotf): Likewise.
24332 [non-C99-based standards] (j0f): Likewise.
24333 [non-C99-based standards] (j1f): Likewise.
24334 [non-C99-based standards] (jnf): Likewise.
24335 [non-C99-based standards] (lgammaf): Likewise.
24336 [non-C99-based standards] (tgammaf): Likewise.
24337 [non-C99-based standards] (y0f): Likewise.
24338 [non-C99-based standards] (y1f): Likewise.
24339 [non-C99-based standards] (ynf): Likewise.
24340 [non-C99-based standards] (isnanf): Likewise.
24341 [non-C99-based standards] (acoshf): Likewise.
24342 [non-C99-based standards] (asinhf): Likewise.
24343 [non-C99-based standards] (atanhf): Likewise.
24344 [non-C99-based standards] (cbrtf): Likewise.
24345 [non-C99-based standards] (expm1f): Likewise.
24346 [non-C99-based standards] (ilogbf): Likewise.
24347 [non-C99-based standards] (log1pf): Likewise.
24348 [non-C99-based standards] (logbf): Likewise.
24349 [non-C99-based standards] (nextafterf): Likewise.
24350 [non-C99-based standards] (remainderf): Likewise.
24351 [non-C99-based standards] (rintf): Likewise.
24352 [non-C99-based standards] (scalbf): Likewise.
24353 [non-C99-based standards] (copysignl): Likewise.
24354 [non-C99-based standards] (exp2l): Likewise.
24355 [non-C99-based standards] (log2l): Likewise.
24356 [non-C99-based standards] (modfl): Allow.
24357 [non-C99-based standards] (erfl): Do not allow.
24358 [non-C99-based standards] (erfcl): Likewise.
24359 [non-C99-based standards] (gammal): Likewise.
24360 [non-C99-based standards] (hypotl): Likewise.
24361 [non-C99-based standards] (j0l): Likewise.
24362 [non-C99-based standards] (j1l): Likewise.
24363 [non-C99-based standards] (jnl): Likewise.
24364 [non-C99-based standards] (lgammal): Likewise.
24365 [non-C99-based standards] (tgammal): Likewise.
24366 [non-C99-based standards] (y0l): Likewise.
24367 [non-C99-based standards] (y1l): Likewise.
24368 [non-C99-based standards] (ynl): Likewise.
24369 [non-C99-based standards] (isnanl): Likewise.
24370 [non-C99-based standards] (acoshl): Likewise.
24371 [non-C99-based standards] (asinhl): Likewise.
24372 [non-C99-based standards] (atanhl): Likewise.
24373 [non-C99-based standards] (cbrtl): Likewise.
24374 [non-C99-based standards] (expm1l): Likewise.
24375 [non-C99-based standards] (ilogbl): Likewise.
24376 [non-C99-based standards] (log1pl): Likewise.
24377 [non-C99-based standards] (logbl): Likewise.
24378 [non-C99-based standards] (nextafterl): Likewise.
24379 [non-C99-based standards] (remainderl): Likewise.
24380 [non-C99-based standards] (rintl): Likewise.
24381 [non-C99-based standards] (scalbl): Likewise.
24382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24383 [non-C99-based standards] (FP_*): Do not allow.
24384 [C99-based standards] (FP_*): Change to
24385 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24386 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24387 allow.
24388 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24389 (SIG_ERR): Likewise.
24390 [X/Open-based standards] (SIG_HOLD): Likewise.
24391 (SIG_IGN): Likewise.
24392 (SIGABRT): Use macro-int-constant. Specify type. Require
24393 positive value.
24394 (SIGFPE): Likewise.
24395 (SIGILL): Likewise.
24396 (SIGINT): Likewise.
24397 (SIGSEGV): Likewise.
24398 (SIGTER): Likewise.
24399 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24400 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24401 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24402 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24403 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24404 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24405 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24406 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24407 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24408 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24409 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24410 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24411 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24412 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24413 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24414 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24415 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24416 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24417 [X/Open-based standards] (SIGTRAP): Likewise.
24418 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24419 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24420 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24421 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24422 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24423 allow.
24424
b9f1922d
IW
244252012-05-08 Ian Wienand <ianw@vmware.com>
24426
24427 [BZ #14080]
24428 * time/tzset.c (__tzset_parse_tz): Update default rules for
24429 daylight time changes in the Energy Policy Act of 2005.
24430
1db86e88
AJ
244312012-05-09 Andreas Jaeger <aj@suse.de>
24432
24433 [BZ #13983]
24434 * elf/ldconfig.c (parse_conf): Change string to make clear that
24435 ldconfig only issued a warning if ld.so.conf does not exist.
24436
dee4a4e3
DM
244372012-05-08 David S. Miller <davem@davemloft.net>
24438
ee0db190
DM
24439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24440 movxtod instead of popping the value on the stack.
24441
dee4a4e3
DM
24442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24443
6a43ec98
CD
244442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24445
24446 * config.h.in: Add HAVE_ARM_PCS_VFP.
24447
05c2c961
RMG
244482012-05-08 Roland Mc Grath <roland@hack.frob.com>
24449
bcfe3a54
ST
24450 [BZ #13979]
24451 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24452 checking but the checks are disabled for any reason.
05c2c961 24453
4b30f61a
L
244542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24455
24456 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24457 and ELF64_R_TYPE with ELFW(R_TYPE).
24458
eee2bc67
JM
244592012-05-08 Joseph Myers <joseph@codesourcery.com>
24460
7ea5391a
JM
24461 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24462 (ulimit): Likewise.
24463
eee2bc67
JM
24464 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24465 (settimeofday): Likewise.
24466
abb66a67
MF
244672012-05-08 Mike Frysinger <vapier@gentoo.org>
24468
24469 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24470 a struct th_u2 inside the union, and move tu_block/tu_code into
24471 a new th_u3 union of tu_block/tu_code inside of that. Move
24472 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24473 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24474 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24475 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24476 (th_stuff): Change to th_u1.tu_stuff.
24477 (th_data): Define.
24478 (th_msg): Change to th_u1.th_u2.tu_data.
24479
7f18b530
DM
244802012-05-07 David S. Miller <davem@davemloft.net>
24481
05760585
DM
24482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24483
7f18b530
DM
24484 [BZ #14074]
24485 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24486 (SETUP_PIC_REG): Use it.
24487 (SETUP_PIC_REG_LEAF): Use it.
24488
495fd99f
JM
244892012-05-07 Joseph Myers <joseph@codesourcery.com>
24490
24491 [BZ #13885]
24492 [BZ #13923]
24493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24494 USE_AS_EXPM1L.
24495 (EXPL_FINITE): Likewise.
24496 (FLDLOG): Likewise.
24497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24498 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24499 e_expl.S.
24500 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24501 USE_AS_EXPM1L.
24502 (EXPL_FINITE): Likewise.
24503 (FLDLOG): Likewise.
24504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24505 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24506 e_expl.S.
24507 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24508 test of -max_value argument for long double.
24509 * sysdeps/i386/fpu/libm-test-ulps: Update.
24510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24511
6693d694
DM
245122012-05-06 David S. Miller <davem@davemloft.net>
24513
24514 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24515 quad soft-float symbols whose references which are compiler
24516 generated.
24517 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24518
6c23e11c
JM
245192012-05-06 Joseph Myers <joseph@codesourcery.com>
24520
d8b82cad
JM
24521 [BZ #13884]
24522 [BZ #13914]
24523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24524 USE_AS_EXP10L.
24525 (EXPL_FINITE): Likewise.
24526 (FLDLOG): Likewise.
24527 (c0): Likewise.
24528 (c1): Likewise.
24529 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24530 Adjust comments for base varying.
24531 (__expl_finite): Change alias to EXPL_FINITE.
24532 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24533 e_expl.S.
24534 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24535 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24537 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24539 USE_AS_EXP10L.
24540 (EXPL_FINITE): Likewise.
24541 (FLDLOG): Likewise.
24542 (c0): Likewise.
24543 (c1): Likewise.
24544 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24545 Adjust comments for base varying.
24546 (__expl_finite): Change alias to EXPL_FINITE.
24547 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24548 tests for bugs.
24549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24550
6c23e11c
JM
24551 [BZ #14064]
24552 * math/libm-test.inc (check_float_internal): Correct ulp
24553 calculation for subnormal expected results.
24554
29ba805c
AJ
245552012-05-06 Andreas Jaeger <aj@suse.de>
24556
24557 * Makeconfig (+math-flags): New, set to -frounding-math.
24558 (+cflags): Add +math-flags so that all of glibc gets compiled with
24559 it.
24560
24561 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24562
7b17aeda
JM
245632012-05-05 Joseph Myers <joseph@codesourcery.com>
24564
5779f134
JM
24565 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24566 Disable one test.
24567
41498f4d
JM
24568 [BZ #13787]
24569 [BZ #13922]
24570 [BZ #14036]
24571 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24572 (__ieee754_expl): Allow for and saturate large arguments.
24573 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24574 (u_threshold): Likewise.
24575 (__exp): Call __ieee754_exp before checking for overflow and
24576 underflow.
24577 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24578 (u_threshold): Likewise.
24579 (__expf): Call __ieee754_expf before checking for overflow and
24580 underflow.
24581 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24582 (u_threshold): Likewise.
24583 (__expl): Call __ieee754_expl before checking for overflow and
24584 underflow.
24585 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24586 (__ieee754_expl): Allow for and saturate large arguments.
24587 * math/libm-test.inc (exp_test): Add another test. Do not allow
24588 missing overflow exception on overflow.
24589 (expm1_test): Do not allow missing overflow exception on overflow.
24590
6698b8bf
JM
24591 * sysdeps/i386/fpu/e_expl.c: Move to ...
24592 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24593 rather than using inline asm.
24594 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24595 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24596 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24597
7b17aeda
JM
24598 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24599 (nice): Likewise.
24600 (poll): Likewise.
24601 (signal): Likewise.
24602 (time): Likewise.
24603 (times): Likewise.
24604
f7c85819
JM
246052012-05-04 Joseph Myers <joseph@codesourcery.com>
24606
24607 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24608 sysdeps/unix/common/syscalls.list.
24609 (fchmod): Likewise.
24610 (fchown): Likewise.
24611 (ftruncate): Likewise.
24612 (getrusage): Likewise.
24613 (gettimeofday): Likewise.
24614 (setpgid): Likewise.
24615 (setregid): Likewise.
24616 (setreuid): Likewise.
24617 (sigaction): Likewise.
24618 (truncate): Likewise.
24619 (vhangup): Likewise.
24620 * sysdeps/unix/common/syscalls.list: Remove file.
24621 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24622 * sysdeps/unix/sysv/linux/Implies: Likewise.
24623
336270d0
L
246242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24625
24626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24629 Moved to ...
24630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24631 Here.
24632 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24633 to ...
24634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24635 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24636 to ...
24637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24638 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24639 to ...
24640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24641 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24642 to ...
24643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24644 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24645 to ...
24646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24647 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24648 to ...
24649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24650 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24651 to ...
24652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24653 Here.
24654 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24655 to ...
24656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24657 Here.
24658 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24659 to ...
24660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24661 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24662 Moved to ...
24663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24664 Here.
24665 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24666 to ...
24667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24668
d128e450
JM
246692012-05-04 Joseph Myers <joseph@codesourcery.com>
24670
fa8ee516
JM
24671 * sysdeps/unix/common/bits/dirent.h: Remove file.
24672 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24673
d128e450
JM
24674 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24675 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24676 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24677 * sysdeps/unix/bsd/isatty.c: Likewise.
24678 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24679 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24680 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24681
ff8faaf0 246822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 24683
62881be4 24684 [BZ #13563]
31dc8730
AZ
24685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24686 long double comparison inaccuracies.
24687 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24689
6fef930c
AS
246902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24691
24692 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24694
8f203e6c
JM
246952012-05-04 Joseph Myers <joseph@codesourcery.com>
24696
24697 [BZ #14049]
24698 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24699 nonzero digits before rounding a hex value.
24700 * stdlib/tst-strtod.c (tests): Add another test.
24701
5197d9c2
AK
247022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24703
24704 * sysdeps/s390/fpu/libm-test-ulps: Update.
24705
f0c1dedf
AJ
247062012-05-03 Andreas Jaeger <aj@suse.de>
24707
24708 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24709 does not get optimized out.
24710 (malloc_opt_barrier): New.
24711
a65ef2ae 247122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 24713 Roland McGrath <roland@hack.frob.com>
a65ef2ae 24714
2b942cb7 24715 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 24716 intermediate file deletion.
2b942cb7 24717 (generated): Add .symlist files.
a65ef2ae 24718
54b71e02
JM
247192012-05-03 Joseph Myers <joseph@codesourcery.com>
24720
24721 [BZ #13775]
24722 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24723 Redirect under this condition.
24724 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24725 [__USE_GNU] (__dprintf_chk): Not under this condition.
24726 [__USE_GNU] (__vdprintf_chk): Likewise.
24727 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24728 under this condition.
24729 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24730 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24731 [__USE_XOPEN2K8] (vdprintf): Likewise.
24732 [__USE_GNU] (__dprintf_chk): Not under this condition.
24733 [__USE_GNU] (__vdprintf_chk): Likewise.
24734 [__USE_GNU] (dprintf): Likewise.
24735 [__USE_GNU] (vdprintf): Likewise.
24736
d3dfcc41
RM
247372012-05-03 Roland McGrath <roland@hack.frob.com>
24738
24739 * elf/Makefile (common-generated): Set this instead of generated for
24740 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24741 $(all-built-dso)-derived lists.
24742
7ac30cc5
AJ
247432012-05-03 Andreas Jaeger <aj@suse.de>
24744
0c51e550
AJ
24745 * sysdeps/i386/fpu/libm-test-ulps: Update.
24746
7ac30cc5
AJ
24747 * FAQ: Removed.
24748 * FAQ.in: Likewise.
24749 * scripts/gen-FAQ.pl: Likewise.
24750 * manual/install.texi (Installation): Point to online location of
24751 FAQ.
24752 * Makefile (files-for-dist): Remove FAQ.
24753 (FAQ): Remove.
24754
d4c2917f
AM
247552012-05-02 Allan McRae <allan@archlinux.org>
24756
24757 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24758 (LDFLAGS-reldepmod5.so): Likewise.
24759 (LDFLAGS-reldep6mod1.so): Likewise.
24760 (LDFLAGS-reldep6mod4.so): Likewise.
24761 (LDFLAGS-reldep8mod3.so): Likewise.
24762 (LDFLAGS-unload4mod1.so): Likewise.
24763 (LDFLAGS-unload4mod2.so): Likewise.
24764 (LDFLAGS-tst-initorder): Likewise.
24765 (LDFLAGS-tst-initordera2.so): Likewise.
24766 (LDFLAGS-tst-initordera3.so): Likewise.
24767 (LDFLAGS-tst-initordera4.so): Likewise.
24768 (LDFLAGS-tst-initorderb2.so): Likewise.
24769 (LDFLAGS-noload): Likewise.
24770 (LDFLAGS-next): Likewise.
24771 (LDFLAGS-order2mod1.so): Likewise.
24772 (LDFLAGS-order2mod2.so): Likewise.
24773 (LDFLAGS-tst-initorder2): Likewise.
24774 (LDFLAGS-tst-initorder2a.so): Likewise.
24775 (LDFLAGS-tst-initorder2b.so): Likewise.
24776 (LDFLAGS-tst-initorder2c.so): Likewise.
24777 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24778
d77f993f
DM
247792012-05-02 David S. Miller <davem@davemloft.net>
24780
24781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24782
171a70b4
PP
247832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24784
24785 [BZ #14055]
24786 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24787
0be196ad
AJ
247882012-05-02 Andreas Jaeger <aj@suse.de>
24789
24790 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24791 since we manipulate rounding mode.
24792 (CPPFLAGS-test-idouble.c): Likewise.
24793 (CPPFLAGS-test-ifloat.c): Likewise.
24794 (CFLAGS-test-ldouble.c): Likewise.
24795 (CFLAGS-test-double.c): Likewise.
24796 (CFLAGS-test-float.c): Likewise.
24797 (CFLAGS-test-misc.c): Likewise.
24798 (CFLAGS-test-test-fenv.c): Likewise.
24799
4f9d04aa
AZ
248002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24801
2b942cb7
RM
24802 [BZ #2550]
24803 [BZ #2570]
24804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24805 comparisons to determine direction to adjust input.
4f9d04aa 24806
82a79e7d
RM
248072012-05-01 Roland McGrath <roland@hack.frob.com>
24808
f5a01ca9
RM
24809 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24810 output to the target.
24811
90fe4186
RM
24812 * scripts/localplt.awk: New file.
24813 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24814 (check-localplt-CFLAGS): Variable removed.
24815 ($(all-built-dso:=.jmprel)): New static pattern rule.
24816 (generated): Add those targets.
24817 (localplt-built-dso): New variable.
24818 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24819
24820 * elf/check-localplt.c: File removed.
24821
82397ed6
RM
24822 * scripts/check-execstack.awk: New file.
24823 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24824 (check-execstack-CFLAGS): Variable removed.
24825 ($(objpfx)check-execstack.h): Target removed.
24826 ($(objpfx)execstack-default): New target.
24827 (generated): Add that instead of check-execstack.h.
24828 ($(all-built-dso:=.phdr)): New static pattern rule.
24829 (generated): Add those targets.
24830 * elf/check-execstack.c: File removed.
24831
82a79e7d
RM
24832 * scripts/check-textrel.awk: New file.
24833 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24834 (check-textrel-CFLAGS): Variable removed.
24835 (all-built-dso): Use := to define.o
24836 ($(all-built-dso:=.dyn)): New static pattern rule.
24837 (generated): Add those targets.
24838 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24839 * config.make.in (READELF): New substituted variable.
24840 * elf/check-textrel.c: File removed.
24841
62fde54f 248422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24843
615605c9
JM
24844 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24845 allow.
24846 * conform/data/ctype.h-data [C99-based standards] (isblank):
24847 Expect function.
24848 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24849 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24851 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24852 Specify type. Require positive value.
24853 (EILSEQ): Likewise.
24854 (ERANGE): Likewise.
24855 [ISO || POSIX] (EILSEQ): Do not expect.
24856 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24857 Specify type. Require positive value.
24858 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24859 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24860 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24861 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24862 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24863 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24864 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24865 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24866 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24867 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24868 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24869 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24870 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24871 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24872 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24873 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24874 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24875 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24876 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24877 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24878 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24879 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24880 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24881 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24882 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24883 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24884 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24885 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24886 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24887 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24888 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24889 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24890 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24891 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24892 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24893 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24894 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24895 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24896 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24897 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24898 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24899 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24900 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24901 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24902 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24903 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24904 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24905 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24906 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24907 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24908 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24909 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24910 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24911 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24912 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24913 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24914 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24915 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24916 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24917 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24918 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24919 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24920 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24921 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24922 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24923 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24924 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24925 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24926 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24927 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24928 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24929 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24930 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24931 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24932 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24933 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24934 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24935 Require >= 2.
24936 (FLT_ROUNDS): Expect as macro, not constant.
24937 (FLT_MANT_DIG): Use macro-int-constant.
24938 (DBL_MANT_DIG): Likewise.
24939 (LDBL_MANT_DIG): Likewise.
24940 (FLT_DIG): Likewise.
24941 (DBL_DIG): Likewise.
24942 (LDBL_DIG): Likewise.
24943 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24944 (DBL_MIN_EXP): Likewise.
24945 (LDBL_MIN_EXP): Likewise.
24946 (FLT_MAX_EXP): Use macro-int-constant.
24947 (DBL_MAX_EXP): Likewise.
24948 (LDBL_MAX_EXP): Likewise.
24949 (FLT_MAX_10_EXP): Likewise.
24950 (DBL_MAX_10_EXP): Likewise.
24951 (LDBL_MAX_10_EXP): Likewise.
24952 (FLT_MAX): Use macro-constant.
24953 (DBL_MAX): Likewise.
24954 (LDBL_MAX): Likewise.
24955 (FLT_EPSILON): Use macro-constant. Give upper bound.
24956 (DBL_EPSILON): Likewise.
24957 (LDBL_EPSILON): Likewise.
24958 (FLT_MIN): Likewise.
24959 (DBL_MIN): Likewise.
24960 (LDBL_MIN): Likewise.
24961 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24962 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24963 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24964 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24965 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24966 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24967 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24968 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24969 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24970 [ISO11] (FLT_TRUE_MIN): Likewise.
24971 [ISO11] (LDBL_TRUE_MIN): Likewise.
24972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24973 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24974 (SCHAR_MIN): Use macro-int-constant. Specify type.
24975 (SCHAR_MAX): Likewise.
24976 (UCHAR_MAX): Likewise.
24977 (CHAR_MIN): Likewise.
24978 (CHAR_MAX): Likewise.
24979 (MB_LEN_MAX): Use macro-int-constant.
24980 (SHRT_MIN): Use macro-int-constant. Specify type.
24981 (SHRT_MAX): Likewise.
24982 (USHRT_MAX): Likewise.
24983 (INT_MAX): Likewise.
24984 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24985 bound negative.
24986 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24987 bound with "U".
24988 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24989 bound with "L".
24990 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24991 bound negative. Suffix upper bound with "L".
24992 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24993 bound with "UL".
24994 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24995 Specify type.
24996 [C99-based standards] (LLONG_MAX): Likewise.
24997 [C99-based standards] (ULLONG_MAX): Likewise.
24998 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24999 == 0.
25000 [ISO11] (max_align_t): Require type.
25001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25002
c9140a62
JM
25003 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25004 from $CFLAGS, without defining away __attribute__ calls.
25005 (checknamespace): Use $CFLAGS_namespace.
25006
9af0bf29
JM
25007 * conform/conformtest.pl (@keywords): Only include C99 keywords
25008 for standards based on C99 or C11.
25009
343222a2
JM
25010 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25011 Disable tests.
25012 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25013 UNIX98]: Likewise.
25014
661f8cf0
JM
25015 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25016 usability of symbols in #if.
25017
ee74b9cb
JM
25018 * conform/conformtest.pl: If macro or constant types start
25019 "promoted:", expect the symbol to be of the following type
25020 promoted by the integer promotions.
62fde54f 25021
aafc49b3
JM
25022 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25023 in one place. Also handle "macro-constant".
25024
fefdf574
JM
25025 * conform/conformtest.pl: Only accept expected macro values with
25026 "==". Parse all "macro" lines in one place.
25027 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25028
f2d922fe
JM
25029 * conform/conformtest.pl: Handle braced types on "constant" lines
25030 instead of handling "typed-constant".
25031 * conform/data/signal.h-data: Use "constant" instead of
25032 "typed-constant".
25033
d22956c9
JM
25034 * conform/conformtest.pl: Handle "optional-" at start of lines in
25035 one place rather than duplicating several cases. Handle each
25036 format of "macro" line with initial "optional-".
25037
028e2e38
JM
25038 * conform/conformtest.pl: Only accept expected constant or
25039 optional-constant values with "==". Parse all "constant" lines in
25040 one place. Parse all "optional-constant" lines in one place.
25041 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25042 * conform/data/fmtmsg.h-data: Likewise.
25043 * conform/data/netinet/in.h-data: Likewise.
25044 * conform/data/tar.h-data: Likewise.
25045 * conform/data/limits.h-data: Use "==" form on "constant" and
25046 "optional-constant" lines.
25047
1b8f2850
JM
25048 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25049 Use -std=c99 for XOPEN2K.
25050 (@knownproblems): Remove.
25051 (newtoken): Don't check %isknown.
25052
a05a144b
JM
25053 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25054 Do not expect macro.
25055 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25056 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25057 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25058 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25059 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25060 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25061 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25062 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25063 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25064 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25065 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25066 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25067 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25068 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25069 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25070 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25071 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25072 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25073 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25074 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25075 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25078 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25079 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25080 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25081 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25082 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25083 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25084 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25085 [XPG3] (acosh): Likewise.
25086 [XPG3] (asinh): Likewise.
25087 [XPG3] (atanh): Likewise.
25088 [XPG3] (cbrt): Likewise.
25089 [XPG3] (expm1): Likewise.
25090 [XPG3] (ilogb): Likewise.
25091 [XPG3] (log1p): Likewise.
25092 [XPG3] (logb): Likewise.
25093 [XPG3] (nextafter): Likewise.
25094 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25095 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25096 [XPG3] (remainder): Likewise.
25097 [XPG3] (rint): Likewise.
25098 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25099 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25100 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25101 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25102 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25103 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25104 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25105 [UNIX98 || XOPEN2K] (scalb): Expect.
25106 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25107 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25108 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25109 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25110 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25111 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25112 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25113 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25114 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25115 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25116 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25117 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25118 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25119 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25120 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25121 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25122 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25123 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25124 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25125 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25126 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25127 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25128 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25129 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25130 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25131 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25132 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25133 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25134 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25135 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25136 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25137 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25138 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25139 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25140 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25141 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25142 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25143 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25144 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25145 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25146 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25147 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25148 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25149 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25150 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25151 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25152 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25153 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25154 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25155 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25156 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25157 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25158 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25159 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25160 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25161 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25162 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25163 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25164 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25165 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25166 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25167 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25168 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25169 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25170 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25171 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25172 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25173 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25174 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25175 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25176 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25177 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25178 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25179 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25180 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25181 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25182 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25183 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25184 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25185 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25186 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25187 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25188 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25189 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25190 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25191 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25192 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25193 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25194 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25195 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25196 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25197 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25198 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25199 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25200 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25201 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25202 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25203 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25204 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25205 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25206 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25207 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25208 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25209 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25210 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25211 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25212 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25213 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25214 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25215 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25216 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25217 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25218 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25219 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25220 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25221 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25222 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25223 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25224 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25225 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25226 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25227 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25228 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25229 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25230 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25231 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25232 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25233 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25234 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25235 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25236 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25237 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25238 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25239 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25240 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25241 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25242 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25243
73c5ebe3
JM
25244 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25245 _XOPEN_SOURCE_EXTENDED for XPG4.
25246
39c33b6c
JM
25247 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25248
62fde54f
JM
25249 * Makeconfig (localtime): Remove variable.
25250 (inst_localtime-file): Likewise.
25251
0741d64c
AS
252522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25253
25254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25255 Update.
25256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25257 Update.
25258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25259 Update.
25260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25261 Update.
25262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25263 Update.
25264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25265 Update.
25266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25267 Update.
25268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25269 Update.
25270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25271 Update.
25272
7cb029ee
JM
252732012-05-01 Joseph Myers <joseph@codesourcery.com>
25274
25275 [BZ #2550]
25276 [BZ #2570]
25277 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25278 comparisons to determine direction to adjust input.
25279 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25280 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25282 Likewise.
25283 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25284 Likewise.
25285 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25286 Likewise.
25287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25289 Likewise.
25290 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25291 Likewise.
25292 * math/libm-test.inc (nexttoward_test): Add more tests.
25293
412bd966
AS
252942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25295
25296 [BZ #14040]
25297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25298 in version GLIBC_2.1, not GLIBC_2.0.
25299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25300 Likewise.
25301
9568c0c2
JM
253022012-04-30 Joseph Myers <joseph@codesourcery.com>
25303
adfbc8ac
JM
25304 [BZ #13942]
25305 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25306 (1 - x) * (1 + x).
25307 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25308 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25309 * math/libm-test.inc (acos_test): Add more tests.
25310 (asin_test): Likewise.
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25313
5ba3cc69
JM
25314 [BZ #14034]
25315 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25316 of square root.
25317 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25318 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25319 * math/libm-test.inc (acos_test_tonearest): New function.
25320 (acos_test_towardzero): Likewise.
25321 (acos_test_downward): Likewise.
25322 (acos_test_upward): Likewise.
25323 (asin_test_tonearest): Likewise.
25324 (asin_test_towardzero): Likewise.
25325 (asin_test_downward): Likewise.
25326 (asin_test_upward): Likewise.
25327 (main): Call the new functions.
25328 * sysdeps/i386/fpu/libm-test-ulps: Update.
25329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25330
9568c0c2
JM
25331 [BZ #13884]
25332 [BZ #13924]
25333 * math/e_exp10.c: Include <float.h>.
25334 (__ieee754_exp10): Handle underflow here rather than multiplying
25335 large negative argument by M_LN10.
25336 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25337 of __ieee754_expf.
25338 * math/e_exp10l.c: Include <float.h>.
25339 (__ieee754_exp10l): Handle underflow here rather than multiplying
25340 large negative argument by M_LN10l.
25341 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25342 spurious overflow exception on underflow.
25343
5ac3ea17
MP
253442012-04-29 Marek Polacek <polacek@redhat.com>
25345
25346 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25347 (__fortify_function): New macro.
25348 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25349 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25350 __extern_always_inline.
25351 * libio/bits/stdio2.h: Likewise.
25352 * libio/bits/stdio.h: Likewise.
25353 * string/string.h: Likewise.
25354 * string/bits/string3.h: Likewise.
25355 * include/stdio.h: Likewise.
25356 * stdlib/bits/stdlib.h: Likewise.
25357 * stdlib/stdlib.h: Likewise.
25358 * rt/bits/mqueue2.h: Likewise.
25359 * rt/mqueue.h: Likewise.
25360 * posix/bits/unistd.h: Likewise.
25361 * posix/unistd.h: Likewise.
25362 * io/bits/poll2.h: Likewise.
25363 * io/bits/fcntl2.h: Likewise.
25364 * io/fcntl.h: Likewise.
25365 * io/sys/poll.h: Likewise.
25366 * misc/bits/syslog.h: Likewise.
25367 * misc/bits/syslog-ldbl.h: Likewise.
25368 * misc/sys/syslog.h: Likewise.
25369 * socket/bits/socket2.h: Likewise.
25370 * socket/sys/socket.h: Likewise.
25371 * debug/tst-chk1.c: Likewise.
25372 * wcsmbs/bits/wchar2.h: Likewise.
25373 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25374 * wcsmbs/wchar.h: Likewise.
25375
ecf0ebfb
AJ
253762012-04-29 Andreas Jaeger <aj@suse.de>
25377
25378 * Makerules (tests): Remove enable-check-abi protection.
25379 (check-abi-warn): Remove.
25380 (check-abi-%): Remove check-abi-warn usage.
25381
25382 * configure.in: Remove check-abi configure option.
25383 * configure: Regenerated.
25384 * config.make.in (enable-check-abi): Remove.
25385
6d5c57fa
AS
253862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25387
24c5d07e 25388 [BZ #14033]
ded5180a
AS
25389 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25390 double functions to double *_finite functions.
25391
7e0d315d
AS
25392 [BZ #13941]
25393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25394 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25395 LDBL_MIN_EXP.
25396 * stdio-common/Makefile (tests): Add tst-sprintf3.
25397 * stdio-common/tst-sprintf3.c: New file.
25398
6d5c57fa
AS
25399 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25400 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25401
0749ff8b
JM
254022012-04-28 Joseph Myers <joseph@codesourcery.com>
25403
25404 * conform/conformtest.pl: Remove duplicate typed-constant
25405 handling.
25406
8dbd5d7b
DM
254072012-04-28 David S. Miller <davem@davemloft.net>
25408
25409 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25410 (check-abi-%): Remove AWK script prerequisite and explicit
25411 abilist directory.
25412 (check-abi): Rewrite to just diff the symlist with the abilist.
25413 (config-tls, config-abi-config): Delete, no longer used.
25414 (update-abi-%): Remove AWK script and explicit abilist directory.
25415 (update-abi): Rewrite to simply compare and conditionally copy the
25416 symlist and the sysdep abilist file. Remove update-abi-config
25417 checks.
25418 * abilist/ld.abilist: Remove.
25419 * abilist/libBrokenLocale.abilist: Remove.
25420 * abilist/libanl.abilist: Remove.
25421 * abilist/libcrypt.abilist: Remove.
25422 * abilist/libdl.abilist: Remove.
25423 * abilist/librt.abilist: Remove.
25424 * abilist/libthread_db.abilist: Remove.
25425 * abilist/libutil.abilist: Remove.
25426 * scripts/extract-abilist.awk: Remove.
25427 * scripts/merge-abilist.awk: Remove.
25428 * sysdeps/generic/libcidn.abilist: New file.
25429 * sysdeps/generic/libnss_compat.abilist: New file.
25430 * sysdeps/generic/libnss_db.abilist: New file.
25431 * sysdeps/generic/libnss_dns.abilist: New file.
25432 * sysdeps/generic/libnss_files.abilist: New file.
25433 * sysdeps/generic/libnss_hesiod.abilist: New file.
25434 * sysdeps/generic/libnss_nis.abilist: New file.
25435 * sysdeps/generic/libnss_nisplus.abilist: New file.
25436 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25437 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25438 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25439 file.
25440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25441 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25442 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25443 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25444 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25445 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25446 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25447 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25448 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25449 file.
25450 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25451 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25452 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25453 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25454 file.
25455 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25456 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25457 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25458 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25459 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25460 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25461 file.
25462 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25463 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25464 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25465 file.
25466 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25468 New file.
25469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25470 New file.
25471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25472 New file.
25473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25474 New file.
25475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25476 New file.
25477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25478 New file.
25479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25480 New file.
25481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25482 New file.
25483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25484 New file.
25485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25486 New file.
25487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25488 New file.
25489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25490 New file.
25491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25492 New file.
25493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25494 file.
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25496 New file.
25497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25498 New file.
25499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25500 file.
25501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25502 New file.
25503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25504 New file.
25505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25506 file.
25507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25508 New file.
25509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25510 New file.
25511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25512 New file.
25513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25514 New file.
25515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25516 New file.
25517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25518 New file.
25519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25521 file.
25522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25523 New file.
25524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25525 file.
25526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25527 file.
25528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25529 file.
25530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25531 file.
25532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25533 file.
25534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25535 New file.
25536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25537 file.
25538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25539 file.
25540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25541 New file.
25542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25543 file.
25544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25546 file.
25547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25548 New file.
25549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25550 file.
25551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25552 file.
25553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25554 file.
25555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25556 file.
25557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25558 file.
25559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25560 New file.
25561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25562 file.
25563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25564 file.
25565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25566 New file.
25567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25568 file.
25569 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25570 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25571 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25572 file.
25573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25574 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25575 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25576 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25577 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25578 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25579 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25580 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25581 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25582 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25585 file.
25586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25587 New file.
25588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25589 file.
25590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25591 file.
25592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25593 file.
25594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25595 file.
25596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25597 file.
25598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25599 New file.
25600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25601 New file.
25602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25603 file.
25604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25605 New file.
25606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25607 file.
25608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25610 file.
25611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25612 New file.
25613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25614 file.
25615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25616 file.
25617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25618 file.
25619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25620 file.
25621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25622 file.
25623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25624 New file.
25625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25626 New file.
25627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25628 file.
25629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25630 New file.
25631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25632 file.
25633
41d73a1b
JM
256342012-04-28 Joseph Myers <joseph@codesourcery.com>
25635
25636 * conform/conformtest.pl: Fix typo in handling typed-constant from
25637 allow-header.
25638
28aeeda4
JM
256392012-04-27 Joseph Myers <joseph@codesourcery.com>
25640
adae8f5e
JM
25641 * README: Cut down references to pre-2.6 Linux kernels and
25642 Linuxthreads. Update lists of configurations in libc and ports
25643 and sort alphabetically. Say "or newer" with Linux kernel version
25644 requirements.
25645
28aeeda4
JM
25646 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25647
a462cb63
RA
256482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25649
25650 [BZ #887]
25651 * math/libm-test.inc (logb_test_downward): New test to expose
25652 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25653 rounding mode.
25654
6ad3493e
JM
256552012-04-27 Joseph Myers <joseph@codesourcery.com>
25656
25657 [BZ #14027]
25658 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25659 to be done.
25660 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25661 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25662
2ce4f015
JM
256632012-04-26 Joseph Myers <joseph@codesourcery.com>
25664
5aeb141a
JM
25665 * sysdeps/unix/i386/brk.S: Remove file.
25666 * sysdeps/unix/i386/dl-brk.S: Likewise.
25667 * sysdeps/unix/i386/pipe.S: Likewise.
25668 * sysdeps/unix/i386/sigreturn.S: Likewise.
25669 * sysdeps/unix/i386/syscall.S: Likewise.
25670 * sysdeps/unix/i386/vfork.S: Likewise.
25671 * sysdeps/unix/i386/wait.S: Likewise.
25672
7143acae
JM
25673 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25674 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25675
2ce4f015
JM
25676 * configure.in (arm*-none*): Do not allow without
25677 --enable-hacker-mode.
25678 (netbsd*): Remove case setting base_os.
25679 (386bsd*): Likewise.
25680 (freebsd*): Likewise.
25681 (bsdi*): Likewise.
25682 (osf*): Likewise.
25683 (sunos*): Likewise.
25684 (ultrix*): Likewise.
25685 (newsos*): Likewise.
25686 (dynix*): Likewise.
25687 (*bsd*): Likewise.
25688 (sysv*): Likewise.
25689 (isc*): Likewise.
25690 (esix*): Likewise.
25691 (sco*): Likewise.
25692 (minix*): Likewise.
25693 (irix4*): Likewise.
25694 (irix6*): Likewise.
25695 (solaris[2-9]*): Likewise.
25696 (none): Likewise.
25697 * configure: Regenerated.
25698
0ac229c8
AZ
256992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25700
25701 [BZ #11521]
25702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25703 overflow or cancellation in calculating denominator.
25704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25706 down expression to avoid unexpected rounding in newer GCCs.
25707 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25708
33f244f4
DM
257092012-04-26 David S. Miller <davem@davemloft.net>
25710
25711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25712 long-double compat symbols.
25713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25726
cfa1f3e8
DM
257272012-04-25 David S. Miller <davem@davemloft.net>
25728
25729 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25730 HWCAP_* values only after the memory barriers have been defined.
25731 (atomic_full_barrier): Define.
25732 (atomic_read_barrier): Define.
25733 (atomic_write_barrier): Define.
25734
6e236b92
SP
257352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25736
25737 * shlib-versions: Add libgcc_s version information.
25738 * sysdeps/generic/libgcc_s.h: Remove.
25739 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25740 libgcc_s.h.
25741 * sysdeps/gnu/unwind-resume.c: Likewise.
25742 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25743
aab39a09
DM
257442012-04-25 David S. Miller <davem@davemloft.net>
25745
25746 * sysdeps/unix/sparc/brk.S: Delete.
25747 * sysdeps/unix/sparc/dl-brk.S: Delete.
25748 * sysdeps/unix/sparc/pipe.S: Delete.
25749 * sysdeps/unix/sparc/sysdep.S: Delete.
25750 * sysdeps/unix/sparc/sysdep.h: Delete.
25751 * sysdeps/unix/sparc/vfork.S: Delete.
25752 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25753 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25755 ret_ERRVAL, r0, r1, MOVE): Define.
25756 (JUMPTARGET): Remove.
25757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25758 sysdeps/unix/sparc/sysdep.h
25759 (ENTRY, END): Remove.
25760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25761
a3cc4f48
JM
257622012-04-25 Joseph Myers <joseph@codesourcery.com>
25763
2ed8cda2
JM
25764 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25765 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25766 -DIS_IN_build.
25767
35d76d59
JM
25768 * timezone/README: Update upstream location and email address for
25769 tzcode and tzdata.
25770 * timezone/zdump.c: Update from tzcode 2012b.
25771 * timezone/zic.c: Likewise.
25772
a3cc4f48
JM
25773 * configure.in (libc_cv_as_needed): Remove test.
25774 * configure: Regenerated.
25775 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25776 conditional definition.
25777 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25778 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25779 * config.make.in (have-as-needed): Remove variable.
25780
ceab42c3
SP
257812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25782 Paul Pluzhnikov <ppluzhnikov@google.com>
25783
25784 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25785 strings correctly.
25786
3ce2865f
CLT
257872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25788
25789 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25790 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25791 * sysdeps/sh/strlen.S: Likewise.
25792
f37e0d68
JM
257932012-04-24 Joseph Myers <joseph@codesourcery.com>
25794
ae186e9a
JM
25795 * sysdeps/unix/fork.S: Remove file.
25796 * sysdeps/unix/i386/fork.S: Likewise.
25797 * sysdeps/unix/sparc/fork.S: Likewise.
25798
b96914af
JM
25799 * sysdeps/unix/system.c: Remove file.
25800 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25801
f37e0d68
JM
25802 * sysdeps/unix/getegid.S: Remove file.
25803 * sysdeps/unix/geteuid.S: Likewise.
25804
87ef29ca
RM
258052012-04-24 Roland McGrath <roland@hack.frob.com>
25806
83bcd236
RM
25807 * scripts/check-localplt.awk: New file.
25808 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25809 of diff.
25810 * scripts/data/localplt-generic.data: Add a comment.
25811
87ef29ca
RM
25812 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25813 NODE when __dir_mkfile failed.
25814 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25815 Reported by Ludovic Courtès <ludo@gnu.org>.
25816
e5a6e567
AJ
258172012-04-24 Andreas Jaeger <aj@suse.de>
25818
25819 * Makerules (common-clean): Also remove gen-as-const-headers
25820 files.
25821
c1820385
JM
258222012-04-24 Joseph Myers <joseph@codesourcery.com>
25823
25824 * Makerules (native-compile): Do not change working directory for
25825 build. Use $(OUTPUT_OPTION) in command.
25826 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25827
94e02fc4
AZ
258282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25829
25830 [BZ #13886]
25831 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25832 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25833 * math/libm-test.inc (floor_test): Add more tests.
25834 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25835
3a533ca3
JM
258362012-04-24 Joseph Myers <joseph@codesourcery.com>
25837
940ab4b3
JM
25838 * sysdeps/unix/getdents.c: Remove file.
25839 * sysdeps/unix/sysv/getdents.c: Likewise.
25840 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25841
90e037bd
JM
25842 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25843 sysdeps/unix/mman/syscalls.list.
25844 (mmap): Likewise.
25845 (mprotect): Likewise.
25846 (msync): Likewise.
25847 (munmap): Likewise.
25848 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25849 * sysdeps/unix/mman/syscalls.list: Remove.
25850 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25851
3a533ca3
JM
25852 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25853 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25854 * configure: Regenerated.
25855 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25856 $(libgcc_s_suffix).
25857 * config.make.in (libgcc_s_suffix): Remove variable.
25858
1ad743de
JM
258592012-04-23 Joseph Myers <joseph@codesourcery.com>
25860
4ad451e2
JM
25861 * sysdeps/unix/sysv/gethostname.c: Move to ...
25862 * sysdeps/posix/gethostname.c: ... here.
25863
5e37ce39
JM
25864 * sysdeps/unix/execve.S: Remove file.
25865
1ad743de
JM
25866 * sysdeps/unix/_exit.S: Remove file.
25867
4e681b5b
AJ
258682012-04-23 Andreas Jaeger <aj@suse.de>
25869
25870 [BZ #13739]
25871 * manual/Makefile: Remove make dist support, there's no
25872 need for a stand-alone documentation tar ball.
25873 (TEXI2DVI): Define always, it's not in Makeconfig.
25874 (dist): Removed.
25875 (tar-it): Removed.
25876 (edition): Removed.
25877 (glibc-doc-$(edition).tar): Removed
25878 (%.Z): Removed.
25879 (%.gz): Removed.
25880 (%.uu): Removed.
25881 (ETAGS): Remove, it's in Makeconfig.
25882 (move-if-change): Remove, it's in Makeconfig.
25883
38686a03 258842012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25885
25886 [BZ #13970]
25887 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25888 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25889 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25890 (strtod_l, strtof_l, strtold_l): Remove __wur.
25891 It is not necessarily an error to ignore strtol's return value.
25892 One can reliably look at the stored endptr to decide whether
25893 the number had valid syntax.
25894
7c0616fa
AJ
258952012-04-21 Andreas Jaeger <aj@suse.de>
25896
803cb6b7 25897 [BZ #13739]
7c0616fa
AJ
25898 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25899
b0fe253f
JM
259002012-04-21 Joseph Myers <joseph@codesourcery.com>
25901
25902 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25903 * sysdeps/unix/sysv/Versions: Remove file.
25904
8280f22d
MT
259052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25906
25907 [BZ #13927]
25908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25909
75ce411f 259102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25911
25912 [BZ #7064]
25913 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25914 version from __vm86.
25915
097d59fa
JM
259162012-04-20 Joseph Myers <joseph@codesourcery.com>
25917
a90f3bcb
JM
25918 * sysdeps/unix/common/lxstat.c: Remove file.
25919 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25920
edc7ea78
JM
25921 * sysdeps/unix/sysv/Makefile: Remove file.
25922
cb78c221
JM
25923 * sysdeps/unix/sysv/direct.h: Remove file.
25924
efa6a45f
JM
25925 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25926 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25927 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25928 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25929 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25930 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25931 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25932
9c9f2d0c
JM
25933 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25934
4541c83b
JM
25935 * sysdeps/unix/xmknod.c: Remove file.
25936 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25937
f5d153a0
JM
25938 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25939
aa746595
JM
25940 * sysdeps/unix/sysv/i386/time.S: Remove file.
25941
cce5905e
JM
25942 * sysdeps/unix/fxstat.c: Remove file.
25943 * sysdeps/unix/xstat.c: Likewise.
25944 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25945
37fa3841
JM
25946 * sysdeps/unix/sysv/sigaction.c: Remove file.
25947
ff1962a3
JM
25948 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25949 (sysdep_headers): Remove variable.
25950 [termio.h not in sysdep_headers] (generated): Likewise.
25951 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25952 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25953 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25954 * sysdeps/unix/sysv/tcflow.c: Likewise.
25955 * sysdeps/unix/sysv/tcflush.c: Likewise.
25956 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25957 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25958 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25959 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25960 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25961
e7740d31
JM
25962 * sysdeps/unix/siglist.c: Remove file.
25963
ee06f18b
JM
25964 * sysdeps/unix/getppid.S: Remove file.
25965
097d59fa
JM
25966 * sysdeps/unix/mkdir.c: Remove file.
25967 * sysdeps/unix/rmdir.c: Likewise.
25968
ff3d51ec
AS
259692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25970
25971 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25972 ERR_MAX value.
25973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25974 errlist-compat value.
25975
50f81fd7
DM
259762012-04-18 David S. Miller <davem@davemloft.net>
25977
25978 * sysdeps/generic/memcopy.h (reg_char): Delete.
25979 * debug/strcat_chk.c: Use char, not reg_char.
25980 * debug/strcpy_chk.c: Likewise.
25981 * debug/strncat_chk.c: Likewise.
25982 * debug/strncpy_chk.c: Likewise.
25983 * string/memchr.c: Likewise.
25984 * string/memrchr.c: Likewise.
25985 * string/rawmemchr.c: Likewise.
25986 * string/strcat.c: Likewise.
25987 * string/strchr.c: Likewise.
25988 * string/strchrnul.c: Likewise.
25989 * string/strcmp.c: Likewise.
25990 * string/strcpy.c: Likewise.
25991 * string/strncat.c: Likewise.
25992 * string/strncmp.c: Likewise.
25993 * string/strncpy.c: Likewise.
25994
8ff41c46
WS
259952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25996
25997 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25998 __builtin_memcopy is called when src and dest ranges are known to not
25999 overlap.
26000
6b652f46
WS
260012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26002
26003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26004 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26005 fwd_align_merge macro call.
26006 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26007 bwd_align_merge macro call.
26008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26009
b282631e
WS
260102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26011
26012 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26013 bwd_align_merge macros.
26014 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26015 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26017
95aa737c
DM
260182012-04-18 David S. Miller <davem@davemloft.net>
26019
26020 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26021
7a99a614
AJ
260222012-04-18 Andreas Jaeger <aj@suse.de>
26023
26024 [BZ# 6794]
26025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26026 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26028
26029 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26030 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26031 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26032
26033 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26034 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26035 Adjust for changed ldbl-128 files.
26036
26037 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26038 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26039 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26040
e5270c23
DM
260412012-04-17 David S. Miller <davem@davemloft.net>
26042
26043 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26044
fb5e92c9
AS
260452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26046
26047 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26048 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26049 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26050 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26052 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26053
76da7265
AZ
260542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26055
26056 [BZ #6794]
26057 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26058 * math/libm-test.inc: Add ilogb errno and exception tests.
26059 * math/w_ilogb.c: New file: ilogb wrapper.
26060 * math/w_ilogbf.c: New file: ilogbf wrapper.
26061 * math/w_ilogbl.c: New file: ilogbl wrapper.
26062 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26063 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26064 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26065 exception being thrown with 0.0 as argument.
26066 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26067 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26068 exception being thrown with 0.0 as argument.
26069 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26070 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26071 exception being thrown with 0.0 as argument.
26072 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26073 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26074 exception being thrown with 0.0 as argument.
26075 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26076 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26078 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26079 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26080 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26081 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26082 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26083 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26084
0396e69d
PB
260852012-04-17 Petr Baudis <pasky@ucw.cz>
26086
26087 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26088 with altivec.
26089
750b5926
MP
260902012-04-16 Marek Polacek <polacek@redhat.com>
26091
26092 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26093
751728a1
MP
260942012-04-16 Marek Polacek <polacek@redhat.com>
26095
26096 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26097 operands of fdivp instruction.
26098
34a27407
L
260992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26100
26101 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26102 * elf/tst-auditmod3b.c: Likewise.
26103 * elf/tst-auditmod4b.c: Likewise.
26104 * elf/tst-auditmod5b.c: Likewise.
26105 * elf/tst-auditmod6b.c: Likewise.
26106 * elf/tst-auditmod6c.c: Likewise.
26107 * elf/tst-auditmod7b.c: Likewise.
26108 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26109 * sysdeps/x86_64/preconfigure.in: Likewise.
26110 * sysdeps/x86_64/preconfigure: Regenerated.
26111
7e73e17d
L
261122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26113
26114 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26115 __ILP32__.
26116
c7a6ab72
AB
261172012-04-13 Antoine Balestrat <merkil33@gmail.com>
26118
26119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26120 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26121
a9e8e0e0
CL
261222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26123
26124 [BZ #13973]
26125 * locale/iso-639.def: Fix gl language name. Spotted by
26126 Yaron Shahrabani.
26127
ec98af7d
RM
261282012-04-12 Roland McGrath <roland@hack.frob.com>
26129
26130 [BZ #2074]
26131 * libio/libio.h (__io_write_fn): Update comment.
26132
247c3ede
PB
261332012-04-12 Petr Baudis <pasky@ucw.cz>
26134
26135 [BZ #2074]
26136 * stdio.texi (Hook Functions): The user provided writer function
26137 is not allowed to return -1.
26138
55939d6d
DM
261392012-04-11 David S. Miller <davem@davemloft.net>
26140
26141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26142
90020f5a
MF
261432012-04-11 Mike Frysinger <vapier@gentoo.org>
26144
26145 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26146 Add a leading slash to rtkaio.
26147
288f9098
JM
261482012-04-11 Jim Meyering <meyering@redhat.com>
26149
90020f5a
MF
26150 [BZ #11959]
26151 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26152 It is not necessarily an error to ignore fwrite's return
26153 value. One can reliably use ferror to test for errors after
26154 the fact.
288f9098 26155
4be2b570
L
261562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26157
26158 * bits/types.h (__snseconds_t): New type.
26159 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26160
26161 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26163 (__SNSECONDS_T_TYPE): Likewise.
26164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26165 (__SNSECONDS_T_TYPE): Likewise.
26166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26167 (__SNSECONDS_T_TYPE): Likewise.
26168
288f9098 261692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26170
26171 [BZ #2636]
26172 * manual/time.texi (Processor Time): Return type of times is
26173 elapsed real time since an arbitrary point in the past.
26174 (CPU Time): Move CLK_TCK from here...
26175 (Processor Time): ...to here. Correct description.
26176 * manual/conf.texi (Constants for Sysconf): Correct description of
26177 _SC_CLK_TCK.
26178
d7dd4413
DM
261792012-04-10 David S. Miller <davem@davemloft.net>
26180
26181 [BZ #13967]
26182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26183 where the is a gap between DT_REL(A) and DT_JMPREL.
26184
b46068fc
L
261852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26186
26187 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26190
73d65cc3
SP
261912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26192
26193 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26194 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26195 (dl_main): Handle --inhibit-cache.
26196 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26197 _dl_inhibit_cache.
26198 * elf/dl-load.c (_dl_map_object): Use it.
26199 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26200
bcc8d661
JM
262012012-04-09 Joseph Myers <joseph@codesourcery.com>
26202
8f9a2fae
JM
26203 [BZ #13872]
26204 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26205 (__ieee754_powl): Saturate large exponents rather than testing for
26206 overflow of y*log2(x).
26207 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26208 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26209 exceptions.
26210
bcc8d661
JM
26211 [BZ #11521]
26212 * math/s_ctan.c: Include <float.h>.
26213 (__ctan): Avoid internal overflow or cancellation in calculating
26214 denominator.
26215 * math/s_ctanf.c: Likewise.
26216 * math/s_ctanl.c: Likewise.
26217 * math/s_ctanh.c: Likewise.
26218 * math/s_ctanhf.c: Likewise.
26219 * math/s_ctanhl.c: Likewise.
26220 * math/libm-test.inc (ctan_test): Add more tests.
26221 (ctanh_test): Likewise.
26222 * sysdeps/i386/fpu/libm-test-ulps: Update.
26223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26224
823fbbb4
AJ
262252012-04-09 Andreas Jaeger <aj@suse.de>
26226
03879793
AJ
26227 [BZ #6894]
26228 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26229 is an optional BSD extension.
26230
823fbbb4
AJ
26231 [BZ #10254]
26232 * manual/stdio.texi (Opening Streams): Document additional fopen
26233 parameters.
26234
8de131cb
RM
262352012-04-09 Roland McGrath <roland@hack.frob.com>
26236
26237 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26238 %eax without telling the compiler.
26239
c0ed9d7d
CD
262402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26241
26242 [BZ # 13963]
26243 * manual/install.texi: Use sourceware.org.
26244
c483f6b4
JM
262452012-04-09 Joseph Myers <joseph@codesourcery.com>
26246
d7dd9453
JM
26247 [BZ #13873]
26248 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26249 (__ieee754_pow): Generate overflow and underflow using huge*huge
26250 and tiny*tiny rather than just returning constant infinity or zero
26251 for large exponents.
26252 * math/libm-test.inc (pow_test): Require overflow exceptions for
26253 applicable cases of large exponents.
26254
c483f6b4
JM
26255 [BZ #706]
26256 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26257 (__ieee754_pow): Use iterative multiplication algorithm only for
26258 integer exponents with absolute value below 1024. Check for odd
26259 integer exponents when using algorithm for real exponents.
26260 * math/libm-test.inc (pow_test): Add more tests.
26261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26262
d2de7579
JM
262632012-04-08 Joseph Myers <joseph@codesourcery.com>
26264
26265 [BZ #13705]
26266 * math/libm-test.inc (exp_test): Do not allow overflow exception
26267 on underflow test.
26268
f77f1232
AJ
262692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26270
26271 [BZ #13705]
26272 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26273 instead of __kernel_standard_f.
26274
3884932b
MF
262752012-04-08 Mike Frysinger <vapier@gentoo.org>
26276
26277 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26278 * sysdeps/x86_64/memset_chk.S: Likewise.
26279
54472e9c
AJ
262802012-04-08 Andreas Jaeger <aj@suse.de>
26281
6ab0fbfc
AJ
26282 [BZ #10153]
26283 * manual/startup.texi (Environment Access): Describe return value
26284 for putenv and setenv.
26285
61efba8c
AJ
26286 [BZ #6895]
26287 * manual/filesys.texi (Directory Entries): Add description for
26288 DT_LNK.
26289
95c3f29a
AJ
26290 [BZ #6890]
26291 * manual/filesys.texi (Directory Entries): Clarify that it's file
26292 system not operating system in the description of DT_UNKNOWN.
26293
54472e9c
AJ
26294 [BZ #6578]
26295 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26296
624254b1
SC
262972012-04-08 Stephen Compall <s11@member.fsf.org>
26298
26299 [BZ #6649]
26300 * manual/llio.texi (Opening and Closing Files): Add cross
26301 reference to explain mode argument.
26302
1e4920e0
MF
263032012-04-07 Mike Frysinger <vapier@gentoo.org>
26304
26305 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26306 * sysdeps/x86_64/memset_chk.S: Likewise.
26307
5ed848f3
DM
263082012-04-07 David S. Miller <davem@davemloft.net>
26309
26310 * elf/elf.h (R_SPARC_WDISP10): Define.
26311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26312 R_SPARC_SIZE32.
26313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26314 R_SPARC_SIZE64 and R_SPARC_H34.
26315
96154cd8
CD
263162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26317
26318 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26319 conditions and remove no longer applicable assertion.
26320
9904dc47
L
263212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26322
26323 * bits/byteswap.h: Include <features.h>.
26324 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26325 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26326
f8887d0a
L
263272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26328
26329 * bits/byteswap.h (__bswap_16): Removed.
26330 Include <bits/byteswap-16.h> to get __bswap_16.
26331 * sysdeps/i386/bits/byteswap.h: Likewise.
26332 * sysdeps/s390/bits/byteswap.h: Likewise.
26333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26334 * bits/byteswap-16.h: New file.
26335 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26336 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26337 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26338 * string/Makefile (headers): Add bits/byteswap-16.h.
26339
62470f60
PP
263402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26341
26342 [BZ #13895]
26343 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26344 extra indirection.
26345 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26346 * nss/tst-nss-static.c: New.
26347
4dad7bab
RM
263482012-04-06 Robert Millan <rmh@gnu.org>
26349
26350 [BZ #6486]
26351 * manual/llio.texi (File Position Primitive): lseek
26352 refers to WHENCE when it really means OFFSET.
26353
e9142a17
AJ
263542012-04-06 Andreas Jaeger <aj@suse.de>
26355
2c040eff
AJ
26356 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26357 strncmp declarations.
26358
e9142a17
AJ
26359 * abilist/libc.abilist: Add __poll and __ppoll.
26360
ff9f1c5f
DM
263612012-04-05 David S. Miller <davem@davemloft.net>
26362
dcd2ae90
DM
26363 * scripts/check-local-headers.sh: Accept a host triplet in the
26364 path matched by the exclude regexp.
26365
993eb054
DM
26366 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26367 definition.
26368 * sysdeps/powerpc/powerpc32/dl-machine.h
26369 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26370 * sysdeps/s390/s390-32/dl-machine.h
26371 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26372 * sysdeps/sparc/sparc32/dl-machine.h
26373 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26374 * sysdeps/sparc/sparc64/dl-machine.h
26375 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26376
ff9f1c5f
DM
26377 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26378 lazy binding.
48e2e132 26379 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26380 undefined symbol errors.
26381
48e2e132 26382 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26383 DT_NEEDED entries.
26384
e80d6f94
MM
263852012-04-05 Michael Matz <matz@suse.de>
26386
26387 [BZ #13592]
26388 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26389
349fa79f
AJ
263902012-04-05 Andreas Jaeger <aj@suse.de>
26391
26392 [BZ #13908]
26393 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26394 comment.
26395
f402708f
KK
263962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26397
26398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26399 which ROUND is no valid rounding mode.
26400
2ecccfc9
KK
264012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26402
26403 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26404 read again.
26405 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26406
8a53f50f
KK
264072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26408
26409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26410 an exception using FPU order intentionally.
26411
264122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26413
26414 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26415 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26416 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26417 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26418
d653abb7
SJ
264192012-04-05 Simon Josefsson <simon@josefsson.org>
26420
26421 [BZ #12340]
26422 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26423 EINVAL when BUFLEN is too smal.
26424
c3b1bf7d
TS
264252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26426
26427 [BZ #13553]
26428 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26429 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26430
b1aa60f3
AJ
264312012-04-03 Andreas Jaeger <aj@suse.de>
26432
c3b1bf7d 26433 [BZ #13938]
67f60a26
AJ
26434 * manual/setjmp.texi (System V contexts): Fix sentence.
26435
b1aa60f3
AJ
26436 [BZ #13926]
26437 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26438 New macro for this case.
26439 [!__GNUC__] (__bswap_64): New inline function for this case.
26440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26441 * bits/byteswap.h: Likewise.
26442 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26443 ull, guard with __GLIBC_HAVE_LONG_LONG.
26444
26445 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26446 __GLIBC_HAVE_LONG_LONG.
26447
26448 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26449 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26450
39c59c35
TMQMF
264512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26452
26453 [BZ #13691]
26454 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26455 inptr and inend, rather than using last_ch.
26456
135ffda8
DM
264572012-04-02 David S. Miller <davem@davemloft.net>
26458
26459 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26460 * stdio-common/printf-parse.h (read_int): Change return type to
26461 'int', return -1 on INT_MAX overflow.
26462 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26463 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26464 overflows INT_MAX. Check for overflow of in-format-string precision
26465 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26466 SIZE_MAX not INT_MAX for integer overflow test.
26467 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26468 skip the construct in the format string but do not record anything.
26469 * stdio-common/bug22.c: Adjust to test both width/prevision
26470 INT_MAX overflow as well as total length INT_MAX overflow. Check
26471 explicitly for proper errno values.
26472
228c019e
TS
264732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26474
302cadd3
TS
26475 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26476 CHAR_MAX.
26477 * string/test-strcmp.c [! WIDE]: Likewise.
26478 * time/tst-mktime2.c: Likewise for INT_MAX.
26479 * string/test-string.h: #include <sys/param.h> for MIN.
26480
228c019e
TS
26481 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26482 * sysdeps/i386/init-first.c (init): Likewise.
26483 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26484 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26485 * sysdeps/sh/init-first.c (init): Likewise.
26486
cfa633f5
UD
264872012-04-01 Ulrich Drepper <drepper@gmail.com>
26488
26489 * po/ru.po: Update from translation team.
d1635ef8 26490 * po/vi.po: Likewise.
cfa633f5 26491
6cd0a5ea
SP
264922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26493
26494 * resolv/nss_dns/dns-host.c: Merge copyright years.
26495
4b43400f
LD
264962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26497
26498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26499 Optimize memcpy with prefetch if
26500 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26501 src, dst pointers have unequal 16 byte alignments.
26502
48c41d04
SP
265032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26504
26505 [BZ #13928]
26506 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26507 from a CNAME entry and return the minimum ttl for the query.
26508 (gaih_getanswer_slice): Likewise.
26509
b8dc394d
JL
265102012-03-30 Jeff Law <law@redhat.com>
26511
26512 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26513 due to long keys.
26514 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26515 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26516
2f5a5ed0
JL
26517 * resolv/nss_dns/dns-host.c: Update copyright year.
26518
1d39e359
UD
265192012-03-30 Ulrich Drepper <drepper@gmail.com>
26520
c030f70c 26521 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26522 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26523
1d39e359
UD
26524 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26525 comments for sendmmsg.
26526
265272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26528
26529 [BZ #13691]
26530 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26531 with only 1 character between 0x0041 and 0x01b0.
26532 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26533 * wcsmbs/tst-mbsnrtowcs.c: New file.
26534
20fde227
DM
265352012-03-29 David S. Miller <davem@davemloft.net>
26536
26537 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26538 small copies by hand.
26539
984a4237
JL
265402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26541
26542 [BZ #13761]
26543 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26544 _nss_compat_initgroups_dyn): Fall back to malloc/free
26545 for large group memberships.
26546
18c9d62b
DM
265472012-03-28 David S. Miller <davem@davemloft.net>
26548
88d85d4f
DM
26549 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26550 that branches into memcpy.
26551 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26554 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26556 bits.
26557 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26558 implementation too.
26559 * sysdeps/sparc/mempcpy.S: New file.
26560
e5aa83e1
DM
26561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26562 the IFUNC routine in the libc case.
26563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26564
88570753
DM
26565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26566 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26567 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26568 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26569 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26570 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26571 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26572 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26573
249d7567
DM
26574 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26575 loop to 256 bytes instead of 64 bytes and fix test signedness.
26576
18c9d62b
DM
26577 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26578 * sysdeps/sparc/sparc32/Makefile: rather than here...
26579 * sysdeps/sparc/sparc64/Makefile: and here.
26580
05f3d1f6
UD
265812012-03-28 Ulrich Drepper <drepper@gmail.com>
26582
26583 * malloc/mallocbug.c: Avoid warnings about unused variables.
26584
86ae07a8
JL
265852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26586
26587 [BZ #13760]
26588 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26589 in the right place. Discard and retry query if response is
26590 larger than input buffer size.
26591
41bf21a1
JM
265922012-03-28 Joseph Myers <joseph@codesourcery.com>
26593
d6270972
JM
26594 [BZ #369]
26595 [BZ #2678]
26596 [BZ #3866]
26597 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26598 x for large integer exponent.
26599 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26600 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26601 sign of result as needed afterwards.
26602 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26603 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26604 result for underflowing pow the same as for overflow.
26605 (__kernel_standard_l): Handle powl overflow and underflow here
26606 rather than calling __kernel_standard.
26607 * math/libm-test.inc (pow_test): Add more tests.
26608
414fca03 26609 [BZ #3868]
41bf21a1
JM
26610 [BZ #13879]
26611 [BZ #13910]
26612 [BZ #13911]
26613 [BZ #13912]
26614 [BZ #13913]
26615 [BZ #13915]
26616 [BZ #13916]
26617 [BZ #13917]
26618 [BZ #13918]
26619 [BZ #13919]
26620 [BZ #13920]
26621 [BZ #13921]
26622 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26623 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26624 (__kernel_standard_l): New function.
26625 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26626 __kernel_standard.
26627 * math/w_acosl.c (__acosl): Likewise.
26628 * math/w_asinl.c (__asinl): Likewise.
26629 * math/w_atan2l.c (__atan2l): Likewise.
26630 * math/w_atanhl.c (__atanhl): Likewise.
26631 * math/w_coshl.c (__coshl): Likewise.
26632 * math/w_exp10l.c (__exp10l): Likewise.
26633 * math/w_exp2l.c (__exp2l): Likewise.
26634 * math/w_fmodl.c (__fmodl): Likewise.
26635 * math/w_hypotl.c (__hypotl): Likewise.
26636 * math/w_j0l.c (__j0l, __y0l): Likewise.
26637 * math/w_j1l.c (__j1l, __y1l): Likewise.
26638 * math/w_jnl.c (__jnl, __ynl): Likewise.
26639 * math/w_lgammal.c (__lgammal): Likewise.
26640 * math/w_log10l.c (__log10l): Likewise.
26641 * math/w_log2l.c (__log2l): Likewise.
26642 * math/w_logl.c (__logl): Likewise.
26643 * math/w_powl.c (__powl): Likewise.
26644 * math/w_remainderl.c (__remainderl): Likewise.
26645 * math/w_scalbl.c (sysv_scalbl): Likewise.
26646 * math/w_sinhl.c (__sinhl): Likewise.
26647 * math/w_sqrtl.c (__sqrtl): Likewise.
26648 * math/w_tgammal.c (__tgammal): Likewise.
26649 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26650 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26651 * math/libm-test.inc (acos_test): Add more tests.
26652 (acosh_test): Likewise.
26653 (asin_test): Likewise.
26654 (atanh_test): Likewise.
26655 (exp_test): Likewise.
26656 (exp10_test): Likewise.
26657 (exp2_test): Likewise.
26658 (expm1_test): Likewise.
26659 (lgamma_test): Likewise.
26660 (log_test): Likewise.
26661 (log10_test): Likewise.
26662 (log1p_test): Likewise.
26663 (log2_test): Likewise.
26664 (pow_test): Do not allow some spurious overflow exceptions.
26665 (sqrt_test): Add more tests.
26666 (tgamma_test): Likewise.
26667 (y0_test): Likewise.
26668 (y1_test): Likewise.
26669 (yn_test): Likewise.
26670
dd62fda6
AB
266712012-03-27 Anton Blanchard <anton@samba.org>
26672
26673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26674 MAP_HUGETLB.
26675 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26676 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26677 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26678
1e3cdfda
AJ
266792012-03-27 David S. Miller <davem@davemloft.net>
26680
b855ab85
DM
26681 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26682
1e3cdfda
AJ
26683 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26684 have-as-vis3 check.
26685
266862012-03-27 Andreas Jaeger <aj@suse.de>
26687
26688 * sysdeps/x86_64/elf/configure.in: Moved to ...
26689 * sysdeps/x86_64/configure.in: ... here.
26690 * sysdeps/x86_64/elf/start.S: Moved to ...
26691 * sysdeps/x86_64/start.S: ... here.
26692 * sysdeps/x86_64/elf/configure: Delete.
26693
26694 * sysdeps/x86_64/configure.in: Merge contents from
26695 sysdeps/i386/configure.in (without i686 check).
26696
26697 * sysdeps/i386/elf/Versions: Merge into ...
26698 * sysdeps/i386/Versions: ... this.
26699 * sysdeps/i386/elf/Versions: Delete file.
26700 * sysdeps/i386/elf/start.S: Moved to ...
26701 * sysdeps/i386/start.S: ...here.
26702 * sysdeps/i386/elf/configure.in: Merge into...
26703 * sysdeps/i386/configure.in: ...here.
26704 * sysdeps/i386/elf/configure.in: Delete file.
26705 * sysdeps/i386/elf/configure: Delete file.
26706
26707 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26708 * debug/backtracesyms.c: ... here.
26709 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26710 * debug/backtracesymsfd.c: ... here.
26711 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26712 * sysdeps/generic/ifunc-sel.h: ... here.
26713
26714 * sysdeps/unix/i386/start.c: Delete file.
26715 * sysdeps/unix/sparc/start.c: Delete file.
26716 * sysdeps/unix/start.c: Delete file.
26717
26718 * sysdeps/sh/elf/configure.in: Moved to ...
26719 * sysdeps/sh/configure.in: ... here.
26720 * sysdeps/sh/elf/start.S: Moved to ...
26721 * sysdeps/sh/start.S: ... here.
26722 * sysdeps/sh/elf/configure: Delete file.
26723
26724 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26725 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26726 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26727 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26728 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26729 * sysdeps/powerpc/powerpc64/start.S: here.
26730 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26731 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26732 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26733 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26734 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26735
26736 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26737 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26738 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26739 * sysdeps/powerpc/powerpc32/start.S: ... here.
26740 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26741 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26742 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26743
26744 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26745 * sysdeps/powerpc/ifunc-sel.h: ... here.
26746 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26747 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26748
26749 * sysdeps/sparc/elf/configure.in: Moved to ...
26750 * sysdeps/sparc/configure.in: ... here.
26751 * sysdeps/sparc/elf/configure: Delete file.
26752 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26753 * sysdeps/sparc/sparc32/start.S: ... here.
26754 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26755 * sysdeps/sparc/sparc64/start.S: ... here.
26756 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26757 * sysdeps/sparc/sparc32/Makefile: ... this.
26758 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26759 * sysdeps/sparc/sparc64/Makefile: ... this.
26760
26761 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26762 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26763 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26764 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26765 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26766 * sysdeps/s390/s390-32/setjmp.S: ... here.
26767 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26768 * sysdeps/s390/s390-32/configure.in: ... here.
26769 * sysdeps/s390/s390-32/elf/configure: Delete file.
26770 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26771 * sysdeps/s390/s390-32/start.S: ... here.
26772
26773 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26774 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26775 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26776 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26777 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26778 * sysdeps/s390/s390-64/setjmp.S: ... here.
26779 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26780 * sysdeps/s390/s390-64/configure.in: ... here
26781 * sysdeps/s390/s390-64/elf/configure: Delete file.
26782 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26783 * sysdeps/s390/s390-64/start.S: ... here.
26784 * sysdeps/s390/s390-64/elf/configure: Delete.
26785
26786 * configure.in: Remove support for elf directories in sysdeps.
26787
26788 * configure: Regenerated.
26789 * sysdeps/i386/configure: Regenerated.
26790 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26791 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26792 * sysdeps/s390/s390-32/configure: Regenerated.
26793 * sysdeps/s390/s390-64/configure: Regenerated.
26794 * sysdeps/sh/configure: Regenerated.
26795 * sysdeps/sparc/configure: Regenerated.
26796 * sysdeps/x86_64/configure: Regenerated.
26797
a3f61311
AS
267982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26799
c876e002
AS
26800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26801
a3f61311
AS
26802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26803 denormal result into account.
26804
ac4c54f0
RM
268052012-03-25 Roland McGrath <roland@hack.frob.com>
26806
26807 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26808 Reported by Allan McRae <allan@archlinux.org>.
26809
6a9b9c02
JL
268102012-03-23 Jeff Law <law@redhat.com>
26811
26812 * nss/getnssent.c (__nss_getent): Fix typo.
26813
4c42a0c1
DM
268142012-03-23 David S. Miller <davem@davemloft.net>
26815
26816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26817
1532c7ac
L
268182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26819
26820 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26821 to pad to uint64_t for each field.
26822 (dl_tls_index): Replace unsigned long with uint64_t.
26823
3ff42526
PP
268242012-03-23 Daniel Jacobowitz <dmj@google.com>
26825 Paul Pluzhnikov <ppluzhnikov@google.com>
26826
26827 [BZ #6528]
26828 * grp/Makefile (otherlibs): Don't set it.
26829 * inet/Makefile (otherlibs): Likewise.
26830 * login/Makefile (otherlibs): Likewise.
26831 * nscd/Makefile (otherlibs): Likewise.
26832 * posix/Makefile (otherlibs): Likewise.
26833 * pwd/Makefile (otherlibs): Likewise.
26834 * rt/Makefile (otherlibs): Likewise.
26835 * sunrpc/Makefile (otherlibs): Likewise.
26836 * nss/Makefile (otherlibs): Likewise.
26837 Add libnss_files to routines and static-only-routines.
26838 ($(objpfx)getent): Remove rule.
26839 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26840 static-only-routines.
26841
7c69cd14
JM
268422012-03-22 Joseph Myers <joseph@codesourcery.com>
26843
26844 [BZ #13892]
26845 * math/s_cexp.c: Include <float.h>.
26846 (__cexp): Handle exp result overflowing not necessarily
26847 overflowing both real and imaginary parts of result.
26848 * math/s_cexpf.c: Likewise.
26849 * math/s_cexpl.c: Likewise.
26850 * math/libm-test.inc (cexp_test): Add more tests.
26851 * sysdeps/i386/fpu/libm-test-ulps: Update.
26852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26853
81b035fe
L
268542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26855
26856 * include/link.h (ELFW): New macro.
26857 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26858 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26859
1da7940c
L
268602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26861
26862 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26863 with uint64_t.
26864
b749dbb9
L
268652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26866
26867 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26868 declaration.
26869 (struct La_x32_retval): Likewise.
26870
2ff87f3f
L
268712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26872
26873 * sysdeps/x86_64/preconfigure.in: New file.
26874 * sysdeps/x86_64/preconfigure: New generated file.
26875
c0df8e69
JM
268762012-03-22 Joseph Myers <joseph@codesourcery.com>
26877
48e44791
JM
26878 [BZ #13824]
26879 * math/e_exp2l.c: Include <float.h>.
26880 (__ieee754_exp2l): Handle overflow and underflow cases
26881 separately. Only pass fractional part of argument to
26882 __ieee754_expl.
26883 * math/libm-test.inc (exp2_test): Add more tests.
26884
c0df8e69
JM
26885 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26886 negating x to take absolute value.
26887 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26888 Likewise.
26889 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26890 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26891 Likewise.
26892 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26893 computing low part if x was negated.
26894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26895
c8e43ba7
L
268962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26897
26898 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26899 la_x32_gnu_pltexit.
26900 (pltexit): Cast int_retval to ptrdiff_t.
26901 * elf/tst-auditmod3b.c: Likewise.
26902 * elf/tst-auditmod4b.c: Likewise.
26903 * elf/tst-auditmod5b.c: Likewise.
26904 * elf/tst-auditmod6b.c: Likewise.
26905 * elf/tst-auditmod6c.c: Likewise.
26906 * elf/tst-auditmod7b.c: Likewise.
26907
26908 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26909 and x32_gnu_pltexit.
26910
26911 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26912 __ELF_NATIVE_CLASS.
26913 (La_x32_regs): New macro.
26914 (La_x32_retval): Likewise.
26915 (la_x32_gnu_pltenter): New function prototype.
26916 (la_x32_gnu_pltexit): Likewise.
26917
7998fa78
AS
269182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26919
dcb33988
AS
26920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26921 exponent.
26922
233fc563
AS
26923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26924
7998fa78
AS
26925 * configure.in (libc_cv_cc_nofma): Check for option to disable
26926 generation of FMA instructions.
26927 * configure: Regenerate.
26928 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26929 * sysdeps/ieee754/dbl-64/Makefile: New file.
26930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26931 Remove brandred-fma4.
26932 (CFLAGS-brandred-fma4.c): Remove.
26933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26934 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26935 define.
26936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26937 define.
26938
8e95c99a
L
269392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26940
26941 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26942 LLONG_MAX != LONG_MAX.
26943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26944 (_fitoa_word): Likewise.
26945 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26946 LLONG_MAX != LONG_MAX.
26947 * stdio-common/_itowa.h: Include <_itoa.h>.
26948 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26949 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26950 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26951 only if not defined.
26952 (_ITOA_WORD_TYPE): Likewise.
26953 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26954 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26955
6f4db457
DM
269562012-03-21 David S. Miller <davem@davemloft.net>
26957
26958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26959
7785fe5a
L
269602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26961
26962 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26963 of x86_64 when setting libc_cv_slibdir, libdir and
26964 libc_cv_localedir.
26965 * sysdeps/unix/sysv/linux/configure: Regenerated.
26966
4535cd55
JM
269672012-03-21 Joseph Myers <joseph@codesourcery.com>
26968
26969 * manual/lang.texi (Old Varargs): Remove section.
26970 (How Variadic): Update menu.
26971 (va_start): Do not mention varargs.h.
26972
17228132
TS
269732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26974 Joseph Myers <joseph@codesourcery.com>
26975
26976 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26977 link test.
26978 * configure: Regenerated.
26979
8149f976
TS
269802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26981
05f3d1f6
UD
26982 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26983 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26984 conformtest.pl
8149f976 26985
1a4ac776
JM
269862012-03-21 Joseph Myers <joseph@codesourcery.com>
26987
be22ce65
JM
26988 * NOTES: Remove.
26989 * Makefile (files-for-dist): Remove NOTES.
26990 (NOTES): Remove rule.
26991 * README: Don't refer to NOTES.
26992 * manual/creature.texi: Don't include macros.texi.
26993 * manual/intro.texi (creature.texi): Remove comment referring to
26994 NOTES.
26995
40b601fb
JM
26996 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26997 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26998 * configure: Regenerated.
26999 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27000 LIBC_TRY_CC_OPTION.
27001 (libc_cv_as_i686): Likewise.
27002 (libc_cv_cc_avx): Likewise.
27003 (libc_cv_cc_sse2avx): Likewise.
27004 (libc_cv_cc_fma4): Likewise.
27005 (libc_cv_cc_novzeroupper): Likewise.
27006 * sysdeps/i386/configure: Regenerated.
27007
1a4ac776
JM
27008 [BZ #13883]
27009 * sysdeps/i386/fpu/s_cexp.S: Remove.
27010 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27011 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27012 * math/libm-test.inc (cexp_test): Add more tests.
27013 * sysdeps/i386/fpu/libm-test-ulps: Update.
27014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27015
a458e7fe
AM
270162012-03-21 Allan McRae <allan@archlinux.org>
27017
27018 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27019
0cb7efc5
JM
270202012-03-21 Joseph Myers <joseph@codesourcery.com>
27021
27022 [BZ #13871]
27023 * math/w_exp2.c: Do not include <float.h>.
27024 (o_threshold, u_threshold): Remove.
27025 (__exp2): Calculate result before checking finiteness and calling
27026 __kernel_standard.
27027 * math/w_exp2f.c: Likewise.
27028 * math/w_exp2l.c: Likewise.
27029 * math/libm-test.inc (exp2_test): Require overflow exception for
27030 1e6 input.
2460d3aa
JM
27031
27032 [BZ #3866]
27033 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27034 range of signed 64-bit integers before using fistpll. Remove
27035 checks for whether integers fit in mantissa bits.
27036 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27037 the range of signed 32-bit integers before using fistpl. Remove
27038 checks for whether integers fit in mantissa bits.
27039 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27040 (__ieee754_powl): Test for y outside the range of signed 64-bit
27041 integers before using fistpll. Reduce 64-bit values to 63-bit
27042 ones as needed.
27043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27044 divide-by-zero is raised for zero to large negative powers.
27045 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27046 (__ieee754_powl): Test for y outside the range of signed 64-bit
27047 integers before using fistpll. Reduce 64-bit values to 63-bit
27048 ones as needed.
27049 * math/libm-test.inc (pow_test): Add more tests.
27050
eb96ffb0
L
270512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27052
27053 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27054 <stdio-common/_itoa.h>.
27055 * debug/segfault.c: Likewise.
27056 * elf/dl-cache.c: Likewise.
27057 * elf/dl-minimal.c: Likewise.
27058 * elf/dl-misc.c: Likewise.
27059 * elf/dl-sysdep.c: Likewise.
27060 * elf/dl-version.c: Likewise.
27061 * elf/rtld.c: Likewise.
27062 * hurd/hurdsock.c: Likewise.
27063 * hurd/lookup-retry.c: Likewise.
27064 * malloc/malloc.c: Likewise.
27065 * malloc/mtrace.c: Likewise.
27066 * nscd/nscd_getgr_r.c: Likewise.
27067 * nscd/nscd_getpw_r.c: Likewise.
27068 * nscd/nscd_getserv_r.c: Likewise.
27069 * posix/getopt_init.c: Likewise.
27070 * posix/wordexp.c: Likewise.
27071 * stdio-common/_itoa.c: Likewise.
27072 * stdio-common/printf_fphex.c: Likewise.
27073 * stdio-common/vfprintf.c: Likewise.
27074 * string/_strerror.c: Likewise.
27075 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27076 * sysdeps/i386/i686/hp-timing.h: Likewise.
27077 * sysdeps/mach/_strerror.c: Likewise.
27078 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27079 * sysdeps/mach/hurd/sethostid.c: Likewise.
27080 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27081 * sysdeps/mach/xpg-strerror.c: Likewise.
27082 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27084 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27085 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27086 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27087 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27088 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27089 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27090 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27091 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27092 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27093 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27094 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27095 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27096 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27097 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27098 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27099 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27100 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27101 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27102 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27103
27104 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27105
27106 * stdio-common/_itoa.h: Moved to ...
27107 * sysdeps/generic/_itoa.h: Here.
27108
27109 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27110
27111 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27112 instead of "_itoa.h" and "_itowa.h".
27113 * stdio-common/vfprintf.: Likewise.
27114
d1af992d
L
271152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27116
27117 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27118 <bits/wordsize.h>.
27119 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27120 (__signbit): Likwise.
27121 (llrintf): Likwise.
27122 (llrint): Likwise.
27123
114883e0
L
271242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27125
27126 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27127 __WORDSIZE != 64.
27128
c135cc1b
JM
271292012-03-20 Joseph Myers <joseph@codesourcery.com>
27130
27131 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27132 OVERFLOW_EXCEPTION_OK.
27133 * math/libm-test.inc ("Philosophy"): Update comment about
27134 exception testing.
27135 (OVERFLOW_EXCEPTION): Define.
27136 (OVERFLOW_EXCEPTION_OK): Likewise.
27137 (INVALID_EXCEPTION_OK): Renumber.
27138 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27139 (IGNORE_ZERO_INF_SIGN): Likewise.
27140 (test_exceptions): Handle FE_OVERFLOW.
27141 (exp10_test): Expect overflow exceptions.
27142 (exp2_test): Likewise.
27143 (expm1_test): Likewise.
27144 (nextafter_test): Likewise.
27145 (pow_test): Likewise.
27146 (scalbn_test): Likewise.
27147 (scalbln_test): Likewise.
27148
95443d88
L
271492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27150
27151 * sysdeps/x86_64/bits/atomic.h
27152 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27153 64bit integer.
27154 (atomic_exchange_acq): Likewise.
27155 (__arch_exchange_and_add_body): Likewise.
27156 (__arch_add_body): Likewise.
27157 (atomic_add_negative): Likewise.
27158 (atomic_add_zero): Likewise.
27159
490df6c4
L
271602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27161
c2722551 27162 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27163 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27164
5e52b189
L
271652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27166
27167 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27168 Check __x86_64__ instead of __WORDSIZE.
27169
a9879d4c
L
271702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27171
27172 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27173
5df98260
DM
271742012-03-19 David S. Miller <davem@davemloft.net>
27175
e1497744
DM
27176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27177
5df98260
DM
27178 * sysdeps/sparc/fpu/fenv_private.h: New file.
27179 * sysdeps/sparc/fpu/math_private.h: Use it.
27180 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27181 Remove.
27182 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27183 (libc_feholdexcept_setroundl): Remove.
27184 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27185 Remove.
27186 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27187 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27188
b4c35121
L
271892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27190
27191 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27192 int64_t instead of long int.
27193 (INSERT_WORDS64): Likwise.
27194
56965fd7
L
271952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27196
27197 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27198 _Unwind_GetCFA return to _Unwind_Ptr first.
27199
83d1aec8
JM
272002012-03-19 Joseph Myers <joseph@codesourcery.com>
27201
1897ad44
JM
27202 [BZ #13629]
27203 * math/s_clog.c: Include <float.h>.
27204 (__clog): Scale large or subnormal inputs.
27205 * math/s_clogf.c: Likewise.
27206 * math/s_clogl.c: Likewise.
27207 * math/s_clog10.c: Include <float.h>.
27208 (M_LOG10_2): Define.
27209 (__clog10): Scale large or subnormal inputs.
27210 * math/s_clog10f.c: Likewise.
27211 * math/s_clog10l.c: Likewise.
27212 * math/libm-test.inc (clog_test): Add more tests.
27213 (clog10_test): Likewise.
27214 * sysdeps/i386/fpu/libm-test-ulps: Update.
27215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27216
7726d6a9
JM
27217 [BZ #11451]
27218 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27219 x and y.
27220 * math/libm-test.inc (atan2_test): Add another test.
27221
83d1aec8
JM
27222 * Makerules (common-objdir-compile): Remove.
27223 * sysdeps/unix/Makefile (config-generated): Do not add
27224 $(unix-generated) to variable.
27225 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27226 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27227 Remove rule.
27228 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27229 Likewise.
27230 [generic bits/local_lim.h] (before-compile): Do not append to
27231 variable.
27232 [generic bits/local_lim.h] (common-generated): Likewise.
27233 [generic sys/param.h] (before-compile): Do not append to variable.
27234 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27235 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27237 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27238 include.
27239 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27240 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27241 [generic sys/param.h] ($(addprefix
27242 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27243 [generic sys/param.h] (common-generated): Do not append to
27244 variable.
27245 [generic sys/param.h] (sysdep_headers): Likewise.
27246 [generic bits/errno.h] (before-compile): Do not append to
27247 variable.
27248 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27249 rule.
27250 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27251 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27252 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27253 [generic bits/errno.h] (common-generated): Do not append to
27254 variable.
27255 [generic bits/ioctls.h] (before-compile): Do not append to
27256 variable.
27257 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27258 rule.
27259 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27260 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27261 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27262 rule.
27263 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27264 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27265 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27266 [generic bits/ioctls.h] (common-generated): Do not append to
27267 variable.
27268 [generic sys/syscall.h] (syscall.h): Remove variable.
27269 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27270 rule.
27271 [generic sys/syscall.h] (before-compile): Do not append to
27272 variable.
27273 [generic sys/syscall.h] (common-generated): Likewise.
27274 * sysdeps/unix/errnos-tmpl.c: Remove file.
27275 * sysdeps/unix/errnos.awk: Likewise.
27276 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27277 * sysdeps/unix/ioctls.awk: Likewise.
27278 * sysdeps/unix/mk-local_lim.c: Likewise.
27279 * sysdeps/unix/snarf-ioctls: Likewise.
27280
4851a949
RH
272812012-03-19 Richard Henderson <rth@twiddle.net>
27282
bd37f2ee
RH
27283 * sysdeps/i386/fpu/fenv_private.h: New file.
27284 * sysdeps/i386/fpu/math_private.h: Use it.
27285 (math_opt_barrier, math_force_eval): Remove.
27286 (libc_feholdexcept_setround_53bit): Remove.
27287 (libc_feupdateenv_53bit): Remove.
27288 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27289 (math_opt_barrier, math_force_eval): Remove.
27290 (libc_feholdexcept): Remove.
27291 (libc_feholdexcept_setround): Remove.
27292 (libc_fetestexcept, libc_fesetenv): Remove.
27293 (libc_feupdateenv_test): Remove.
27294 (libc_feupdateenv, libc_feholdsetround): Remove.
27295 (libc_feresetround): Remove.
27296
d0adc922
RH
27297 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27298 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27299
0fe0f1f8
RH
27300 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27301 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27302 (libc_feupdateenv_testl): New.
27303 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27304 (libc_feupdateenv_testf): New.
27305 (libc_feupdateenv): Use libc_feupdateenv_test.
27306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27307 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27308
eb92c487
RH
27309 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27310 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27311 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27312 (libc_feresetround_noex): New.
27313 (libc_feresetround_noexf): New.
27314 (libc_feresetround_noexl): New.
27315 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27316 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27317 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27318 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27319 SET_RESTORE_ROUND.
27320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27322 (__cos): Likewise.
27323 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27325 SET_RESTORE_ROUND_NOEX.
27326 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27327 SET_RESTORE_ROUND_NOEXF.
27328 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27329 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27330 (libc_feholdsetroundf): New.
27331 (libc_feresetround, libc_feresetroundf): New.
27332
7d2e8012
RH
27333 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27334 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27335 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27336
b4dabbb4
RH
27337 * sysdeps/generic/math_private.h: Include <fenv.h>.
27338 (default_libc_feholdexcept): New.
27339 (default_libc_feholdexcept_setround): New.
27340 (default_libc_fesetenv, default_libc_feupdateenv): New.
27341 (libc_feholdexcept): Only define if undefined.
27342 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27343 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27344 (libc_feholdexcept_setroundl): Likewise.
27345 (libc_feholdexcept_setround_53bit): Likewise.
27346 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27347 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27348 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27349 (libc_feupdateenv_53bit): Likewise.
27350 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27351 (libc_feholdexcept): Convert from macro to inline function.
27352 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27353 (libc_fesetenv, libc_feupdateenv): Likewise.
27354
4851a949
RH
27355 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27356 not previously defined.
27357 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27358 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27359 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27360 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27361 * sysdeps/ieee754/flt-32/math_private.h: New file.
27362 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27363 math_private.h below SET_FLOAT_WORD.
27364 (__isnan, __isinf_ns, __finite): Remove.
27365 (__isnanf, __isinf_nsf, __finitef): Remove.
27366
e79d442e
AS
273672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27368
27369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27370
90b80344
DM
273712012-03-17 David S. Miller <davem@davemloft.net>
27372
27373 [BZ #6471]
27374 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27375 for 2.16.
27376
edc21804
DM
273772012-03-16 David S. Miller <davem@davemloft.net>
27378
77e927af
DM
27379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27380 warnings.
27381
374976dd
DM
27382 [BZ #6471]
27383 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27384 properly.
27385 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27386 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27387 sysdep_routines when subdir is sysvipc.
27388 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27389 __getshmlba helper.
27390
edc21804
DM
27391 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27392
473c3ef3
L
273932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27394
27395 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27396 [__LP64__].
27397
eb0f39b6
L
273982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27399
27400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27401 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27402 (__lround): Renamed to ...
27403 (__llround): This. Replace long int with long long int.
27404 Define lround functions as aliases of llround functions.
27405 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27406
6b6cd74b
L
274072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27408
27409 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27410 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27411 adresses to uintptr_t. Replace "long int" and "unsigned long
27412 int" with "greg_t" on va_arg.
27413
f1a77b01
L
274142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27415
27416 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27417 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27418
27419 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27420 Move e_machine check before EI_CLASS check. Handle x32
27421 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27422 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27423 SKIP_EM_IA_64 and include
27424 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27425
27426 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27427 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27428 (add_system_dir): New macro.
27429
27430 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27431 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27432
11b90b9f
JM
274332012-03-16 Joseph Myers <joseph@codesourcery.com>
27434
c36e1d23
JM
27435 [BZ #2551]
27436 [BZ #2552]
27437 [BZ #2553]
27438 [BZ #2554]
27439 [BZ #2562]
27440 [BZ #2563]
27441 [BZ #2565]
27442 [BZ #2566]
27443 [BZ #2576]
27444 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27445 (y0): Likewise.
27446 * math/w_j0f.c (j0f): Likewise.
27447 (y0f): Likewise.
27448 * math/w_j0l.c (__j0l): Likewise.
27449 (__y0l): Likewise.
27450 * math/w_j1.c (j1): Likewise.
27451 (y1): Likewise.
27452 * math/w_j1f.c (j1f): Likewise.
27453 (y1f): Likewise.
27454 * math/w_j1l.c (__j1l): Likewise.
27455 (__y1l): Likewise.
27456 * math/w_jn.c (jn): Likewise.
27457 (yn): Likewise.
27458 * math/w_jnf.c (jnf): Likewise.
27459 (ynf): Likewise.
27460 * math/w_jnl.c (__jnl): Likewise.
27461 (__ynl): Likewise.
27462 * math/libm-test.inc (j0_test): Add more tests.
27463 (j1_test): Likewise.
27464 (jn_test): Likewise. Add trailing semicolon to existing test.
27465 (y0_test): Likewise.
27466 (y1_test): Likewise.
27467 * sysdeps/i386/fpu/libm-test-ulps: Update.
27468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27469
11b90b9f
JM
27470 [BZ #13851]
27471 [BZ #13854]
27472 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27473 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27474 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27475 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27476 (__tanl): Set errno for infinite argument.
27477 * sysdeps/i386/fpu/mptan.c: Remove.
27478 * sysdeps/i386/fpu/s_tan.S: Likewise.
27479 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27480 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27481 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27482 * math/libm-test.inc (tan_test): Add more tests and enable more
27483 tests for double and long double.
27484 * sysdeps/i386/fpu/libm-test-ulps: Update.
27485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27486
6a1bd2a1
JK
274872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27488
27489 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27490 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27491
10a803e0
RM
274922012-03-16 Roland McGrath <roland@hack.frob.com>
27493
27494 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27495 * configure.in: Use it for both main tree and add-ons.
27496 * configure: Regenerated.
27497
f196c7f7
L
274982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27499
27500 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27501
8848d99d
JM
275022012-03-16 Joseph Myers <joseph@codesourcery.com>
27503
96cbe7f4
JM
27504 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27505 in comment.
27506
8848d99d
JM
27507 [BZ #13851]
27508 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27509 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27513 infinite argument.
27514 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27516 != 0 for prec == 2.
27517 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27518 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27519 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27520 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27521 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27522 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27523 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27524 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27525 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27526 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27527 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27528 * math/libm-test.inc (cos_test): Add more tests and enable more
27529 tests for long double.
27530 (sin_test): Likewise.
27531 (sincos_test): Likewise.
27532 * sysdeps/i386/fpu/libm-test-ulps: Update.
27533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27534
dd7f4703
DM
275352012-03-16 David S. Miller <davem@davemloft.net>
27536
27537 * sysdeps/sparc/fpu/math_private.h: New file.
27538
006f1daa
DM
275392012-03-15 David S. Miller <davem@davemloft.net>
27540
c0c83bc8
DM
27541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27542 file.
e6a62e18 27543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27545 file.
e6a62e18
DM
27546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27552 sysdep routines.
27553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27554
88cb87d9
DM
27555 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27556 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27557
006f1daa 27558 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27560 sparc-ifunc.h
006f1daa 27561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27563 Likewise.
27564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27565 Likewise.
006f1daa
DM
27566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27570 Likewise.
006f1daa
DM
27571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27576 Likewise.
27577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27578 Likewise.
006f1daa
DM
27579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27603
11e0098e
AS
276042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27605
27606 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27607 scaling.
27608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27609
e85b09d0
AJ
276102012-03-15 Andreas Jaeger <aj@suse.de>
27611
27612 [BZ #13852]
27613 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27614 ieee754/flt-32 implementation for sin, cos and sincos.
27615 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27616 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27617 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27618 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27619 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27620 ieee754/flt-32 implementation for tan.
27621
27622 * math/libm-test.inc (cos_test): Enable some large input tests for
27623 float as well
27624 (sin_test): Likewise.
27625 (sincos_test): Likewise.
27626 (tan_test): Add tests for large input.
27627
27628 * sysdeps/i386/fpu/libm-test-ulps: Update.
27629
81c64153
AJ
276302012-03-15 Andreas Jaeger <aj@suse.de>
27631
27632 [BZ #13658]
27633 * math/libm-test.inc (cos_test): Add more test cases.
27634 (sin_test): Likewise.
27635 (sincos_test): Likewise.
27636
7bbfa5c6
AJ
276372012-03-15 Andreas Jaeger <aj@suse.de>
27638
27639 [BZ #13837]
27640 * math/libm-test.inc (cos_test): Add a test case for large input
27641 value.
27642 (sin_test): Likewise.
27643 (sincos_test): Likewise.
27644
276452012-03-15 Andreas Jaeger <aj@suse.de>,
27646 Joseph Myers <joseph@codesourcery.com>
27647
27648 [BZ #13658]
0671f479 27649 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
27650 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27651 * sysdeps/i386/fpu/branred.c: Likewise.
27652 * sysdeps/i386/fpu/dosincos.c: Likewise.
27653 * sysdeps/i386/fpu/mpa.c: Likewise.
27654 * sysdeps/i386/fpu/s_cos.S: Likewise.
27655 * sysdeps/i386/fpu/s_sin.S: Likewise.
27656 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27657 * sysdeps/i386/fpu/sincos32.c: Likewise.
27658
27659 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27660 Define.
27661 (libc_feupdateenv_53bit): Define.
27662 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27663 Define.
27664 (libc_feupdateenv_53bit): Define.
27665
27666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27667 53 bit (without extend i386 double precision).
27668
27669 * math/libm-test.inc (sincos_test): Add tests for large input.
27670 (sin): Likewise.
27671 (cos): Likewise.
27672
27673 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27674
9cad04ea
AS
276752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27676
27677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27678
f7062b9a
DM
276792012-03-15 David S. Miller <davem@davemloft.net>
27680
27681 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27682 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27683 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27684 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
27696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27697 file.
f7062b9a 27698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
27699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27700 file.
f7062b9a 27701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
27702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27703 file.
f7062b9a 27704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
27705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27706 file.
f7062b9a
DM
27707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27709 fmin/fmax sysdep routines.
27710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27711
7bd951ff
DM
277122012-03-14 David S. Miller <davem@davemloft.net>
27713
559398ab
DM
27714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27743 routines.
27744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27745 file.
559398ab 27746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27748 file.
559398ab 27749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27751 file.
559398ab 27752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27754 file.
559398ab 27755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27757 file.
559398ab 27758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27760 file.
27761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27762 file.
27763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27764 file.
27765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27766 file.
27767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27768 New file.
27769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27770 file.
27771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27772 file.
559398ab 27773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27775 file.
559398ab 27776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27778 file.
559398ab 27779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27781 file.
559398ab 27782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27784 VIS3 routines.
559398ab
DM
27785
27786 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27787 New file.
27788
5a1c1e32
DM
27789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27790
eae47a36
DM
27791 * sysdeps/sparc/configure.in: New file.
27792 * sysdeps/sparc/configure: Generate.
27793 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27794 * configure: Regenerate.
27795 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27796 * config.make.in (have-as-vis3): New.
27797 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27798 available use -Av9d instead of -Av9a.
27799 * sysdeps/sparc/sparc64/Makefile: Likewise.
27800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27802 New file.
27803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27804 file.
27805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27806 New file.
27807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27808 file.
eae47a36
DM
27809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27814
c0c83bc8
DM
27815 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27816 fzeros/fnegs to load 0x80000000 into a float register instead of
27817 using the stack.
7bd951ff
DM
27818 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27819
bd951ccb
JM
278202012-03-14 Joseph Myers <joseph@codesourcery.com>
27821
27822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27823 bits/syscall.h.
27824 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27825 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27826 ($(inst_includedir)/bits/syscall.h): Remove rule.
27827 ($(objpfx)bits/syscall.d): Include instead of
27828 $(objpfx)syscall-list.d.
27829 (generated): Change syscall-list.h and syscall-list.d to
27830 bits/syscall.h and bits/syscall.d.
27831
bb4e6db2
RM
278322012-03-14 Roland McGrath <roland@hack.frob.com>
27833
27834 [BZ #13846]
27835 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27836
aa4a2ae1
JM
278372012-03-14 Joseph Myers <joseph@codesourcery.com>
27838
e456826d
JM
27839 [BZ #13841]
27840 * math/s_csqrt.c: Include <float.h>.
27841 (__csqrt): Scale large or subnormal inputs.
27842 * math/s_csqrtf.c: Likewise.
27843 * math/s_csqrtl.c: Likewise.
27844 * math/libm-test.inc (csqrt_test): Add more tests.
27845 * sysdeps/i386/fpu/libm-test-ulps: Update.
27846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27847
aa4a2ae1
JM
27848 [BZ #13840]
27849 * math/libm-test.inc (hypot_test): Add more tests.
27850
7c10fd35
DM
278512012-03-13 David S. Miller <davem@davemloft.net>
27852
27853 [BZ #13840]
27854 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27855 double-precision for the calculation instead of scaling.
27856
f453b98b
JM
278572012-03-13 Joseph Myers <joseph@codesourcery.com>
27858
27859 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27860 manipulate bits before adding and subtracting TWO52[sx].
27861 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27863 Likewise.
27864 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27865
09a3453f
DM
278662012-03-13 David S. Miller <davem@davemloft.net>
27867
8e59da90
DM
27868 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27869 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27871 rtld-global-offsets.h
27872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27873
2a8ab7f2
DM
27874 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27875 large parameters.
27876
10f62770
DM
27877 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27878
5f0bdb18
DM
27879 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27880 'err' in the ifdef scope in which it is actually used.
27881
09a3453f
DM
27882 * nss/nss_db/db-init.c: Include string.h
27883
b4b2eb5e
DM
278842012-03-12 David S. Miller <davem@davemloft.net>
27885
98bb2f1c
DM
27886 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27887 masking out of the most significant byte of random value used.
27888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27889 Fix coding style in previous change.
27890
b4b2eb5e
DM
27891 * sysdeps/unix/sysv/linux/kernel-features.h
27892 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27893 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27894 expression.
27895 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27896 later.
27897
6e226b09
DM
278982012-03-11 David S. Miller <davem@davemloft.net>
27899
a1bcbd40
DM
27900 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27901 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27902 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27903 for 'resultvar' otherwise things get truncated on 64-bit.
27904
cb9d6174
DM
27905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27906 Fix masking out of the most significant byte of random value used.
27907
6e226b09
DM
27908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27909
058c132d
AS
279102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27911
27912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27913
2d2cd515
DM
279142012-03-09 David S. Miller <davem@davemloft.net>
27915
27916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27917 variables with appropriate CPP guards.
27918 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27919 frame pointer, not the stack pointer. Correct layout comments. Fix test
27920 on resulting framesize and the management of the outregs buffer for pltexit.
27921 Preserve floating point return values across _dl_call_pltexit call.
27922 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27923 framesize and the management of the outregs buffer for pltexit.
27924 Preserve floating point return values across _dl_call_pltexit
27925 call.
27926 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27927 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27928 (print_exit): Fix format string for return register value.
27929
9a07f9d0
JM
279302012-03-10 Joseph Myers <joseph@codesourcery.com>
27931
27932 * sunrpc/Makefile (others): Add rpcgen.
27933 ($(objpfx)rpcgen): Remove special build rule and dependency on
27934 libc.
27935 * sunrpc/rpcgen.c: New file.
27936
547b5e30
PE
279372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27938
c524201a
PE
27939 [BZ #13673]
27940 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27941 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27942 * sysdeps/i386/crti.S: Likewise.
27943 * sysdeps/i386/crtn.S: Likewise.
27944 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27945 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27946 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27947 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27948 * sysdeps/sh/crti.S: Likewise.
27949 * sysdeps/sh/crtn.S: Likewise.
27950 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27951
7b6235f2
PE
27952 [BZ #13673]
27953 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27954 with URL.
27955 * locale/programs/locfile-kw.gperf: Likewise.
27956 * locale/programs/charmap-kw.h: Regenerated.
27957 * locale/programs/locfile-kw.h: Likewise.
27958
547b5e30
PE
27959 [BZ #13673]
27960 * intl/plural.y: Replace FSF snail mail address with URL.
27961 * intl/plural.c: Regenerated.
27962
5f0a5dae
RH
279632012-03-09 Richard Henderson <rth@twiddle.net>
27964
27965 * include/math_private.h: Remove file.
27966 * math/math_private.h: Move file ...
27967 * sysdeps/generic/math_private.h: ... here.
27968
b8c03620
RH
27969 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27970 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27971 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27972
4e234f5d 27973 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27974 and <math_private.h>.
27975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27980 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27983 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27986 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27987 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27989 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27990 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27992 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27993 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27994 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27996 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27997 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27999 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28009 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28015 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28016 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28021 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28023 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28024 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28025 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28026 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28027 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28028 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28029 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28031 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28033 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28034 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28035 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28036 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28038 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28039 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28043 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28046 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28047 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28049 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28056 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28062 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28063 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28066 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28067 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28069 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28070 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28071 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28072 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28073 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28075 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28076 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28077 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28078 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28080 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28081 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28082 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28083 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28085 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28086 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28089 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28091 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28092 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28093 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28094 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28095 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28096 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28098 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28101 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28102 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28103 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28104 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28105 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28106 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28108 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28109 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28110 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28111 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28113 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28114 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28115 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28116 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28117 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28118 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28119 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28120 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28121 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28122 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28123 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28124 * sysdeps/ieee754/k_standard.c: Likewise.
28125 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28126 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28127 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28128 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28129 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28130 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28131 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28132 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28134 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28137 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28138 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28139 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28140 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28141 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28142 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28143 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28144 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28145 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28146 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28147 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28148 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28149 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28150 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28152 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28153 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28154 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28156 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28157 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28158 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28159 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28160 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28162 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28163 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28164 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28165 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28166 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28167 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28168 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28169 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28174 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28176 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28177 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28178 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28182 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28183 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28184 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28185 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28186 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28187 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28199 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28201 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28206 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28209 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28210 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28212 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28213 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28214 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28215 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28217 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28218 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28229 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28232 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28233 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28241 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28250 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28251 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28253 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28255 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28256 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28257 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28258 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28259 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28260 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28261 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28262 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28263 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28264 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28265 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28266 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28270 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28274 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28275 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28280 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28281 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28285 * sysdeps/ieee754/s_lib_version.c: Likewise.
28286 * sysdeps/ieee754/s_matherr.c: Likewise.
28287 * sysdeps/ieee754/s_signgam.c: Likewise.
28288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28290 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28291 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28292 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28294 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28295 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28296 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28297 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28298 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28299 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28300 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28301 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28302 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28305 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28306 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28309
1991fa03
JM
283102012-03-09 Joseph Myers <joseph@codesourcery.com>
28311
28312 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28313 * sunrpc/rpc_main.c: Likewise.
28314 * sunrpc/rpc_svcout.c: Likewise.
28315
60d6f5a6
DM
283162012-03-09 David S. Miller <davem@davemloft.net>
28317
28318 * include/math_private.h: New file.
28319
4962050e
JM
283202012-03-09 Joseph Myers <joseph@codesourcery.com>
28321
02a6f887
JM
28322 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28323 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28324 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28325 from <bits/socket_type.h>.
28326 (enum __socket_type): Don't define here.
28327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28329 bits/socket_type.h.
28330
c6e013c1
JM
28331 [BZ #13566]
28332 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28333 checking __USE_GNU.
28334
4962050e
JM
28335 * Makerules ($(inst_includedir)/%.h): New rule.
28336 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28337 (install-others): Remove variable setting.
28338 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28339
38842f45
RH
283402012-03-08 Richard Henderson <rth@twiddle.net>
28341
67bb6da6
RH
28342 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28343 from macro to inline function; merge with the
28344 !__LIBC_INTERNAL_MATH_INLINES version.
28345 (__ieee754_sqrtf): Likewise.
28346
15194b4b
RH
28347 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28348 to inline function.
28349 (__rintf, __floor, __floorf): Likewise.
28350
64e21ede
RH
28351 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28352 macro to inline function.
28353 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28354
38842f45
RH
28355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28356 not <math/math_private.h>.
28357
c64bf5fe
DM
283582012-03-08 David S. Miller <davem@davemloft.net>
28359
28360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28361 copyright year.
28362 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28363
82d86f28
TS
283642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28365
28366 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28367 normalization.
28368 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28369 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28370
aea5d727
UD
283712012-03-08 Ulrich Drepper <drepper@gmail.com>
28372
28373 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28374 be defined individually, they must be defined as a block. Define
28375 S for printing a string instead of hidint the different by using a
28376 macro for adding the 'l'.
28377 * stdio-common/tst-fphex-wide.c: Adjust.
28378
70bca0a3
MP
283792012-03-07 Marek Polacek <polacek@redhat.com>
28380
28381 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28382
65b81130
MP
283832012-03-08 Marek Polacek <polacek@redhat.com>
28384
28385 [BZ #13806]
28386 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28387 * stdio-common/tst-fphex.c: Define a few macros to make the
28388 test reusable. Use them.
28389 * stdio-common/tst-fphex-wide.c: New file.
28390
07037eeb
JM
283912012-03-08 Joseph Myers <joseph@codesourcery.com>
28392
a7a93d50
JM
28393 [BZ #6911]
28394 * manual/macros.texi (gnusystems): New macro.
28395 (nongnusystems): Likewise.
28396 (gnulinuxhurdsystems): Likewise.
28397 (gnuhurdsystems): Likewise..
28398 (gnulinuxsystems): Likewise.
28399 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28400 variants of the GNU system, not "GNU system".
28401 * manual/conf.texi: Likewise.
28402 * manual/errno.texi: Likewise. Update example of errno macro
28403 expansion.
28404 * manual/filesys.texi: Likewise.
28405 (getumask): Document as specific to GNU/Hurd.
28406 * manual/install.texi: Likewise. Reword some references to
28407 GNU/Linux.
28408 * manual/intro.texi: Likewise.
28409 * manual/io.texi: Likewise.
28410 (File Name Portability): Detail which constraints are inapplicable
28411 to all GNU systems and which are only inapplicable to GNU/Hurd.
28412 * manual/job.texi: Likewise.
28413 * manual/llio.texi: Likewise.
28414 (O_NOCTTY): Document as present on GNU/Linux.
28415 * manual/maint.texi: Likewise.
28416 * manual/memory.texi: Likewise.
28417 * manual/pattern.texi: Likewise.
28418 * manual/pipe.texi: Likewise.
28419 * manual/process.texi: Likewise.
28420 * manual/resource.texi: Likewise.
28421 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28422 child on GNU/Hurd.
28423 * manual/setjmp.texi: Likewise.
28424 * manual/signal.texi: Likewise.
28425 * manual/startup.texi: Likewise.
28426 * manual/stdio.texi: Likewise.
28427 * manual/terminal.texi: Likewise.
28428 (ONLCR): Document as POSIX.
28429 (OXTABS): Document availability on GNU/Linux as XTABS.
28430 (ONOEOT): Document availability separately from other bits.
28431 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28432 * manual/time.texi: Likewise.
28433 * manual/users.texi: Likewise.
28434 * INSTALL: Regenerated.
28435 * sysdeps/gnu/errlist.c: Regenerated.
28436
07037eeb
JM
28437 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28438 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28439 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28440 puts.
28441 * configure: Regenerated.
28442
d1d3431a
JM
284432012-03-07 Joseph Myers <joseph@codesourcery.com>
28444
af6a1e37
JM
28445 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28446 default includes instead of AC_HEADER_CHECK.
28447 * sysdeps/i386/configure: Regenerated.
28448
d1d3431a
JM
28449 [BZ #10716]
28450 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28451 * math/s_cacoshf.c (__cacoshf): Likewise.
28452 * math/s_cacoshl.c (__cacoshl): Likewise.
28453 * math/s_casinh.c (__casinh): Set signs of result from argument.
28454 * math/s_casinhf.c (__casinhf): Likewise.
28455 * math/s_casinhl.c (__casinhl): Likewise.
28456 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28457 (casinh_test): Add more tests.
28458 * sysdeps/i386/fpu/libm-test-ulps: Update.
28459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28460
482ff4da
UD
284612012-03-07 Ulrich Drepper <drepper@gmail.com>
28462
872fda05
UD
28463 * po/zh_TW.po: Update from translation team.
28464
a4300c7a
UD
28465 * login/Makefile (distribute): Remove variable.
28466 * catgets/Makefile: Likewise.
28467 * mach/Makefile: Likewise.
28468 * malloc/Makefile: Likewise.
28469 * misc/Makefile: Likewise.
28470 * iconv/Makefile: Likewise.
28471 * nscd/Makefile: Likewise.
28472 * hurd/Makefile: Likewise.
28473 * manual/Makefile: Likewise.
28474 * locale/Makefile: Likewise.
28475 * intl/Makefile: Likewise.
28476 * conform/Makefile: Likewise.
28477 * nss/Makefile: Likewise.
28478 * time/Makefile: Likewise.
28479 * soft-fp/Makefile: Likewise.
28480 * dirent/Makefile: Likewise.
28481 * gmon/Makefile: Likewise.
28482 * po/Makefile: Likewise.
28483 * rt/Makefile: Likewise.
28484 * socket/Makefile: Likewise.
28485 * math/Makefile: Likewise.
28486 * signal/Makefile: Likewise.
28487 * debug/Makefile: Likewise.
28488 * elf/Makefile: Likewise.
28489 * timezone/Makefile: Likewise.
28490 * stdlib/Makefile: Likewise.
28491 * iconvdata/Makefile: Likewise.
28492 * sunrpc/Makefile: Likewise.
28493 * io/Makefile: Likewise.
28494 * argp/Makefile: Likewise.
28495 * inet/Makefile: Likewise.
28496 * hesiod/Makefile: Likewise.
28497 * grp/Makefile: Likewise.
28498 * csu/Makefile: Likewise.
28499 * wctype/Makefile: Likewise.
28500 * crypt/Makefile: Likewise.
28501 * libio/Makefile: Likewise.
28502 * string/Makefile: Likewise.
28503 * nis/Makefile: Likewise.
28504 * resolv/Makefile: Likewise.
28505 * stdio-common/Makefile: Likewise.
28506 * wcsmbs/Makefile: Likewise.
28507 * dlfcn/Makefile: Likewise.
28508 * posix/Makefile: Likewise.
28509
3b7c4e74 28510 [BZ #6959]
482ff4da
UD
28511 * timezone/Makefile: Don't install timezone files, just the programs
28512 and scripts.
28513
f72ed77d
UD
285142012-03-06 Ulrich Drepper <drepper@gmail.com>
28515
a000466f
UD
28516 * nss/databases.def: Add missing gshadow entry.
28517
f72ed77d
UD
28518 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28519
a53b7a4e
MP
285202012-03-06 Marek Polacek <polacek@redhat.com>
28521
28522 [BZ #13726]
28523 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28524 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28525 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28526 * stdio-common/tst-long-dbl-fphex.c: New file.
28527
e9258400
DM
285282012-03-06 David S. Miller <davem@davemloft.net>
28529
28530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28531 (set_obp_int): New function.
28532 (get_obp_int): New function.
28533 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28535 Avoid unused variable warnings on 'val' and use builtin_expect.
28536 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28537 __builtin_expect.
e9258400
DM
28538 (INLINE_CLONE_SYSCALL): Likewise.
28539
3bd2c723
DM
285402012-03-05 David S. Miller <davem@davemloft.net>
28541
28542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28543
bbb78d03
AS
285442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28545
884c5db4
AS
28546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28547
bbb78d03
AS
28548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28549 only for |x| >= 40.
28550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28551
1c9f702a 285522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28553
28554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28555 Replace gettimeofday with __vdso_gettimeofday.
28556
7be16f82
RM
28557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28558 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28559 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28560
28561 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28562 time with __vdso_time.
28563
ed58a00f
JM
285642012-03-05 Joseph Myers <joseph@codesourcery.com>
28565
28566 * manual/lang.texi (size_t): Note types to which size_t may be
28567 equivalent with the GNU C Library, but do not describe when
28568 differences between them are significant.
28569
30ee4ced
AJ
285702012-03-05 Andreas Jaeger <aj@suse.de>
28571
28572 * sysdeps/i386/fpu/libm-test-ulps: Update.
28573
b7cd39e8
JM
285742012-03-05 Joseph Myers <joseph@codesourcery.com>
28575
28576 [BZ #3976]
28577 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28578 (__ieee754_pow): Save and restore rounding mode and use
28579 round-to-nearest for main computations.
28580 * math/libm-test.inc (pow_test_tonearest): New function.
28581 (pow_test_towardzero): Likewise.
28582 (pow_test_downward): Likewise.
28583 (pow_test_upward): Likewise.
28584 (main): Call the new functions.
28585 * sysdeps/i386/fpu/libm-test-ulps: Update.
28586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
28587
28588 [BZ #3976]
28589 * math/libm-test.inc (cosh_test_tonearest): New function.
28590 (cosh_test_towardzero): Likewise.
28591 (cosh_test_downward): Likewise.
28592 (cosh_test_upward): Likewise.
28593 (sinh_test_tonearest): Likewise.
28594 (sinh_test_towardzero): Likewise.
28595 (sinh_test_downward): Likewise.
28596 (sinh_test_upward): Likewise.
28597 (main): Call the new functions.
28598 * sysdeps/i386/fpu/libm-test-ulps: Update.
28599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28600
6c6a98c9
TV
286012012-03-05 Tom de Vries <tom@codesourcery.com>
28602
28603 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28604 default stack guard is set in last bytes.
28605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28606
21bb2d2e 286072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 28608
21bb2d2e 28609 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 28610
21bb2d2e
AJ
28611 [BZ #13656]
28612 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28613 possibly allocate from heap instead of stack.
28614 * stdio-common/bug-vfprintf-nargs.c: New file.
28615 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 28616
c6922934
AS
286172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28618
28619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28620
bc957d53
MP
286212012-03-03 Marek Polacek <polacek@redhat.com>
28622
28623 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28624 * math/math_private.h: Likewise.
28625 * stdlib/tst-strtod.c: Likewise.
28626 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28627 * sysdeps/x86_64/bits/atomic.h: Likewise.
28628
6358490d
DM
286292012-03-02 David S. Miller <davem@davemloft.net>
28630
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28635 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28636 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28637 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28638 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28639
01ae168d
RM
286402012-03-02 Roland McGrath <roland@hack.frob.com>
28641
d9a17c07
RM
28642 [BZ #13792]
28643 * manual/examples/README: New file, says the example source files
28644 can be used under GPL>=2.
28645 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28646 line containing just "*/".
28647 * manual/examples/add.c: Add copyright header (GPL>=2).
28648 * manual/examples/argp-ex1.c: Likewise.
28649 * manual/examples/argp-ex2.c: Likewise.
28650 * manual/examples/argp-ex3.c: Likewise.
28651 * manual/examples/argp-ex4.c: Likewise.
28652 * manual/examples/atexit.c: Likewise.
28653 * manual/examples/db.c: Likewise.
28654 * manual/examples/dir.c: Likewise.
28655 * manual/examples/dir2.c: Likewise.
28656 * manual/examples/execinfo.c: Likewise.
28657 * manual/examples/filecli.c: Likewise.
28658 * manual/examples/filesrv.c: Likewise.
28659 * manual/examples/fmtmsgexpl.c: Likewise.
28660 * manual/examples/genpass.c: Likewise.
28661 * manual/examples/inetcli.c: Likewise.
28662 * manual/examples/inetsrv.c: Likewise.
28663 * manual/examples/isockad.c: Likewise.
28664 * manual/examples/longopt.c: Likewise.
28665 * manual/examples/memopen.c: Likewise.
28666 * manual/examples/memstrm.c: Likewise.
28667 * manual/examples/mkfsock.c: Likewise.
28668 * manual/examples/mkisock.c: Likewise.
28669 * manual/examples/mygetpass.c: Likewise.
28670 * manual/examples/pipe.c: Likewise.
28671 * manual/examples/popen.c: Likewise.
28672 * manual/examples/rprintf.c: Likewise.
28673 * manual/examples/search.c: Likewise.
28674 * manual/examples/select.c: Likewise.
28675 * manual/examples/setjmp.c: Likewise.
28676 * manual/examples/sigh1.c: Likewise.
28677 * manual/examples/sigusr.c: Likewise.
28678 * manual/examples/stpcpy.c: Likewise.
28679 * manual/examples/strdupa.c: Likewise.
28680 * manual/examples/strftim.c: Likewise.
28681 * manual/examples/strncat.c: Likewise.
28682 * manual/examples/subopt.c: Likewise.
28683 * manual/examples/swapcontext.c: Likewise.
28684 * manual/examples/termios.c: Likewise.
28685 * manual/examples/testopt.c: Likewise.
28686 * manual/examples/testpass.c: Likewise.
28687 * manual/examples/timeval_subtract.c: Likewise.
28688
01ae168d
RM
28689 [BZ #13792]
28690 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28691 function to ...
28692 * manual/timeval_subtract.c.texi: ... here, new file.
28693
49efa33d
DM
286942012-03-02 David S. Miller <davem@davemloft.net>
28695
28696 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28697
28afd92d
JM
286982012-03-02 Joseph Myers <joseph@codesourcery.com>
28699
804360ed
JM
28700 [BZ #3976]
28701 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28702 (__sin): Save and restore rounding mode and use round-to-nearest
28703 for all computations.
28704 (__cos): Save and restore rounding mode and use round-to-nearest
28705 for all computations.
28706 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28707 <fenv.h>.
28708 (tan): Save and restore rounding mode and use round-to-nearest for
28709 all computations.
28710 * math/libm-test.inc (cos_test_tonearest): New function.
28711 (cos_test_towardzero): Likewise.
28712 (cos_test_downward): Likewise.
28713 (cos_test_upward): Likewise.
28714 (sin_test_tonearest): Likewise.
28715 (sin_test_towardzero): Likewise.
28716 (sin_test_downward): Likewise.
28717 (sin_test_upward): Likewise.
28718 (tan_test_tonearest): Likewise.
28719 (tan_test_towardzero): Likewise.
28720 (tan_test_downward): Likewise.
28721 (tan_test_upward): Likewise.
28722 (main): Call the new functions.
28723 * sysdeps/i386/fpu/libm-test-ulps: Update.
28724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28725
a6d06d7b
JM
28726 [BZ #10135]
28727 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28728 small n, then large n, before computing and testing k+n.
28729 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28731 Likewise.
28732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28733 Likewise.
28734 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28735 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28742 * math/libm-test.inc (scalbn_test): Add more tests.
28743 (scalbln_test): Likewise.
28744
07e12bb3
JM
28745 * manual/filesys.texi (mode_t): Describe constraints on size and
28746 signedness, not exact equivalence to a particular type.
28747 (ino_t): Likewise.
28748 (ino64_t): Likewise.
28749 (dev_t): Likewise.
28750 (nlink_t): Likewise.
28751 (blkcnt_t): Likewise.
28752 (blkcnt64_t): Likewise.
28753 * manual/llio.texi (off_t): Likewise.
28754
28afd92d
JM
28755 [BZ #3976]
28756 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28757 (__ieee754_exp): Save and restore rounding mode and use
28758 round-to-nearest for all computations.
28759 * math/libm-test.inc (exp_test_tonearest): New function.
28760 (exp_test_towardzero): Likewise.
28761 (exp_test_downward): Likewise.
28762 (exp_test_upward): Likewise.
28763 (main): Call the new functions.
28764 * sysdeps/i386/fpu/libm-test-ulps: Update.
28765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28766
b1eeb65d
CD
287672012-03-01 Chris Demetriou <cgd@google.com>
28768
28769 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28770 have predictable order.
28771
53362a4b
DM
287722012-03-01 David S. Miller <davem@davemloft.net>
28773
3c969083
DM
28774 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28775
759707de
DM
28776 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28777 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28778 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28779 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28780
dfdb8ff2
DM
28781 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28782 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28783 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28785 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28786 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28787 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28788 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28789 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28790
ead89f96
DM
28791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28792
7f66bd07
DM
28793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28794 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28795 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28796
53362a4b
DM
28797 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28798 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28799 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28800 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28801 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28806 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28807 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28810 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28811 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28813 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28814 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28815 * sysdeps/sparc/elf/configure: Regenerated.
28816
7b1902cb
JM
288172012-03-01 Joseph Myers <joseph@codesourcery.com>
28818
bec039bc
JM
28819 * configure.in (AS, LD): Require binutils 2.20 or later.
28820 * configure: Regenerated.
28821 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28822 as required minimum version.
28823 * INSTALL: Regenerated.
28824
7b1902cb
JM
28825 [BZ #2541]
28826 [BZ #4108]
28827 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28828 before squaring exponent.
28829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28830 bottom long double and 27 bits of top long double before squaring
28831 exponent.
28832 * math/libm-test.inc (erfc_test): Add more tests.
28833 * sysdeps/i386/fpu/libm-test-ulps: Update.
28834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28836
f775c276
KT
288372012-03-01 Kai Tietz <ktietz@redhat.com>
28838
28839 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28840 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28841 containing bit-fields.
28842 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28843 * soft-fp/single.h (_FP_UNION_S): Likewise.
28844 * soft-fp/double.h (_FP_UNION_D): Likewise.
28845
5b8a4d4a
JM
288462012-02-29 Joseph Myers <joseph@codesourcery.com>
28847
0bab47b6
JM
28848 [BZ #13786]
28849 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28850 not include ../strcmp.S.
28851 [USE_AS_STRNCASECMP_L]: Likewise.
28852 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28853 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28854 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28855 (__strncasecmp_l_ia32): Define as alias to
28856 __strncasecmp_l_nonascii.
28857
0fcad3e2
JM
28858 [BZ #5794]
28859 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28860 * sysdeps/i386/fpu/libm-test-ulps: Update.
28861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28862
5b8a4d4a
JM
28863 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28865
8fdceb2e
JL
288662012-02-29 Jeff Law <law@redhat.com>
28867
28868 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28869 out of bounds read.
28870
1f393a11
MP
288712012-02-29 Marek Polacek <polacek@redhat.com>
28872
28873 [BZ #13706]
28874 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28875 * elf/Makefile: Add rules to run tst-unused-dep.out.
28876
8847f037
DM
288772012-02-28 David S. Miller <davem@davemloft.net>
28878
28879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28883 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28884 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28885
169d7f11
JM
288862012-02-29 Joseph Myers <joseph@codesourcery.com>
28887
28888 * math/libm-test.inc (llround_test): Move one test from
28889 lround_test. Use TEST_f_L in moved test.
28890 (lround_test): Move misplaced test to llround_test. Add testcase
28891 from bug 2561.
28892
39adf059
UD
288932012-02-28 Ulrich Drepper <drepper@gmail.com>
28894
28895 * sysdeps/x86_64/fpu/e_expf.S: New file.
28896 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28897
71b5d1c5
SB
288982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28899
28900 [BZ #13637]
28901 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28902 of remain_len that may cause incomplete multi-byte character and
28903 false match.
28904 * posix/bug-regex33.c: New file.
28905 * posix/Makefile (tests): Add bug-regex33.
28906
1f77f049
JM
289072012-02-28 Joseph Myers <joseph@codesourcery.com>
28908
28909 * manual/macros.texi: New file.
28910 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28911 * manual/libc.texinfo: Include macros.texi.
28912 * manual/creatute.texi: Likewise.
28913 * manual/install.texi: Likewise.
28914 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28915 @glibcadj{} in references to the GNU C Library.
28916 * manual/charset.texi: Likewise.
28917 * manual/conf.texi: Likewise.
28918 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28919 when not using those macros.
28920 * manual/creature.texi: Likewise.
28921 * manual/crypt.texi: Likewise.
28922 * manual/errno.texi: Likewise.
28923 * manual/filesys.texi: Likewise.
28924 * manual/header.texi: Likewise.
28925 * manual/install.texi: Likewise.
28926 * manual/intro.texi: Likewise.
28927 * manual/io.texi: Likewise.
28928 * manual/job.texi: Likewise.
28929 * manual/lang.texi: Likewise.
28930 * manual/libc.texiinfo: Likewise.
28931 * manual/llio.texi: Likewise.
28932 * manual/locale.texi: Likewise.
28933 * manual/maint.texi: Likewise.
28934 * manual/math.texi: Likewise.
28935 * manual/memory.texi: Likewise.
28936 * manual/message.texi: Likewise.
28937 * manual/nss.texi: Likewise.
28938 * manual/pattern.texi: Likewise.
28939 * manual/process.texi: Likewise.
28940 * manual/resource.texi: Likewise.
28941 * manual/search.texi: Likewise.
28942 * manual/setjmp.texi: Likewise.
28943 * manual/signal.texi: Likewise.
28944 * manual/socket.texi: Likewise.
28945 * manual/startup.texi: Likewise.
28946 * manual/stdio.texi: Likewise.
28947 * manual/string.texi: Likewise.
28948 * manual/sysinfo.texi: Likewise.
28949 * manual/syslog.texi: Likewise.
28950 * manual/terminal.texi: Likewise.
28951 * manual/time.texi: Likewise.
28952 * manual/users.texi: Likewise.
28953 * INSTALL: Regenerated.
28954 * NOTES: Regenerated.
d40c5d54 28955 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28956
450bf206
AS
289572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28958
28959 * include/dirent.h: Include <dirstream.h> before
28960 <dirent/dirent.h>.
28961
741a235b
DM
289622012-02-28 David S. Miller <davem@davemloft.net>
28963
28964 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28965 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28966 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28968
d6b5aa58
DM
289692012-02-27 David S. Miller <davem@davemloft.net>
28970
1aff59a3
DM
28971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28973 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28974 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28975
d6b5aa58
DM
28976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28977 frame pointer instead of stack pointer relative arg slot.
28978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28981
433f48bf
CD
289822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28983
28984 [BZ #3992]
28985 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28986
d674b76d
DM
289872012-02-27 David S. Miller <davem@davemloft.net>
28988
28989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28993 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28994 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28995 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28996 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28997
0e7727f7
JM
289982012-02-27 Joseph Myers <joseph@codesourcery.com>
28999
29000 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29001 later. Allow versions 5-9.
43be4ca2 29002 * configure: Regenerated.
0e7727f7
JM
29003 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29004 required minimum version and 4.6 as recommended version. Do not
29005 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29006 * INSTALL: Regenerated.
0e7727f7 29007
a78bc654
DM
290082012-02-27 David S. Miller <davem@davemloft.net>
29009
428d5830
DM
29010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29016 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29017 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29018
a78bc654
DM
29019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29020 manipulate bits before adding and subtracting TWO112[sx].
29021 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29022
4579f81c
RM
290232012-02-27 Roland McGrath <roland@hack.frob.com>
29024
36c8acb4
RM
29025 [BZ #13775]
29026 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29027 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29028 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29029 being in POSIX, because they are in 1003.1-2008.
29030
84ad622b
RM
29031 * rt/tst-aio.c: Include <fcntl.h>.
29032 * rt/tst-aio7.c: Likewise.
29033 * rt/tst-aio64.c: Likewise.
29034
4579f81c
RM
29035 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29036
abd923db
JM
290372012-02-27 Joseph Myers <joseph@codesourcery.com>
29038
29039 * manual/install.texi (--with-headers): Describe headers as
29040 interface headers, not private headers.
29041 (Specific advice for GNU/Linux systems): Describe use of headers
29042 from "make headers_install", not private headers from older
29043 kernels.
43be4ca2 29044 * INSTALL: Regenerated.
abd923db
JM
29045 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29046 Change to 2.6.19.
29047 * sysdeps/unix/sysv/linux/configure: Regenerated.
29048
6664049b
JM
29049 * manual/llio.texi (fclean): Remove documentation.
29050
bb8b6697
JM
29051 * manual/Makefile (libc-texi-generated): New variable. Include
29052 version.texi.
29053 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29054 $(libc-texi-generated), not duplicated list of files.
29055 (version.texi, stamp-version): New rules.
29056 (realclean): Remove $(libc-texi-generated), not individual files
29057 from that list. Do not remove dir-add.texinfo.
29058 * manual/libc.texinfo: Comment out uses of edition numbers and
29059 references to printed manual. Remove last-updated dates.
29060 (EDITION): Comment out.
29061 (ISBN): Likewise.
29062 (VERSION, UPDATED): Remove.
29063 (version.texi): Include.
29064
12e5c3b9
AS
290652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29066
29067 * sysdeps/posix/spawni.c: Include <signal.h>.
29068 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29069 * sysdeps/pthread/aio_fsync.c: Likewise.
29070
4efeffc1 290712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29072
ba63ba08
UD
29073 * conform/Makefile (tests): Run only when not cross-compiling and
29074 when fast-check is not defined.
29075
d94a4670
UD
29076 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29077 * conform/data/limits.h-data: Fixes for POSIX2008.
29078 * conform/run-conformtest.sh: Run all tests.
29079 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29080 headers.
29081 * include/bits/dlfcn.h: Likewise.
29082 * include/langinfo.h: Likewise.
29083 * include/monetary.h: Likewise.
29084 * include/sys/poll.h: Likewise.
29085
29086 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29087 for __USE_GNU.
29088 * posix/spawn.h: Define __need_sigset_t.
29089 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29090 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29091 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29092 to get sigevent_t only.
29093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29094 only for __USE_GNU.
29095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29096 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29097 process_vm_writev only for __USE_GNU.
29098 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29099
29100 * conform/Makefile: For now ignore errors from run-conformtest.
29101 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29102 POSIX to avoid namespace pollution. Don't prepend headers.
29103 * conform/data/aio.h-data: Fixes for POSIX testing.
29104 * conform/data/fcntl.h-data: Likewise.
29105 * conform/data/glob.h-data: Likewise.
29106 * conform/data/grp.h-data: Likewise.
29107 * conform/data/pthread.h-data: Likewise.
29108 * conform/data/pwd.h-data: Likewise.
29109 * conform/data/signal.h-data: Likewise.
29110 * conform/data/spawn.h-data: Likewise.
29111 * conform/data/stdio.h-data: Likewise.
29112 * conform/data/stdlib.h-data: Likewise.
29113 * conform/data/stropts.h-data: Likewise.
29114 * conform/data/sys/mman.h-data: Likewise.
29115 * conform/data/sys/stat.h-data: Likewise.
29116 * conform/data/sys/types.h-data: Likewise.
29117 * conform/data/sys/wait.h-data: Likewise.
29118 * conform/data/time.h-data: Likewise.
29119 * conform/data/unistd.h-data: Likewise.
29120 * conform/data/utime.h-data: Likewise.
29121
29122 * io/sys/stat.h: fchmod was always in POSIX.
29123 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29124 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29125 * rt/aio.h: Define __need_timespec before including <time.h>.
29126 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29127 struct. Add forward declaration of pthread_attr_t and use it in
29128 sigevent.
29129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29131 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29132 always remove CLK_TCK definition.
29133
c20105c3
AS
291342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29135
29136 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29137
7a270350
UD
291382012-02-25 Ulrich Drepper <drepper@gmail.com>
29139
31341567
UD
29140 * conform/run-conformtest.sh: New file.
29141 * conform/Makefile: Run run-conformtest for tests.
29142 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29143 support.
29144
29145 * conform/data/uchar.h-data: New file.
29146 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29147 * conform/data/arpa/inet.h-data: Likewise.
29148 * conform/data/assert.h-data: Likewise.
29149 * conform/data/complex.h-data: Likewise.
29150 * conform/data/cpio.h-data: Likewise.
29151 * conform/data/ctype.h-data: Likewise.
29152 * conform/data/dirent.h-data: Likewise.
29153 * conform/data/dlfcn.h-data: Likewise.
29154 * conform/data/errno.h-data: Likewise.
29155 * conform/data/fcntl.h-data: Likewise.
29156 * conform/data/float.h-data: Likewise.
29157 * conform/data/fmtmsg.h-data: Likewise.
29158 * conform/data/fnmatch.h-data: Likewise.
29159 * conform/data/ftw.h-data: Likewise.
29160 * conform/data/glob.h-data: Likewise.
29161 * conform/data/grp.h-data: Likewise.
29162 * conform/data/iconv.h-data: Likewise.
29163 * conform/data/inttypes.h-data: Likewise.
29164 * conform/data/langinfo.h-data: Likewise.
29165 * conform/data/libgen.h-data: Likewise.
29166 * conform/data/limits.h-data: Likewise.
29167 * conform/data/locale.h-data: Likewise.
29168 * conform/data/math.h-data: Likewise.
29169 * conform/data/monetary.h-data: Likewise.
29170 * conform/data/mqueue.h-data: Likewise.
29171 * conform/data/ndbm.h-data: Likewise.
29172 * conform/data/net/if.h-data: Likewise.
29173 * conform/data/netdb.h-data: Likewise.
29174 * conform/data/netinet/in.h-data: Likewise.
29175 * conform/data/nl_types.h-data: Likewise.
29176 * conform/data/poll.h-data: Likewise.
29177 * conform/data/pthread.h-data: Likewise.
29178 * conform/data/pwd.h-data: Likewise.
29179 * conform/data/regex.h-data: Likewise.
29180 * conform/data/sched.h-data: Likewise.
29181 * conform/data/search.h-data: Likewise.
29182 * conform/data/semaphore.h-data: Likewise.
29183 * conform/data/setjmp.h-data: Likewise.
29184 * conform/data/signal.h-data: Likewise.
29185 * conform/data/spawn.h-data: Likewise.
29186 * conform/data/stdarg.h-data: Likewise.
29187 * conform/data/stdio.h-data: Likewise.
29188 * conform/data/stdlib.h-data: Likewise.
29189 * conform/data/string.h-data: Likewise.
29190 * conform/data/strings.h-data: Likewise.
29191 * conform/data/stropts.h-data: Likewise.
29192 * conform/data/sys/ipc.h-data: Likewise.
29193 * conform/data/sys/mman.h-data: Likewise.
29194 * conform/data/sys/msg.h-data: Likewise.
29195 * conform/data/sys/resource.h-data: Likewise.
29196 * conform/data/sys/select.h-data: Likewise.
29197 * conform/data/sys/sem.h-data: Likewise.
29198 * conform/data/sys/shm.h-data: Likewise.
29199 * conform/data/sys/socket.h-data: Likewise.
29200 * conform/data/sys/stat.h-data: Likewise.
29201 * conform/data/sys/statvfs.h-data: Likewise.
29202 * conform/data/sys/time.h-data: Likewise.
29203 * conform/data/sys/timeb.h-data: Likewise.
29204 * conform/data/sys/times.h-data: Likewise.
29205 * conform/data/sys/types.h-data: Likewise.
29206 * conform/data/sys/uio.h-data: Likewise.
29207 * conform/data/sys/un.h-data: Likewise.
29208 * conform/data/sys/utsname.h-data: Likewise.
29209 * conform/data/sys/wait.h-data: Likewise.
29210 * conform/data/syslog.h-data: Likewise.
29211 * conform/data/tar.h-data: Likewise.
29212 * conform/data/termios.h-data: Likewise.
29213 * conform/data/utime.h-data: Likewise.
29214 * conform/data/utmpx.h-data: Likewise.
29215 * conform/data/varargs.h-data: Likewise.
29216 * conform/data/wchar.h-data: Likewise.
29217 * conform/data/wctype.h-data: Likewise.
29218 * conform/data/wordexp.h-data: Likewise.
29219
29220 * include/stropts.h: New file.
29221 * include/uchar.h: New file.
29222 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29223 * include/assert.h: Likewise.
29224 * include/ctype.h: Likewise.
29225 * include/dirent.h: Likewise.
29226 * include/dlfcn.h: Likewise.
29227 * include/fcntl.h: Likewise.
29228 * include/fnmatch.h: Likewise.
29229 * include/glob.h: Likewise.
29230 * include/grp.h: Likewise.
29231 * include/libio.h: Likewise.
29232 * include/locale.h: Likewise.
29233 * include/math.h: Likewise.
29234 * include/net/if.h: Likewise.
29235 * include/netdb.h: Likewise.
29236 * include/netinet/in.h: Likewise.
29237 * include/pthread.h: Likewise.
29238 * include/pwd.h: Likewise.
29239 * include/regex.h: Likewise.
29240 * include/sched.h: Likewise.
29241 * include/search.h: Likewise.
29242 * include/setjmp.h: Likewise.
29243 * include/signal.h: Likewise.
29244 * include/stdio.h: Likewise.
29245 * include/stdlib.h: Likewise.
29246 * include/string.h: Likewise.
29247 * include/sys/cdefs.h: Likewise.
29248 * include/sys/mman.h: Likewise.
29249 * include/sys/msg.h: Likewise.
29250 * include/sys/resource.h: Likewise.
29251 * include/sys/select.h: Likewise.
29252 * include/sys/socket.h: Likewise.
29253 * include/sys/stat.h: Likewise.
29254 * include/sys/statvfs.h: Likewise.
29255 * include/sys/time.h: Likewise.
29256 * include/sys/times.h: Likewise.
29257 * include/sys/uio.h: Likewise.
29258 * include/sys/utsname.h: Likewise.
29259 * include/sys/wait.h: Likewise.
29260 * include/termios.h: Likewise.
29261 * include/time.h: Likewise.
29262 * include/ulimit.h: Likewise.
29263 * include/unistd.h: Likewise.
29264 * include/utime.h: Likewise.
29265 * include/wchar.h: Likewise.
29266 * include/wctype.h: Likewise.
29267 * include/wordexp.h: Likewise.
29268
29269 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29270
7a270350
UD
29271 * time/time.h: TIME_UTC must be a macro.
29272 Make timespec_get available for ISO C11 only as well.
29273
7724defc
UD
292742012-02-24 Ulrich Drepper <drepper@gmail.com>
29275
29276 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29277 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29278
6b1d1d46
JM
292792012-02-24 Joseph Myers <joseph@codesourcery.com>
29280
29281 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29282
0f8bbd69
JM
292832012-02-24 Joseph Myers <joseph@codesourcery.com>
29284
29285 * manual/texinfo.tex: Update to version 2012-01-19.16.
29286
66ab80bc
JM
292872012-02-24 Joseph Myers <joseph@codesourcery.com>
29288
29289 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29290
74981cc5
RM
292912012-02-24 Roland McGrath <roland@hack.frob.com>
29292
ee968201
RM
29293 [BZ #13738]
29294 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29295 * manual/fdl-1.3.texi: New file.
29296 * manual/fdl-1.1.texi: File removed.
29297
74981cc5
RM
29298 [BZ #13738]
29299 * manual/libc.texinfo (FDL_VERSION): New @set.
29300 Use it for mention of FDL in cover text.
29301 (Documentation License): Use it in @include file name.
29302
7bb764bc
JM
293032012-02-22 Joseph Myers <joseph@codesourcery.com>
29304 Roland McGrath <roland@hack.frob.com>
29305
29306 [BZ #5461]
29307 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29308 not LONG_LONG_MAX and LONG_LONG_MIN.
29309 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29310 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29311 name.
29312 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29313
6cbeae47
JM
293142012-02-22 Joseph Myers <joseph@codesourcery.com>
29315
29316 [BZ #2547]
29317 [BZ #11365]
29318 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29319 manipulate bits before adding and subtracting TWO23[sx].
29320 * math/libm-test.inc (nearbyint_test): Add more tests.
29321
fe45ce09
JM
293222012-02-22 Joseph Myers <joseph@codesourcery.com>
29323
29324 [BZ #2548]
29325 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29326 bits before adding and subtracting TWO23[sx].
29327 * math/libm-test.inc (rint_test): Add more tests.
29328 (rint_test_tonearest): Likewise.
29329 (rint_test_towardzero): Likewise.
29330 (rint_test_downward): Likewise.
29331 (rint_test_upward: Likewise.
29332
ff3b3d82
JM
293332012-02-22 Joseph Myers <joseph@codesourcery.com>
29334
29335 [BZ #10110]
29336 * include/stdc-predef.h: New file. Extracted from features.h.
29337 * include/features.h: Include stdc-predef.h.
29338 * Makefile (headers): Add stdc-predef.h.
29339 * CONFORMANCE (Compiler limitations): Update.
29340
ef0aab35
JM
293412012-02-22 Joseph Myers <joseph@codesourcery.com>
29342
29343 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29344
58639409
DM
293452012-02-21 David S. Miller <davem@davemloft.net>
29346
29347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29349
c0e70b25
DM
293502012-02-20 David S. Miller <davem@davemloft.net>
29351
29352 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29353 using a normal save/restore sequence, rather than allocating a
29354 dummy stack frame just to store a frame pointer and restore.
29355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29356
fb06851d
JM
293572012-02-21 Joseph Myers <joseph@codesourcery.com>
29358
29359 * manual/install.texi: Fix stray word in line-wrapped comment.
29360
7a8b71c3
DM
293612012-02-20 David S. Miller <davem@davemloft.net>
29362
d510c123
DM
29363 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29364 both binutils and gcc support GOTDATA.
29365
0722d7c2
DM
29366 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29367 "rd %pc" in the PIC register setup sequences.
29368
3d2b3019
DM
29369 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29370 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29371 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29372 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29378 (SYSCALL_ERROR_HANDLER): Likewise.
29379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29382 (SYSCALL_ERROR_HANDLER): Likewise.
29383
c80098a9
DM
29384 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29385 (HAVE_GCC_GOTDATA): New.
29386 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29387 relocation support in both binutils and gcc.
29388 * sysdeps/sparc/elf/configure: Regenerate.
29389
3a2545a0
DM
29390 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29391 * sysdeps/sparc/sparc32/elf/configure: Delete.
29392 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29393 * sysdeps/sparc/sparc64/elf/configure: Delete.
29394 * sysdeps/sparc/elf/configure.in: New file.
29395 * sysdeps/sparc/elf/configure: Generate.
29396
7a8b71c3
DM
29397 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29398 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29399 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29400 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29401 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29402
f1e86fca
JM
294032012-02-21 Joseph Myers <joseph@codesourcery.com>
29404
29405 * manual/install.texi: Do not mention specific glibc version
29406 numbers.
29407 * manual/libc.texinfo (VERSION, UPDATED): Update.
29408 (@copying): Use @copyright{} and range of years.
29409
0e7dfaef
JM
294102012-02-21 Joseph Myers <joseph@codesourcery.com>
29411
29412 [BZ #13695]
29413 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29414 [crti.S not in sysdirs] (generated): Do not append.
29415 [crti.S not in sysdirs] (omit-deps): Likewise.
29416 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29417 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29418 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29419 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29420 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29421 Likewise.
29422 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29423 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29424 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29425 * csu/defs.awk: Remove file.
29426 * sysdeps/generic/initfini.c: Likewise.
29427 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29428 variable.
29429 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29430 Likewise.
29431
599af3ca
JM
294322012-02-20 Joseph Myers <joseph@codesourcery.com>
29433
29434 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29435 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29436 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29438 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29439 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29440 <bits/epoll.h>.
29441 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29442 (__EPOLL_PACKED): Define to empty if not defined by
29443 <bits/epoll.h>.
29444 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29446 bits/epoll.h.
29447
0e499750
JM
294482012-02-20 Joseph Myers <joseph@codesourcery.com>
29449
29450 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29451 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29452 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29453 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29454 <bits/timerfd.h>.
29455 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29457 bits/timerfd.h.
29458
5ad91f6e
JM
294592012-02-20 Joseph Myers <joseph@codesourcery.com>
29460
29461 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29462 in C locale.
29463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29464 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29467
06b99b02
AJ
294682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29469
29470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29472
7638c0fd
AS
294732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29474
29475 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29476 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29477 defined.
29478 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29479 Likewise.
29480 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29481 entry for 2.16.
29482
92221550
AJ
294832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29484
29485 * math/w_acos.c: Use non-signaling floating-point comparisons.
29486 * math/w_acosf.c: Likewise.
29487 * math/w_acosh.c: Likewise.
29488 * math/w_acoshf.c: Likewise.
29489 * math/w_acoshl.c: Likewise.
29490 * math/w_acosl.c: Likewise.
29491 * math/w_asin.c: Likewise.
29492 * math/w_asinf.c: Likewise.
29493 * math/w_asinl.c: Likewise.
29494 * math/w_atanh.c: Likewise.
29495 * math/w_atanhf.c: Likewise.
29496 * math/w_atanhl.c: Likewise.
29497 * math/w_exp2.c: Likewise.
29498 * math/w_exp2f.c: Likewise.
29499 * math/w_exp2l.c: Likewise.
29500 * math/w_j0.c: Likewise.
29501 * math/w_j0f.c: Likewise.
29502 * math/w_j0l.c: Likewise.
29503 * math/w_j1.c: Likewise.
29504 * math/w_j1f.c: Likewise.
29505 * math/w_j1l.c: Likewise.
29506 * math/w_jn.c: Likewise.
29507 * math/w_jnf.c: Likewise.
29508 * math/w_log.c: Likewise.
29509 * math/w_log10.c: Likewise.
29510 * math/w_log10f.c: Likewise.
29511 * math/w_log10l.c: Likewise.
29512 * math/w_log2.c: Likewise.
29513 * math/w_log2f.c: Likewise.
29514 * math/w_log2l.c: Likewise.
29515 * math/w_logf.c: Likewise.
29516 * math/w_logl.c: Likewise.
29517 * math/w_sqrt.c: Likewise.
29518 * math/w_sqrtf.c: Likewise.
29519 * math/w_sqrtl.c: Likewise.
29520 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29521 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29522 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29523 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29524 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29525
ebaf36eb
JM
295262012-02-19 Joseph Myers <joseph@codesourcery.com>
29527
29528 [BZ #9739]
29529 * manual/string.texi (strnlen): Use correct parameter name in
29530 equivalent expression.
29531
71c254a6
JM
295322012-02-19 Joseph Myers <joseph@codesourcery.com>
29533
29534 [BZ #11174]
29535 * manual/users.texi (seteuid): Consistently use neweuid for
29536 argument name.
29537
16d2c631
JM
295382012-02-19 Joseph Myers <joseph@codesourcery.com>
29539
29540 [BZ #13704]
29541 * manual/nss.texi (Services in the NSS configuration): Correct
29542 list of services in example configuration file.
29543
cd837b09
NB
295442012-02-19 Nick Bowler <nbowler@draconx.ca>
29545
29546 [BZ #11322]
29547 * manual/arith.texi: Remove statements about negative zero
29548 behaving identically to zero.
29549
02c4bbad
JM
295502012-02-18 Joseph Myers <joseph@codesourcery.com>
29551
29552 [BZ #5993]
29553 * manual/install.texi: Do not document upgrading from libc5.
29554
366842e7
JM
295552012-02-18 Joseph Myers <joseph@codesourcery.com>
29556
29557 [BZ #4596]
29558 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29559
dd54084d
DM
295602012-02-18 David S. Miller <davem@davemloft.net>
29561
29562 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29563 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29564 %o7 across the call.
29565 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29566 instead.
29567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29568 SETUP_PIC_REG_LEAF.
29569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29570 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29571 * sysdeps/sparc/crtn.S: Likewise.
29572
2bcc53a3
UD
295732012-02-17 Ulrich Drepper <drepper@gmail.com>
29574
29575 * aout/Makefile: Remove.
29576
09c093b5
RK
295772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29578
29579 [BZ #13058]
29580 * manual/examples/argp-ex1.c (main): Format definition in GNU
29581 style.
29582 * manual/examples/argp-ex2.c (main): Likewise.
29583 * manual/examples/argp-ex3.c (main): Likewise.
29584 * manual/examples/argp-ex4.c (main): Likewise.
29585 * manual/examples/longopt.c (main): Use new-style prototype
29586 definition.
29587 * manual/examples/strncat.c (main): Specify return type and use
29588 (void) for arguments.
29589 * manual/examples/subopt.c (main): Use char **argv argument.
29590
2ee633a2
JM
295912012-02-17 Joseph Myers <joseph@codesourcery.com>
29592
29593 [BZ #5077]
29594 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29595 rounding modes.
29596
0520adde
FB
295972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29598
29599 [BZ #6907]
29600 * manual/string.texi (strchr): Change when strchrnul is
29601 recommended.
29602
3f4081cd
DGM
296032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29604
29605 [BZ #174]
29606 * manual/locale.texi (setlocale): Document LOCPATH.
29607
d1b10e78
JM
296082012-02-17 Joseph Myers <joseph@codesourcery.com>
29609
29610 [BZ #10210]
29611 * manual/process.texi (execle): Move @dots{} before last argument.
29612
79c6869c
PB
296132012-02-17 Paul Bolle <pebolle@tiscali.nl>
29614
29615 [BZ #12047]
29616 * manual/charset.texi (Generic Charset Conversion): Fix typo
29617 (LC_TYPE -> LC_CTYPE).
29618
cc6e48bc
NB
296192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29620
29621 [BZ #5805]
29622 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29623 (scalbnf): Likewise.
29624 (scalbnl): Likewise.
29625 (scalbln): Likewise.
29626 (scalblnf): Likewise.
29627 (scalblnl): Likewise.
29628 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29629 (vwarnx): Likewise.
29630 (verr): Likewise.
29631 (verrx): Likewise.
29632 * manual/filesys.texi (telldir): Use braces around return type.
29633 * manual/llio.texi (mmap): Add space after comma.
29634 (mmap64): Likewise.
29635 * manual/math.texi (jn): Use @var{} on parameter names.
29636 (jnf): Likewise.
29637 (jnl): Likewise.
29638 (yn): Likewise.
29639 (ynf): Likewise.
29640 (ynl): Likewise.
29641 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29642 line.
29643 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29644 "...".
29645 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29646 (sched_get_priority_max): Likewise.
29647 * manual/signal.texi (sigvec): Add space after comma.
29648 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29649 names.
29650 (if_indextoname): Likewise.
29651 (if_freenameindex): Likewise.
29652 (sendto): Use ',' instead of '.' in prototype.
29653 * manual/startup.texi (syscall): Use @dots{} instead of literal
29654 "...".
29655 * manual/stdio.texi (__fpending): Separate initial words of
29656 paragraph from @deftypefun line.
29657 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29658 "...".
29659 (vsyslog): Use @var{} on parameter names.
29660 * manual/terminal.texi (stty): Use @var{} on parameter names.
29661 * manual/users.texi (getutmp): Use @var{} on parameter names.
29662 (getutmpx): Likewise.
29663
5b23062f
JM
296642012-02-17 Joseph Myers <joseph@codesourcery.com>
29665
29666 [BZ #6884]
29667 * manual/stdio.texi (fopen): Fix typos in description of
29668 ",ccs=STRING".
29669
8dee4833
AJ
296702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29671
29672 [BZ #4026]
29673 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29674 get clock_id definition.
29675
9078ce93
TS
296762012-02-17 Thomas Schwinge <thomas@schwinge.name>
29677
29678 [BZ #4822]
29679 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29680 (madvise): Cast every argument to void on its own.
29681
3835c55f
JM
296822012-02-17 Joseph Myers <joseph@codesourcery.com>
29683
29684 [BZ #9902]
29685 * manual/startup.texi (Exit Status): Fix typo.
29686
35c47e37
JM
296872012-02-17 Joseph Myers <joseph@codesourcery.com>
29688
29689 [BZ #10140]
29690 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29691 * manual/examples/argp-ex2.c: Likewise.
29692 * manual/examples/argp-ex3.c: Likewise.
29693
e3b69ca7
RH
296942012-02-16 Richard Henderson <rth@redhat.com>
29695
29696 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29697 * sysdeps/s390/s390-32/initfini.c: Remove.
29698 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29699 * sysdeps/s390/s390-64/initfini.c: Remove.
29700
df83af67
KK
297012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29702
29703 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29704 compiler output for sysdeps/generic/initfini.c.
29705 * sysdeps/sh/elf/initfini.c: Remove file.
29706
f63f3380
DM
297072012-02-16 David S. Miller <davem@davemloft.net>
29708
fb59b3a4
DM
29709 [BZ #11494]
29710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29711
f63f3380
DM
29712 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29713 * sysdeps/sparc/crti.S: New file.
29714 * sysdeps/sparc/crtn.S: New file.
29715 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29716 * sysdeps/sparc/sparc64/Makefile: Likewise.
29717
df6a4a4a
MF
297182012-02-15 Mike Frysinger <vapier@gentoo.org>
29719
6dd8f3dc 29720 [BZ #3335]
df6a4a4a
MF
29721 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29722
1cac7236
RM
297232012-02-15 Roland McGrath <roland@hack.frob.com>
29724
d2c736f8
RM
29725 [BZ #4822]
29726 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29727
1cac7236
RM
29728 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29729 (write, read, close): Likewise.
29730 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29731
8e475601
JM
297322012-02-15 Joseph Myers <joseph@codesourcery.com>
29733
29734 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29735 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29736 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29737 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29738 <bits/signalfd.h>.
29739 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29741 bits/signalfd.h.
29742
ed656b40
MP
297432012-02-14 Marek Polacek <polacek@redhat.com>
29744
29745 * sysdeps/x86_64/crti.S: New file.
29746 * sysdeps/x86_64/crtn.S: New file.
29747 * sysdeps/x86_64/elf/initfini.c: Remove file.
29748
2a979d3a
JM
297492012-02-13 Joseph Myers <joseph@codesourcery.com>
29750
29751 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29752 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29753 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29754 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29755 <bits/inotify.h>.
29756 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29758 bits/inotify.h.
29759
2a418ac3
JM
297602012-02-13 Joseph Myers <joseph@codesourcery.com>
29761
29762 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29763 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29764 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29765 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29766 <bits/eventfd.h>.
29767 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29769 bits/eventfd.h.
29770
fb779be7
TS
297712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29772
e19e83c5
RM
29773 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29774 __feraiseexcept instead of feraiseexcept.
7c35ffed 29775
fb779be7
TS
29776 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29777 nanosleep invocations.
29778 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29779 strings, and add error checking for a nanosleep invocations.
29780
59ba27a6
PE
297812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29782
29783 Replace FSF snail mail address with URLs, as per GNU coding standards.
29784 Most of the snail mail addresses were wrong anyway, and omitting
29785 them makes the source code easier to maintain. Almost all of the
29786 changes are to license notices and to locale LC_IDENTIFICATION
29787 addresses, except for this one:
29788 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29789 not its snail mail address.
29790
57b957eb
RH
297912012-02-09 Richard Henderson <rth@twiddle.net>
29792
af850b1c
RH
29793 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29794 of kernel-features.h.
29795
57b957eb
RH
29796 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29797
6b73181a
MP
297982012-02-08 Marek Polacek <polacek@redhat.com>
29799
29800 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29801 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29802 * sysdeps/gnu/_G_config.h: Likewise.
29803 * sysdeps/generic/_G_config.h: Likewise.
29804
26ecc33a
AS
298052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29806
6c6dbc63
AS
29807 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29808 tests.
29809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29810
e216c012
AS
29811 * sysdeps/powerpc/powerpc32/crti.S: New file.
29812 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29813 * sysdeps/powerpc/powerpc64/crti.S: New file.
29814 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29815
26ecc33a
AS
29816 * Makeconfig (have-initfini): Don't set.
29817 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29818 * configure.in (nopic_initfini): Don't substitute.
29819 * config.h.in (HAVE_INITFINI): Don't #undef.
29820 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29821 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29822
3add8e13
JM
298232012-02-08 Joseph Myers <joseph@codesourcery.com>
29824
29825 Support crti.S and crtn.S provided directly by architectures.
29826 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29827 [crti.S in sysdirs] (omit-deps): Likewise.
29828 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29829 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29830 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29831 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29832 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29833 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29834 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29835 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29836 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29837 compiler output for sysdeps/generic/initfini.c.
29838 * sysdeps/i386/elf/Makefile: Remove file.
29839 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29840
a22f12b4
MP
298412012-02-07 Marek Polacek <polacek@redhat.com>
29842
29843 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29844 * sysdeps/gnu/_G_config.h: Likewise.
29845 * sysdeps/mach/hurd/_G_config.h: Likewise.
29846
148cf100
MP
298472012-02-07 Marek Polacek <polacek@redhat.com>
29848
29849 * math/Makefile (tests): Add tst-CMPLX2.
29850 * math/tst-CMPLX2.c: New file.
29851
cfdc0dd7
AS
298522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29853
84ba42c4
AS
29854 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29855
cfdc0dd7
AS
29856 * math/libm-test.inc (jn_test): Add missing L suffix.
29857
622c86f4
MP
298582012-02-06 Marek Polacek <polacek@redhat.com>
29859
29860 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29861 * sysdeps/i386/fpu/e_powf.S: Likewise.
29862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29865 * sysdeps/i386/fpu/e_pow.S: Likewise.
29866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29870 * sysdeps/i386/fpu/e_log2.S: Likewise.
29871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29873 * sysdeps/i386/fpu/e_powl.S: Likewise.
29874 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29876 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29877 * sysdeps/i386/fpu/e_logl.S: Likewise.
29878 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29879 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29884 * sysdeps/i386/fpu/e_log.S: Likewise.
29885 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29887 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29888 * sysdeps/i386/fpu/e_logf.S: Likewise.
29889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29891 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29892 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29894 * sysdeps/i386/fpu/e_log10.S: Likewise.
29895 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29897 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29898 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29899 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29900 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29901 * sysdeps/i386/asm-syntax.h: Likewise.
29902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29905 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29906 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29911 * sysdeps/powerpc/sysdep.h: Likewise.
29912 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29914
d4a54ac6
JM
299152012-02-06 Joseph Myers <joseph@codesourcery.com>
29916
29917 [BZ #411]
29918 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29919
314054ea
JM
299202012-02-06 Joseph Myers <joseph@codesourcery.com>
29921
29922 * sysdeps/i386/sysdep.h: Include <features.h>.
29923 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29924 version.
29925
d8e0ca50
JM
299262012-02-05 Joseph Myers <joseph@codesourcery.com>
29927
29928 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29929 Define.
29930 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29931 LOAD_PIC_REG_STR.
29932
b1da7dd9
JM
299332012-02-03 Joseph Myers <joseph@codesourcery.com>
29934
29935 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29936 (SETUP_PIC_REG): Use GET_PC_THUNK.
29937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29938 macro.
29939
9a1d9254
JM
299402012-02-03 Joseph Myers <joseph@codesourcery.com>
29941
29942 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29943 for non-PIC compilation.
29944 (SETUP_PIC_REG): Add .p2align directive.
29945 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29946 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29951 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29953 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29954 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29955 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29956 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29957 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29958 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29959 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29960 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29961 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29962 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29963 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29964 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29967 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29968 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29973 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29974 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29975 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29986
65dc3b75
JM
299872012-02-03 Joseph Myers <joseph@codesourcery.com>
29988
29989 * math/tst-CMPLX.c: Include <stdio.h>.
29990
d55bf177
JM
299912012-01-31 Joseph Myers <joseph@codesourcery.com>
29992
29993 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29994 float.
29995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29996 * sysdeps/sparc/bits/mathdef.h: Likewise.
29997
69db4f8f
MP
299982012-01-31 Marek Polacek <polacek@redhat.com>
29999
30000 * libio/libio.h: Don't define _PARAMS.
30001 * locale/programs/config.h: Don't define PARAMS.
30002 * stdlib/strtol_l.c: Likewise.
30003 (__strtol_l): Remove PARAMS from the prototype.
30004
41b81892
UD
300052012-01-31 Ulrich Drepper <drepper@gmail.com>
30006
3b49edc0
UD
30007 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30008 names. Just use the correct names. Remove unnecessary wrapper
30009 functions.
30010 * malloc/arena.c: Likewise.
30011 * malloc/hooks.c: Likewise.
30012
41b81892
UD
30013 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30014 ARENA_TEST says not to. Simplify test for creation of a new arena.
30015 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30016
27a25b6e
UD
300172012-01-30 Ulrich Drepper <drepper@gmail.com>
30018
30019 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30020 into tail calls.
30021 (update_get_addr): New function.
30022 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30023 GET_ADDR_MODULE parameter.
30024
c8a89e7d
JM
300252012-01-30 Joseph Myers <joseph@codesourcery.com>
30026
30027 * crypt/cert.c: Remove __STDC__ conditionals.
30028 * crypt/crypt-entry.c: Likewise.
30029 * crypt/crypt_util.c: Likewise.
30030 * libio/filedoalloc.c: Likewise.
30031 * libio/fileops.c: Likewise.
30032 * libio/genops.c: Likewise.
30033 * libio/iofclose.c: Likewise.
30034 * libio/iofdopen.c: Likewise.
30035 * libio/iofopen.c: Likewise.
30036 * libio/iofopen64.c: Likewise.
30037 * libio/iogetdelim.c: Likewise.
30038 * libio/iopopen.c: Likewise.
30039 * libio/obprintf.c: Likewise.
30040 * libio/oldfileops.c: Likewise.
30041 * libio/oldiofclose.c: Likewise.
30042 * libio/oldiofdopen.c: Likewise.
30043 * libio/oldiofopen.c: Likewise.
30044 * libio/oldiopopen.c: Likewise.
30045 * libio/wfiledoalloc.c: Likewise.
30046 * libio/wgenops.c: Likewise.
30047 * locale/programs/xmalloc.c: Likewise.
30048 * misc/syslog.c: Likewise.
30049 * stdio-common/xbug.c: Likewise.
30050 * string/memchr.c: Likewise.
30051 * string/memcmp.c: Likewise.
30052 * string/memrchr.c: Likewise.
30053 * string/rawmemchr.c: Likewise.
30054 * sysdeps/posix/getcwd.c: Likewise.
30055 * time/strftime_l.c: Likewise.
30056
3b100462
JM
300572012-01-30 Joseph Myers <joseph@codesourcery.com>
30058
30059 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30060 * config.make.in (config-cflags-sse2avx): Define.
30061 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30062 Fix typo.
30063
607998af
CM
300642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30065
30066 * scripts/config.guess: Update from upstream config git repository.
30067 * scripts/config.sub: Likewise.
30068
3601428f
CM
300692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30070
3ac8b282
CM
30071 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30072 (EM_NUM): Update.
30073 (R_TILEPRO_*, R_TILEGX_*): New macros.
30074
e034841e
CM
30075 * scripts/firstversions.awk: Fix bug in version range handling.
30076
540d7568
CM
30077 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30078
3601428f
CM
30079 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30080
463de862
CM
30081 * include/sys/epoll.h: New file.
30082 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30083 libc_hidden_def.
30084
73139a76
UD
300852012-01-28 Ulrich Drepper <drepper@gmail.com>
30086
96bc5b45
UD
30087 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30088 Avoid unnecessary __WORDSIZE == 64 test.
30089 (fmaxf): Use VEX format if possible.
30090 (fmax): Likewise.
30091 (fminf): Likewise.
30092 (fmin): Likewise.
30093
56f6f6a2
UD
30094 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30095 * math/math_private.h: Remove libc_fegetround* and
30096 libc_fesetround*.
30097 * sysdeps/i386/configure.in: Check for -msse2avx.
30098 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30099 also if SSE2AVX is defined.
30100 Remove libc_fegetround* and libc_fesetround*.
30101 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30102 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30104 of HAS_YMM_USABLE.
30105 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30106 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30107 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30108 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30110
73139a76
UD
30111 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30112
d73f93a4
AZ
301132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30114
30115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30116 size is not set.
30117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30118
6ee65ed6
UD
301192012-01-27 Ulrich Drepper <drepper@gmail.com>
30120
30121 [BZ #13618]
30122 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30123 relocation.
30124 * Makeconfig (libm): Define.
30125 * elf/Makefile: Add rules to build and run tst-relsort1.
30126 * elf/tst-relsort1.c: New file.
30127 * elf/tst-relsort1mod1.c: New file.
30128 * elf/tst-relsort1mod2.c: New file.
30129
8db21882
JM
301302012-01-27 Joseph Myers <joseph@codesourcery.com>
30131
30132 * math/s_ldexp.c: Remove __STDC__ conditionals.
30133 * math/s_ldexpf.c: Likewise.
30134 * math/s_ldexpl.c: Likewise.
30135 * math/s_nextafter.c: Likewise.
30136 * math/s_nexttowardf.c: Likewise.
30137 * math/s_significand.c: Likewise.
30138 * math/s_significandf.c: Likewise.
30139 * math/s_significandl.c: Likewise.
30140 * math/w_jnl.c: Likewise.
30141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30147 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30158 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30162 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30163 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30165 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30166 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30169 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30171 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30172 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30175 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30176 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30178 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30179 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30180 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30181 * sysdeps/ieee754/k_standard.c: Likewise.
30182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30204 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30205 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30207 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30213 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30214 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30215 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30216 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30218 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30221 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30222 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30224 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30225 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30232 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30251 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30252 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30261 * sysdeps/ieee754/s_matherr.c: Likewise.
30262 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30263 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30266
965a54a4
JM
302672012-01-26 Joseph Myers <joseph@codesourcery.com>
30268
30269 * crypt/md5.h: Remove __STDC__ conditionals.
30270 * libio/libioP.h: Likewise.
30271 * locale/programs/config.h: Likewise.
30272 * sysdeps/generic/sysdep.h: Likewise.
30273 * sysdeps/i386/asm-syntax.h: Likewise.
30274 * sysdeps/s390/asm-syntax.h: Likewise.
30275 * sysdeps/unix/sysdep.h: Likewise.
30276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30278
7071ad79
JM
302792012-01-26 Joseph Myers <joseph@codesourcery.com>
30280
30281 * libio/libio.h: Remove __STDC__ conditionals.
30282 * malloc/obstack.h: Likewise.
30283 * math/complex.h: Likewise.
30284 * math/math.h: Likewise.
30285 * sysdeps/generic/_G_config.h: Likewise.
30286 * sysdeps/gnu/_G_config.h: Likewise.
30287 * sysdeps/mach/hurd/_G_config.h: Likewise.
30288 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30289 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30290 * sysdeps/sparc/bits/mathdef.h: Likewise.
30291
afc5ed09
UD
302922012-01-26 Ulrich Drepper <drepper@gmail.com>
30293
30294 [BZ #13583]
30295 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30296 Clean up HAS_* macros.
afc5ed09 30297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30298 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30299 possible.
30300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30301 HAS_AVX.
30302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30307
bdb6de1d
JM
303082012-01-25 Joseph Myers <joseph@codesourcery.com>
30309
30310 * elf/tst-unique3.cc (gets): Remove declaration.
30311 * elf/tst-unique3lib.cc (gets): Likewise.
30312 * elf/tst-unique3lib2.cc (gets): Likewise.
30313 * elf/tst-unique4.cc (gets): Likewise.
30314
b15549e6
UD
303152012-01-24 Ulrich Drepper <drepper@gmail.com>
30316
30317 * include/stdio.h: Add C++ protection. Add gets declarations and
30318 definitions.
30319 * debug/tst-chk1.c: Don't declare gets here.
30320 * stdio-common/tst-gets.c: Likewise.
30321
a037381f
JM
303222012-01-24 Joseph Myers <joseph@codesourcery.com>
30323
30324 * posix/glob: Remove directory.
30325
f1d4aa75
JM
303262012-01-24 Joseph Myers <joseph@codesourcery.com>
30327
30328 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30329
81c0c964
PT
303302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30331
30332 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30333 of the non-standard EPFNOSUPPORT.
30334
0ea698ae
ST
303352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30336
30337 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30338 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30339 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30340
d220b117
UD
303412012-01-21 Ulrich Drepper <drepper@gmail.com>
30342
30343 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30344
3e1aa84e
UD
303452012-01-20 Ulrich Drepper <drepper@gmail.com>
30346
30347 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30348 transient errors.
30349 * nscd/grpcache.c (cache_addgr): Likewise.
30350 * nscd/hstcache.c (cache_addhst): Likewise.
30351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30352 * nscd/pwdcache.c (cache_addpw): Likewise.
30353 * nscd/servicescache.c (cache_addserv): Likewise.
30354
400aa020
UD
303552012-01-16 Ulrich Drepper <drepper@gmail.com>
30356
d77e7869
UD
30357 * malloc/malloc.c: Various cleanups.
30358 * malloc/hooks.c: Likewise.
30359
400aa020
UD
30360 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30361 * stdlib/bug-fmtmsg1.c: New file.
30362
30363 * stdlib/fmtmsg.c (init): Add missing unlock.
30364 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30365
e0a309cf
MP
303662012-01-12 Marek Polacek <polacek@redhat.com>
30367
30368 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30369 and _GNU_SOURCE.
30370
929d11c7
WS
303712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30372
30373 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30374 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30375 macro to ensure uniqueness of label name.
30376 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30377 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30378
41d0e869
UD
303792012-01-11 Ulrich Drepper <drepper@gmail.com>
30380
0cc5ed3b
UD
30381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30382
41d0e869
UD
30383 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30385 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30387
a47a831a
UD
303882012-01-10 Ulrich Drepper <drepper@gmail.com>
30389
daa891c0
UD
30390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30391
30392 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30393 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30395
e58ef0f2
UD
30396 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30397
a47a831a 30398 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30399 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30402
30403 * math/bits/math-finite.h: Add ldexp support.
30404
a0bfc9c7
MP
304052012-01-10 Marek Polacek <polacek@redhat.com>
30406
30407 * locale/programs/localedef.h (show_archive_content): Add noreturn
30408 attribute.
30409
d6e97a1d
UD
304102012-01-09 Ulrich Drepper <drepper@gmail.com>
30411
30412 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30413
d5835c26
UD
304142012-01-08 Ulrich Drepper <drepper@gmail.com>
30415
e5f484c6
UD
30416 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30417
d5835c26
UD
30418 * io/Makefile (headers): Add bits/poll2.h.
30419
d1f741e9
WS
304202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30421
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30423 typo #include statement.
30424
ec09c1c4
UD
304252012-01-08 Ulrich Drepper <drepper@gmail.com>
30426
30427 * include/sys/cdefs.h: Define __attribute_alloc_size.
30428 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30429 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30430 * elf/pldd.c: Likewise.
30431 * iconv/iconv_charmap.c: Likewise.
30432 * iconv/iconvconfig.c: Likewise.
30433 * iconv/strtab.c: Likewise.
30434 * locale/programs/locale.c: Likewise.
30435 * locale/programs/localedef.h: Likewise.
30436 * locale/programs/simple-hash.c: Likewise.
30437 * nscd/nscd.h: Likewise.
30438 * nss/makedb.c: Likewise.
30439 * sysdeps/generic/ldconfig.h: Likewise.
30440 * locale/programs/localedef.c: Remove xmalloc prototype.
30441 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30442
20b38e03
PP
304432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30444
30445 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30446 appropriate.
30447
a0da5fe1
UD
304482012-01-08 Ulrich Drepper <drepper@gmail.com>
30449
1d5a644a 30450 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30451 * math/tst-CMPLX.c: New file.
1d5a644a 30452
8784a6db
UD
30453 * math/complex.h (CMPLXL): Fix typo.
30454
d9a216c0
UD
30455 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30456 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30457 GLIBC_2.16.
30458 * debug/tst-chk1.c: Add poll and ppoll tests.
30459 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30460 * include/sys/poll.h: Add hidden proto for ppoll.
30461 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30462 * sysdeps/mach/hurd/ppoll.c: Likewise.
30463 * io/ppoll.c: Likewise.
30464 * debug/poll_chk.c: New file.
30465 * debug/ppoll_chk.c: New file.
30466 * include/bits/poll2.h: New file.
30467 * io/bits/poll2.h: New file.
30468
ac097f5c
UD
30469 [BZ #1350]
30470 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30471
2119dcfa
UD
30472 * configure.in: static is always set to yes. Remove.
30473 * config.make.in: Don't set build-static.
30474 * Makeconfig: Remove use of build-static.
30475 * dlfcn/Makefile: Likewise.
30476 * elf/Makefile: Likewise.
30477 * math/Makefile: Likewise.
30478 * misc/Makefile: Likewise.
30479 * nptl/Makefile: Likewise.
30480 * sysdeps/mach/hurd/Makefile: Likewise.
30481
121766a9
UD
30482 * configure.in: PWD_P is not used anymore.
30483 * config.make.in: Remove PWD_P entry.
30484
51a1d39c 30485 * configure.in: Remove last remnants of RANLIB.
8720d066 30486 No need to check for signed size_t anymore.
215f4bdc
UD
30487 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30488 and IA-64.
3857022a 30489 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30490 * aclocal.m4: Likewise.
30491
d3ed7225
UD
30492 * wcsmbs/mbrtoc16.c: Implement using towc function.
30493 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30494 * wcsmbs/wcsmbsload.c: Likewise.
30495 * iconv/gconv_simple.c: Likewise.
30496 * iconv/gconv_int.h: Likewise.
30497 * iconv/gconv_builtin.h: Likewise.
30498 * iconv/iconv_prog.c: Remove CHAR16 handling.
30499
30500 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30501
30502 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30503
a0da5fe1
UD
30504 * configure.in: Remove --with-elf and --enable-bounded options.
30505 Dont set base_machine for ia64. More non-ELF conditions removed.
30506 Remove testing and setting of leading underscore information.
30507 * config.make.in (build-bounded): Set to no.
30508 * config.h.in: Remove NO_UNDERSCORES entry.
30509 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30510 them.
30511 * csu/start.c: Remove !NO_UNDERSCORE code.
30512 * locale/localeinfo.h: Likewise.
30513 * sysdeps/generic/machine-gmon.h: Likewise.
30514 * sysdeps/generic/sysdep.h: Likewise.
30515 * sysdeps/i386/sysdep.h: Likewise.
30516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30517 * sysdeps/mach/sysdep.h: Likewise.
30518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30520 * sysdeps/sh/sysdep.h: Likewise.
30521 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30522 * sysdeps/unix/i386/sysdep.S: Likewise.
30523 * sysdeps/unix/sparc/start.c: Likewise.
30524 * sysdeps/unix/sparc/sysdep.S: Likewise.
30525 * sysdeps/unix/sparc/sysdep.h: Likewise.
30526 * sysdeps/unix/start.c: Likewise.
30527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30528 * sysdeps/x86_64/sysdep.h: Likewise.
30529
df78418a
UD
305302012-01-07 Ulrich Drepper <drepper@gmail.com>
30531
a784e502
UD
30532 [BZ #13553]
30533 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30534 for non-gcc.
30535 * argp/argp-fmtstream.h: Use const instead __const.
30536 * argp/argp.h: Likewise.
30537 * assert/assert.h: Likewise.
30538 * bits/fenv.h: Likewise.
30539 * bits/sched.h: Likewise.
30540 * bits/sigset.h: Likewise.
30541 * bits/sigthread.h: Likewise.
30542 * catgets/nl_types.h: Likewise.
30543 * conform/data/pthread.h-data: Likewise.
30544 * crypt/crypt-private.h: Likewise.
30545 * crypt/crypt.h: Likewise.
30546 * crypt/crypt_util.c: Likewise.
30547 * ctype/ctype.h: Likewise.
30548 * debug/execinfo.h: Likewise.
30549 * debug/mbsnrtowcs_chk.c: Likewise.
30550 * debug/mbsrtowcs_chk.c: Likewise.
30551 * debug/wcsnrtombs_chk.c: Likewise.
30552 * debug/wcsrtombs_chk.c: Likewise.
30553 * debug/wcstombs_chk.c: Likewise.
30554 * dirent/dirent.h: Likewise.
30555 * dlfcn/dlfcn.h: Likewise.
30556 * elf/neededtest4.c: Likewise.
30557 * grp/grp.h: Likewise.
30558 * gshadow/gshadow.h: Likewise.
30559 * iconv/gconv.h: Likewise.
30560 * iconv/gconv_int.h: Likewise.
30561 * iconv/gconv_simple.c: Likewise.
30562 * iconv/iconv.h: Likewise.
30563 * iconv/loop.c: Likewise.
30564 * iconv/skeleton.c: Likewise.
30565 * include/aio.h: Likewise.
30566 * include/aliases.h: Likewise.
30567 * include/argz.h: Likewise.
30568 * include/arpa/inet.h: Likewise.
30569 * include/assert.h: Likewise.
30570 * include/dirent.h: Likewise.
30571 * include/dlfcn.h: Likewise.
30572 * include/execinfo.h: Likewise.
30573 * include/fcntl.h: Likewise.
30574 * include/fenv.h: Likewise.
30575 * include/glob.h: Likewise.
30576 * include/grp.h: Likewise.
30577 * include/libintl.h: Likewise.
30578 * include/mntent.h: Likewise.
30579 * include/netdb.h: Likewise.
30580 * include/pwd.h: Likewise.
30581 * include/rpc/netdb.h: Likewise.
30582 * include/sched.h: Likewise.
30583 * include/search.h: Likewise.
30584 * include/shadow.h: Likewise.
30585 * include/signal.h: Likewise.
30586 * include/stdio.h: Likewise.
30587 * include/stdlib.h: Likewise.
30588 * include/string.h: Likewise.
30589 * include/sys/socket.h: Likewise.
30590 * include/sys/stat.h: Likewise.
30591 * include/sys/statfs.h: Likewise.
30592 * include/sys/statvfs.h: Likewise.
30593 * include/sys/syslog.h: Likewise.
30594 * include/sys/time.h: Likewise.
30595 * include/sys/uio.h: Likewise.
30596 * include/time.h: Likewise.
30597 * include/unistd.h: Likewise.
30598 * include/utmp.h: Likewise.
30599 * include/wchar.h: Likewise.
30600 * include/wctype.h: Likewise.
30601 * inet/aliases.h: Likewise.
30602 * inet/arpa/inet.h: Likewise.
30603 * inet/netinet/ether.h: Likewise.
30604 * inet/netinet/in.h: Likewise.
30605 * intl/libintl.h: Likewise.
30606 * io/bits/fcntl2.h: Likewise.
30607 * io/fcntl.h: Likewise.
30608 * io/ftw.h: Likewise.
30609 * io/sys/poll.h: Likewise.
30610 * io/sys/stat.h: Likewise.
30611 * io/sys/statfs.h: Likewise.
30612 * io/sys/statvfs.h: Likewise.
30613 * io/utime.h: Likewise.
30614 * libio/bits/stdio.h: Likewise.
30615 * libio/bits/stdio2.h: Likewise.
30616 * libio/libio.h: Likewise.
30617 * libio/libioP.h: Likewise.
30618 * libio/stdio.h: Likewise.
30619 * locale/lc-ctype.c: Likewise.
30620 * locale/locale.h: Likewise.
30621 * login/utmp.h: Likewise.
30622 * malloc/arena.c: Likewise.
30623 * malloc/malloc.c: Likewise.
30624 * malloc/malloc.h: Likewise.
30625 * malloc/mcheck.c: Likewise.
30626 * malloc/mtrace.c: Likewise.
30627 * math/bits/mathcalls.h: Likewise.
30628 * math/fenv.h: Likewise.
30629 * math/math_private.h: Likewise.
30630 * misc/bits/error.h: Likewise.
30631 * misc/bits/syslog.h: Likewise.
30632 * misc/err.h: Likewise.
30633 * misc/error.h: Likewise.
30634 * misc/fstab.h: Likewise.
30635 * misc/mntent.h: Likewise.
30636 * misc/regexp.h: Likewise.
30637 * misc/search.h: Likewise.
30638 * misc/sgtty.h: Likewise.
30639 * misc/sys/mman.h: Likewise.
30640 * misc/sys/syslog.h: Likewise.
30641 * misc/sys/uio.h: Likewise.
30642 * misc/sys/xattr.h: Likewise.
30643 * misc/ttyent.h: Likewise.
30644 * nis/rpcsvc/ypclnt.h: Likewise.
30645 * nss/nss.h: Likewise.
30646 * posix/bits/unistd.h: Likewise.
30647 * posix/fnmatch.h: Likewise.
30648 * posix/glob.h: Likewise.
30649 * posix/sched.h: Likewise.
30650 * posix/spawn.h: Likewise.
30651 * posix/sys/wait.h: Likewise.
30652 * posix/unistd.h: Likewise.
30653 * posix/wordexp.h: Likewise.
30654 * pwd/pwd.h: Likewise.
30655 * resolv/netdb.h: Likewise.
30656 * resource/sys/resource.h: Likewise.
30657 * rt/aio.h: Likewise.
30658 * rt/bits/mqueue2.h: Likewise.
30659 * rt/mqueue.h: Likewise.
30660 * shadow/shadow.h: Likewise.
30661 * signal/signal.h: Likewise.
30662 * socket/send.c: Likewise.
30663 * socket/sendto.c: Likewise.
30664 * socket/sys/socket.h: Likewise.
30665 * stdio-common/printf.h: Likewise.
30666 * stdlib/bits/stdlib.h: Likewise.
30667 * stdlib/fmtmsg.h: Likewise.
30668 * stdlib/monetary.h: Likewise.
30669 * stdlib/stdlib.h: Likewise.
30670 * stdlib/ucontext.h: Likewise.
30671 * streams/stropts.h: Likewise.
30672 * string/argz.h: Likewise.
30673 * string/bits/string2.h: Likewise.
30674 * string/string.h: Likewise.
30675 * string/strings.h: Likewise.
30676 * sunrpc/rpc/auth.h: Likewise.
30677 * sunrpc/rpc/auth_des.h: Likewise.
30678 * sunrpc/rpc/clnt.h: Likewise.
30679 * sunrpc/rpc/netdb.h: Likewise.
30680 * sunrpc/rpc/pmap_clnt.h: Likewise.
30681 * sunrpc/rpc/xdr.h: Likewise.
30682 * sysdeps/generic/inttypes.h: Likewise.
30683 * sysdeps/generic/net/if.h: Likewise.
30684 * sysdeps/generic/sys/swap.h: Likewise.
30685 * sysdeps/gnu/net/if.h: Likewise.
30686 * sysdeps/gnu/utmpx.h: Likewise.
30687 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30688 * sysdeps/i386/i486/bits/string.h: Likewise.
30689 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30690 * sysdeps/s390/bits/string.h: Likewise.
30691 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30692 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30693 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30694 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30695 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30696 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30697 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30698 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30699 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30700 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30701 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30702 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30703 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30704 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30705 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30706 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30707 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30712 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30713 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30714 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30715 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30716 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30719 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30721 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30722 * sysvipc/sys/ipc.h: Likewise.
30723 * sysvipc/sys/msg.h: Likewise.
30724 * sysvipc/sys/sem.h: Likewise.
30725 * sysvipc/sys/shm.h: Likewise.
30726 * termios/termios.h: Likewise.
30727 * time/sys/time.h: Likewise.
30728 * time/time.h: Likewise.
30729 * wcsmbs/bits/wchar2.h: Likewise.
30730 * wcsmbs/uchar.h: Likewise.
30731 * wcsmbs/wchar.h: Likewise.
30732 * wctype/wctype.h: Likewise.
30733
0269750c
UD
30734 [BZ #13551]
30735 * Makeconfig: Remove all but ELF support including AIX support.
30736 * Makerules: Likewise.
30737 * config.h.in: Likewise.
30738 * config.make.in: Likewise.
30739 * configure: Likewise.
30740 * configure.in: Likewise.
30741 * csu/Makefile: Likewise.
30742 * csu/version.c: Likewise.
30743 * debug/Makefile: Likewise.
30744 * dlfcn/Makefile: Likewise.
30745 * elf/Makefile: Likewise.
30746 * extra-lib.mk: Likewise.
30747 * iconv/Makefile: Likewise.
30748 * include/libc-symbols.h: Likewise.
30749 * include/shlib-compat.h: Likewise.
30750 * resolv/Makefile: Likewise.
30751 * resolv/res_libc.c: Likewise.
30752 * rt/Makefile: Likewise.
30753 * sysdeps/i386/asm-syntax.h: Likewise.
30754 * sysdeps/i386/sysdep.h: Likewise.
30755 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30756 * sysdeps/mach/sysdep.h: Likewise.
30757 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30758 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30759 * sysdeps/s390/asm-syntax.h: Likewise.
30760 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30761 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30762 * sysdeps/sh/sysdep.h: Likewise.
30763 * sysdeps/unix/sparc/sysdep.h: Likewise.
30764 * sysdeps/wordsize-32/divdi3.c: Likewise.
30765 * sysdeps/x86_64/sysdep.h: Likewise.
30766
00bbd29b
UD
30767 * argp/Versions: Remove _argp_unlock_xxx.
30768
30769 [BZ #13559]
30770 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30771 * abilist/libBrokenLocale.abilist: Likewise.
30772 * abilist/libanl.abilist: Likewise.
30773 * abilist/libc.abilist: Likewise.
30774 * abilist/libcrypt.abilist: Likewise.
30775 * abilist/libdl.abilist: Likewise.
30776 * abilist/libm.abilist: Likewise.
30777 * abilist/libnsl.abilist: Likewise.
30778 * abilist/libpthread.abilist: Likewise.
30779 * abilist/libresolv.abilist: Likewise.
30780 * abilist/librt.abilist: Likewise.
30781 * abilist/libthread_db.abilist: Likewise.
30782 * abilist/libutil.abilist: Likewise.
30783 * abilist/libnss_db.abilist: New file.
30784
30785 * scripts/abilist.awk: Add support for indirect functions.
30786
a2693a0e
UD
30787 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30788
3f05895f
UD
30789 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30790
ecb6fb48
UD
30791 * shlib-versions: Remove entries for ports architectures.
30792
664f8cb9
UD
30793 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30794 files in ports.
30795 * elf/stackguard-macros.h: Remove support for IA-64.
30796 * elf/tst-auditmod1.c: Likewise.
30797 * sysdeps/generic/ldsodefs.h: Likewise.
30798
7ae81d88
UD
30799 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30800 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30801 configure files.
30802
bdeba135
UD
30803 [BZ #13552]
30804 * configure.in: Remove --enable-omitfp support.
30805 * FAQ.in: Adjust.
30806 * config.make.in: Likewise.
30807 * Makeconfig: Likewise.
30808 * manual/install.texi: Likewise.
30809
d75a0a62
UD
30810 In case anyone cares, the IA-64 architecture could move to ports.
30811 * sysdeps/ia64/*: Removed.
30812 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30813 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30814
dcc9756b
UD
30815 [BZ #13555]
30816 * configure.in: Remove entries for unsupported architectures.
30817
d3761ebc 30818 [BZ #13533]
9954432e
UD
30819 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30820 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30821 routines.
30822 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30823 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30824 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30825 fall back to using wcrtomb.
30826 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30827 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30828 renaming.
30829 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30830 * wcsmbs/tst-c16c32-1.c: New file.
30831
30832 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30833 local variable.
30834
c3a87236
UD
30835 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30836
28926a1b
UD
30837 * elf/tst-unique3.cc: Add explicit declaration of gets.
30838 * elf/tst-unique3lib.cc: Likewise.
30839 * elf/tst-unique3lib2.cc: Likewise.
30840 * elf/tst-unique4.cc: Likewise.
30841
df78418a
UD
30842 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30843
8ecd6b2a
JM
308442012-01-06 Joseph Myers <joseph@codesourcery.com>
30845
30846 [BZ #13566]
30847 * assert/assert.h (static_assert): Don't define for C++.
30848 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30849 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30850
9f115170
UD
308512012-01-03 Ulrich Drepper <drepper@gmail.com>
30852
5e0d0300
UD
30853 * iconv/loop.c (single loop): Fix assertion in storing of
30854 remaining bytes.
30855
9f115170
UD
30856 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30857
81fb02b0
UD
308582012-01-01 Ulrich Drepper <drepper@gmail.com>
30859
30860 * posix/getconf.c: Update copyright year.
30861 * nss/getent.c: Likewise.
a316c1f6 30862 * nss/makedb.c: Likewise.
81fb02b0
UD
30863 * iconv/iconvconfig.c: Likewise.
30864 * iconv/iconv_prog.c: Likewise.
30865 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30866 * elf/pldd.c: Likewise.
30867 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30868 * catgets/gencat.c: Likewise.
30869 * csu/version.c: Likewise.
30870 * elf/ldd.bash.in: Likewise.
30871 * elf/sprof.c (print_version): Likewise.
30872 * locale/programs/locale.c: Likewise.
30873 * locale/programs/localedef.c: Likewise.
a316c1f6 30874 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30875 * nscd/nscd.c (print_version): Likewise.
30876 * debug/xtrace.sh: Likewise.
30877 * malloc/memusage.sh: Likewise.
30878 * malloc/mtrace.pl: Likewise.
30879 * debug/catchsegv.sh: Likewise.
30880
2ba92745
JJ
308812011-12-30 Jakub Jelinek <jakub@redhat.com>
30882
30883 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30884 pure attribute.
30885
dadebdae
UD
308862011-12-24 Ulrich Drepper <drepper@gmail.com>
30887
d3761ebc 30888 [BZ #13533]
db6af3eb
UD
30889 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30890 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30891 transformations.
30892 * iconv/gconv_int.h: Likewise.
30893 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30894 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30895 from libc for GLIBC_2.16.
30896 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30897 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30898 * wcsmbs/uchar.h: Really define mbstate_t.
30899 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30900 * wcsmbs/c16rtomb.c: New file.
30901 * wcsmbs/mbrtoc16.c: New file.
30902 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30903 for C/POSIX locale.
30904 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30905 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30906
dadebdae
UD
30907 * wcsmbs/wchar.h: Add missing __restrict.
30908
67371b56
UD
309092011-12-23 Ulrich Drepper <drepper@gmail.com>
30910
74033a25
UD
30911 [BZ #13532]
30912 * time/Makefile (routines): Add timespec_get.
30913 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30914 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30915 timespec for ISO C11.
30916 * time/timespec_get.c: New file.
30917 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30918 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30919
380d7e87
UD
30920 [BZ #13531]
30921 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30922 * stdlib/stdlib.h: Declare aligned_alloc.
30923 * Versions.def: Add GLIBC_2.16 for libc.
30924 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30925
4e9e7a35
UD
30926 [BZ 13527]
30927 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30928 ISO C11.
30929
380d7e87 30930 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30931 code.
30932
03a71829
UD
30933 [BZ #13528]
30934 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30935
839e283e
UD
30936 [BZ #13529]
30937 * assert/assert.h (static_assert): Define.
30938
ce5294e2 30939 * version.h: Update for 2.16 development version.
90fa7312 30940
8d44e150 30941 [BZ #13526]
d7809905
UD
30942 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30943 _ISOC11_SOURCE.
30944
c0da14cd
UD
30945 * version.h (RELEASE): Bump for 2.15 release.
30946 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30947
530a3249
MP
30948 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30949 Patch by Marek Polacek <mpolacek@redhat.com>.
30950
67371b56
UD
30951 * bits/byteswap.h: Protect long long constants with __extension__.
30952 * sysdeps/i386/bits/byteswap.h: Likewise.
30953 * sysdeps/ia64/bits/byteswap.h: Likewise.
30954 * sysdeps/s390/bits/byteswap.h: Likewise.
30955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30956
15db4de1
LD
309572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30958
30959 [BZ #13540]
bbe315ea
LD
30960 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30961 destination buffer.
15db4de1
LD
30962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30963
2b2596b1
MP
309642011-12-23 Marek Polacek <polacek@redhat.com>
30965
30966 * elf/dl-addr.c (determine_info): Add inline keyword.
30967 * elf/tst-auditmod4b.c (check_avx): Likewise.
30968 * elf/tst-auditmod6b.c (check_avx): Likewise.
30969 * elf/tst-auditmod6c.c (check_avx): Likewise.
30970 * elf/tst-auditmod7b.c (check_avx): Likewise.
30971
70c6c246
UD
309722011-12-23 Ulrich Drepper <drepper@gmail.com>
30973
30974 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30975 !__SSE_MATH__.
30976
c044cf14
LD
309772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30978
15db4de1 30979 [BZ #13540]
c044cf14
LD
30980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30981 processing for last bytes.
30982
6b13d9d9
BH
309832011-08-06 Bruno Haible <bruno@clisp.org>
30984
d455f537
BH
30985 [BZ #13061]
30986 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30987 U+0385, not to U+1FEE.
30988
6b13d9d9
BH
30989 [BZ #13062]
30990 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30991 entry for U+00A5 U+0301.
30992
db910efd
UD
309932011-12-22 Ulrich Drepper <drepper@gmail.com>
30994
27deeafc
UD
30995 [BZ #13166]
30996 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30997 buffer for the output is too small.
30998
aed9d171
UD
30999 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31000 optimization.
31001
db910efd
UD
31002 [BZ #13185]
31003 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31004 SSE flags if possible.
31005
2bd779ae
LD
310062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31007
e7f9dac3 31008 [BZ #13540]
2bd779ae
LD
31009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31010 processing for last bytes.
31011
154bfc16
JM
310122011-12-22 Joseph Myers <joseph@codesourcery.com>
31013
31014 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31015 (syscall-list-default-options, syscall-list-default-condition)
31016 (syscall-list-includes): Define.
31017 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31018 list of ABIs and options and #if conditions for each ABI. Do not
31019 handle common syscalls between ABIs specially.
31020 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31021 Remove.
31022 (syscall-list-variants, syscall-list-32bit-options)
31023 (syscall-list-32bit-condition, syscall-list-64bit-options)
31024 (syscall-list-64bit-condition): Define.
31025 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31026 (syscall-list-variants, syscall-list-32bit-options)
31027 (syscall-list-32bit-condition, syscall-list-64bit-options)
31028 (syscall-list-64bit-condition): Define.
31029 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31030 Remove.
31031 (syscall-list-variants, syscall-list-32bit-options)
31032 (syscall-list-32bit-condition, syscall-list-64bit-options)
31033 (syscall-list-64bit-condition): Define.
31034 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31035 Remove.
31036 (syscall-list-variants, syscall-list-32bit-options)
31037 (syscall-list-32bit-condition, syscall-list-64bit-options)
31038 (syscall-list-64bit-condition): Define.
31039
21eaf3a5
UD
310402011-12-22 Ulrich Drepper <drepper@gmail.com>
31041
16c6f992
UD
31042 * locale/iso-639.def: Add brx entry.
31043
41043168
UD
31044 [BZ #13328]
31045 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31046 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31047
21eaf3a5
UD
31048 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31049 __feraiseexcept_renamed.
31050
e3a851a2
UD
310512011-12-21 Ulrich Drepper <drepper@gmail.com>
31052
4920765e
UD
31053 [BZ #13538]
31054 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31055 EPOLLET with unsigned values.
31056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31058
e3a851a2
UD
31059 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31060 to large cancellation.
31061 * math/s_cacoshf.c: Likewise.
31062 * math/s_cacoshl.c: Likewise.
31063
b27e24b8
RK
310642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31065
31066 [BZ #13305]
aebefeee 31067 [BZ #12786]
b27e24b8
RK
31068 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31069 * math/s_cacoshf.c: Likewise.
31070 * math/s_cacoshl.c: Likewise.
31071
ee190f67
UD
310722011-12-21 Ulrich Drepper <drepper@gmail.com>
31073
31074 [BZ #13439]
31075 * iconv/gconv.h: Define __GCONV_SWAP.
31076 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31077 * iconvdata/utf-16.c: Likewise.
31078 * iconvdata/utf-32.c: Likewise.
31079
707f25df
AS
310802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31081
31082 [BZ #13524]
31083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31084 numerator after shifting it by one limb.
31085
d2daaa1e
RÁE
310862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31087
31088 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31089 under [__USE_EXTERN_INLINES].
31090
a4647e72
UD
310912011-12-17 Ulrich Drepper <drepper@gmail.com>
31092
31093 [BZ #13446]
31094 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31095
f0b264f1
AZ
310962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31097
31098 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31099 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31100 optimized code.
31101 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31102 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31103 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31104 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31105 for strncasecmp/strncasecmp_l compilation.
31106 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31107 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31108
8ef4f244
MP
311092011-12-08 Marek Polacek <mpolacek@redhat.com>
31110
31111 [BZ #13484]
31112 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31113 of __asm__.
31114
97ac2654
UD
311152011-12-17 Ulrich Drepper <drepper@gmail.com>
31116
31117 [BZ #13506]
31118 * time/tzfile.c (__tzfile_read): Check values from file header.
31119
91d2a845
WS
311202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31121
31122 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31123 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31124 * powerpc/powerpc32/dl-start.S: Likewise.
31125 * powerpc/powerpc32/elf/start.S: Likewise.
31126 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31127 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31128 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31129 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31130 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31131 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31132 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31133 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31134 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31135 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31136 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31137 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31138 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31139 * powerpc/powerpc32/memset.S: Likewise.
31140 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31141 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31142 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31143 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31144 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31145 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31146 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31147 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31148 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31149 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31150 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31153
a1267ba1
AZ
311542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31155
31156 * math/libm-test.inc: Added more nearbyint tests.
31157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31161
ad8ac1bd
RL
311622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31163
31164 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31165 FD_CLOEXEC.
31166
1d3e4b61
UD
311672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31168
31169 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31170 Add wcscpy-ssse3 wcscpy-c.
31171 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31172 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31173 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31174 * sysdeps/x86_64/wcschr.S: New file.
31175 * sysdeps/x86_64/wcsrchr.S: New file.
31176 * string/test-strcmp.c: Remove checking of wcscmp function for
31177 wrong alignments.
31178 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31179 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31180 wcsrchr-sse2 wcsrchr-c.
31181 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31182 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31183 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31184 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31185 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31186 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31187 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31188 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31190 * wcsmbc/wcschr.c (WCSCHR): New macro.
31191
5b330a2d
UD
311922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31193
31194 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31195 * wcsmbs/test-wcsrchr.c: New file.
31196 * string/test-strrchr.c: Add wcsrchr support.
31197 (WIDE): New macro.
31198 * wcsmbs/test-wcscpy.c: New file.
31199 * string/test-strcpy.c: Add wcscpy support.
31200 (WIDE): New macro.
26428b7c 31201
f039c043
UD
312022011-12-10 Ulrich Drepper <drepper@gmail.com>
31203
31204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31205 the inner loop.
31206
850fb039
AS
312072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31208
31209 [BZ #13472]
31210 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31211
4efbd5cb
UD
312122011-12-04 Ulrich Drepper <drepper@gmail.com>
31213
52ff5dd0 31214 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31215 Minor optimizations.
52ff5dd0 31216
4efbd5cb
UD
31217 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31218 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31219 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31220
8a426e12
UD
312212011-12-03 Ulrich Drepper <drepper@gmail.com>
31222
aff2453d
UD
31223 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31224 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31225 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31226 for gcc to avoid warnings.
31227 * inet/Makefile (tests): Add tst-checks.
31228 * inet/tst-checks.c: New file.
31229
31230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31231 warning.
31232
31233 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31234 __wmemcmp_sse2.
31235
31236 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31237 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31238
8a426e12
UD
31239 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31240
9bea3473
UD
312412011-12-02 Ulrich Drepper <drepper@gmail.com>
31242
3a965496
UD
31243 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31244 problem.
31245
9bea3473
UD
31246 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31247
f101631b
UD
312482011-11-29 Joseph Myers <joseph@codesourcery.com>
31249
31250 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31251 conditional on GCC version.
31252 (__arch_compare_and_exchange_val_8_acq)
31253 (__arch_compare_and_exchange_val_16_acq)
31254 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31255 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31256 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31257
a98275aa
UD
312582011-12-02 Joseph Myers <joseph@codesourcery.com>
31259
31260 * sysdeps/sh/backtrace.c: New file.
31261
d4cc29a2
AS
312622011-12-02 Andreas Schwab <schwab@redhat.com>
31263
31264 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31265 parenthesis.
31266
6257af2d
AS
312672011-12-01 Andreas Schwab <schwab@redhat.com>
31268
31269 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31270 falling back to utime.
31271
b5f44c1a
AS
312722011-11-30 Andreas Schwab <schwab@redhat.com>
31273
31274 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31275 expectations for float.
31276
f3a6cc0a
AS
312772011-11-29 Andreas Schwab <schwab@redhat.com>
31278
31279 * locale/weight.h (findidx): Add parameter len.
31280 * locale/weightwc.h (findidx): Likewise.
31281 * posix/fnmatch_loop.c (FCT): Adjust caller.
31282 * posix/regcomp.c (build_equiv_class): Likewise.
31283 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31284 * posix/regexec.c (check_node_accept_bytes): Likewise.
31285 * string/strcoll_l.c (STRCOLL): Likewise.
31286 * string/strxfrm_l.c (STRXFRM): Likewise.
31287
9d65ea3a
UD
312882011-11-17 Ulrich Drepper <drepper@gmail.com>
31289
31290 * Makefile.in: Remove CVSOPT handling.
31291 * configure.in: Remove use of AC_REVISION.
31292 * iconvdata/Makefile (distribute): No need to filter out CVS.
31293 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31294 handling.
31295
5583a086
AS
312962011-11-16 Andreas Schwab <schwab@redhat.com>
31297
31298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31299 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31300 [USE_AS_STRNCASECMP_L]: Likewise.
31301 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31302 NO_TLS_DIRECT_SEG_REFS.
31303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31304 Fix argument offsets for non-PIC.
31305 [USE_AS_STRNCASECMP_L]: Likewise.
31306 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31307 NO_TLS_DIRECT_SEG_REFS.
31308
d62a8200
UD
313092011-11-15 Ulrich Drepper <drepper@gmail.com>
31310
9d65ea3a 31311 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31312 O_CLOEXEC.
31313 * locale/loadlocale.c (_nl_load_locale): Likewise.
31314
09f93bd3
AS
313152011-11-15 Andreas Schwab <schwab@redhat.com>
31316
446514f9
AS
31317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31318 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31320 (SYSCALL_GETTIME): Set errno on error.
31321
09f93bd3
AS
31322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31323 count references to noai6ai_cached.
31324
312be3f9
UD
313252011-11-15 Ulrich Drepper <drepper@gmail.com>
31326
31327 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31328
31329 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31330 FD_CLOEXEC for /proc/self/maps.
31331
31332 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31333 FD_CLOEXEC for /proc/meminfo.
31334
31335 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31336 gai.conf.
31337
31338 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31339 FD_CLOEXEC for given file.
31340
31341 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31342
31343 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31344 FD_CLOEXEC for /etc/hosts.
31345 (_gethtent): Likewise.
31346
31347 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31348
31349 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31350 cancellation and set FD_CLOEXEC for /etc/netgroup.
31351
31352 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31353 reading /etc/publickey.
31354
31355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31356 allow cancellation when reading /etc/group.
31357
31358 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31359 cancellation.
31360 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31361
31362 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31363 when using data file.
31364
31365 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31366
31367 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31368 (write_nis_obj): Use "c" and "e" in fopen.
31369
31370 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31371
31372 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31373
31374 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31375
31376 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31377
31378 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31379 locale.alias.
31380
31381 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31382
31383 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31384
31385 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31386
31387 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31388 file parsing and set FD_CLOEXEC.
31389
82af0fa8
UD
313902011-11-14 Ulrich Drepper <drepper@gmail.com>
31391
31392 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31393
a5fb313c
AS
313942011-11-14 Andreas Schwab <schwab@redhat.com>
31395
31396 * malloc/arena.c (arena_get2): Don't call reused_arena when
31397 _int_new_arena failed.
31398
6abf3465
UD
313992011-11-14 Ulrich Drepper <drepper@gmail.com>
31400
31401 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31402 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31403 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31407 to compile strcasecmp and strncasecmp.
31408 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31409 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31410
31411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31412
76e3966e
UD
314132011-11-13 Ulrich Drepper <drepper@gmail.com>
31414
31415 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31416 locale-defines.sym to gen-as-const-headers.
31417 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31418 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31420 to compile strcasecmp and strncasecmp.
31421 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31422 strcasecmp_l and strncasecmp_l.
31423 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31424 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31425 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31426 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31427 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31429 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31430 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31431 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31432 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31433 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31434
ab26144e
UD
314352011-11-12 Ulrich Drepper <drepper@gmail.com>
31436
7edb22ef
UD
31437 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31438 result of SYSDEP_GETTIME_CPU to retval.
31439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31440 parameter list to macro. Remove trailing semicolon. Adjust users.
31441
9694fc44
UD
31442 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31443 variable.
31444
8ad89ef8
UD
31445 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31446 mantissa words.
31447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31448
0c822ef9
UD
31449 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31450 from unused variable.
31451
874e0564
UD
31452 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31453 DWARF definitions.
31454 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31455 for assembling.
31456
3a2edc79
UD
31457 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31458 over namespaces.
31459
f3c2577f
UD
31460 * sunrpc/rpc_prot.c (rejected): Fix case value.
31461
294ce126
UD
31462 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31463 unsigned long long int to avoid warnings in shift.
31464
5e2b63c6
UD
31465 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31466 of use of trans.
31467 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31468 variable tmp.
31469
e7f4b08e
UD
31470 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31471 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31473
ab26144e
UD
31474 * nis/nis_table.c (nis_list): Use variable of correct type for
31475 result of __follow_path call.
31476
8a6d5255
AZ
314772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31478
31479 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31480 of math functions ceil, trunc, floor, round, and sqrt, when
31481 avaliable on the platform.
31482 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31483 name clash.
31484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31485 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31486 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31487
aaddc98c
MP
314882011-10-30 Marek Polacek <mpolacek@redhat.com>
31489
31490 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31491 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31492
95b7042b
RM
314932011-11-11 Roland McGrath <roland@hack.frob.com>
31494
31495 * include/unistd.h: Fix __readlink return type.
31496 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31497
57769839
UD
314982011-11-11 Ulrich Drepper <drepper@gmail.com>
31499
31500 * stdlib/ucontext.h: Undo last change for makecontext.
31501
edc5984d
AS
315022011-11-11 Andreas Schwab <schwab@redhat.com>
31503
98591e58
AS
31504 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31505
edc5984d
AS
31506 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31507 * setjmp/setjmp.h: Mark functions as non-leaf.
31508 * setjmp/bits/setjmp2.h: Likewise.
31509 * stdlib/ucontext.h: Likewise.
31510
77cdc054
AS
315112011-11-10 Andreas Schwab <schwab@redhat.com>
31512
31513 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31514 (reused_arena): Don't check arena limit.
31515 (arena_get2): Atomically check arena limit.
31516
fe72eebd
UD
315172011-11-08 Ulrich Drepper <drepper@gmail.com>
31518
5f078c32
UD
31519 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31520 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31521
fe72eebd
UD
31522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31523 instructions.
31524
ae1bc2fa
AS
315252011-11-07 Andreas Schwab <schwab@redhat.com>
31526
7583a88d
AS
31527 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31528 handler when locking.
31529
ae1bc2fa
AS
31530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31531 Fix size of allocated buffer.
31532
10fb0bfa
AS
315332011-11-04 Andreas Schwab <schwab@redhat.com>
31534
998832a4
AS
31535 [BZ #10103]
31536 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31537 declarations for long double functions.
31538 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31539
10fb0bfa
AS
31540 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31541
3d7ba52b
AS
315422011-11-03 Andreas Schwab <schwab@redhat.com>
31543
a9ae54a1
AS
31544 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31545 installed.
31546
3d7ba52b
AS
31547 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31548 is disabled.
31549
bc8db248
ST
315502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31551
31552 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31553
45b96dd6
AS
315542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31555
647776f6
AS
31556 * include/alloca.h (stackinfo_alloca_round): Define.
31557 (extend_alloca): Use it.
31558 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31559 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31560 here.
31561
d91a8b93
AS
31562 * scripts/check-local-headers.sh: Ignore libaudit.h.
31563
45b96dd6
AS
31564 * nscd/Makefile (extra-objs): Make recursively expanded.
31565
432d41ce
UD
315662011-11-01 Ulrich Drepper <drepper@gmail.com>
31567
34372fc6
UD
31568 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31570
fadb59f8
UD
31571 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31572 * posix/tst-rfc3484-2.c: Likewise.
31573 * posix/tst-rfc3484-3.c: Likewise.
31574
78239589
UD
31575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31576 process_vm_writev.
31577 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31578 process_vm_writev.
31579 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31580 process_vm_writev from libc using GLIBC_2.15 version.
31581
432d41ce
UD
31582 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31583
02f9c6cf
PP
315842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31585
31586 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31587 stack usage.
31588
3a2c0242
UD
315892011-10-31 Ulrich Drepper <drepper@gmail.com>
31590
f4ec4833
UD
31591 [BZ #13367]
31592 * nss/getent.c (initgroups_keys): Show error message in case no group
31593 names are given.
31594
3a2c0242
UD
31595 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31596 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31597 __bump_nl_timestamp.
31598 * nscd/connections (nscd_init): When host database is served open
31599 netlink socket and request notification about configuration changes.
31600 (main_loop_poll): Track netlink file descriptor and bump timestamp
31601 in case data becomes available.
31602 (main_loop_epoll): Likewise.
31603 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31604 (database_pers_head): Add extra_data fileds.
31605 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31606 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31607 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31608 Adjust caller.
31609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31610 in6ai data, call __free_in6ai.
31611 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31612 Add -DHAVE_NETLINK.
31613 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31614 interface information. Reuse previous data if netlink timestamp
31615 is not changed.
31616 (__bump_nl_timestamp): New function.
31617 (__free_in6ai): New function.
31618
636064eb
UD
316192011-10-30 Ulrich Drepper <drepper@gmail.com>
31620
31621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31622 close_not_cancel_no_status here.
31623 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31624
9beb2334
UD
316252011-10-29 Ulrich Drepper <drepper@gmail.com>
31626
6ef76f3b
UD
31627 [BZ #13276]
31628 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31629 return value.
31630
0ffc4f3e 31631 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
31632 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31633 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31634
cb95113e
UD
316352011-07-03 Andreas Jaeger <aj@suse.de>
31636
31637 [BZ #10709]
31638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31639 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31640 * math/libm-test.inc (sin_test): Add test case.
31641
a1b560ff
UD
316422011-10-29 Ulrich Drepper <drepper@gmail.com>
31643
c9aaface
UD
31644 [BZ #13337]
31645 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31647
d272e7f1
UD
31648 * elf/chroot_canon.c (chroot_canon): Cleanups.
31649
1bc33071
UD
31650 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31651
1760874d
TJ
31652 [BZ #13335]
31653 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31655
51d91b18
UD
31656 * string/test-strchr.c: Make usable for strchrnul testing.
31657 * string/test-strchrnul.c: New file.
31658 * string/Makefile (strop-tests): Add strchrnul.
31659
a1b560ff 31660 * po/it.po: Update from translation team.
b611fb81 31661 * po/es.po: Likewise.
a1b560ff 31662
a5b81e1f
UD
316632011-10-28 Ulrich Drepper <drepper@gmail.com>
31664
fd52bc6d
UD
31665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31666 the three constants needed as parameters. Drop the others.
31667 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31668 __m128i_strloadu_tolower.
52e4b9eb
UD
31669 Create and initialize variable zero and use it in all the places
31670 where _mm_setzero_si128 was used.
fd52bc6d 31671
a5b81e1f
UD
31672 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31673 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31674 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31676 anymore.
31677 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31678 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31679 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31680 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31681 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31682 __mpranred, __mptan.
31683 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31684 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31685 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31686 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31687 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31688 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31690 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31691 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31692
b4343346
AS
316932011-10-28 Andreas Schwab <schwab@redhat.com>
31694
0c92d8a8
AS
31695 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31696 redefine if SHARED.
31697 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31698
b4343346
AS
31699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31700 wide char related routines to wcsmbs subdir.
31701
3871f58f
AS
317022011-10-27 Andreas Schwab <schwab@redhat.com>
31703
31704 [BZ #13344]
31705 * misc/sys/cdefs.h (__THROWNL): Define.
31706 * posix/unistd.h: Use __THREADNL instead of __THREAD
31707 for memory synchronization functions.
31708
94d44d9f
RM
317092011-10-26 Roland McGrath <roland@hack.frob.com>
31710
21b64b15 31711 [BZ #13349]
94d44d9f
RM
31712 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31713 doesn't exist.
31714 * manual/stdio.texi (Obstack Streams): Node removed.
31715
f6ce9294
AS
317162011-10-26 Andreas Schwab <schwab@redhat.com>
31717
80479147
AS
31718 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31721
f6ce9294
AS
31722 * math/math_private.h (math_force_eval): Allow non-addressable
31723 arguments.
31724 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31725
618280a1
UD
317262011-10-25 Ulrich Drepper <drepper@gmail.com>
31727
e0016b11
UD
31728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31729 file is not needed.
31730
31731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31738 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31739 Add AVX variants.
31740 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31741 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31742 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31743 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31744 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31745 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31746 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31747 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31750 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31751 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31753 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31754 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31755 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31756 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31757 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31758 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31759
31760 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31761 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31762
618280a1
UD
31763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31764 place. Use VEX encoding when compiling for AVX.
31765
37822576
AS
317662011-10-25 Andreas Schwab <schwab@redhat.com>
31767
1f1e1947
AS
31768 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31770
37822576
AS
31771 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31772
31ea014d
UD
317732011-10-25 Ulrich Drepper <drepper@gmail.com>
31774
d7826aa1 31775 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31776 useless if() expression.
d7826aa1
UD
31777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31781 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31782 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31783 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31789 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31790 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31791 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31794 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31796
31ea014d
UD
31797 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31798
16437fec
AS
317992011-10-25 Andreas Schwab <schwab@redhat.com>
31800
31801 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31802 condition.
31803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31804
31d3cc00
UD
318052011-10-25 Ulrich Drepper <drepper@gmail.com>
31806
31807 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31808 .text section. Avoid duplicate constants.
31809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31811 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31817 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31818 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31821 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31822 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31823 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31829 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31830 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31831 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31832 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31833 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31834 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31835 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31836 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31839 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31840 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31841 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31842 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31843 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31844 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31845 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31847 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31848 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31851 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31852 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31853 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31854
58985aa9
UD
318552011-10-24 Ulrich Drepper <drepper@gmail.com>
31856
202c9deb
UD
31857 * sysdeps/x86_64/dla.h: Move to ...
31858 * sysdeps/x86_64/fpu/dla.h: ...here.
31859 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31860 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31861
af968f62
UD
31862 * config.make.in: Add have-mfma4 entry.
31863 * configure.in: Substitute libc_cv_cc_fma4.
31864 * math/Makefile (dbl-only-routines): Add sincostab.
31865 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31866 Use __sincostab not sincos.
31867 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31868 name is a macro.
31869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31873 using __copysign.
31874 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31875 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31876 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31877 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31878 and __inv.
31879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31880 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31881 __copysign.
31882 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31883 define aliases when function name is a macro.
31884 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31885 sysdeps/ieee754/dbl-64/sincos.tbl.
31886 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31887 fma4-enabled routines.
31888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31892 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31893 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31897 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31898 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31900 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31914 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31918
58985aa9
UD
31919 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31920 rename.
31921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31929
a201fbcf
AS
319302011-10-24 Andreas Schwab <schwab@redhat.com>
31931
31932 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31933
fc2ee42a
LD
319342011-10-23 Ulrich Drepper <drepper@gmail.com>
31935
bb3129bd
UD
31936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31937
0275fff8
UD
31938 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31939 prediction.
31940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31941
2fa2ae85
UD
31942 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31943 Remove unused variable magic_bits.
31944 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31945
fc2ee42a
LD
31946 * string/strnlen.c: Define and use STRNLEN macro.
31947 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31948 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31950 * wcsmbs/wcslen.c: Define and use WCSLEN.
31951 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31952 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31953 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31954 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31955 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31956 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31957 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31958
ce7dd29f
LD
319592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31960
31961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31962 strnlen-sse2-no-bsf.
31963 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31965 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31966 Add strnlen support.
31967 (USE_AS_STRNLEN): New macro.
31968 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31969 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31970 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31971 * sysdeps/x86_64/wcslen.S: New file.
31972
979c70a3
MZ
319732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31974
31975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31976 XMM-moves are used for copying on small sizes.
31977
2d09f82f
LD
319782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31979
31980 * wcsmbs/Makefile (strop-tests): Add wcschr.
31981 * wcsmbs/test-wcschr.c: New file.
31982 * string/test-strchr.c: Update.
31983 Add wcschr support.
31984 (WIDE): New macro.
31985
619fccca
LD
319862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31987
2d09f82f 31988 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31989 * wcsmbs/test-wcslen.c: New file.
31990 * string/test-strlen.c: Update.
31991 Add wcslen support.
31992 (WIDE): New macro.
31993
09f699ea
UD
319942011-10-23 Ulrich Drepper <drepper@gmail.com>
31995
31996 * po/it.po: Update from translation team.
31997
95584d3b
LD
319982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31999
32000 * sysdeps/x86_64/wcscmp.S: Update.
32001 Fix wrong comparison semantics.
32002 wcscmp shall use signed comparison not unsigned.
32003 Don't use substraction to avoid overflow bug.
32004 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32005 * wcsmbc/wcscmp.c: Likewise.
32006 * string/test-strcmp.c: Likewise.
32007 Add new tests to check cases with negative values.
32008
c8b3296b
UD
320092011-10-23 Ulrich Drepper <drepper@gmail.com>
32010
32011 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32012 * sysdeps/x86_64/dla.h: ...here. New file.
32013 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32022
246ad57a
AS
320232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32024
32025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32026 __ynl_finite aliases.
32027
a1a87169
UD
320282011-10-22 Ulrich Drepper <drepper@gmail.com>
32029
0d355eb7
UD
32030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32031
a1a87169
UD
32032 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32033 define DLA_FMA.
32034 [DLA_FMA] (EMULV): Use DLA_FMA.
32035 [DLA_FMA] (MUL12): Use EMULV.
32036 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32037 that are not needed.
32038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32045
ee2aafe0
AS
320462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32047
32048 * math/s_nan.c: Undef __nan.
32049 * math/s_nanf.c: Undef __nanf.
32050 * math/s_nanl.c: Undef __nanl.
32051 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32052 "math_private.h".
32053
bc62c2fb
UD
320542011-10-22 Ulrich Drepper <drepper@gmail.com>
32055
77425c63
UD
32056 * math/s_catan.c: Add branch predictions.
32057 * math/s_catanf.c: Likewise.
32058 * math/s_catanh.c: Likewise.
32059 * math/s_catanhf.c: Likewise.
32060 * math/s_catanhl.c: Likewise.
32061 * math/s_catanl.c: Likewise.
32062 * math/s_cexp.c: Likewise.
32063 * math/s_cexpf.c: Likewise.
32064 * math/s_cexpl.c: Likewise.
32065 * math/s_clog.c: Likewise.
32066 * math/s_clog10.c: Likewise.
32067 * math/s_clog10f.c: Likewise.
32068 * math/s_clog10l.c: Likewise.
32069 * math/s_clogf.c: Likewise.
32070 * math/s_clogl.c: Likewise.
32071 * math/s_csqrt.c: Likewise.
32072 * math/s_csqrtf.c: Likewise.
32073 * math/s_csqrtl.c: Likewise.
32074 * math/s_ctanf.c: Likewise.
32075 * math/s_ctanh.c: Likewise.
32076 * math/s_ctanhf.c: Likewise.
32077 * math/s_ctanhl.c: Likewise.
32078 * math/s_ctanl.c: Likewise.
32079
bc62c2fb
UD
32080 * math/math_private.h: Define __nan, __nanf, __nanl.
32081 * math/s_cacosh.c: Include <math_private.h>.
32082 * math/s_cacoshl.c: Likewise.
32083 * math/s_casinh.c: Likewise.
32084 * math/s_casinhf.c: Likewise.
32085 * math/s_casinhl.c: Likewise.
32086 * math/s_ccos.c: Rely entire on ccosh.
32087 * math/s_ccosf.c: Rely entire on ccoshf.
32088 * math/s_ccosl.c: Rely entirely on ccoshl.
32089 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32090 Remove tests for FE_INVALID.
32091 * math/s_ccoshf.c: Likewise.
32092 * math/s_ccoshl.c: Likewise.
32093 * math/s_csin.c: Likewise.
32094 * math/s_csinf.c: Likewise.
32095 * math/s_csinh.c Likewise.
32096 * math/s_csinhf.c: Likewise.
32097 * math/s_csinhl.c: Likewise.
32098 * math/s_csinl.c: Likewise.
32099 * math/s_ctan.c: Likewise.
32100 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32101 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32102 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32103
8ec250a4
UD
321042011-10-21 Ulrich Drepper <drepper@gmail.com>
32105
c196fed8
UD
32106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32107 compilation problems.
32108
8ec250a4
UD
32109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32110 __builtin_expect.
32111
8d4f46c6
UD
321122011-10-20 Ulrich Drepper <drepper@gmail.com>
32113
ed72b654
UD
32114 * sysdeps/i386/configure.in: Test for -mfma4 option.
32115 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32116 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32117 COMMON_CPUID_INDEX_80000001.
32118 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32119 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32120 use it if FMA3 is not supported.
32121 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32122
8d4f46c6
UD
32123 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32125
d45c60c2
AS
321262011-10-20 Andreas Schwab <schwab@redhat.com>
32127
32128 [BZ #12892]
32129 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32130 it would create a cycle with a link time dependency.
32131
d9a4d2ab
UD
321322011-10-19 Ulrich Drepper <drepper@gmail.com>
32133
855d1560
UD
32134 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32135 instruction.
32136 * string/Makefile (strop-tests): Add rawmemchr.
32137 * string/test-rawmemchr.c: New file.
32138
d9a4d2ab
UD
32139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32141 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32142 when compiling str{,n}casecmp and when AVX is available. Hook up
32143 new optimized code in initializers.
32144
8f3b1ffe
AS
321452011-10-19 Andreas Schwab <schwab@redhat.com>
32146
32147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32148 __feraiseexcept instead of feraiseexcept.
32149
d38f1dba
UD
321502011-10-18 Ulrich Drepper <drepper@gmail.com>
32151
d9a8d0ab
UD
32152 * math/math_private.h: Define defaults for libc_fetestexcept and
32153 libc_feupdateenv.
32154 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32155 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32157 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32158 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32159 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32160 libc_fetestexcept and libc_feupdateenv.
32161
4855e3dd
UD
32162 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32163 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32164 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32165 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32166 libc_feholdexcept_setround.
32167
581d30e3
UD
32168 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32169 Add s_nearbyint-c and s_nearbyintf-c.
32170 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32171 nearbyintf inlines.
32172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32176
d38f1dba
UD
32177 * math/math_private.h: Define defaults for libc_fegetround,
32178 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32179 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32180 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32182 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32183 standard functions.
32184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32185 Remove comments and hacks for old compiler versions.
32186 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32187 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32188 libc_feholdexceptl.
32189
caa6c9d8
AS
321902011-10-18 Andreas Schwab <schwab@redhat.com>
32191
32192 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32193 (__feraiseexcept_renamed): Add __NTH.
32194 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32195 namespace violations.
32196
97c066e6
UD
321972011-10-17 Ulrich Drepper <drepper@gmail.com>
32198
99ce7b04
UD
32199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32200
1004d182
UD
32201 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32202
228a984d
UD
32203 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32204 recently added interfaces.
32205 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32206
c8553a6a
UD
32207 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32208 about macro parameter expansion.
32209
ed22dcf6
UD
32210 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32211 __NO_MATH_INLINES is defined. Cleanups.
32212
32213 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32214 and __floorf is target has SSE4.1.
32215 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32216 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32217 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32218 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32219
b171c137
UD
32220 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32221 name.
32222 (floorf): Likewise.
32223
97c066e6
UD
32224 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32225
629f62ef
AS
322262011-10-17 Andreas Schwab <schwab@redhat.com>
32227
49a43d80
AS
32228 * misc/sys/cdefs.h: Fix last change.
32229
629f62ef
AS
32230 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32231 database lookup.
32232
e453f6cd
UD
322332011-10-16 Ulrich Drepper <drepper@gmail.com>
32234
aa78043a
UD
32235 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32236
ad0f5cad
UD
32237 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32239 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32240 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32242 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32246 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32247 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32248 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32249 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32250 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32252 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32254 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32255 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32256 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32257 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32258 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32259
32260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32261 ceil, ceilf, floor, floorf.
32262
32263 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32264 Perform IRELATIVE relocations last.
32265
e453f6cd
UD
32266 * elf/do-rel.h: Add another parameter nrelative, replacing the
32267 local variable with the same name. Change name of the function
32268 to end in Rel or Rela (uppercase).
32269 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32270 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32271 elf_dynamic_do_##reloc function.
32272
fd5bdc09
UD
322732011-10-15 Ulrich Drepper <drepper@gmail.com>
32274
79b195b5
UD
32275 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32276 is sufficient, at least on modern CPUs.
32277
d4a28569
UD
32278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32279
b61099b5
UD
32280 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32281 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32282
bcf01e6d
UD
32283 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32284 __expl_finite.
32285 * math/bits/math-finite.h: Add entries for exp.
32286 * math/e_expl.c: Add __*_finite alias.
32287 * sysdeps/i386/fpu/e_exp.S: Likewise.
32288 * sysdeps/i386/fpu/e_expf.S: Likewise.
32289 * sysdeps/i386/fpu/e_expl.c: Likewise.
32290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32291 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32294 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32295 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32296 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32297
ba1a0d59
UD
32298 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32299 is sufficient, at least on modern CPUs.
32300
fd5bdc09
UD
32301 * ctype/ctype-info.c (__ctype_init): Define.
32302 * include/ctype.h (__ctype_init): Declare.
32303 (__ctype_b_loc): The variable is always initialized.
32304 (__ctype_toupper_loc): Likewise.
32305 (__ctype_tolower_loc): Likewise.
32306 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32307 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32308
7872cfb0
AS
323092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32310
b468825a
AS
32311 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32312
7872cfb0
AS
32313 * configure.in: Also look in $cxxmachine/include for C++ system
32314 headers.
32315
be13f7bf
LD
323162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32317
32318 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32319 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32320 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32321 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32323 (USE_AS_WMEMCMP): New macro.
32324 Fixing indents.
32325 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32326 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32327 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32328 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32330 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32331 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32332 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32333 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32334 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32336 (USE_AS_WMEMCMP): New macro.
32337 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32338 * sysdeps/string/test-memcmp.c: Update.
32339 Fix simple_wmemcmp.
32340 Add new tests.
32341 * wcsmbs/wmemcmp.c: Update.
32342 (WMEMCMP): New macro.
32343 Fix overflow bug.
32344
556a2007
AJ
323452011-10-12 Andreas Jaeger <aj@suse.de>
32346
32347 [BZ #13268]
32348 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32349
538faaa7
UD
323502011-10-15 Ulrich Drepper <drepper@gmail.com>
32351
ab6737ff
UD
32352 * libio/iofwide.c (do_length): Avoid warning.
32353
538faaa7
UD
32354 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32355
396a21b1
UD
323562011-10-14 Ulrich Drepper <drepper@gmail.com>
32357
cdf2901f
UD
32358 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32359
38ad40ce
UD
32360 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32361 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32362 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32363 * sysdeps/i386/i686/fpu/e_log.S: New file.
32364 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32365 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32366
396a21b1
UD
32367 * ctype/ctype.h: Add support for inlined isXXX functions when
32368 compiling C++ code.
32369
6b1f68c9
AS
323702011-10-14 Andreas Schwab <schwab@redhat.com>
32371
349290c0
AS
32372 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32373
6b1f68c9
AS
32374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32375
f2282d42
RM
323762011-10-13 Roland McGrath <roland@hack.frob.com>
32377
32378 [BZ #13291]
32379 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32380
5298ffa8
AS
323812011-10-13 Andreas Schwab <schwab@redhat.com>
32382
714fad23
AS
32383 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32384 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32385 feraiseexcept.
32386
81dcc7fb
AS
32387 * sysdeps/x86_64/memrchr.S: Check for zero size.
32388
5298ffa8
AS
32389 * string/stratcliff.c: Add memrchr tests.
32390
951fbcec
LD
323912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32392
32393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32394 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32395 rawmemchr-sse2 rawmemchr-sse2-bsf.
32396 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32397 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32398 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32399 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32400 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32401 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32402 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32403 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32406 * string/memrchr.c (MEMRCHR): New macro.
32407
0ac5ae23
UD
324082011-10-12 Ulrich Drepper <drepper@gmail.com>
32409
32410 Add integration with gcc's -ffinite-math-only and optimize wrapper
32411 functions in libm.
32412 * Versions.def: Define GLIBC_2.15 version for libm.
32413 * math/Makefile (headers): Add bits/math-finite.h.
32414 * math/bits/math-finite.h: New file.
32415 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32416 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32417 * math/e_acoshl.c: Add __*_finite alias.
32418 * math/e_acosl.c: Likewise.
32419 * math/e_asinl.c: Likewise.
32420 * math/e_atan2l.c: Likewise.
32421 * math/e_atanhl.c: Likewise.
32422 * math/e_coshl.c: Likewise.
32423 * math/e_exp10.c: Likewise.
32424 * math/e_exp10f.c: Likewise.
32425 * math/e_exp10l.c: Likewise.
32426 * math/e_exp2l.c: Likewise.
32427 * math/e_fmodl.c: Likewise.
32428 * math/e_gammal_r.c: Likewise.
32429 * math/e_hypotl.c: Likewise.
32430 * math/e_j0l.c: Likewise.
32431 * math/e_j1l.c: Likewise.
32432 * math/e_jnl.c: Likewise.
32433 * math/e_lgammal_r.c: Likewise.
32434 * math/e_log10l.c: Likewise.
32435 * math/e_log2l.c: Likewise.
32436 * math/e_logl.c: Likewise.
32437 * math/e_powl.c: Likewise.
32438 * math/e_sinhl.c: Likewise.
32439 * math/e_sqrtl.c: Likewise.
32440 * math/e_scalb.c: Completely rewritten and optimized.
32441 * math/e_scalbf.c: Likewise.
32442 * math/e_scalbl.c: Likewise.
32443 * math/w_acos.c: Likewise.
32444 * math/w_acosf.c: Likewise.
32445 * math/w_acosl.c: Likewise.
32446 * math/w_acosh.c: Likewise.
32447 * math/w_acoshf.c: Likewise.
32448 * math/w_acoshl.c: Likewise.
32449 * math/w_asin.c: Likewise.
32450 * math/w_asinf.c: Likewise.
32451 * math/w_asinl.c: Likewise.
32452 * math/w_atan2.c: Likewise.
32453 * math/w_atan2f.c: Likewise.
32454 * math/w_atan2l.c: Likewise.
32455 * math/w_atanh.c: Likewise.
32456 * math/w_atanhf.c: Likewise.
32457 * math/w_atanhl.c: Likewise.
32458 * math/w_exp10.c: Likewise.
32459 * math/w_exp10f.c: Likewise.
32460 * math/w_exp10l.c: Likewise.
32461 * math/w_fmod.c: Likewise.
32462 * math/w_fmodf.c: Likewise.
32463 * math/w_fmodl.c: Likewise.
32464 * math/w_j0.c: Likewise.
32465 * math/w_j0f.c: Likewise.
32466 * math/w_j0l.c: Likewise.
32467 * math/w_j1.c: Likewise.
32468 * math/w_j1f.c: Likewise.
32469 * math/w_j1l.c: Likewise.
32470 * math/w_jn.c: Likewise.
32471 * math/w_jnf.c: Likewise.
32472 * math/w_log.c: Likewise.
32473 * math/w_logf.c: Likewise.
32474 * math/w_logl.c: Likewise.
32475 * math/w_log10.c: Likewise.
32476 * math/w_log10f.c: Likewise.
32477 * math/w_log10l.c: Likewise.
32478 * math/w_log2.c: Likewise.
32479 * math/w_log2f.c: Likewise.
32480 * math/w_log2l.c: Likewise.
32481 * math/w_pow.c: Likewise.
32482 * math/w_powf.c: Likewise.
32483 * math/w_powl.c: Likewise.
32484 * math/w_remainder.c: Likewise.
32485 * math/w_remainderf.c: Likewise.
32486 * math/w_remainderl.c: Likewise.
32487 * math/w_scalb.c: Likewise.
32488 * math/w_scalbf.c: Likewise.
32489 * math/w_scalbl.c: Likewise.
32490 * math/w_sqrt.c: Likewise.
32491 * math/w_sqrtf.c: Likewise.
32492 * math/w_sqrtl.c: Likewise.
32493 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32494 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32495 used.
32496 * math/math_private.h: Declare __kernel_standard_f.
32497 * math/w_cosh.c: Remove cruft and optimize a bit.
32498 * math/w_coshf.c: Likewise.
32499 * math/w_coshl.c: Likewise.
32500 * math/w_exp2.c: Likewise.
32501 * math/w_exp2f.c: Likewise.
32502 * math/w_exp2l.c: Likewise.
32503 * math/w_hypot.c: Likewise.
32504 * math/w_hypotf.c: Likewise.
32505 * math/w_hypotl.c: Likewise.
32506 * math/w_lgamma.c: Likewise.
32507 * math/w_lgamma_r.c: Likewise.
32508 * math/w_lgammaf.c: Likewise.
32509 * math/w_lgammaf_r.c: Likewise.
32510 * math/w_lgammal.c: Likewise.
32511 * math/w_lgammal_r.c: Likewise.
32512 * math/w_sinh.c: Likewise.
32513 * math/w_sinhf.c: Likewise.
32514 * math/w_sinhl.c: Likewise.
32515 * math/w_tgamma.c: Likewise.
32516 * math/w_tgammaf.c: Likewise.
32517 * math/w_tgammal.c: Likewise.
32518 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32520 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32521 Minor optimizations. Pretty printing. Remove cruft.
32522 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32526 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32527 * sysdeps/i386/fpu/e_asin.S: Likewise.
32528 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32529 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32530 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32531 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32533 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32535 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32536 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32537 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32538 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32539 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32540 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32541 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32542 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32543 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32544 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32545 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32546 * sysdeps/i386/fpu/e_log.S: Likewise.
32547 * sysdeps/i386/fpu/e_log10.S: Likewise.
32548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32549 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32550 * sysdeps/i386/fpu/e_log2.S: Likewise.
32551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32553 * sysdeps/i386/fpu/e_logf.S: Likewise.
32554 * sysdeps/i386/fpu/e_logl.S: Likewise.
32555 * sysdeps/i386/fpu/e_pow.S: Likewise.
32556 * sysdeps/i386/fpu/e_powf.S: Likewise.
32557 * sysdeps/i386/fpu/e_powl.S: Likewise.
32558 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32559 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32560 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32561 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32564 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32565 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32566 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32570 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32571 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32572 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32573 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32588 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32591 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32594 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32595 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32596 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32598 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32599 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32601 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32602 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32603 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32604 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32605 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32606 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32607 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32609 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32610 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32612 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32613 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32614 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32615 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32616 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32617 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32622 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32623 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32624 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32625 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32626 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32627 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32630 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32632 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32633 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32637 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32638 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32639 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32641 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32648 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32651 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32652 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32653 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32654 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32655 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32656 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32657 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32658 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32660 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32661 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32662 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32663 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32664 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32665 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32666 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32667 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32668 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32669 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32670 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32671 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32673 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32674 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32675 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32676 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32677 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32678 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32679 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32680 (__isnanf): Likewise.
32681 (__isinf_ns): Likewise.
32682 (__isinf_nsf): Likewise.
32683 (__finite): Likewise.
32684 (__finitef): Likewise.
32685 (__ieee754_sqrt): Define as macro.
32686 (__ieee754_sqrtf): Define as macro.
32687 (__ieee754_sqrtl): Define as macro.
32688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32689 inlined copy.
32690 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32691 __FINITE_MATH_ONLY__ consistent.
32692 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32693
12cc2fcd
AS
326942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32695
a843a204
AS
32696 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32697 of rawmemchr.
32698
12cc2fcd
AS
32699 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32700
c853acd5
UD
327012011-10-09 Ulrich Drepper <drepper@gmail.com>
32702
32703 * po/ja.po: Update from translation team.
32704
c658d255
RM
327052011-10-08 Roland McGrath <roland@hack.frob.com>
32706
110946e4
RM
32707 * locale/programs/locarchive.c (prepare_address_space): New function.
32708 (create_archive, enlarge_archive, open_archive): Use it.
32709
50604220
RM
32710 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32711 inside [SHARED], where it is used.
32712
c658d255
RM
32713 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32714
32715 * nss/getent.c (netgroup_keys): Remove unused variable.
32716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32717
6a621eb7
UD
327182011-10-08 Ulrich Drepper <drepper@gmail.com>
32719
7edb55ce
UD
32720 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32721 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32723 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32725 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32726 * math/Makefile (libm-calls): Add s_isinf_ns.
32727 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32728 * math/multc3.c: Likewise.
32729 * math/s_casin.c: Likewise.
32730 * math/s_casinf.c: Likewise.
32731 * math/s_casinl.c: Likewise.
32732 * math/s_ccos.c: Likewise.
32733 * math/s_ccosf.c: Likewise.
32734 * math/s_ccosl.c: Likewise.
32735 * math/s_ctan.c: Likewise.
32736 * math/s_ctanf.c: Likewise.
32737 * math/s_ctanh.c: Likewise.
32738 * math/s_ctanhf.c: Likewise.
32739 * math/s_ctanhl.c: Likewise.
32740 * math/s_ctanl.c: Likewise.
32741 * math/w_fmod.c: Likewise.
32742 * math/w_fmodf.c: Likewise.
32743 * math/w_fmodl.c: Likewise.
32744 * math/w_remainder.c: Likewise.
32745 * math/w_remainderf.c: Likewise.
32746 * math/w_remainderl.c: Likewise.
32747 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32748 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32749 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32751 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32752 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32753 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32754 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32755
187da0ae
UD
32756 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32757 of the number.
32758 * stdio-common/printf_fphex.c: Likewise.
32759 * stdio-common/printf_size.c: Likewise.
32760
9277c064
UD
32761 * math/e_exp10.c: Include math_private.h using <...> not "...".
32762 * math/e_exp10f.c: Likewise.
32763 * math/e_exp10l.c: Likewise.
32764 * math/e_exp2l.c: Likewise.
32765 * math/e_j0l.c: Likewise.
32766 * math/e_j1l.c: Likewise.
32767 * math/e_jnl.c: Likewise.
32768 * math/e_lgammal_r.c: Likewise.
32769 * math/e_rem_pio2l.c: Likewise.
32770 * math/e_scalb.c: Likewise.
32771 * math/e_scalbf.c: Likewise.
32772 * math/e_scalbl.c: Likewise.
32773 * math/k_cosl.c: Likewise.
32774 * math/k_sinl.c: Likewise.
32775 * math/k_tanl.c: Likewise.
32776 * math/s_cacoshf.c: Likewise.
32777 * math/s_catan.c: Likewise.
32778 * math/s_catanf.c: Likewise.
32779 * math/s_catanh.c: Likewise.
32780 * math/s_catanhf.c: Likewise.
32781 * math/s_catanhl.c: Likewise.
32782 * math/s_catanl.c: Likewise.
32783 * math/s_ccosh.c: Likewise.
32784 * math/s_ccoshf.c: Likewise.
32785 * math/s_ccoshl.c: Likewise.
32786 * math/s_cexp.c: Likewise.
32787 * math/s_cexpf.c: Likewise.
32788 * math/s_cexpl.c: Likewise.
32789 * math/s_clog.c: Likewise.
32790 * math/s_clog10.c: Likewise.
32791 * math/s_clog10f.c: Likewise.
32792 * math/s_clog10l.c: Likewise.
32793 * math/s_clogf.c: Likewise.
32794 * math/s_clogl.c: Likewise.
32795 * math/s_csin.c: Likewise.
32796 * math/s_csinf.c: Likewise.
32797 * math/s_csinh.c: Likewise.
32798 * math/s_csinhf.c: Likewise.
32799 * math/s_csinhl.c: Likewise.
32800 * math/s_csinl.c: Likewise.
32801 * math/s_csqrt.c: Likewise.
32802 * math/s_csqrtf.c: Likewise.
32803 * math/s_csqrtl.c: Likewise.
32804 * math/s_ctan.c: Likewise.
32805 * math/s_ctanf.c: Likewise.
32806 * math/s_ctanh.c: Likewise.
32807 * math/s_ctanhf.c: Likewise.
32808 * math/s_ctanhl.c: Likewise.
32809 * math/s_ctanl.c: Likewise.
32810 * math/s_ldexp.c: Likewise.
32811 * math/s_ldexpf.c: Likewise.
32812 * math/s_ldexpl.c: Likewise.
32813 * math/s_significand.c: Likewise.
32814 * math/s_significandf.c: Likewise.
32815 * math/s_significandl.c: Likewise.
32816 * math/w_acos.c: Likewise.
32817 * math/w_acosf.c: Likewise.
32818 * math/w_acosh.c: Likewise.
32819 * math/w_acoshf.c: Likewise.
32820 * math/w_acoshl.c: Likewise.
32821 * math/w_acosl.c: Likewise.
32822 * math/w_asin.c: Likewise.
32823 * math/w_asinf.c: Likewise.
32824 * math/w_asinl.c: Likewise.
32825 * math/w_atan2.c: Likewise.
32826 * math/w_atan2f.c: Likewise.
32827 * math/w_atan2l.c: Likewise.
32828 * math/w_atanh.c: Likewise.
32829 * math/w_atanhf.c: Likewise.
32830 * math/w_atanhl.c: Likewise.
32831 * math/w_cosh.c: Likewise.
32832 * math/w_coshf.c: Likewise.
32833 * math/w_coshl.c: Likewise.
32834 * math/w_dremf.c: Likewise.
32835 * math/w_exp10.c: Likewise.
32836 * math/w_exp10f.c: Likewise.
32837 * math/w_exp10l.c: Likewise.
32838 * math/w_exp2.c: Likewise.
32839 * math/w_exp2f.c: Likewise.
32840 * math/w_fmod.c: Likewise.
32841 * math/w_fmodf.c: Likewise.
32842 * math/w_fmodl.c: Likewise.
32843 * math/w_hypot.c: Likewise.
32844 * math/w_hypotf.c: Likewise.
32845 * math/w_hypotl.c: Likewise.
32846 * math/w_j0.c: Likewise.
32847 * math/w_j0f.c: Likewise.
32848 * math/w_j0l.c: Likewise.
32849 * math/w_j1.c: Likewise.
32850 * math/w_j1f.c: Likewise.
32851 * math/w_j1l.c: Likewise.
32852 * math/w_jn.c: Likewise.
32853 * math/w_jnf.c: Likewise.
32854 * math/w_jnl.c: Likewise.
32855 * math/w_lgamma.c: Likewise.
32856 * math/w_lgamma_r.c: Likewise.
32857 * math/w_lgammaf.c: Likewise.
32858 * math/w_lgammaf_r.c: Likewise.
32859 * math/w_lgammal.c: Likewise.
32860 * math/w_lgammal_r.c: Likewise.
32861 * math/w_log.c: Likewise.
32862 * math/w_log10.c: Likewise.
32863 * math/w_log10f.c: Likewise.
32864 * math/w_log10l.c: Likewise.
32865 * math/w_log2.c: Likewise.
32866 * math/w_log2f.c: Likewise.
32867 * math/w_log2l.c: Likewise.
32868 * math/w_logf.c: Likewise.
32869 * math/w_logl.c: Likewise.
32870 * math/w_pow.c: Likewise.
32871 * math/w_powf.c: Likewise.
32872 * math/w_powl.c: Likewise.
32873 * math/w_remainder.c: Likewise.
32874 * math/w_remainderf.c: Likewise.
32875 * math/w_remainderl.c: Likewise.
32876 * math/w_scalb.c: Likewise.
32877 * math/w_scalbf.c: Likewise.
32878 * math/w_scalbl.c: Likewise.
32879 * math/w_sinh.c: Likewise.
32880 * math/w_sinhf.c: Likewise.
32881 * math/w_sinhl.c: Likewise.
32882 * math/w_sqrt.c: Likewise.
32883 * math/w_sqrtf.c: Likewise.
32884 * math/w_sqrtl.c: Likewise.
32885 * math/w_tgamma.c: Likewise.
32886 * math/w_tgammaf.c: Likewise.
32887 * math/w_tgammal.c: Likewise.
32888
6a621eb7
UD
32889 * po/ja.po: Update from translation team.
32890
bf582445
AJ
328912011-09-29 Andreas Jaeger <aj@suse.de>
32892
f9efbf3a
AJ
32893 [BZ #13179]
32894 * sunrpc/netname.c (netname2host): Fix logic.
32895
bf582445
AJ
32896 [BZ #6779]
32897 [BZ #6783]
32898 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32899 correctly.
32900 * math/w_remainder.c (__remainder): Likewise.
32901 * math/w_remainderf.c (__remainderf): Likewise.
32902 * math/libm-test.inc (remainder_test): Add test cases.
32903
48693bea
AK
329042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32905
32906 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32907 sdiv_qrnnd.
32908
42622229
LD
329092011-10-07 Ulrich Drepper <drepper@gmail.com>
32910
32911 * string/test-memcmp.c: Avoid unncessary #defines.
32912 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32913
093ecf92
LD
329142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32915
32916 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32917 Use new sse2 version for core i3 - i7 as it's faster
32918 than sse42 version.
32919 (bit_Prefer_PMINUB_for_stringop): New.
32920 * sysdeps/x86_64/rawmemchr.S: Update.
32921 Replace with faster SSE2 version.
32922 * sysdeps/x86_64/memrchr.S: New file.
32923 * sysdeps/x86_64/memchr.S: Update.
32924 Replace with faster SSE2 version.
32925
fde56e5c
MP
329262011-09-12 Marek Polacek <mpolacek@redhat.com>
32927
32928 * elf/dl-load.c (lose): Add cast to avoid warning.
32929
21fd49a9
UD
329302011-10-07 Ulrich Drepper <drepper@gmail.com>
32931
5a06e643
UD
32932 * po/ca.po: Update from translation team.
32933
684ae515
UD
32934 * inet/getnetgrent_r.c: Hook up nscd.
32935 * nscd/Makefile (routines): Add nscd_netgroup.
32936 (nscd-modules): Add netgroupcache.
32937 (CFLAGS-netgroupcache.c): Define.
32938 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32939 (cache_search): Add const to second parameter.
32940 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32941 INNETGR.
32942 (dbs): Add netgrdb entry.
32943 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32944 (verify_persistent_db): Handle netgrdb.
32945 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32946 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32947 GETFDNETGR.
32948 (netgroup_response_header): Define.
32949 (innetgroup_response_header): Define.
32950 (datahead): Add netgroup_response_header and innetgroup_response_header
32951 elements.
32952 * nscd/nscd.conf: Add entries for netgroup cache.
32953 * nscd/nscd.h (dbtype): Add netgrdb.
32954 (_PATH_NSCD_NETGROUP_DB): Define.
32955 (netgroup_iov_disabled): Declare.
32956 (xmalloc, xcalloc, xrealloc): Move declarations here.
32957 (cache_search): Adjust prototype.
32958 Add netgroup-related prototypes.
32959 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32960 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32961 (__nscd_innetgr): Declare.
32962 * nscd/selinux.c (perms): Use access_vector_t as element type and
32963 add netgroup-related initializers.
32964 * nscd/netgroupcache.c: New file.
32965 * nscd/nscd_netgroup.c: New file.
32966 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32967 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32968 For four parameters use innetgr.
32969 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32970 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32971 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32972 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32973
21fd49a9
UD
32974 * nscd/connections.c (register_traced_file): Don't register file
32975 for disabled databases.
32976
054c0457
UD
329772011-10-06 Ulrich Drepper <drepper@gmail.com>
32978
32b63198
UD
32979 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32980
054c0457
UD
32981 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32982 from tree and freeing node.
32983
64031225
JO
329842011-09-25 Jiri Olsa <jolsa@redhat.com>
32985
32986 * nss/nsswitch.c (__nss_database_lookup): Handle
32987 nss_parse_service_list out of memory case.
32988
0490345c
JO
329892011-09-15 Jiri Olsa <jolsa@redhat.com>
32990
32991 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32992 out of memory case.
32993
3a62d00d
AS
329942011-10-04 Andreas Schwab <schwab@redhat.com>
32995
32996 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32997 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32998 pass it down.
32999 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33000 elf_machine_rela, elf_machine_lazy_rel.
33001 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33002 (ELF_DYNAMIC_DO_REL): Likewise.
33003 (ELF_DYNAMIC_DO_RELA): Likewise.
33004 (ELF_DYNAMIC_RELOCATE): Likewise.
33005 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33006 to ELF_DYNAMIC_DO_REL.
33007 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33008 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33009 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33010 elf_machine_rela.
33011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33012 skip_ifunc, don't call ifunc function if non-zero.
33013 (elf_machine_rela): Likewise.
33014 (elf_machine_lazy_rel): Likewise.
33015 (elf_machine_lazy_rela): Likewise.
33016 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33017 (elf_machine_lazy_rel): Likewise.
33018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33019 Likewise.
33020 (elf_machine_lazy_rel): Likewise.
33021 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33022 Likewise.
33023 (elf_machine_lazy_rel): Likewise.
33024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33025 (elf_machine_lazy_rel): Likewise.
33026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33027 (elf_machine_lazy_rel): Likewise.
33028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33029 (elf_machine_lazy_rel): Likewise.
33030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33031 (elf_machine_lazy_rel): Likewise.
33032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33033 (elf_machine_lazy_rel): Likewise.
33034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33035 (elf_machine_lazy_rel): Likewise.
33036
68577918
UD
330372011-09-28 Ulrich Drepper <drepper@gmail.com>
33038
33039 * nss/nss_files/files-init.c (_nss_files_init): Use static
33040 initialization for all the *_traced_file variables.
33041
68822d74
AS
330422011-09-28 Andreas Schwab <schwab@redhat.com>
33043
33044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33045
2056100b
RM
330462011-09-27 Roland McGrath <roland@hack.frob.com>
33047
33048 [BZ #13226]
33049 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33050
32c76b63
AS
330512011-09-27 Andreas Schwab <schwab@redhat.com>
33052
33053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33054 Reread the line before reparsing it.
33055
bf972c9d
AS
330562011-09-26 Andreas Schwab <schwab@redhat.com>
33057
33058 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33059
e057a1b5
JM
330602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33061 Maxim Kuvyrkov <maxim@codesourcery.com>
33062 Joseph Myers <joseph@codesourcery.com>
33063
33064 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33065 if needed for __stack_chk_guard.
33066
bc7e1c36
RM
330672011-09-19 Roland McGrath <roland@hack.frob.com>
33068
ecb1482f
RM
33069 * sysdeps/posix/spawni.c (script_execute): Always define it.
33070 It will be optimized away if unused.
33071 (maybe_script_execute): New function.
33072 (__spawni): Call it.
33073
bc7e1c36
RM
33074 * Makerules: Don't include tls.make.
33075 (config-tls): Always set to thread.
33076 * tls.make.c: File removed.
33077
1c3b002b
MF
330782011-09-19 Mike Frysinger <vapier@gentoo.org>
33079
33080 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33081 * config.make.in (CPPFLAGS-config): New substituted variable.
33082
2840865d
UD
330832011-09-15 Ulrich Drepper <drepper@gmail.com>
33084
88738eb6
UD
33085 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33086
cbf645a6 33087 [BZ #13192]
2840865d
UD
33088 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33089 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33090
b402e91a
RM
330912011-09-15 Roland McGrath <roland@hack.frob.com>
33092
33093 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33094 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33096 (CALL_FAIL): Likewise.
33097 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33098 (CALL_FAIL): Macro removed.
33099 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33100
4c1a1f71
UD
331012011-09-15 Ulrich Drepper <drepper@gmail.com>
33102
33103 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33104 for __FINITE_MATH_ONLY__ == 1.
33105
edc121be
AS
331062011-09-15 Andreas Schwab <schwab@redhat.com>
33107
33108 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33109 __ieee754_sqrt instead of sqrt.
33110 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33111 __ieee754_sqrtf instead of sqrtf.
33112 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33113 __floorf instead of floorf.
33114 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33115 __floorf, __truncf instead of floorf, truncf.
33116
cd205654
UD
331172011-09-14 Ulrich Drepper <drepper@gmail.com>
33118
ee4d0315
UD
33119 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33120
cd205654
UD
33121 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33122 __extern_always_inline.
33123 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33124 32-bit.
33125
48b67d71
AS
331262011-09-14 Andreas Schwab <schwab@redhat.com>
33127
33128 * elf/rtld.c (dl_main): Also relocate in dependency order when
33129 doing symbol dependency testing.
33130
1ae12c75
AS
331312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33132
33133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33134 Always define `refsym'.
33135
995a80df
AS
331362011-09-13 Andreas Schwab <schwab@redhat.com>
33137
e529793b
AS
33138 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33139 (__FD_ELT): Renamed from __FDELT.
33140 * misc/bits/select2.h (__FD_ELT): Likewise.
33141 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33142 __FD_MASK instead of __FDELT, __FDMASK.
33143 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33144 Likewise.
33145 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33146 Likewise.
33147
52d4fef8
AS
33148 * elf/Makefile (gen-ldd): Fix pattern.
33149
995a80df
AS
33150 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33151 (init_tls): Likewise.
33152
8682f8b0
UD
331532011-09-12 Ulrich Drepper <drepper@gmail.com>
33154
33155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33156
de82006d
AS
331572011-09-12 Andreas Schwab <schwab@redhat.com>
33158
a7c8e6a1
AS
33159 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33160 `struct cmsghdr *' instead of `void *'.
33161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33162 Likewise.
33163
0f31fe77
AS
331642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33165
33166 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33167 if non-absolute.
33168 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33169 ldd_rewrite_script.
0f31fe77 33170
32b4c839
UD
331712011-09-11 Ulrich Drepper <drepper@gmail.com>
33172
83cd1420
UD
33173 * configure.in: Remove --with-tls option.
33174 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33175 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33176 out in case it is missing.
33177 * sysdeps/ia64/elf/configure.in: Likewise.
33178 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33179 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33180 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33181 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33182 * sysdeps/sh/elf/configure.in: Likewise.
33183 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33184 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33185 * sysdeps/x86_64/elf/configure.in: Likewise.
33186 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33187 * sysdeps/mach/hurd/tls.h: Likewise.
33188
633f745d
UD
33189 [BZ #13067]
33190 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33191
f318beb8
UD
33192 [BZ #13090]
33193 * configure.in: Fix use of AC_INIT.
33194
32b4c839
UD
33195 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33196
3ce1f295
UD
331972011-09-10 Ulrich Drepper <drepper@gmail.com>
33198
bb016596
UD
33199 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33200 __set_errno.
8e58439c
UD
33201 * malloc/hooks.c: Likewise.
33202
aebae053 33203 [BZ #11929]
02d46fc4
UD
33204 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33205 variables statically.
33206 (narenas): Initialize.
33207 (list_lock): Initialize.
bb016596
UD
33208 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33209 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33210 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33211 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33212 Add initializers to main_arena and mp_.
33213 (malloc_state): Remove pagesize member. Change all users to use
33214 GLRO(dl_pagesize).
33215
33216 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33217 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33218 is always initialized.
33219
22a89187
UD
33220 * malloc/malloc.c: Removed unused configurations and dead code.
33221 * malloc/arena.c: Likewise.
33222 * malloc/hooks.c: Likewise.
02d46fc4 33223 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33224
d063d164
UD
33225 * include/tls.h: Removed. USE___THREAD must always be defined.
33226 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33227 * elf/dl-libc.c: Likewise.
33228 * elf/dl-tsd.c: Likewise.
33229 * include/errno.h: Likewise.
33230 * include/netdb.h: Likewise.
33231 * include/resolv.h: Likewise.
33232 * inet/herrno-loc.c: Likewise.
33233 * inet/herrno.c: Likewise.
33234 * malloc/arena.c: Likewise.
33235 * malloc/hooks.c: Likewise.
33236 * malloc/malloc.c: Likewise.
33237 * resolv/res-state.c: Likewise.
33238 * resolv/res_libc.c: Likewise.
33239 * sysdeps/i386/dl-machine.h: Likewise.
33240 * sysdeps/ia64/dl-machine.h: Likewise.
33241 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33242 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33243 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33244 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33245 * sysdeps/sh/dl-machine.h: Likewise.
33246 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33248 * sysdeps/unix/i386/sysdep.S: Likewise.
33249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33250 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33255 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33259 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33260 * sysdeps/x86_64/dl-machine.h: Likewise.
33261 * tls.make.c: Likewise.
33262
3ce1f295
UD
33263 * configure.in: Remove --with-__thread option. Make tests for
33264 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33265 tls_model attribute fail if no support is available. Remove
33266 USE_IN_LIBIO.
33267 * Makeconfig: Adjust for dropped configure option. All features are
33268 now mandatory.
33269 * Makerules: Likewise.
33270 * Versions.def: Likewise.
33271 * argp/argp-fmtstream.c: Likewise.
33272 * argp/argp-fmtstream.h: Likewise.
33273 * argp/argp-help.c: Likewise.
33274 * assert/assert.c: Likewise.
33275 * config.h.in: Likewise.
33276 * config.make.in: Likewise.
33277 * configure: Likewise.
33278 * configure.in: Likewise.
33279 * csu/Versions: Likewise.
33280 * csu/init.c: Likewise.
33281 * elf/tst-audit2.c: Likewise.
33282 * elf/tst-tls10.c: Likewise.
33283 * elf/tst-tls10.h: Likewise.
33284 * elf/tst-tls11.c: Likewise.
33285 * elf/tst-tls12.c: Likewise.
33286 * elf/tst-tls14.c: Likewise.
33287 * elf/tst-tlsmod11.c: Likewise.
33288 * elf/tst-tlsmod12.c: Likewise.
33289 * elf/tst-tlsmod13.c: Likewise.
33290 * elf/tst-tlsmod13a.c: Likewise.
33291 * elf/tst-tlsmod14a.c: Likewise.
33292 * elf/tst-tlsmod15b.c: Likewise.
33293 * elf/tst-tlsmod16a.c: Likewise.
33294 * elf/tst-tlsmod16b.c: Likewise.
33295 * elf/tst-tlsmod7.c: Likewise.
33296 * elf/tst-tlsmod8.c: Likewise.
33297 * elf/tst-tlsmod9.c: Likewise.
33298 * gmon/gmon.c: Likewise.
33299 * grp/fgetgrent_r.c: Likewise.
33300 * grp/putgrent.c: Likewise.
33301 * hurd/fopenport.c: Likewise.
33302 * include/libc-symbols.h: Likewise.
33303 * include/tls.h: Likewise.
33304 * intl/gettextP.h: Likewise.
33305 * intl/loadinfo.h: Likewise.
33306 * locale/global-locale.c: Likewise.
33307 * locale/localeinfo.h: Likewise.
33308 * mach/devstream.c: Likewise.
33309 * malloc/arena.c: Likewise.
33310 * malloc/set-freeres.c: Likewise.
33311 * misc/err.c: Likewise.
33312 * misc/getttyent.c: Likewise.
33313 * misc/mntent_r.c: Likewise.
33314 * posix/getopt.c: Likewise.
33315 * posix/wordexp.c: Likewise.
33316 * pwd/fgetpwent_r.c: Likewise.
33317 * resolv/Versions: Likewise.
33318 * resolv/res_hconf.c: Likewise.
33319 * shadow/fgetspent_r.c: Likewise.
33320 * shadow/putspent.c: Likewise.
33321 * stdio-common/printf_fphex.c: Likewise.
33322 * stdio-common/tmpfile.c: Likewise.
33323 * stdlib/abort.c: Likewise.
33324 * stdlib/fmtmsg.c: Likewise.
33325 * sunrpc/auth_unix.c: Likewise.
33326 * sunrpc/clnt_perr.c: Likewise.
33327 * sunrpc/clnt_tcp.c: Likewise.
33328 * sunrpc/clnt_udp.c: Likewise.
33329 * sunrpc/clnt_unix.c: Likewise.
33330 * sunrpc/openchild.c: Likewise.
33331 * sunrpc/svc_simple.c: Likewise.
33332 * sunrpc/svc_tcp.c: Likewise.
33333 * sunrpc/svc_udp.c: Likewise.
33334 * sunrpc/svc_unix.c: Likewise.
33335 * sunrpc/xdr.c: Likewise.
33336 * sunrpc/xdr_array.c: Likewise.
33337 * sunrpc/xdr_rec.c: Likewise.
33338 * sunrpc/xdr_ref.c: Likewise.
33339 * sunrpc/xdr_stdio.c: Likewise.
33340
1248c1c4
PB
333412011-09-09 Ulrich Drepper <drepper@gmail.com>
33342
33343 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33344
333452011-07-03 Andreas Jaeger <aj@suse.de>
33346
33347 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33348 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33349 regenerate with gen-libm-tests.pl.
33350
333512010-05-12 Petr Baudis <pasky@suse.cz>
33352
33353 [BZ #11589]
33354 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33355 around j0() zero points by switching to j1().
33356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33357 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33360
f22e1074
UD
333612011-09-09 Ulrich Drepper <drepper@gmail.com>
33362
f19009c1
UD
33363 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33364 instead of 0.
33365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33366 instead of 0.
f19009c1
UD
33367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33368 Patch in part by Pavel Roskin <proski@gnu.org>.
33369
3f8cc204
UD
33370 [BZ #13138]
33371 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33372 realloc.
33373 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33374 Free memory block if necessary.
33375
f22e1074
UD
33376 [BZ #12847]
33377 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33378 be NULL. Don't lock in this case.
33379
0a2349f9
RM
333802011-09-09 Roland McGrath <roland@hack.frob.com>
33381
33382 * elf/elf.h (ELFOSABI_GNU): New macro.
33383 (ELFOSABI_LINUX): Define to that.
33384
f3cdd467
DZ
333852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33386
33387 * string/strncat.c (strncat): Undef the symbol in case it has been
33388 defined in bits/string.h.
33389
74718d13
UD
333902011-09-09 Ulrich Drepper <drepper@gmail.com>
33391
633e9e0f
UD
33392 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33393
0a2349f9 33394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33395 link map.
33396
f9924780
AJ
333972011-08-17 Andreas Jaeger <aj@suse.de>
33398
33399 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33400
7f5517aa
PP
334012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33402 Ian Lance Taylor <iant@google.com>
33403
33404 * math/libm-test.inc (lround_test): New testcase.
33405 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33406
762011fe
UD
334072011-09-08 Ulrich Drepper <drepper@gmail.com>
33408
92963737
UD
33409 * Makefile: Remove support for automatic cvs check-ins.
33410 * Makerules: Likewise.
33411 * config.make.in: Likewise.
33412 * configure.in: Likewise.
33413 * intl/Makefile: Likewise.
33414 * locale/Makefile: Likewise.
33415 * po/Makefile: Likewise.
33416 * posix/Makefile: Likewise.
33417 * sysdeps/gnu/Makefile: Likewise.
33418 * sysdeps/mach/hurd/Makefile: Likewise.
33419 * sysdeps/sparc/sparc32/Makefile: Likewise.
33420
b0727fd8
JS
33421 [BZ #13118]
33422 * posix/Makefile (bug-regex32-ENV): Define.
33423 Patch by John Stanley <jpsinthemix@verizon.net>.
33424
a0f33f99
UD
33425 * misc/Makefile (headers): Add bits/select2.h.
33426 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33427 * misc/bits/select2.h: New file.
33428 * include/bits/select2.h: New file.
33429 * debug/Makefile (routines): Add fdelt_chk.
33430 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33431 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33432 FD_ISSET.
33433 * debug/fdelt_chk.c: New file.
33434
762011fe
UD
33435 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33436 * wcsmbs/test-wmemcmp.c: Likewise.
33437 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33438 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33439
334402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33441
33442 * string/Makefile (strop-tests): Add memcmp.
33443 * string/test-wmemcmp.c: New file.
33444 * string/test-memcmp.c: Add wmemcmp support.
33445
7f513ec8
RM
334462011-09-08 Roland McGrath <roland@hack.frob.com>
33447
0442afb4
RM
33448 [BZ #13153]
33449 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33450 2011-07-19 change.
33451
7f513ec8
RM
33452 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33453 garbage value in a __mach_port_mod_refs call in the cases of the
33454 task-self and thread-self ports.
33455
a12b2239
ST
334562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33457
33458 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33459
610f9ab4
AS
334602011-09-08 Andreas Schwab <schwab@redhat.com>
33461
7f513ec8 33462 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33463
48882a1a
LD
334642011-09-07 Ulrich Drepper <drepper@gmail.com>
33465
b49865be
UD
33466 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33467
fdc86bc9
UD
33468 * elf/dl-libc.c (dlerror_run): Pass back error code from
33469 dl_catch_error.
33470
c966526a
UD
33471 [BZ #13123]
33472 * elf/dl-load.c (lose): Free l_origin if it is valid.
33473
48882a1a
LD
33474 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33475 names.
33476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33479 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33481 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33482
77a2a8b4
AZ
334832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33484
33485 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33486 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33487 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33488 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33489 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33490 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33491 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33492 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33493 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33494 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33495
24f579d8
AM
334962011-08-15 Alan Modra <amodra@gmail.com>
33497
33498 [BZ #13092]
33499 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33500 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33501 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33502 ppc_mcount to static-only-routines.
33503 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33504 __mcount_internal.
33505 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33506 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33507
3d4837df
UD
335082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33509
33510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33511 for finite and infinity parameters.
33512
22700377
WS
335132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33514
33515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33516 and add nop instructions for throughput optimization.
33517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33518
5025581e
WS
335192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33520
33521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33522 aligned copy for power7 with vector-scalar instructions.
33523 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33524
08a300c9
L
335252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33526
33527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33528 AVX check.
33529
59178ef9
AS
335302011-09-07 Andreas Schwab <schwab@redhat.com>
33531
33532 [BZ #13144]
33533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33534 last change.
33535
e38ba7ab
UD
335362011-09-07 Ulrich Drepper <drepper@gmail.com>
33537
33538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33539 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33540 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33542 clock_gettime.
33543
d53a73ac
UD
335442011-09-06 Ulrich Drepper <drepper@gmail.com>
33545
fc8bffcc
UD
33546 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33547 Forgot to demangle the pointer.
33548
ceaa0c5d
UD
33549 * sysdeps/i386/sysdep.h: Define atom_text_section.
33550 * sysdeps/x86_64/sysdep.h: Likewise.
33551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33552 section with atom_text_section.
33553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33555 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33557 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33558
a77d3c17
UD
33559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33561 already be defined. Change to take two parameters and don't assign
33562 result to variable. Adjust all users.
33563 Define INTERNAL_GETTIME if not already defined.
33564 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33565 call.
33566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33567 HAVE_CLOCK_GETTIME_VSYSCALL.
33568 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33569
d53a73ac
UD
33570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33571 gettimeofday vsyscall, just use time.
33572
a8f84144
AS
335732011-09-06 Andreas Schwab <schwab@redhat.com>
33574
33575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33576 <errno.h>.
33577
ef606249
UD
335782011-09-06 Ulrich Drepper <drepper@gmail.com>
33579
33580 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33581 syscall on x86-64.
33582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33583 syscall.
33584 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33586 syscall if possible.
33587
6585cb60
UD
335882011-09-05 Ulrich Drepper <drepper@gmail.com>
33589
33590 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33591 e_ident. Don't pass to find_mapsXX.
33592 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33593
a5f524e4
LD
335942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33595
33596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33597 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33598 * sysdeps/x86_64/multiarch/strchr.S: Update.
33599 Check bit_slow_BSF bit.
33600 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33602 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33603
554881ef
UD
336042011-09-05 Ulrich Drepper <drepper@gmail.com>
33605
d96de963
UD
33606 [BZ #13134]
33607 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33608 before glibc 2.15.
33609 (tryshell): Define.
33610 (__spawni): Change last parameter to be flag. Test
33611 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33612 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33613 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33614 * posix/spawni.c: Likewise.
33615 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33616 * posix/spawnp.c: Likewise. Change normal version to use
33617 SPAWN_XFLAGS_USE_PATH.
33618 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33619 SPAWN_XFLAGS_TRY_SHELL.
33620
d48e5868
UD
33621 [BZ #13150]
33622 * posix/glob.h: Remove gcc 1.x support.
33623
554881ef
UD
33624 [BZ #13068]
33625 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33626
693fb948
LD
336272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33628
33629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33630 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33631 strrchr-sse2-bsf
33632 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33633 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33634 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33636 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33637 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33638
1b48c537
UD
336392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33640
49d42c37
UD
33641 * sysdeps/x86_64/wcscmp.S: New file.
33642
1b48c537
UD
33643 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33644 wcscmp-c wcscmp-sse2
33645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33646 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33648 * wcsmbs/wcscmp.c: Allow renaming.
33649
15c95c5d
DM
336502011-09-05 David S. Miller <davem@davemloft.net>
33651
33652 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33653 stack slot, rather than the struct return pointer slot.
33654 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33655 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33657 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33658
2f0ad8f3
UD
336592011-09-05 Ulrich Drepper <drepper@gmail.com>
33660
d88ae418
UD
33661 * po/ja.po: Update from translation team.
33662
2f0ad8f3
UD
33663 [BZ #13144]
33664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33665 kernel in 64-bit binaries.
33666
5f4318d1
DM
336672011-09-01 David S. Miller <davem@davemloft.net>
33668
33669 * elf/elf.h (HWCAP_SPARC_*): Move to..
33670 * sysdeps/sparc/sysdep.h: this new file and add new values.
33671 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33672 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33673 _DL_HWCAP_COUNT to 24.
33674 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33675 entries.
33676 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33677 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33678 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33680 instead of magic constants.
33681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33682
3ba57516
DM
336832011-08-31 David S. Miller <davem@davemloft.net>
33684
33685 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33687 Reimplement to do errno handling inline.
33688 (SYSCALL_ERROR_HANDLER): New macro.
33689 (__SYSCALL_STRING): Do not do errno handling in asm.
33690 (__CLONE_SYSCALL_STRING): Delete.
33691 (__INTERNAL_SYSCALL_STRING): Delete.
33692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33693 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33694 (PSEUDO): Reimplement to do errno handling inline.
33695 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33696 (SYSCALL_ERROR_HANDLER): New macro.
33697 (__SYSCALL_STRING): Do not do errno handling in asm.
33698 (__CLONE_SYSCALL_STRING): Delete.
33699 (__INTERNAL_SYSCALL_STRING): Delete.
33700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33701 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33702 i386.
33703 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33704 (inline_syscall*): Add 'err' argument.
33705 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33706 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33707 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33708 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33709
33710 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33711 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33712
2bc17433
AS
337132011-08-30 Andreas Schwab <schwab@redhat.com>
33714
33715 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33716
fbeb5f4d
JO
337172011-08-29 Jiri Olsa <jolsa@redhat.com>
33718
33719 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33720 directive.
33721
ad69cc26
DM
337222011-08-24 David S. Miller <davem@davemloft.net>
33723
33724 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33725
39dd69df
AS
337262011-08-24 Andreas Schwab <schwab@redhat.com>
33727
33728 * elf/Makefile: Add rules to build and run unload8 test.
33729 * elf/unload8.c: New file.
33730 * elf/unload8mod1.c: New file.
33731 * elf/unload8mod1x.c: New file.
33732 * elf/unload8mod2.c: New file.
33733 * elf/unload8mod3.c: New file.
33734
33735 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33736 it wasn't used.
33737
2c0b250a
DM
337382011-08-23 David S. Miller <davem@davemloft.net>
33739
33740 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33741 subtract stack bias.
33742 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33743 %sp not %fp in calculations.
33744 (_JMPBUF_UNWINDS_ADJ): Likewise.
33745
22044b48
DM
33746 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33747 (aio_suspend): Call it to force an exception region around the
33748 AIO_MISC_WAIT() invocation.
33749
2cae4995
AS
337502011-08-23 Andreas Schwab <schwab@redhat.com>
33751
33752 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33753 backslash.
33754
873a772e
AJ
337552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33756
33757 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33758 protection macro.
33759 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33760 and <dl-machine.h>.
33761 (Elf64_FuncDesc): Remove.
33762
25ad0df1
DM
337632011-08-22 David S. Miller <davem@davemloft.net>
33764
33765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33766 sigaltstack check, add missing cfi directives.
33767 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33768 missing cfi directives, and sigaltstack handling.
33769
e888bcbe
AS
337702011-08-16 Andreas Schwab <schwab@redhat.com>
33771
33772 [BZ #11724]
33773 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33774 object is seen twice.
33775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33776
33777 * elf/Makefile (distribute): Add tst-initorder2.c.
33778 (tests): Add tst-initorder2.
33779 (modules-names): Add tst-initorder2a tst-initorder2b
33780 tst-initorder2c tst-initorder2d. Add rules to build them.
33781 ($(objpfx)tst-initorder2.out): New rule.
33782 * elf/tst-initorder2.c: New file.
33783 * elf/tst-initorder2.exp: New file.
33784
87162f46
AS
337852011-08-22 Andreas Schwab <schwab@redhat.com>
33786
70538b7f
AS
33787 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33788
f55ffe58
AS
33789 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33790 dependencies back to end of function.
33791
87162f46
AS
33792 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33793 $(elfobjdir)/ld.so.
33794
91b392a4
UD
337952011-08-21 Ulrich Drepper <drepper@gmail.com>
33796
33797 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33798 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33800 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33801 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33802 of __vdso_gettimeofday.
33803 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33804 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33805 attribute_hidden.
33806 (_libc_vdso_platform_setup): Remove initialization of
33807 __vdso_gettimeofday and __vdso_time.
33808
5c43483f
UD
338092011-08-20 Ulrich Drepper <drepper@gmail.com>
33810
775a77e7
UD
33811 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33812 and fgetc_unlocked.
33813 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33814 getc_unlocked.
89f447ed 33815
49c74ba9
UD
33816 * elf/dl-open.c (add_to_global): Report additions to the global scope
33817 for LD_DEBUG=scopes.
33818 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33819 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33820
5c43483f
UD
33821 [BZ #13114]
33822 * stdio-common/Makefile (tests): Add bug24.
33823 * stdio-common/bug24.c: New file.
33824
a101b025
AJ
338252011-08-19 Andreas Jaeger <aj@suse.de>
33826
33827 [BZ #13114]
33828 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33829 non-existant file when using close-on-exec mode.
33830
c88f1766
UD
338312011-08-20 Ulrich Drepper <drepper@gmail.com>
33832
0276a718
UD
33833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33834 the very first instruction.
33835
c88f1766
UD
33836 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33837 the CFI state in the end.
33838 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33839 inclusion of dl-trampoline.h.
33840 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33841
51ccffa0
AS
338422011-08-19 Andreas Schwab <schwab@redhat.com>
33843
94d7165f
AS
33844 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33845 expectations for long double.
33846
51ccffa0
AS
33847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33848 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33849
fd708658 338502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33851
33852 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33853 artificual limit depends upon the system page size.
33854
44f0a71e
UD
338552011-08-17 Ulrich Drepper <drepper@gmail.com>
33856
33857 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33858 * resolv/Makefile: Define CFLAGS-libresolv.
33859
8de79a24
AS
338602011-08-17 Andreas Schwab <schwab@redhat.com>
33861
33862 * nss/makedb.c (compute_tables): Make variables used in nested
33863 function static.
33864
27724598
UD
338652011-08-17 Ulrich Drepper <drepper@gmail.com>
33866
c5305d88
UD
33867 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33868 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33869 if buffer was too small.
33870
27724598
UD
33871 * elf/pldd.c (main): Attach to all threads in the process.
33872 Rewrite /proc handling to use *at functions.
33873
076fe015
UD
338742011-08-16 Ulrich Drepper <drepper@gmail.com>
33875
174baab3
UD
33876 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33877 specifies first scope to show.
33878 (dl_open_worker): Update callers. Move printing scope of new
33879 object to before the relocation.
44f0a71e 33880 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33881 * sysdeps/generic/ldsodefs.h: Update declaration.
33882
076fe015
UD
33883 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33884 string for the scope number.
33885
a60df2c3
UD
338862011-08-14 Ulrich Drepper <drepper@gmail.com>
33887
33888 * nscd/servicescache.c (cache_addserv): Make sure written is always
33889 initialized.
33890
5e4287d1
RM
338912011-08-14 Roland McGrath <roland@hack.frob.com>
33892
85ae0589
RM
33893 * sysdeps/i386/i486/bits/atomic.h
33894 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33895 statement expression, so as to suppress "set but not used" warning.
33896 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33897
69f63097
RM
33898 * string/strncat.c (STRNCAT): Use prototype definition.
33899
675456ef
RM
33900 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33901 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33902 -Iprograms here.
33903 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33904 (localedef-modules): Add localedef.
33905 (locale-modules): Add locale.
33906
5e4287d1
RM
33907 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33908 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33909 to avoid a warning.
33910
9c96ff23
DM
339112011-08-14 David S. Miller <davem@davemloft.net>
33912
33913 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33914 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33915
f9ddf089
UD
339162011-08-13 Ulrich Drepper <drepper@gmail.com>
33917
44f0a71e 33918 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33919 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33920 * elf/rtld.c (dl_main): Set l_name of vDSO.
33921 Call _dl_show_scope when DL_DEBUG_SCOPES.
33922 (process_dl_debug): Recognize scopes flag and also set it for all.
33923 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33924 Declare _dl_show_scope.
33925
1dc27704
UD
33926 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33927 (do_dlopen): Pass caller_dlopen to dl_open.
33928 (__libc_dlopen_mode): Initialize caller_dlopen.
33929
f9ddf089
UD
33930 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33931 of libc. Make tolower call locale-independent. Optimize a bit by
33932 using isdigit instead of isalnum.
33933 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33934
9ac533d3
UD
339352011-08-12 Ulrich Drepper <drepper@gmail.com>
33936
33937 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33938 was a dependency or dynamically loaded.
33939
89edf2e9
UD
339402011-08-11 Ulrich Drepper <drepper@gmail.com>
33941
8e999d29
UD
33942 * intl/l10nflist.c: Allow architecture-specific pop function.
33943 * sysdeps/x86_64/l10nflist.c: New file.
33944
89edf2e9
UD
33945 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33946 classification.
33947
14d96785
AS
339482011-08-10 Andreas Schwab <schwab@redhat.com>
33949
33950 * include/dirent.h: Add libc_hidden_proto for scandirat and
33951 scandirat64. Don't declare __scandirat64.
33952 * dirent/scandirat.c: Add libc_hidden_def.
33953 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33954 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33955
6761ac04
DM
339562011-08-10 David S. Miller <davem@davemloft.net>
33957
33958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33959 enum.
33960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33961 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33963
c55fbd1e
UD
339642011-08-09 Ulrich Drepper <drepper@gmail.com>
33965
33966 * Versions.def [libc]: Add GLIBC_2.15.
33967 * dirent/Makefile (routines): Add scandirat and scandirat64.
33968 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33969 GLIBC_2.15.
33970 * dirent/dirent.h: Declare scandirat and scandirat64.
33971 * dirent/scandirat.c: New file.
33972 * dirent/scandirat64.c: New file.
33973 * sysdeps/wordsize-64/scandirat.c: New file.
33974 * sysdeps/wordsize-64/scandirat64.c: New file.
33975 * dirent/opendir.c: Define opendirat.
33976 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33977 using scandirat.
33978 * dirent/scandir64.c: Adjust for scandir.c change.
33979 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33980 __scandirat64, and __scandir_cancel_handler.
33981 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33982 additional parameter and use openat instead of open (outside of ld.so).
33983 Add new __opendir as wrapper around __opendirat.
33984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33985 here without requiring old scandirat implementation.
33986
879165f2
UD
339872011-08-08 Ulrich Drepper <drepper@gmail.com>
33988
33989 * dirent/scandir.c (cancel_handler): Renamed to
33990 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33991 defined. Adjust users.
33992 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33994
cb7e923b
UD
339952011-08-04 Ulrich Drepper <drepper@gmail.com>
33996
16292edd
UD
33997 * string/test-string.h (IMPL): Use __STRING to expand name and then
33998 stringify it.
33999
cb7e923b
UD
34000 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34001 of cleanups.
34002
cff82933
LD
340032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34004
34005 * string/Makefile: Update.
34006 (strop-tests): Append strncat.
34007 * string/test-wcscmp.c: New file.
34008 New comprehensive test for wcscmp.
34009 * string/test-strcmp.c: Update.
34010 (WIDE): New define.
34011
9be9bfcc
AS
340122011-07-22 Andreas Schwab <schwab@redhat.com>
34013
34014 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34015 line.
34016
2e96f1c7
AS
340172011-07-26 Andreas Schwab <schwab@redhat.com>
34018
34019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34020 encoding to ACE if AI_IDN.
34021
85188888
JJ
340222011-08-01 Jakub Jelinek <jakub@redhat.com>
34023
34024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34025 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34026
5fa16e9b
LD
340272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34028
34029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34030 Fix overflow bug in strncat.
34031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34032
34033 * string/test-strncat.c: Update.
34034 Add new tests for checking overflow bugs.
34035
340362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34037
34038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34039 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34040 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34041 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34043 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34044 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34045 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34046 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34047
34048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34049 (USE_AS_STRCAT): Define.
34050 Add strcat and strncat support.
34051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34052
8c1a459f
AS
340532011-07-25 Andreas Schwab <schwab@redhat.com>
34054
34055 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34056 __n bigger than INT_MAX+1.
34057 (__strncmp_g): Likewise.
34058
bba33c28
UD
340592011-07-23 Ulrich Drepper <drepper@gmail.com>
34060
798be72d
UD
34061 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34062 * libio/stido.h: Likewise.
34063
8accd4dc
UD
34064 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34065 (AF_NFC): Define.
34066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34067 (AF_NFC): Define.
34068
cbff0d96
UD
34069 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34074
9191c04a
UD
34075 [BZ #13021]
34076 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34077 installed.
34078
bba33c28
UD
34079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34080 typo.
34081 (_dl_x86_64_save_sse): Likewise.
34082
90f139dd
UD
340832011-07-22 Ulrich Drepper <drepper@gmail.com>
34084
1aae088a
UD
34085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34086 OSXSAVE.
34087 (_dl_x86_64_save_sse): Likewise.
34088
8e2045f5
UD
34089 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34090
90f139dd
UD
34091 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34092
1d002f25
AS
340932011-07-21 Andreas Schwab <schwab@redhat.com>
34094
34095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34096 change.
34097 (_dl_x86_64_save_sse): Use correct AVX check.
34098
21137f89
UD
340992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34100
34101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34102 bug in strncpy/strncat.
34103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34104
a65c0b7a
UD
341052011-07-21 Ulrich Drepper <drepper@gmail.com>
34106
34107 * string/tester.c (test_strcat): Add tests for different alignments
34108 of source and destination.
34109 (test_strncat): Likewise.
34110
6986b98a
UD
341112011-07-20 Ulrich Drepper <drepper@gmail.com>
34112
90bb2039
UD
34113 [BZ #12852]
34114 * posix/glob.c (glob): Check passed in values before using them in
34115 expressions to avoid some overflows.
34116 (glob_in_dir): Likewise.
34117
5644ef54
UD
34118 [BZ #13007]
34119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34120 check for AVX enablement so that we don't crash with old kernels and
34121 new hardware.
34122 * elf/tst-audit4.c: Add same checks here.
34123 * elf/tst-audit6.c: Likewise.
34124
34125 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34126
bfc9dc9b
AS
341272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34128
34129 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34130
702e64bb
UD
341312011-07-20 Ulrich Drepper <drepper@gmail.com>
34132
34133 * po/cs.po: Update from translation team.
34134 * po/bg.po: Likewise.
34135
295e904f
MP
341362011-07-12 Marek Polacek <mpolacek@redhat.com>
34137
34138 * misc/sys/cdefs.h: Add support for const attribute.
34139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34140 to gnu_dev_{major,minor,makedev} functions.
34141
3ff94596
MP
341422011-07-20 Marek Polacek <mpolacek@redhat.com>
34143
34144 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34145
28b59fca
AS
341462011-07-20 Andreas Schwab <schwab@redhat.com>
34147
34148 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34149 strlen results.
34150
19df733e
AK
341512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34152
34153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34154 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34155 register in order to avoid conflicts with the soft frame pointer
34156 being held in r11 when necessary.
34157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34158 (INTERNAL_VSYSCALL_NCS): Likewise.
34159
c8835729
MP
341602011-07-14 Marek Polacek <mpolacek@redhat.com>
34161
34162 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34163 * elf/dl-fini.c (_dl_fini): Adjust caller.
34164 * elf/dl-close.c (_dl_close_worker): Likewise.
34165 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34166
b902330c
MP
341672011-07-15 Marek Polacek <mpolacek@redhat.com>
34168
8991e135
MP
34169 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34170 "aux_cache->nlibs < 0".
34171
b902330c
MP
34172 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34173 in the reload-count case.
34174
99710781
LD
341752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34176
34177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34178 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34179 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34180 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34181 * sysdeps/x86_64/multiarch/strcat.S: New file.
34182 * sysdeps/x86_64/multiarch/strncat.S: New file.
34183 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34185 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34186 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34188 (USE_AS_STRCAT): Define.
34189 Add strcat and strncat support.
34190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34193 * string/strncat.c: Update.
34194 (USE_AS_STRNCAT): Define.
34195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34196 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34197 and i7.
34198 * sysdeps/x86_64/multiarch/init-arch.h
34199 (bit_Prefer_PMINUB_for_stringop): New.
34200 (index_Prefer_PMINUB_for_stringop): Likewise.
34201 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34202 bit_Prefer_PMINUB_for_stringop.
34203
7dc6bd90
UD
342042011-07-19 Ulrich Drepper <drepper@gmail.com>
34205
34206 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34207 buffer64.
34208 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34209 of casting of buffer.
34210 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34211 buffer32 and buffer64.
34212 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34213 writes instead of casting of buffer.
34214 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34215 buffer32.
34216 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34217 casting of buffer.
34218
e0e72284
AS
342192011-07-19 Andreas Schwab <schwab@redhat.com>
34220
34221 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34222
feb1eb0b
UD
342232011-07-19 Ulrich Drepper <drepper@gmail.com>
34224
34225 * nscd/nscd.c (termination_handler): Don't do anything for a database
34226 if it has not yet been initialized.
34227
298711ff
UD
342282011-07-18 Ulrich Drepper <drepper@gmail.com>
34229
34230 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34231
342322011-07-15 Marek Polacek <mpolacek@redhat.com>
34233
34234 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34235
f9d68389
UD
342362011-07-18 Ulrich Drepper <drepper@gmail.com>
34237
34238 * po/nl.po: Update from translation team.
34239 * po/sv.po: Likewise.
34240
db290cf5
RM
342412011-07-16 Roland McGrath <roland@hack.frob.com>
34242
34243 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34244 now disallowed by GCC.
5c550700 34245
fd5e21c7
RM
34246 * configure.in (use-default-link): Default to yes if a test -shared
34247 link meets our qualifications.
34248 * configure: Regenerated.
34249
5c550700
RM
34250 * config.make.in (output-format): New variable.
34251 * configure.in: Check for ld --print-output-format support.
34252 * configure: Regenerated.
34253 * Makerules ($(common-objpfx)format.lds)
34254 [$(output-format) != unknown]: Just use $(output-format),
34255 instead of the linker-script munging.
34256
9fa2c032
RM
342572011-07-14 Roland McGrath <roland@hack.frob.com>
34258
a6928d51
RM
34259 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34260 of $(common-objpfx)shlib.lds.
34261 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34262
661607b3
RM
34263 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34264 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34265
9fa2c032
RM
34266 * configure.in (-z relro check): Adjust test code to add a large
34267 writable data section after it.
34268 * configure: Regenerated.
34269
defe9061
RM
342702011-07-11 Roland McGrath <roland@hack.frob.com>
34271
34272 * configure.in (-z relro check): Fix test code to make the variable
34273 truly const.
34274 * configure: Regenerated.
34275
319b9ad4
UD
342762011-07-11 Ulrich Drepper <drepper@gmail.com>
34277
34278 * nscd/nscd.h (struct traced_file): Define.
34279 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34280 elements. Add traced_files.
34281 (inotify_fd): Declare.
34282 (register_traced_file): Declare.
34283 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34284 (inotify_fd): Export.
34285 (resolv_conf_descr): Remove.
34286 (nscd_init): Move inotify descriptor creation to main.
34287 Don't register files for notification here.
34288 (register_traced_file): New function.
34289 (invalidate_cache): Don't use reset_res to determine whether to call
34290 res_init, go through the list of registered files.
34291 (main_loop_poll): The inotify descriptors are now stored in the
34292 structures for the traced files.
34293 (main_loop_epoll): Likewise
34294 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34295 to __nss_disable_nscd.
34296 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34297 for a database anymore. Check the records for all the registered
34298 files instead.
34299 * nss/Makefile (libnss_files-routines): Add files-init.
34300 (libnss_db-routines): Add db-init.
34301 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34302 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34303 * nss/nss_db/db-init.c: New file.
34304 * nss/nss_files/files-init.c: New file.
34305 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34306 __nss_lookup_function.
34307 (__nss_lookup_function): Call nss_load_library.
34308 (nss_load_all_libraries): New function.
34309 (__nss_disable_nscd): Take parameter with callback function for files
34310 to register. Set is_nscd. Load all the DSOs for the NSS modules
34311 used for the cached services.
34312 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34313 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34314 options for features to all the files in nscd.
34315
34316 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34317
23bee3e8
RM
343182011-07-10 Roland McGrath <roland@hack.frob.com>
34319
34320 * csu/elf-init.c (__libc_csu_init): Comment typo.
34321
46a5b7f0
UD
343222011-07-09 Ulrich Drepper <drepper@gmail.com>
34323
34324 * po/pl.po: Update from translation team.
34325 * po/ja.po: Likewise.
34326 * po/ru.po: Likewise.
34327 * po/ko.po: Likewise.
34328 * po/fr.po: Likewise.
34329
d30cf5bb
RM
343302011-07-09 Roland McGrath <roland@hack.frob.com>
34331
113ddea4
RM
34332 * configure.in (.ctors/.dtors header and trailer check):
34333 Use an empirical test on a built program.
34334 * configure: Regenerated.
34335
574920b4
RM
34336 * configure.in (-z relro check): Use an empirical test on a built DSO.
34337 Detect, but do not require, on ia64.
34338 * configure: Regenerated.
34339
d30cf5bb
RM
34340 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34341 Update tests that use readelf to use $READELF instead.
34342 * configure: Regenerated.
34343
8538fdb3
UD
343442011-07-08 Ulrich Drepper <drepper@gmail.com>
34345
34346 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34347 if the result is not used.
34348
04d08991
AJ
343492011-07-05 Andreas Jaeger <aj@suse.de>
34350
34351 [BZ#9696]
34352 * stdlib/tst-strtod.c: Add testcase.
34353
de283087
AD
343542011-07-07 Ulrich Drepper <drepper@gmail.com>
34355
4e5f31c8 34356 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34357 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34358 The latter has a higher limit. Take additional parameter to pass to
34359 the new function.
34360 (__pathconf): Pass file to __statfs_link_max.
34361 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34362 __statfs_link_max.
34363 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34364 __statfs_link_max.
34365
de283087
AD
34366 [BZ #12868]
34367 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34369 Handle Lustre.
34370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34371 (__statfs_filesize_max): Likewise.
34372 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34373
c75fa153
AJ
343742011-07-05 Andreas Jaeger <aj@suse.de>
34375
34376 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34377
1a544854
UD
343782011-07-06 Marek Polacek <mpolacek@redhat.com>
34379
34380 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34381 `status' variable.
34382 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34383 Likewise.
34384
6f0eec67
UD
343852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34386
34387 * Makefile (strop-tests): Add strncat.
34388 * string/test-strncat.c: New file.
34389
aae30307
UD
343902011-06-30 Marek Polacek <mpolacek@redhat.com>
34391
34392 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34393
c0cfb5eb
UD
343942011-06-21 Andreas Jaeger <aj@suse.de>
34395
34396 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34397 Copy rule from iconvdata/Makefile.
34398
01636b21
UD
343992011-07-06 Ulrich Drepper <drepper@gmail.com>
34400
34401 [BZ #12922]
34402 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34403 but no long options are defined, just return 'W'.
34404
9895c8bc
UD
344052011-06-22 Marek Polacek <mpolacek@redhat.com>
34406
34407 [BZ #9696]
34408 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34409
5d4cf042
UD
344102011-07-06 Ulrich Drepper <drepper@gmail.com>
34411
34412 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34413 netgroups to read.
960e5535 34414 (innetgr): Likewise.
5d4cf042 34415
751eb97e
RM
344162011-07-05 Roland McGrath <roland@hack.frob.com>
34417
34418 * config.make.in (install_root): Default to $(DESTDIR).
34419
f15f1e45
UD
344202011-07-05 Ulrich Drepper <drepper@gmail.com>
34421
34422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34423
4e34ac6a
RM
344242011-07-02 Roland McGrath <roland@hack.frob.com>
34425
5e9b6af4
RM
34426 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34427
84f9ea0f
RM
34428 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34429 containing directory rather than embedding absolute directory names.
34430
ea5ee9f7
RM
34431 * scripts/check-local-headers.sh: Rewritten using awk.
34432 Match by word, not by line. Print error messages for matches.
34433 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34434
1b74661a
RM
34435 * Makerules [shlib-lds-flags empty]:
34436 ($(common-objpfx)libc_pic.opts): New target.
34437 ($(common-objpfx)libc_pic.os.clean): New target.
34438 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34439
34440 * config.make.in (OBJCOPY): New variable.
34441 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34442 * configure: Regenerated.
34443
f781ef40
RM
34444 * config.make.in (use-default-link): New variable.
34445 * configure.in (use_default_link): Grok --with-default-link to set it.
34446 * configure: Regenerated.
34447 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34448 (shlib-lds, shlib-lds-flags): Define to empty.
34449
2d4fa81e
RM
34450 * Makerules (shlib-lds): New variable.
34451 (shlib-lds-flags): New variable.
34452 (build-shlib, build-moduile, build-module-asneeded): Use it.
34453 ($(common-objpfx)libc.so): Use $(shlib-lds).
34454 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34455 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34456
31fffa6b
RM
34457 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34458 DT_FLAGS/DT_FLAGS_1 with zero flags.
34459
4e34ac6a
RM
34460 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34461 linker script munging.
34462
fcfc776b
UD
344632011-07-02 Ulrich Drepper <drepper@gmail.com>
34464
34465 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34466 as 128-bit value.
34467 * crypt/sha512.c (sha512_process_block): Perform total addition using
34468 128-bit if possible.
34469 (__sha512_finish_ctx): Likewise.
34470 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34471 as 64-bit value.
34472 * crypt/sha256.c (SWAP64): Define.
34473 (sha256_process_block): Perform total addition using 64-bit if
34474 possible.
34475 (__sha256_finish_ctx): Likewise.
34476
99231d9a
UD
344772011-07-01 Ulrich Drepper <drepper@gmail.com>
34478
34479 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34481 * nscd/hstcache.c (cache_addhst): Likewise.
34482 * nscd/grpcache.c (cache_addgr): Likewise.
34483 * nscd/aicache.c (addhstaiX): Likewise
34484 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34485
445b4a53
TK
344862011-07-01 Thorsten Kukuk <kukuk@suse.de>
34487
34488 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34490 * nscd/hstcache.c (cache_addhst): Likewise.
34491 * nscd/grpcache.c (cache_addgr): Likewise.
34492 * nscd/aicache.c (addhstaiX): Likewise
34493
6d4d8e8e
AS
344942011-07-01 Andreas Schwab <schwab@redhat.com>
34495
34496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34497 domain only when needed.
34498
89f654c5
AS
344992011-06-30 Andreas Schwab <schwab@redhat.com>
34500
34501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34502 is always restored.
34503
cf3b23ff
UD
345042011-06-29 Ulrich Drepper <drepper@gmail.com>
34505
34506 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34507 are re-adding the entry.
34508 * nscd/servicescache.c (cache_addserv): Likewise.
34509
751626f9
AJ
345102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34511
34512 * sysdeps/generic/dl-irel.h: fix protection against multiple
34513 inclusions.
34514 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34515
9113ea1f
UD
345162011-06-28 Ulrich Drepper <drepper@gmail.com>
34517
5c0b8d90
UD
34518 [BZ #12935]
34519 * malloc/memusage.sh: Fix quoting in message.
34520 * debug/xtrace.sh: Likewise.
34521
9113ea1f
UD
34522 * configure.in: Remove support for --experimental-malloc option, make
34523 it the default.
34524 * config.make.in: Likewise.
34525 * malloc/Makefile: Likewise.
34526
a4172181
AS
345272011-06-27 Andreas Schwab <schwab@redhat.com>
34528
34529 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34530 two-byte characters.
34531
78a7eee7
RM
345322011-06-27 Roland McGrath <roland@hack.frob.com>
34533
62bede13
RM
34534 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34535 AC_CACHE_CHECK invocation.
34536 * configure: Regenerated.
34537
78a7eee7
RM
34538 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34539
5ce33a62
UD
345402011-06-27 Ulrich Drepper <drepper@gmail.com>
34541
034807a9
UD
34542 [BZ #12350]
34543 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34544 bit from old_res_options.
34545
4902da17
UD
34546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34547
5ce33a62
UD
34548 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34549 value type for setfct.
34550
c2344f56
L
345512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34552
34553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34554 __gettimeofday instead of gettimeofday.
34555
68468076
UD
345562011-06-26 Ulrich Drepper <drepper@gmail.com>
34557
34558 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34559
acb0d739
L
345602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34561
34562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34563
34564 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34565 info.
34566
8912479f
L
345672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34568
34569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34570 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34571 strcpy-sse2-unaligned strncpy-sse2-unaligned
34572 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34573 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34574 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34575 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34576 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34579 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34580 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34581 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34582 (STRCPY): Support SSE2 and SSSE3 versions.
34583
d5495a11
UD
345842011-06-24 Ulrich Drepper <drepper@gmail.com>
34585
34586 [BZ #12874]
34587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34588 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34589 kernels which artificially limit size of requests.
34590
0b1cbaae
L
345912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34592
34593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34594 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34595 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34596 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34597 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34598 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34599 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34600 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34603 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34604 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34605 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34606 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34607 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34609 Enable unaligned load optimization for Intel Core i3, i5 and i7
34610 processors.
34611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34612 Define.
34613 (index_Fast_Unaligned_Load): Define.
34614 (HAS_FAST_UNALIGNED_LOAD): Define.
34615
07f494a0
MP
346162011-06-23 Marek Polacek <mpolacek@redhat.com>
34617
34618 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34619
fa3fc0fe
UD
346202011-06-22 Ulrich Drepper <drepper@gmail.com>
34621
34622 [BZ #12907]
34623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34624 until it is clear that the information is realy needed.
34625 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34626
e12df166
AS
346272011-06-22 Andreas Schwab <schwab@redhat.com>
34628
34629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34630
852eb34d
UD
346312011-06-22 Ulrich Drepper <drepper@gmail.com>
34632
84e2a551
UD
34633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34634 /sys/devices/system/cpu/online if it is usable.
34635
852eb34d
UD
34636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34637 reading the information from the /proc filesystem to once a second.
34638
6e502e19
UD
346392011-06-21 Andreas Jaeger <aj@suse.de>
34640
34641 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34642 NULL after inclusion of kernel headers.
34643
75d39ff2
UD
346442011-06-21 Ulrich Drepper <drepper@gmail.com>
34645
51f9aa6a
UD
34646 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34647 calls to internal_setent.
34648
c0244a9d
UD
34649 [BZ #12885]
34650 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34651 addresses using gethostbyname4_r ignore IPv4 addresses.
34652
c5e3c2ae
UD
34653 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34654 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34655
75d39ff2
UD
34656 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34657
42675c6f
DM
346582011-06-20 David S. Miller <davem@davemloft.net>
34659
34660 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34661 inclusions.
34662 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34663
34664 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34665 (elf_irel): Use it.
34666 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34667 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34668 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34669 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34670 * sysdeps/x86_64/dl-irel.h: Likewise.
34671
34672 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34673 * elf/dl-sym.c: Likewise.
34674
57912a71
UD
346752011-06-15 Ulrich Drepper <drepper@gmail.com>
34676
34677 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34678 need to dereference resplen2.
34679
ee22793d
AS
346802011-06-14 Andreas Schwab <schwab@redhat.com>
34681
34682 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34683
a9e836b0
UD
346842011-06-15 Ulrich Drepper <drepper@gmail.com>
34685
77fb9117
UD
34686 * Makeconfig: Define vardbdir and inst_vardbdir.
34687 * nss/Makefile: Add rules to install db-Makefile.
34688
40c1b22c
UD
34689 * nss/nss_db/db-XXX.c: Cleanup.
34690
9f2da732
UD
34691 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34692 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34693 GLIBC_PRIVATE.
34694 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34695 * nss/makedb.c: Implement -g option to specify that value strings
34696 are generated and should not be added to table iterated over for
34697 get*ent calls.
34698 * nss/nss_db/db-initgroups.c: New file.
34699
82e9a1f7
UD
34700 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34701 interface.
34702
c41af17e
UD
34703 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34704 (internal_getgrouplist): Adjust to name change.
34705 Update use_initgroups_entry if this is not the first call.
34706 * nss/databases.def: Add initgroups entry.
34707
a9e836b0
UD
34708 * nss/makedb.c (compute_tables): Check result of multiple hash table
34709 sizes to minimize maximum chain length.
34710
2666d441
UD
347112011-06-14 Ulrich Drepper <drepper@gmail.com>
34712
34713 * Versions.def: Add entry for libnss_db.
34714 * shlib-versions: Likewise.
34715 * nss/Makefile: Add rules to build libnss_db.
34716 * nss/Versions: Add libnss_db information. Organize libnss_files
34717 entries better.
34718 * nss/db-Makefile: Add gshadow support. Change rules for the new
34719 makedb progra. Some minor improvements to generate smaller files.
34720 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34721 here from...
34722 * nss/makedb.c: ...here.
34723 Improve database format to be smaller and require less memory at
34724 runtime.
34725 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34726 db anymore.
34727 * nss/nss_db/db-netgrp.c: Likewise.
34728 * nss/nss_db/db-open.c: Likewise.
34729 * nss/nss_files/flies-XXX.x: Adjust comments.
34730 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34731 * nss/nss_files/files-grp.c: Likewise.
34732 * nss/nss_files/files-hosts.c: Likewise.
34733 * nss/nss_files/files-network.c: Likewise.
34734 * nss/nss_files/files-proto.c: Likewise.
34735 * nss/nss_files/files-pwd.c: Likewise.
34736 * nss/nss_files/files-rpc.c: Likewise.
34737 * nss/nss_files/files-service.c: Likewise.
34738 * nss/nss_files/files-sgrp.c: Likewise.
34739 * nss/nss_files/files-spwd.c: Likewise.
34740 * nss/nss_db/db-alias.c: Removed.
34741 * nss/nss_db/dummy-db.h: Removed.
34742
9ee76b5a
UD
347432011-06-02 Ulrich Drepper <drepper@gmail.com>
34744
34745 * nss/makedb.c: Rewritten to not use database library.
34746 * nss/Makefile: Update to build new makedb program.
34747
c71ca1f8
AJ
347482011-06-14 Andreas Jaeger <aj@suse.de>
34749
34750 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34751 memset declaration.
34752
3154bfb8
UD
347532011-06-10 Andreas Schwab <schwab@redhat.com>
34754
34755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34756 tmpbuf.
34757
b350afab
RM
347582011-06-10 Roland McGrath <roland@hack.frob.com>
34759
decd4e50
RM
34760 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34761 * elf/Makefile ($(objpfx)ld.so): Likewise.
34762
5615eaf2
RM
34763 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34764 Don't list ld.so twice in dependencies.
34765
34766 * posix/bug-regex31.c: Include <stdlib.h>.
34767
34768 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34769
34770 * nis/nss_compat/compat-spwd.c
34771 (getspent_next_nss_netgr): Remove unused variable.
34772 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34773
34774 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34775 nonmembers" output to use the right array.
34776
34777 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34778
34779 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34780
34781 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34782 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34783 * catgets/gencat.c (read_input_file): Likewise.
34784 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34785
34786 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34787 variable definition inside #if's controlling its use.
34788
34789 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34790
34791 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34792
34793 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34794
34795 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34796 unreachable code.
34797
34798 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34799
b68e08db
RM
34800 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34801 * configure: Regenerated.
34802
b350afab
RM
34803 * Makerules: Revert last change.
34804 * elf/Makefile: Likewise.
34805
28368601
RM
348062011-06-09 Roland McGrath <roland@hack.frob.com>
34807
34808 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34809 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34810 (reloc-link): Likewise.
34811
11988f8f
UD
348122011-06-09 Ulrich Drepper <drepper@gmail.com>
34813
34814 * elf/Makefile: Add rules to build pldd.
34815 * elf/pldd.c: New file.
34816 * elf/pldd-xx.c: New file.
34817
e80fab37
UD
348182011-06-07 Ulrich Drepper <drepper@gmail.com>
34819
34820 * version.h: Update for 2.15 development version.
34821
9b849836
DM
348222011-06-07 David S. Miller <davem@davemloft.net>
34823
34824 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34825 ifuncs.
34826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34827 elf_machine_lazy_rel): Likewise.
34828 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34830 elf_machine_lazy_rel): Likewise.
34831 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34832 dl_hwcap via passed in argument.
34833 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34834 Likewise.
34835
5a31b283
AK
348362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34837
34838 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34839
069e52f8
RM
348402011-06-06 Roland McGrath <roland@hack.frob.com>
34841
34842 [BZ #12849]
34843 * manual/fdl-1.1.texi: New file, verbatim from:
34844 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34845 * manual/lgpl-2.1.texi: New file, verbatim from:
34846 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34847 * manual/Makefile (licenses): New variable, list those new file names.
34848 (texis): Use it.
34849 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34850
34851 * manual/fdl.texi: File removed.
34852 * manual/lesser.texi: File removed.
34853 * manual/libc.texinfo (Copying, Documentation License):
34854 Use new @include file names, put @appendix directive before @include.
34855
f16846a5
JJ
348562011-06-04 Jakub Jelinek <jakub@redhat.com>
34857
34858 [BZ #12841]
34859 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34860 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34861 (mq_open): Add __NTH.
34862
3d29045b
L
348632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34864
34865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34866 Assume Intel Core i3/i5/i7 processor if AVX is available.
34867
8c297311
UD
348682011-05-31 Ulrich Drepper <drepper@gmail.com>
34869
34870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34871 typo.
34872
c8fc0c91
UD
348732011-05-31 Andreas Schwab <schwab@redhat.com>
34874
34875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34876 memory. Use alloca_account. Fix memory leak when retrying.
34877
5b27a807
UD
348782011-05-31 Ulrich Drepper <drepper@gmail.com>
34879
356f8bc6
UD
34880 * version.h (RELEASE): Bump for 2.14 release.
34881 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34882
5b27a807
UD
34883 * config.make.in (RANLIB): Remove entry.
34884
01f16ab0
UD
348852011-05-30 Ulrich Drepper <drepper@gmail.com>
34886
41fce8bd
UD
34887 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34888 (libc.pot): Work around missing support for .ksh extension in xgettext.
34889
4769ae77
UD
34890 [BZ #12684]
34891 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34892 if both request failed.
34893 (send_dg): In case of server errors clear resplen or *resplen2.
34894
6b1e7d19
UD
34895 [BZ #12454]
34896 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34897 when there are multiple maps.
34898 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34899 (_dl_fini): Remove test here.
34900
01f16ab0
UD
34901 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34902
b1ebd700
UD
349032011-05-29 Ulrich Drepper <drepper@gmail.com>
34904
7ae22829
UD
34905 [BZ #12350]
34906 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34907 bit from old_res_options.
34908 (gaih_inet): Likewise.
34909
553149f6 34910 [BZ #11099]
18a84741 34911 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34912 as signed.
34913
652ffab1
UD
34914 * resolv/res_init.c (res_setoptions): Make the code more compact.
34915
16985fd0
UD
34916 [BZ #11558]
34917 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34918 set RES_USEVC.
34919
0464f746
UD
34920 [BZ #11634]
34921 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34922
7d17596c
UD
34923 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34924
cf6bbbd7
UD
34925 [BZ #11781]
34926 * malloc/malloc.h: Declare malloc hook variables as volatile.
34927
13f1ab36
UD
34928 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34929 in last patch.
34930
b1ebd700
UD
34931 [BZ #11799]
34932 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34933 raise in the comment.
80e2212d
UD
34934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34936 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34937
ce67228d
UD
349382011-05-28 Ulrich Drepper <drepper@gmail.com>
34939
8887a920
UD
34940 [BZ #12811]
34941 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34942 grow the buffers more if it already has to be sufficient.
34943 (build_wcs_upper_buffer): Likewise.
34944 * posix/regexec.c (check_matching): Likewise.
34945 (clean_state_log_if_needed): Likewise.
34946 (extend_buffers): Don't enlarge buffers beyond size of the input
34947 buffer.
34948 Patches mostly by Emil Wojak <emil@wojak.eu>.
34949 * posix/bug-regex32.c: New file.
34950 * posix/Makefile (tests): Add bug-regex32.
34951
4f031072
UD
34952 * locale/findlocale.c (_nl_find_locale): Return right away if
34953 _nl_explode_name failed.
34954 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34955
d0478f0c
UD
34956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34957
de81b246
UD
34958 * debug/xtrace.sh: Unify messages.
34959 * malloc/memusage.sh: Likewise.
34960
c738465a
UD
34961 [BZ #12813]
34962 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34963 time symbol from vDSO. Substitute with vsyscall if not available.
34964 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34965 __vdso_time.
34966
f1f929d7
UD
34967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34968 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34969 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34970 Add sendmmsg and internal_sendmmsg.
34971 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34972 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34973 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34974
ce67228d
UD
34975 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34976 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34978
e57420c6
UD
349792011-05-27 Ulrich Drepper <drepper@gmail.com>
34980
a8509ca5
UD
34981 [BZ #12813]
34982 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34983 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34984 available.
34985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34986 __vdso_getcpu.
34987
e57420c6
UD
34988 [BZ #12814]
34989 * iconvdata/Makefile (tests): Add bug-iconv9.
34990 * iconvdata/bug-iconv9.c: New file.
34991
4d07db15
AS
349922011-05-27 Andreas Schwab <schwab@redhat.com>
34993
34994 [BZ #12814]
34995 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34996
ea486f69
JJ
349972011-05-25 Jakub Jelinek <jakub@redhat.com>
34998
34999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35000 (struct user_regs_struct): Change intcs field back to cs.
35001
6f038433
UD
350022011-05-25 Ulrich Drepper <drepper@gmail.com>
35003
35004 * po/ja.po: Update from translation team.
35005
67f86a25
UD
350062011-05-23 Ulrich Drepper <drepper@gmail.com>
35007
35008 [BZ #12795]
35009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35010 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35011
def7fbd6
AS
350122011-05-20 Andreas Schwab <schwab@redhat.com>
35013
35014 * stdlib/longlong.h: Update from GCC.
35015
f50ef8f1
AS
350162011-05-23 Andreas Schwab <schwab@redhat.com>
35017
35018 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35019 parameter name.
35020 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35021 Add parameter name.
35022 (__sysconf): Pass it down.
35023
de7ce8f1
UD
350242011-05-22 Ulrich Drepper <drepper@gmail.com>
35025
f2962a71
UD
35026 [BZ #12671]
35027 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35028 some situations.
35029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35030 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35031 add in in __libc_use_alloca calls. Adjust callers.
35032 (glob): Use malloc in some situations.
35033
de7ce8f1
UD
35034 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35035 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35036 pltexit.
35037
aec84f53
UD
350382011-05-21 Ulrich Drepper <drepper@gmail.com>
35039
05bb4a68
UD
35040 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35041 and CLOCK_BOOTTIME_ALARM.
35042
7ea72f99
UD
35043 [BZ #12782]
35044 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35045 is returned.
35046
7e4afad5
UD
35047 * string/_strerror.c (__strerror_r): Print negative errors as signed
35048 numbers.
35049
8e211fec
UD
35050 [BZ #12777]
35051 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35052 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35053 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35054
f7d82dc9
UD
35055 * configure.in: Fix typo in redirection and correct removal of test
35056 files in two cases.
35057
cc9e536d
UD
35058 [BZ #12788]
35059 * locale/setlocale.c (new_composite_name): Fix test to check for
35060 identical name of all categories.
35061
aec84f53
UD
35062 [BZ #12792]
35063 * libio/filedoalloc.c (local_isatty): New function.
35064 (_IO_file_doallocate): Use local_isatty.
35065 * stdio-common/perror.c (perror): In case a new stream is used
35066 forward the stream error.
35067 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35068 error flag.
35069
78e64fdc
RT
350702011-05-20 Ulrich Drepper <drepper@gmail.com>
35071
34a9094f
UD
35072 [BZ #11869]
35073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35074 alloca.
35075 * include/alloca.h (extend_alloca_account): Define.
35076
78e64fdc
RT
35077 [BZ #11857]
35078 * posix/regex.h: Fix comments with documentation of user-accessible
35079 fields after compilation and describe correct free'ing of pattern
35080 after re_compile_pattern.
35081 Patch by Reuben Thomas <rrt@sc3d.org>.
35082
457bddfc
RA
350832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35084
35085 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35086 and -mno-altivec to prevent the compiler from using Altivec and/or
35087 VSX instructions when the corresponding registers are not available.
35088
a4527b51
AS
350892011-05-19 Andreas Schwab <schwab@redhat.com>
35090
35091 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35092
ed690b2f
UD
350932011-05-19 Ulrich Drepper <drepper@gmail.com>
35094
35095 * libio/freopen.c (freopen): Use __dup2, not dup2.
35096 * libio/freopen64.c (freopen64): Likewise.
35097
8db73634
L
350982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35099
35100 [BZ #12775]
35101 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35102 * math/Makefile (tests): Add test-powl.
35103 (CFLAGS-test-powl.c): Define.
35104 * math/test-powl.c: New file.
35105
0a197a9d
L
351062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35107
35108 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35109
ee30c380
UD
351102011-05-17 Ulrich Drepper <drepper@gmail.com>
35111
35112 [BZ #11837]
35113 * iconvdata/gb18030.c: Update to GB18020-2005.
35114
6ce75379
UD
351152011-05-16 Ulrich Drepper <drepper@gmail.com>
35116
a4b89fd8
AR
35117 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35118 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35119 Patch by Aharon Robbins <arnold@skeeve.com>.
35120
ea389b12
UD
35121 [BZ #11892]
35122 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35123 on the stack.
35124
68a3f91f
UD
35125 [BZ #11895]
35126 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35127 through underflows.
35128
15cc7dd1
UD
35129 [BZ #12766]
35130 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35131 point to strings before performing equality test for error_one_per_line
35132 mode.
35133
f3799213
UD
35134 [BZ #11697]
35135 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35136
d79a9c94
UD
35137 [BZ #11820]
35138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35139 (struct user_fpregs_struct): Avoid __uint*_t types.
35140
56e5eb46
UD
35141 [BZ #6420]
35142 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35143 symbol info. Use it instead of calling _dl_addr locally.
35144 (lock_and_info): New function.
35145 (tr_freehook): Call lock_and_info and pass symbol info as additional
35146 parameter to tr_where.
35147 (tr_mallochook): Likewise.
35148 (tr_reallochook): Likewise.
35149 (tr_memalignhook): Likewise.
35150
6ce75379
UD
35151 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35152 used and couldn't be at all thread-safe.
35153
f8a3b5bf
UD
351542011-05-15 Ulrich Drepper <drepper@gmail.com>
35155
94b7cc37
UD
35156 * libio/freopen.c (freopen): Don't close old file descriptor
35157 before the new one is opened. Instead dup the new file descriptor
35158 to the old one after the new stream is created.
35159 * libio/freopen64.c (freopen64): Likewise.
35160 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35161 * libio/fileops.c (_IO_new_file_close_it): Handle new
35162 _IO_FLAGS2_NOCLOSE flag.
35163 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35164 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35165 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35166 _IO_FLAGS2_NOCLOSE flag.
35167 * include/unistd.h: Add hidden_proto for dup3.
35168 Define __have_dup3.
35169 * io/dup3.c: Define hidden symbol.
35170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35171
bd25564e
UD
35172 [BZ #7101]
35173 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35174 when an incomplete long option is used.
35175 * posix/tst-getopt_long1.c: New file.
35176 * posix/Makefile (tests): Add tst-getopt_long1.
35177
c84cfef4
UD
35178 [BZ #10138]
35179 * scripts/config.guess: Update from autoconf-2.68.
35180 * scripts/config.sub: Likewise.
35181
3b85df27
UD
35182 [BZ #10157]
35183 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35184 tests into ...
35185 (has_cpuclock): ...this. New function.
35186 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35187 macro here based on has_cpuclock code.
35188
15a856b1
UD
35189 [BZ #10149]
35190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35191 First byte (not low byte) is now always NUL.
35192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35193
05f399e6
UD
35194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35195 Use non-cancelable interfaces.
35196
10a52685 35197 [BZ #9809]
94ecc67d
UD
35198 * locale/iso-639.def: Add entry for Sorani.
35199
f8a3b5bf
UD
35200 [BZ #11901]
35201 * include/stdlib.h: Move include protection to the right place.
35202 Define abort_msg_s. Declare __abort_msg with it.
35203 * stdlib/abort.c (__abort_msg): Adjust type.
35204 * assert/assert.c (__assert_fail_base): New function. Majority
35205 of code from __assert_fail. Allocate memory for __abort_msg with
35206 mmap.
35207 (__assert_fail): Now call __assert_fail_base.
35208 * assert/assert-perr.c: Remove bulk of implementation. Use
35209 __assert_fail_base.
35210 * include/assert.hL Declare __assert_fail_base.
35211 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35212 mmap.
35213 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35214
1af4e298
UD
352152011-05-14 Ulrich Drepper <drepper@gmail.com>
35216
f8a3b5bf 35217 [BZ #11952]
d26dfc60
MG
35218 [BZ #12453]
35219 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35220 until all modules are registered in the DTV.
35221 * elf/Makefile: Add rules to build and run tst-tls19.
35222 * elf/tst-tls19.c: New file.
35223 * elf/tst-tls19mod1.c: New file.
35224 * elf/tst-tls19mod2.c: New file.
35225 * elf/tst-tls19mod3.c: New file.
35226 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35227
2fc54d6f
UD
35228 [BZ #12083]
35229 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35230 correctly.
35231
98d76b46
UD
35232 [BZ #12601]
35233 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35234 two-byte sequence errors.
35235 * iconvdata/Makefile (tests): Add bug-iconv8.
35236 * iconvdata/bug-iconv8.c: New file.
35237
da3c19ef
UD
35238 [BZ #12626]
35239 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35240 buf2 definition.
35241
ca408c15
UD
35242 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35243
d6f67f7d
UD
35244 [BZ #12432]
35245 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35246 (dummy_getcfa): New function.
35247 (init): Get _Unwind_GetCFA address, use dummy if not found.
35248 (backtrace_helper): In recursion check, also check whether CFA changes.
35249 (__backtrace): Completely initialize arg.
35250
1af4e298 35251 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35252 storing incomplete byte sequence in state object. Avoid testing for
35253 guaranteed too small input if we know there is enough data available.
1af4e298 35254
da62f81b
AS
352552011-05-11 Andreas Schwab <schwab@redhat.com>
35256
35257 * Makeconfig (+link-pie): Indent.
35258 * Rules (binaries-pie): Define if $(have-fpie) and
35259 $(build-shared).
35260 (binaries-shared): Also filter out $(binaries-pie).
35261 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35262 * nscd/Makefile (others-pie): Add nscd.
35263 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35264 ($(objpfx)nscd): Remove command override.
35265 * login/Makefile (others-pie): Add pt_chown.
35266 ($(objpfx)pt_chown): Remove command override.
35267 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35268 remove command overrides.
35269
fcabc0f8
UD
352702011-05-13 Ulrich Drepper <drepper@gmail.com>
35271
20030ae6
UD
35272 * libio/tst_putwc.c: Fix error messages.
35273
fcabc0f8
UD
35274 [BZ #12724]
35275 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35276 currently writing and seek to current position when not.
35277 * libio/Makefile (tests): Add bug-fclose1.
35278 * libio/bug-fclose1.c: New file.
35279
320a5dc0
PB
352802011-05-12 Ulrich Drepper <drepper@gmail.com>
35281
35282 [BZ #12511]
35283 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35284 don't set DF_1_NODELETE here.
35285 (do_lookup_x): When entering new entry test for copy relocation
35286 and if necessary set DF_1_NODELETE flag.
35287 * elf/tst-unique4.cc: New file.
35288 * elf/tst-unique4.h: New file.
35289 * elf/tst-unique4lib.cc: New file.
35290 * elf/Makefile: Add rules to build and run tst-unique4.
35291 Patch by Piotr Bury <pbury@goahead.com>.
35292
22836f52
UD
352932011-05-11 Ulrich Drepper <drepper@gmail.com>
35294
f574184a
UD
35295 [BZ #12052]
35296 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35297
e1fb097f
UD
35298 [BZ #12625]
35299 * misc/mntent_r.c (addmntent): Flush the stream after the output
35300
22836f52
UD
35301 [BZ #12393]
35302 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35303 (is_trusted_path_normalize): Skip initial colon. Append slash
35304 to empty buffer. Duplicate is_trusted_path code but allow
35305 constructed patch to be prefix.
35306 (is_dst): Allow $ORIGIN followed by /.
35307 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35308 Correct testing of result of is_trusted_path_normalize
35309 (decompose_rpath): Fix warning.
35310
7b3b0b2a
UD
353112011-05-10 Ulrich Drepper <drepper@gmail.com>
35312
35313 [BZ #11257]
35314 * grp/initgroups.c (internal_getgrouplist): When we found the service
35315 list through the initgroups entry in nsswitch.conf do not always
35316 continue on a successful lookup. Don't always use the
eac80ce2 35317 __nss_group_database value if it is set.
7b3b0b2a
UD
35318 * nss/nsswitch.conf (initgroups): Change action for successful db
35319 lookup to continue for compatibility.
35320
2a81eaa5
UD
353212011-05-09 Ulrich Drepper <drepper@gmail.com>
35322
be97a69e
UD
35323 [BZ #11532]
35324 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35325 and CP774 modules.
35326 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35327 and CP774 modules.
35328 * iconvdata/tst-tables.sh: Likewise.
35329 * iconvdata/cp770.c: New file.
35330 * iconvdata/cp771.c: New file.
35331 * iconvdata/cp772.c: New file.
35332 * iconvdata/cp773.c: New file.
35333 * iconvdata/cp774.c: New file.
35334 * iconvdata/testdata/CP770: New file.
35335 * iconvdata/testdata/CP770..UTF8: New file.
35336 * iconvdata/testdata/CP771: New file.
35337 * iconvdata/testdata/CP771..UTF8: New file.
35338 * iconvdata/testdata/CP772: New file.
35339 * iconvdata/testdata/CP772..UTF8: New file.
35340 * iconvdata/testdata/CP773: New file.
35341 * iconvdata/testdata/CP773..UTF8: New file.
35342 * iconvdata/testdata/CP774: New file.
35343 * iconvdata/testdata/CP774..UTF8: New file.
35344
35345 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35346 END CHARMAP line.
35347 * iconvdata/gen-8bit-gap.sh: Likewise.
35348 * iconvdata/gen-8bit.sh: Likewise.
35349
c1e9e399
UD
35350 * locale/iso-639.def: Add ary entry.
35351
24c55fb3 35352 [BZ #11258]
96b4b1b0
UD
35353 * locale/C-translit.h.in: Add U20A1 transliteration.
35354
bdc2f971
KB
35355 [BZ #12178]
35356 * locale/iso-639.def: Add wae entry.
35357 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35358
2952b117
UD
35359 [BZ #12545]
35360 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35361 for n.
35362
2a81eaa5
UD
35363 [BZ #12711]
35364 * locale/C-translit.h.in: Add entry for U20B9.
35365 Patch by pravin.d.s@gmail.com.
35366
28377d1b
UD
353672011-05-08 Ulrich Drepper <drepper@gmail.com>
35368
7fb90fb8
UD
35369 [BZ #12713]
35370 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35371 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35372 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35373 in rtld. Use *stat64.
7fb90fb8 35374 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35375 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35376 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35377 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35378 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35379 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35380 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35381 __fstatat64 macros.
7fb90fb8
UD
35382 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35383 * dirent/rewinddir.c: Add libc_hidden_def.
35384 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35385 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35386
28377d1b
UD
35387 * include/dirent.h (__alloc_dir): Add flags parameter.
35388 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35389 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35390 __alloc_dir.
35391 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35392 from fdopendir if O_CLOEXEC is already set.
35393
66bdbaa4
AM
353942011-03-15 Alan Modra <amodra@gmail.com>
35395
35396 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35397 l_tls_firstbyte_offset non-zero. Save padding offset in
35398 l_tls_firstbyte_offset for later use.
35399 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35400 freeing static tls block.
35401
95721191
JN
354022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35403
35404 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35405 where #ifdef was intended. The intent is to prevent ARG_MAX from
35406 being defined by the kernel headers.
35407
f87dfb1f
UD
354082011-05-07 Ulrich Drepper <drepper@gmail.com>
35409
35410 [BZ #12734]
35411 * resolv/resolv.h: Define RES_NOTLDQUERY.
35412 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35413 no-tld-query and set RES_NOTLDQUERY.
35414 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35415 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35416 modern BIND to search name as TLD unless forbidden.
35417
47c3cd7a
UD
354182011-05-07 Petr Baudis <pasky@suse.cz>
35419 Ulrich Drepper <drepper@gmail.com>
35420
35421 [BZ #12393]
35422 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35423 (is_trusted_path): ...to here.
c1e9ea35 35424 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35425 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35426 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35427
8a35c912
PP
354282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35429
35430 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35431 __BEGIN/__END_DECLS.
35432
acd41f47
UD
354332011-05-06 Ulrich Drepper <drepper@gmail.com>
35434
35435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35436 NSS_STATUS_NOTFOUND if no record was found.
35437
597df647
AS
354382011-05-05 Andreas Schwab <schwab@redhat.com>
35439
35440 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35441 (headers-not-in-tirpc): Remove rpc/netdb.h
35442 * resolv/netdb.h: Revert last change.
35443
b9af1301
PP
354442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35445
35446 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35447 circular dependency between libgcc.a and libc.a.
35448
4e34d5f5
AS
354492011-05-05 Andreas Schwab <schwab@redhat.com>
35450
35451 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35452 * nis/Makefile: Don't install rpcsvc/*.
35453 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35454 instead of <rpc/types.h>.
35455 (MAXHOSTNAMELEN): Define.
35456
00ee369c
AS
354572011-05-03 Andreas Schwab <schwab@redhat.com>
35458
35459 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35460
0b592a30
MB
354612011-04-28 Maciej Babinski <mbabinski@google.com>
35462
35463 [BZ #12714]
35464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35465 gethostbyname4_r when IPv6 results are possible.
35466
6e04cbbe
UD
354672011-05-02 Ulrich Drepper <drepper@gmail.com>
35468
35469 [BZ #12723]
35470 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35471 _PC_PIPE_BUF handling.
35472
e4ecafe0
BH
354732011-04-30 Bruno Haible <bruno@clisp.org>
35474
35475 [BZ #12717]
35476 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35477 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35478 to 'int'.
35479 * inet/getnameinfo.c (getnameinfo): Likewise.
35480
125ee683
UD
354812011-04-29 Ulrich Drepper <drepper@gmail.com>
35482
35483 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35484 to groups setting in database lookup.
35485 * nss/nsswitch.conf: Add initgroups entry.
35486
b722481a
EB
354872011-04-22 Ulrich Drepper <drepper@gmail.com>
35488
35489 [BZ #12685]
35490 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35491 mode string.
35492 Patch by Eric Blake <eblake@redhat.com>.
35493
4df46dbd
L
354942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35495
35496 * sunrpc/Makefile (need-export-routines): Add svc_run.
35497 (routines): Remove svc_run.
35498 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35499 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35500 * sunrpc/svc_run.c (svc_run): Likewise.
35501 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35502
e84142d2
UD
355032011-04-21 Ulrich Drepper <drepper@gmail.com>
35504
35505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35506 problem in reallocation in last patch.
35507
877175d8
UD
355082011-04-20 Ulrich Drepper <drepper@gmail.com>
35509
35510 * sunrpc/Makefile: Move inclusion of Rules.
35511
ab8eed78
UD
355122011-04-19 Ulrich Drepper <drepper@gmail.com>
35513
35514 * nss/nss_files/files-initgroups.c: New file.
35515 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35516 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35517 _nss_files_initgroups_dyn.
35518
e3d8f584
RS
355192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35520
35521 * elf/elf.h (R_ARM_IRELATIVE): Define.
35522
af190f45
UD
355232011-04-19 Ulrich Drepper <drepper@gmail.com>
35524
35525 * po/ru.po: Update from translation team.
35526
53cf59ef
UD
355272011-04-17 Ulrich Drepper <drepper@gmail.com>
35528
35529 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35530 dependencies.
35531
4c559bcd
MF
355322011-02-06 Mike Frysinger <vapier@gentoo.org>
35533
35534 [BZ #12653]
35535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35536 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35538 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35540
4420675c
AS
355412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35542
35543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35544 differing bytes.
35545 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35548
75ea32ab
UD
355492011-04-17 Ulrich Drepper <drepper@gmail.com>
35550
35551 [BZ #12420]
35552 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35553 storing it.
35554 * stdlib/bug-getcontext.c: New file.
35555 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35556
27390476
AK
355572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35558
35559 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35560 instructions into .machine "z9-109".
35561 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35562 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35563
10442705
AK
355642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35565
35566 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35567 between environment variables and auxiliary vector.
35568
7b57bfe5
UD
355692011-04-16 Ulrich Drepper <drepper@gmail.com>
35570
35571 * Makefile: Add rules to build linkobj/libc.so.
35572 * include/libc-symbols.h: Define libc_hidden_nolink.
35573 * include/rpc/auth.h: Mark functions which are to be hidden.
35574 * include/rpc/auth_des.h: Likewise.
35575 * include/rpc/auth_unix.h: Likewise.
35576 * include/rpc/clnt.h: Likewise.
35577 * include/rpc/des_crypt.h: Likewise.
35578 * include/rpc/key_prot.h: Likewise.
35579 * include/rpc/pmap_clnt.h: Likewise.
35580 * include/rpc/pmap_prot.h: Likewise.
35581 * include/rpc/pmap_rmt.h: Likewise.
35582 * include/rpc/rpc_msg.h: Likewise.
35583 * include/rpc/svc.h: Likewise.
35584 * include/rpc/svc_auth.h: Likewise.
35585 * include/rpc/xdr.h: Likewise.
35586 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35587 * nss/Makefile: Likewise.
35588 * sunrpc/Makefile: Don't install headers. Build library with normal
35589 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35590 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35591 for the compat linking library. Remove use of INTDEF/INTUSE.
35592 * sunrpc/auth_none.c: Likewise.
35593 * sunrpc/auth_unix.c: Likewise.
35594 * sunrpc/authdes_prot.c: Likewise.
35595 * sunrpc/authuxprot.c: Likewise.
35596 * sunrpc/clnt_gen.c: Likewise.
35597 * sunrpc/clnt_perr.c: Likewise.
35598 * sunrpc/clnt_raw.c: Likewise.
35599 * sunrpc/clnt_simp.c: Likewise.
35600 * sunrpc/clnt_tcp.c: Likewise.
35601 * sunrpc/clnt_udp.c: Likewise.
35602 * sunrpc/clnt_unix.c: Likewise.
35603 * sunrpc/des_crypt.c: Likewise.
35604 * sunrpc/des_soft.c: Likewise.
35605 * sunrpc/get_myaddr.c: Likewise.
35606 * sunrpc/key_call.c: Likewise.
35607 * sunrpc/key_prot.c: Likewise.
35608 * sunrpc/netname.c: Likewise.
35609 * sunrpc/pm_getmaps.c: Likewise.
35610 * sunrpc/pm_getport.c: Likewise.
35611 * sunrpc/pmap_clnt.c: Likewise.
35612 * sunrpc/pmap_prot.c: Likewise.
35613 * sunrpc/pmap_prot2.c: Likewise.
35614 * sunrpc/pmap_rmt.c: Likewise.
35615 * sunrpc/publickey.c: Likewise.
35616 * sunrpc/rpc_cmsg.c: Likewise.
35617 * sunrpc/rpc_common.c: Likewise.
35618 * sunrpc/rpc_dtable.c: Likewise.
35619 * sunrpc/rpc_prot.c: Likewise.
35620 * sunrpc/rpc_thread.c: Likewise.
35621 * sunrpc/rtime.c: Likewise.
35622 * sunrpc/svc.c: Likewise.
35623 * sunrpc/svc_auth.c: Likewise.
35624 * sunrpc/svc_authux.c: Likewise.
35625 * sunrpc/svc_raw.c: Likewise.
35626 * sunrpc/svc_run.c: Likewise.
35627 * sunrpc/svc_simple.c: Likewise.
35628 * sunrpc/svc_tcp.c: Likewise.
35629 * sunrpc/svc_udp.c: Likewise.
35630 * sunrpc/svc_unix.c: Likewise.
35631 * sunrpc/svcauth_des.c: Likewise.
35632 * sunrpc/xcrypt.c: Likewise.
35633 * sunrpc/xdr.c: Likewise.
35634 * sunrpc/xdr_array.c: Likewise.
35635 * sunrpc/xdr_float.c: Likewise.
35636 * sunrpc/xdr_intXX_t.c: Likewise.
35637 * sunrpc/xdr_mem.c: Likewise.
35638 * sunrpc/xdr_rec.c: Likewise.
35639 * sunrpc/xdr_ref.c: Likewise.
35640 * sunrpc/xdr_sizeof.c: Likewise.
35641 * sunrpc/xdr_stdio.c: Likewise.
35642
e6c61494
UD
356432011-04-10 Ulrich Drepper <drepper@gmail.com>
35644
35645 [BZ #12650]
35646 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35647 * sysdeps/ia64/dl-tls.h: Likewise.
35648 * sysdeps/powerpc/dl-tls.h: Likewise.
35649 * sysdeps/s390/dl-tls.h: Likewise.
35650 * sysdeps/sh/dl-tls.h: Likewise.
35651 * sysdeps/sparc/dl-tls.h: Likewise.
35652 * sysdeps/x86_64/dl-tls.h: Likewise.
35653 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35654
34fe483e
AS
356552011-03-14 Andreas Schwab <schwab@redhat.com>
35656
35657 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35658 rpath element also skip the following colon.
35659 (expand_dynamic_string_token): Add is_path parameter and pass
35660 down to DL_DST_REQUIRED and _dl_dst_substitute.
35661 (decompose_rpath): Call expand_dynamic_string_token with
35662 non-zero is_path. Ignore empty rpaths.
35663 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35664 with zero is_path.
35665
f12a32e6
AS
356662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35667
35668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35669 Make cancelable.
35670
38a7d692
UD
356712011-04-09 Ulrich Drepper <drepper@gmail.com>
35672
35673 [BZ #12655]
35674 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35675 Patch by Filipe David Manana <fdmanana@apache.org>.
35676
e451d22b
AS
356772011-04-07 Andreas Schwab <schwab@redhat.com>
35678
35679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35680 Maintain aligned stack.
35681 (CHECK_RSP): Remove unused macro.
35682
dedc7c7b
UD
356832011-04-03 Ulrich Drepper <drepper@gmail.com>
35684
35685 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35686 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35687
94521213
UD
356882011-04-02 Ulrich Drepper <drepper@gmail.com>
35689
35690 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35691
8cb700c0 35692 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 35693
0354e355
L
356942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35695
35696 [BZ #12518]
35697 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35698 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35699 * sysdeps/x86_64/memmove.c: New file.
35700 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35701 (memcpy): Renamed to ...
35702 (__new_memcpy): This.
35703 (memcpy): Provide GLIBC_2_14 memcpy.
35704 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35705 (memcpy): Provide GLIBC_2_2_5 memcpy.
35706
8593482f
UD
357072011-04-01 Ulrich Drepper <drepper@gmail.com>
35708
35709 [BZ #12631]
35710 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35711
81a5726b
AS
357122011-03-30 Andreas Schwab <schwab@redhat.com>
35713
35714 * misc/syncfs.c: New file.
35715 * misc/Makefile (routines): Add syncfs.
35716 * posix/unistd.h: Declare syncfs.
35717 * sysdeps/unix/syscalls.list: Add syncfs.
35718
00e5419f
AS
357192011-04-01 Andreas Schwab <schwab@redhat.com>
35720
35721 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35722 open_by_handle_at.
35723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35728 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35730
748876bf
UD
357312011-04-01 Ulrich Drepper <drepper@gmail.com>
35732
658e451d
UD
35733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35734 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35740
748876bf
UD
35741 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35742 sync_file_range.c with -fexceptions.
35743 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35744 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35745 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35746 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35747 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35748 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35750 sync_file_range as cancellation point
35751 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35752 now a wrapper around __call_sync_file_range with cancellation handling.
35753 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35754 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35755 function name to __call_sync_file_range.
35756 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35757 Add call_sync_file_range.
748876bf 35758
6e63d5e1
AS
357592011-04-01 Andreas Schwab <schwab@redhat.com>
35760
35761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35762 bits/timex.h.
6e63d5e1 35763
46998f74
UD
357642011-04-01 Ulrich Drepper <drepper@gmail.com>
35765
4c1423ed
UD
35766 * iconv/iconv.h: Fix typo in comment.
35767 * io/fcntl.h: Likewise.
35768 * libio/stdio.h: Likewise.
35769 * posix/spawn.h: Likewise.
35770 * posix/unistd.h: Likewise.
35771 * stdlib/stdlib.h: Likewise.
35772 * time/time.h: Likewise.
35773 * wcsmbs/wchar.h: Likewise.
35774
158648c0
UD
35775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35776 open_by_handle): Add.
35777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35778 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35779 Augment a few comments.
35780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35785 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35786 open_by_handle.
35787
46998f74
UD
35788 * io/fcntl.h (AT_EMPTY_PATH): Define.
35789
83fe108b
UD
357902011-03-30 Ulrich Drepper <drepper@gmail.com>
35791
35792 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35793 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35794 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35795 to...
35796 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35797 * Versions.def: Add GLIBC_2.14.
35798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35799 Export.
83fe108b 35800
bb242059
UD
358012011-03-22 Ulrich Drepper <drepper@gmail.com>
35802
35803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35804 round counter.
35805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35806
c97a1282
L
358072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35808
35809 [BZ #12597]
35810 * string/test-strncmp.c (do_page_test): New function.
35811 (check2): Likewise.
35812 (test_main): Call check2.
35813 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35814
2a115601
UD
358152011-03-20 Ulrich Drepper <drepper@gmail.com>
35816
35817 [BZ #12587]
35818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35819 Handle cache information in CPU leaf 4.
35820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35821
8126d904
UD
358222011-03-18 Ulrich Drepper <drepper@gmail.com>
35823
042c49c6 35824 [BZ #12583]
8126d904
UD
35825 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35826 character representation.
35827 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35828
ccfe366e
RA
358292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35830
35831 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35832 END(__isnan) to END(__isnanf) to match function entry point/label
35833 EALIGN(__isnanf,...).
35834
c6e13027
JJ
358352011-03-10 Jakub Jelinek <jakub@redhat.com>
35836
35837 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35838
33f85a3f
UD
358392011-03-10 Ulrich Drepper <drepper@gmail.com>
35840
028478fa
UD
35841 [BZ #12510]
35842 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35843 copy from the symbol referenced in the relocation to initialize the
35844 used variable.
35845 Patch by Piotr Bury <pbury@goahead.com>.
35846 * elf/Makefile: Add rules to build and tst-unique3.
35847 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35848 * elf/tst-unique3.cc: New file.
35849 * elf/tst-unique3.h: New file.
35850 * elf/tst-unique3lib.cc: New file.
35851 * elf/tst-unique3lib2.cc: New file.
35852
33f85a3f
UD
35853 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35854
03592fc7
MF
358552011-03-10 Mike Frysinger <vapier@gentoo.org>
35856
35857 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35858 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35859 to _start.
03592fc7 35860
6a5ee102
UD
358612011-03-06 Ulrich Drepper <drepper@gmail.com>
35862
35863 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35864 to-be-loaded object along a path to loader is ld.so.
35865
7e4ba49c
HJ
358662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35867 Ulrich Drepper <drepper@gmail.com>
35868
35869 * sysdeps/x86_64/memset.S: After aligning destination, code
35870 branches to different locations depending on the value of
35871 misalignment, when multiarch is enabled. Fix this.
35872
358732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35874
35875 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35876 Set _x86_64_preferred_memory_instruction for AMD processsors.
35877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35878 Set bit_Prefer_SSE_for_memop for AMD processors.
35879
13a804de
UD
358802011-03-04 Ulrich Drepper <drepper@gmail.com>
35881
35882 * libio/fmemopen.c (fmemopen): Optimize a bit.
35883
9d25c392
AS
358842011-03-03 Andreas Schwab <schwab@redhat.com>
35885
35886 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35887
a5543c6a
RM
358882011-03-03 Roland McGrath <roland@redhat.com>
35889
35890 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35891
012d35f7
DM
358922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35893
7e4ba49c 35894 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35895 __bzero_ultra1 instead of __memset_ultra1.
35896
4bff6e01
AS
358972011-02-23 Andreas Schwab <schwab@redhat.com>
35898 Ulrich Drepper <drepper@gmail.com>
35899
35900 [BZ #12509]
35901 * include/link.h (struct link_map): Add l_orig_initfini.
35902 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35903 returning unsuccessfully.
35904 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35905 close of a file loaded at startup, restore the original l_initfini
35906 list.
35907 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35908 list, store the pointer.
35909 * elf/Makefile ($(objpfx)noload-mem): New rule.
35910 (noload-ENV): Define.
35911 (tests): Add $(objpfx)noload-mem.
35912 * elf/noload.c: Include <memcheck.h>.
35913 (main): Call mtrace. Close all opened handles.
35914
f2092faf
AS
359152011-02-17 Andreas Schwab <schwab@redhat.com>
35916
35917 [BZ #12454]
35918 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35919 dependencies are missing.
35920
6c8a2e88
ST
359212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35922
f2092faf 35923 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35924 Hurd needs munmap.
35925 * sysdeps/mach/hurd/ifreq.h: New file.
35926
84a42118
PB
359272011-01-27 Petr Baudis <pasky@suse.cz>
35928 Ulrich Drepper <drepper@gmail.com>
35929
071f805e 35930 [BZ 12445]#
84a42118
PB
35931 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35932 to extend_alloca().
35933 * stdio-common/bug23.c: New file.
35934 * stdio-common/Makefile (tests): Add bug23.
35935
e23fe25b
AS
359362010-09-28 Andreas Schwab <schwab@redhat.com>
35937 Ulrich Drepper <drepper@gmail.com>
35938
35939 [BZ #12489]
35940 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35941 before performing relro protection. At old place add assertion
35942 to make sure nothing changed.
35943
d3f02e10
NS
359442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35945 Glauber de Oliveira Costa <glommer@gmail.com>
35946
35947 * elf/elf.h: Add new ARM TLS relocs.
35948
d55fd7a5
RA
359492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35950
35951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35952 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35953 cast from r3.
35954 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35955 'tests' variable.
35956 * sysdeps/wordsize-64/tst-writev.c: New file.
35957
2206397e
RA
359582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35959
35960 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35961 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35962 insns in _dl_start to prevent a TOC reference before relocs are
35963 resolved.
35964
e9433893
UD
359652011-02-15 Ulrich Drepper <drepper@gmail.com>
35966
35967 [BZ #12469]
35968 * Makeconfig: Remove RANLIB definition.
35969 * Makerules: Don't use RANLIB.
35970 * aclocal.m4: Remove ranlib test.
35971 * configure.in: No need to check for ranlib.
35972 * elf/rtld-Rules: Don't use RANLIB.
35973
f75286c6
ST
359742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35975
8e31c82d
ST
35976 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35977 protection macro.
35978 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35979 inclusion protection macro.
35980
f75286c6
ST
35981 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35982 SIGRTMIN and SIGRTMAX and print information in that case only when
35983 SIGRTMIN is defined.
35984
c1d0e639
JJ
359852011-02-11 Jakub Jelinek <jakub@redhat.com>
35986
35987 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35988 arginfo fn returning -1.
35989
35990 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35991 and thousands string is zero terminated.
35992
edf9294e
AS
359932011-02-03 Andreas Schwab <schwab@redhat.com>
35994
35995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35996 sysdeps/unix/sysv/linux/bits/socket.h.
35997
2b7e92df
ST
359982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35999
edf9294e
AS
36000 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36001 (__CPU_COUNT): Remove old macros.
36002 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36003 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36004 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36005 (__sched_cpualloc, __sched_cpufree): Add declarations.
36006
a4c7ea7b
UD
360072011-02-05 Ulrich Drepper <drepper@gmail.com>
36008
36009 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36010 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36011 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36012 (readdhstai): Return value of addhstaiX call.
36013 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36014 (addgrbyX): Return value returned by cache_addgr.
36015 (readdgrbyname): Return value returned by addgrbyX.
36016 (readdgrbygid): Likewise.
36017 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36018 (addpwbyX): Return value returned by cache_addpw.
36019 (readdpwbyname): Return value returned by addhstbyX.
36020 (readdpwbyuid): Likewise.
36021 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36022 (addservbyX): Return value returned by cache_addserv.
36023 (readdservbyname): Return value returned by addservbyX:
36024 (readdservbyport): Likewise.
36025 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36026 (addhstbyX): Return value returned by cache_addhst.
36027 (readdhstbyname): Return value returned by addhstbyX.
36028 (readdhstbyaddr): Likewise.
36029 (readdhstbynamev6): Likewise.
36030 (readdhstbyaddrv6): Likewise.
36031 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36032 (readdinitgroups): Return value returned by addinitgroupsX.
36033 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36034 (prune_cache): Keep track of timeout value of re-added entries.
36035 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36036 * nscd/nscd.h: Adjust prototypes of readd* functions.
36037
a0bf67cc
RM
360382011-02-04 Roland McGrath <roland@redhat.com>
36039
36040 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36041 (nis_stats): Likewise.
36042 * nis/nis_modify.c (nis_modify): Likewise.
36043 * nis/nis_remove.c (nis_remove): Likewise.
36044 * nis/nis_add.c (nis_add): Likewise.
36045
36046 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36047
36048 * posix/fnmatch_loop.c: Add some consts.
36049
36050 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36051
435b95eb
L
360522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36053
36054 [BZ #12460]
36055 * config.make.in (config-cflags-novzeroupper): Define.
36056 * configure.in: Substitute libc_cv_cc_novzeroupper.
36057 * elf/Makefile (AVX-CFLAGS): Define.
36058 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36059 (CFLAGS-tst-auditmod4a.c): Likewise.
36060 (CFLAGS-tst-auditmod4b.c): Likewise.
36061 (CFLAGS-tst-auditmod6b.c): Likewise.
36062 (CFLAGS-tst-auditmod6c.c): Likewise.
36063 (CFLAGS-tst-auditmod7b.c): Likewise.
36064 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36065
8517b15e
UD
360662011-02-02 Ulrich Drepper <drepper@gmail.com>
36067
36068 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36069 function to the callback.
36070 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36071
10a656fe
AS
360722011-02-02 Andreas Schwab <schwab@redhat.com>
36073
36074 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36075 of errno.
36076
968dad0a
UD
360772011-01-19 Ulrich Drepper <drepper@gmail.com>
36078
9f94d2ea 36079 [BZ #11724]
968dad0a
UD
36080 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36081 of constructors.
36082 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36083 of destructors.
36084 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36085
36086 [BZ #11724]
36087 * elf/Makefile: Add rules to build and run new test.
36088 * elf/tst-initorder.c: New file.
36089 * elf/tst-initorder.exp: New file.
36090 * elf/tst-initordera1.c: New file.
36091 * elf/tst-initordera2.c: New file.
36092 * elf/tst-initordera3.c: New file.
36093 * elf/tst-initordera4.c: New file.
36094 * elf/tst-initorderb1.c: New file.
36095 * elf/tst-initorderb2.c: New file.
36096 * elf/tst-order-a1.c: New file.
36097 * elf/tst-order-a2.c: New file.
36098 * elf/tst-order-a3.c: New file.
36099 * elf/tst-order-a4.c: New file.
36100 * elf/tst-order-b1.c: New file.
36101 * elf/tst-order-b2.c: New file.
36102 * elf/tst-order-main.c: New file.
36103 New test case by George Gensure <werkt0@gmail.com>.
36104
86e92359
UD
361052010-10-01 Andreas Schwab <schwab@redhat.com>
36106
36107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36108 decoding ACE if AI_CANONIDN.
36109
5d5732b0
UD
361102011-01-18 Ulrich Drepper <drepper@gmail.com>
36111
36112 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36113
a77e8cbc
UD
361142011-01-17 Ulrich Drepper <drepper@gmail.com>
36115
6392473f
UD
36116 * version.h (RELEASE): Bump for 2.13 release.
36117 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36118
620a0529
UD
36119 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36120
18ba70a5
UD
36121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36122 MADV_NOHUGEPAGE.
32465c3e
UD
36123 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36129
c0dafcf1
UD
36130 * posix/getconf.c: Update copyright year.
36131 * catgets/gencat.c: Likewise.
36132 * csu/version.c: Likewise.
36133 * debug/catchsegv.sh: Likewise.
36134 * debug/xtrace.sh: Likewise.
36135 * elf/ldconfig.c: Likewise.
36136 * elf/ldd.bash.in: Likewise.
36137 * elf/sprof.c (print_version): Likewise.
36138 * iconv/iconv_prog.c: Likewise.
36139 * iconv/iconvconfig.c: Likewise.
36140 * locale/programs/locale.c: Likewise.
36141 * locale/programs/localedef.c: Likewise.
36142 * malloc/memusage.sh: Likewise.
36143 * malloc/mtrace.pl: Likewise.
36144 * nscd/nscd.c (print_version): Likewise.
36145 * nss/getent.c: Likewise.
36146
a77e8cbc
UD
36147 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36148 PF_CAIF, and PF_ALG.
36149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36150
77e8bddf
AS
361512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36152
1f20b93a
AS
36153 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36154 (modules-names): Use them.
36155 (ifunc-test-modules, ifunc-pie-tests): Define.
36156 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36157 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36158 (test-extras): Likewise.
36159 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36160 $(compile-command.c).
36161 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36162 (all-built-dso): Define.
36163 (check-textrel.out, check-execstack.out): Depend on it.
36164
77e8bddf
AS
36165 * configure.in: Don't override --enable-multi-arch.
36166
bc425b33
UD
361672011-01-15 Ulrich Drepper <drepper@gmail.com>
36168
36169 [BZ #6812]
36170 * nscd/hstcache.c (tryagain): Define.
36171 (cache_addhst): Return tryagain not notfound for temporary errors.
36172 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36173 failed.
36174
794c3ad3
UD
361752011-01-14 Ulrich Drepper <drepper@gmail.com>
36176
70181fdd
UD
36177 [BZ #10563]
36178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36179 to make the syscall.
36180 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36181
794c3ad3
UD
36182 [BZ #12378]
36183 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36184 and fall back to matching as normal character if the string ends before
36185 the matching ']' is found. This is what POSIX requires.
36186 * posix/testfnm.c: Adjust test result.
36187 * posix/globtest.sh: Adjust test result. Add new test.
36188 * posix/tst-fnmatch.input: Likewise.
36189 * posix/tst-fnmatch2.c: Add new test.
36190
68dc9497
AS
361912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36192
36193 * elf/Makefile (check-execstack): Revert last change. Depend on
36194 check-execstack.h.
36195 (check-execstack.h): New target.
36196 (generated): Add check-execstack.h.
36197 * elf/check-execstack.c: Include "check-execstack.h".
36198 (main): Revert last change.
36199 (handle_file): Return zero if GNU_STACK is absent and
36200 DEFAULT_STACK_PERMS doesn't include PF_X.
36201
451f001b
UD
362022011-01-13 Ulrich Drepper <drepper@gmail.com>
36203
cfa28e56
UD
36204 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36205 in child fails because the descriptor is already closed.
8cf8ce17
UD
36206 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36207 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36208 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36209
1086d70d
UD
36210 [BZ #12397]
36211 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36212 syscall.
36213
451f001b
UD
36214 [BZ #10484]
36215 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36216 temporary buffer used to handle multi lookups locally.
a85b5cb4 36217 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36218
08769175
UD
362192011-01-12 Ulrich Drepper <drepper@gmail.com>
36220
36221 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36222 loader is ld.so.
36223
5e49c52e
UD
362242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36225
36226 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36227 alignment for SSE2.
36228
60522a5f
UD
362292011-01-12 Ulrich Drepper <drepper@gmail.com>
36230
36231 [BZ #12394]
36232 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36233 characters. When rounding increased number of integer digits recompute
36234 number of groups.
36235 * stdio-common/tst-grouping.c: New file.
36236 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36237
f257bbd7
UD
362382011-01-09 Ulrich Drepper <drepper@gmail.com>
36239
36240 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36241 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36242
36243 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36244 void.
36245 * bits/select.h: Likewise.
36246
fa9c15cb
UD
362472011-01-08 Ulrich Drepper <drepper@gmail.com>
36248
36249 * po/ja.po: Update from translation team.
36250
16c2895f
DM
362512011-01-04 David S. Miller <davem@sunset.davemloft.net>
36252
36253 [BZ #11155]
36254 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36255 implementation just like for lxstat, fxstatat, et al.
36256
2543fef2
JM
362572010-12-27 Jim Meyering <meyering@redhat.com>
36258
36259 [BZ #12348]
36260 * posix/regexec.c (build_trtable): Return failure indication upon
36261 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36262
98727dbe
UD
362632010-12-25 Ulrich Drepper <drepper@gmail.com>
36264
5bd6dc5c
UD
36265 [BZ #12201]
36266 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36267 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36269 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36270
97983464
UD
36271 [BZ #12207]
36272 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36273
98727dbe
UD
36274 [BZ #12204]
36275 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36276 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36277
4a531bb0
L
362782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36279
36280 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36281 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36282 script has SORT_BY_INIT_PRIORITY.
36283 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36284 NO_CTORS_DTORS_SECTIONS is defined.
36285 * elf/soinit.c: Likewise.
36286 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36287 NO_CTORS_DTORS_SECTIONS is defined.
36288 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36289 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36290 * sysdeps/sh/init-first.c: Likewise.
36291 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36292
07eb4b71
UD
362932010-12-24 Ulrich Drepper <drepper@gmail.com>
36294
36295 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36296 always use the slow path.
36297
30950a5f
RA
362982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36299
36300 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36301 similar rule which adds the sysdep directories to the header search in
36302 order to pick up the correct platform stackinfo.h.
36303 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36304 perform test if it is, otherwise return successfully without testing.
36305 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36306 DEFAULT_STACK_PERMS define in stackinfo.h.
36307 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36308 defined in stackinfo.h.
36309 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36310 DEFAULT_STACK_PERMS defined in stackinfo.h.
36311 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36312 * sysdeps/ia64/stackinfo.h: Likewise.
36313 * sysdeps/s390/stackinfo.h: Likewise.
36314 * sysdeps/sh/stackinfo.h: Likewise.
36315 * sysdeps/sparc/stackinfo.h: Likewise.
36316 * sysdeps/x86_64/stackinfo.h: Likewise.
36317 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36318 PF_X for powerpc64. Retain PF_X for powerpc32.
36319
db753e2c
UD
363202010-12-19 Ulrich Drepper <drepper@gmail.com>
36321
14b697f7
UD
36322 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36323 accurately.
db753e2c
UD
36324 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36325 GETDENTS_64BIT_ALIGNED.
36326
28300719
UD
363272010-12-14 Ulrich Drepper <dreper@gmail.com>
36328
14b697f7 36329 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36330
4f197237
AS
363312010-12-10 Andreas Schwab <schwab@redhat.com>
36332
dbb0472f
AS
36333 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36334 _GNU_SOURCE.
36335
4f197237
AS
36336 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36337 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36338 Remove __restrict.
36339 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36340 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36341
fb88ac72
UD
363422010-12-09 Ulrich Drepper <drepper@gmail.com>
36343
36344 [BZ #11655]
36345 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36346 are initialized.
36347
42acbb92
JJ
363482010-12-09 Jakub Jelinek <jakub@redhat.com>
36349
36350 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36351
c038d98d
UD
363522010-12-03 Ulrich Drepper <drepper@gmail.com>
36353
36354 * po/it.po: Update from translation team.
36355
3a4a2499
L
363562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36357
36358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36359 unused codes.
36360
1e24cf6e
UD
363612010-11-30 Ulrich Drepper <drepper@gmail.com>
36362
36363 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36364
a7690819
AS
363652010-11-24 Andreas Schwab <schwab@redhat.com>
36366
36367 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36368 specially.
36369 (gaih_getanswer_slice): Likewise.
36370
3bf8d1b1
JJ
363712010-10-20 Jakub Jelinek <jakub@redhat.com>
36372
36373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36374
6db52fbb
PB
363752010-05-31 Petr Baudis <pasky@suse.cz>
36376
36377 [BZ #11149]
36378 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36379 silently even in the chroot mode.
36380
eaca7569
UD
363812010-11-22 Ulrich Drepper <drepper@gmail.com>
36382
36383 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36384 last patch a bit. Pretty printing
36385
3056dcdb
UD
363862010-05-31 Petr Baudis <pasky@suse.cz>
36387
36388 [BZ #10085]
36389 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36390 initialization of skip_initgroups_dyn.
36391
cf7c9078
UD
363922010-11-19 Ulrich Drepper <drepper@gmail.com>
36393
36394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36396
a1fb5e3e
UD
363972010-11-16 Ulrich Drepper <drepper@gmail.com>
36398
36399 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36400
3540d66b
AS
364012010-11-11 Andreas Schwab <schwab@redhat.com>
36402
36403 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36404 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36405 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36406 ($(objpfx)tst-fnmatch-mem): New rule.
36407 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36408 * posix/tst-fnmatch.c (main): Call mtrace.
36409
13b69574
L
364102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36411
36412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36413 Support Intel processor model 6 and model 0x2c.
36414
da93d214
LM
364152010-11-10 Luis Machado <luisgpm@br.ibm.com>
36416
36417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36418 signed comparison.
36419
8ca52c6e
L
364202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36421
36422 [BZ #12205]
36423 * string/test-strncasecmp.c (check_result): New function.
36424 (do_one_test): Use it.
36425 (check1): New function.
36426 (test_main): Use it.
36427 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36428 Support strcasecmp and strncasecmp.
36429
69da074d
UD
364302010-11-08 Ulrich Drepper <drepper@gmail.com>
36431
36432 [BZ #12194]
36433 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36435
ff02d528
L
364362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36437
36438 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36439 IFUNC support.
36440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36441 memset-x86-64.
36442 * sysdeps/x86_64/multiarch/bzero.S: New file.
36443 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36444 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36445 * sysdeps/x86_64/multiarch/memset.S: New file.
36446 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36448 Set bit_Prefer_SSE_for_memop for Intel processors.
36449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36450 Define.
36451 (index_Prefer_SSE_for_memop): Define.
36452 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36453
344d0b54
LM
364542010-11-04 Luis Machado <luisgpm@br.ibm.com>
36455
36456 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36458
c0dde15b
UD
364592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36460
36461 [BZ #12191]
36462 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36463 (__x86_64_raw_data_cache_size_half): Likewise.
36464 (__x86_64_raw_shared_cache_size): Likewise.
36465 (__x86_64_raw_shared_cache_size_half): Likewise.
36466
36467 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36468 (__x86_64_raw_data_cache_size_half): Likewise.
36469 (__x86_64_raw_shared_cache_size): Likewise.
36470 (__x86_64_raw_shared_cache_size_half): Likewise.
36471 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36472 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36473 and __x86_64_raw_shared_cache_size_half. Round
36474 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36475 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36476 to multiple of 256 bytes.
36477
0e516e0e
MS
364782010-11-03 Ulrich Drepper <drepper@gmail.com>
36479
36480 [BZ #12167]
36481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36482 of inacessible symlinks. Verify result of symlink before returning it.
36483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36484 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36485
0e012e87
ER
364862010-10-28 Erich Ritz <erichritz@gmail.com>
36487
36488 * math/math.h (isinf): Fix typo in comment.
36489
de0ff7bc
UD
364902010-11-01 Ulrich Drepper <drepper@gmail.com>
36491
36492 * po/da.po: Update from translation team.
36493
fa41c84d
UD
364942010-10-26 Ulrich Drepper <drepper@gmail.com>
36495
36496 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36497 is added to the list.
36498
f0967738
AK
364992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36500 Ulrich Drepper <drepper@gmail.com>
36501
36502 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36503 the global list here. Move code to...
36504 (_dl_add_to_namespace_list): ...here. New function.
36505 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36506 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36507 * elf/dl-load.c (lose): Don't remove the element from the list.
36508 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36509 (_dl_map_object): Likewise.
36510
365112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36512
36513 [BZ #12159]
36514 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36515 into all bytes of SSE register.
36516 Patch by Richard Li <richardpku@gmail.com>.
36517
f0967738 365182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36519
36520 [BZ #12140]
36521 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36522 perturbing.
36523
d0b9e94f
MB
365242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36525
36526 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36527 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36528 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36529 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36531 submachine.
36532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36533
8e9f92e9
AS
365342010-10-22 Andreas Schwab <schwab@redhat.com>
36535
36536 * include/dlfcn.h (__RTLD_SECURE): Define.
36537 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36538 mode & __RTLD_SECURE instead.
36539 (open_path): Rename preloaded parameter to secure.
36540 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36541 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36542 * elf/dl-deps.c (openaux): Likewise.
36543 * elf/rtld.c (struct map_args): Remove is_preloaded.
36544 (map_doit): Don't use it.
36545 (dl_main): Likewise.
36546 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36547 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36548
bc96fbda
AS
365492010-09-09 Andreas Schwab <schwab@redhat.com>
36550
36551 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36552 (sysd-rules-targets): Remove duplicates.
36553 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36554 rtld-%.$o dependency.
36555
22cd1c9b
AS
365562010-10-18 Andreas Schwab <schwab@redhat.com>
36557
36558 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36559 _dl_map_object do it.
36560
18edac48
UD
365612010-10-19 Ulrich Drepper <drepper@gmail.com>
36562
36563 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36564 fast fma builtins, define the macros in the C99 standard.
36565 (FP_FAST_FMAF): Likewise.
36566 (FP_FAST_FMAL): Likewise.
36567 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36568
36569 * bits/mathdef.h: Update copyright year.
36570 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36571
d2050124
MM
365722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36573
36574 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36575 builtins, define the macros in the C99 standard.
36576 (FP_FAST_FMAF): Likewise.
36577 (FP_FAST_FMAL): Likewise.
36578 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36579 multiply/add.
36580 (FP_FAST_FMAF): Likewise.
36581
475facd1
JJ
365822010-10-15 Jakub Jelinek <jakub@redhat.com>
36583
36584 [BZ #3268]
36585 * math/libm-test.inc (fma_test): Some new testcases.
36586 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36588 y and infinite z. Do multiplication by C already in long double.
36589 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36591 y and infinite z. Do bitwise or of inexact bit into u.d.
36592 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36593 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36594 * sysdeps/i386/fpu/s_fma.S: Removed.
36595 * sysdeps/i386/fpu/s_fmal.S: Removed.
36596
7c08a05c
JJ
365972010-10-16 Jakub Jelinek <jakub@redhat.com>
36598
36599 [BZ #3268]
36600 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36602 computation is not scheduled after fetestexcept. Fix value
36603 of minimum denormal long double.
36604
f3f7372d
JJ
366052010-10-14 Jakub Jelinek <jakub@redhat.com>
36606
36607 [BZ #3268]
36608 * math/libm-test.inc (fma_test): Add some more tests.
36609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36610 correctly.
36611
14d43591
AS
366122010-10-15 Andreas Schwab <schwab@redhat.com>
36613
36614 * scripts/data/localplt-s390-linux-gnu.data: New file.
36615 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36616
5e908464
JJ
366172010-10-13 Jakub Jelinek <jakub@redhat.com>
36618
36619 [BZ #3268]
36620 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36621 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36622 instead of dbl-64.
36623 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36624 inlines.
36625 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36627 if one of x and y is very large and the other is subnormal.
36628 * sysdeps/s390/fpu/s_fmaf.c: New file.
36629 * sysdeps/s390/fpu/s_fma.c: New file.
36630 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36631 * sysdeps/powerpc/fpu/s_fma.S: New file.
36632 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36633 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36634 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36635
366362010-10-12 Jakub Jelinek <jakub@redhat.com>
36637
36638 [BZ #3268]
36639 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36640 fma tests.
36641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36642 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36643 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36644 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36645 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36646 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36647 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36648
b833d51f
UD
366492010-10-12 Ulrich Drepper <drepper@redhat.com>
36650
36651 [BZ #12078]
36652 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36653 * posix/bug-regex31.input: Add test case.
36654
1751705d
UD
366552010-10-11 Ulrich Drepper <drepper@gmail.com>
36656
e9b9cbf5
UD
36657 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36658 * posix/bug-regex31.input: New file.
36659
36660 [BZ #12078]
36661 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36662 (parse_sub_exp): Fix last change, use postorder.
36663
ef06edbe
UD
36664 * posix/bug-regex31.c: New file.
36665 * posix/Makefile: Add rules to build and run bug-regex31.
36666
a129c80d
UD
36667 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36668
36669 [BZ #12078]
36670 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36671
b76b818e
UD
36672 [BZ #12108]
36673 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36674 to have entries in sys_siglist.
36675
1751705d
UD
36676 [BZ #12093]
36677 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36678 be NULL.
36679
9ff8d36f
JJ
366802010-10-07 Jakub Jelinek <jakub@redhat.com>
36681
36682 [BZ #3268]
36683 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36684 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36685 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36686 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36688 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36689 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36690 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36691 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36692 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36693 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36694 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36695 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36696 * math/ftestexcept.c (fetestexcept): Likewise.
36697 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36698 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36699 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36700 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36701 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36702 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36704
af325969
UD
367052010-10-11 Ulrich Drepper <drepper@gmail.com>
36706
c579b202 36707 [BZ #12107]
af325969
UD
36708 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36709 newline.
36710
67a67b95
UD
367112010-10-06 Ulrich Drepper <drepper@gmail.com>
36712
36713 * string/bug-strstr1.c: New file.
36714 * string/Makefile: Add rules to build and run bug-strstr1.
36715
5fb308bc
EB
367162010-10-05 Eric Blake <eblake@redhat.com>
36717
36718 [BZ #12092]
36719 * string/str-two-way.h (two_way_long_needle): Always clear memory
36720 when skipping input due to the shift table.
36721
45db99c7
UD
367222010-10-03 Ulrich Drepper <drepper@gmail.com>
36723
3b111893
UD
36724 [BZ #12005]
36725 * malloc/mcheck.c: Handle large requests.
36726
45db99c7
UD
36727 [BZ #12077]
36728 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36729 for strncmp and strncasecmp.
36730 * string/stratcliff.c: Add tests for strcmp and strncmp.
36731 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36732
cf7a1eb8
NI
367332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36734
36735 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36736 __set_fpscr.
36737
6484ba5e
AJ
367382010-09-30 Andreas Jaeger <aj@suse.de>
36739
36740 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36741 (CGROUP_SUPER_MAGIC): Define.
36742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36743 Handle btrfs and cgroup file systems.
36744 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36745 Likewise.
36746
91c42559
LM
367472010-09-27 Luis Machado <luisgpm@br.ibm.com>
36748
36749 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36750 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36751
87a97932
AK
367522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36753
36754 [BZ #12067]
36755 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36756 trying to locate the ELF header.
36757
c21cc9bc
AS
367582010-09-27 Andreas Schwab <schwab@redhat.com>
36759
36760 [BZ #11611]
36761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36762 Mask out sign-bit copies when constructing f_fsid.
36763
315970f6
PB
367642010-09-24 Petr Baudis <pasky@suse.cz>
36765
36766 * debug/stack_chk_fail_local.c: Add missing licence exception.
36767 * debug/warning-nop.c: Likewise.
36768
1ac7a2c7
JM
367692010-09-15 Joseph Myers <joseph@codesourcery.com>
36770
36771 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36772 implementing getdents64 using getdents syscall, set d_type if
36773 __ASSUME_GETDENTS32_D_TYPE.
36774
56801c50
AS
367752010-09-16 Andreas Schwab <schwab@redhat.com>
36776
36777 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36778 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36779
dda51327
UD
367802010-09-21 Ulrich Drepper <drepper@redhat.com>
36781
36782 [BZ #12037]
36783 * posix/unistd.h: Undo change of feature selection for ftruncate from
36784 2010-01-11.
36785
8ffcee4a
UD
367862010-09-20 Ulrich Drepper <drepper@redhat.com>
36787
a545ecd9 36788 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36789 detection.
36790
e24f0a8b
AS
367912010-09-20 Andreas Schwab <schwab@redhat.com>
36792
36793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36794 fanotify_mark.
36795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36796
7291c56f
AS
367972010-09-14 Andreas Schwab <schwab@redhat.com>
36798
36799 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36800 variables after CHECK_SP call.
36801 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36802
bc5fb037
AS
368032010-09-13 Andreas Schwab <schwab@redhat.com>
36804 Ulrich Drepper <drepper@redhat.com>
36805
36806 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36807 re-relocationg ld.so.
36808 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36809 _dl_init_paths call.
36810 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36811 here anymore.
36812
e66e7419
UD
368132010-09-14 Ulrich Drepper <drepper@redhat.com>
36814
36815 * resolv/res_init.c (__res_vinit): Count the default server we added.
36816
c044aa75
CLT
368172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36818 Ulrich Drepper <drepper@redhat.com>
36819
36820 [BZ #11968]
36821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36822 (____longjmp_chk): Use %ebx for saving value across system call.
36823 Add unwind info.
36824
32cf4069
AS
368252010-09-06 Andreas Schwab <schwab@redhat.com>
36826
36827 * manual/Makefile: Don't mix pattern rules with normal rules.
36828
817328ee
AS
368292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36830
36831 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36832 operation.
36833 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36834 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36835 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36836 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36838 Likewise.
36839
29fddf61
UD
368402010-09-04 Ulrich Drepper <drepper@redhat.com>
36841
36842 [BZ #11979]
36843 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36844 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36845
0959ffc9
UD
368462010-09-02 Ulrich Drepper <drepper@redhat.com>
36847
36848 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36849 * sysdeps/x86_64/addmul_1.S: Likewise.
36850 * sysdeps/x86_64/lshift.S: Likewise.
36851 * sysdeps/x86_64/mul_1.S: Likewise.
36852 * sysdeps/x86_64/rshift.S: Likewise.
36853 * sysdeps/x86_64/sub_n.S: Likewise.
36854 * sysdeps/x86_64/submul_1.S: Likewise.
36855
ece29840
ST
368562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36857
0959ffc9
UD
36858 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36859 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36860 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36861 * bits/sched.h [__need_schedparam]
ece29840 36862 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36863 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36864 (__defined_schedparam): Define to 1.
ece29840
ST
36865 (__sched_param): New structure, identical to sched_param.
36866 (__need_schedparam): Undefine.
36867
e53a31fe
MF
368682010-08-31 Mike Frysinger <vapier@gentoo.org>
36869
fdc0c10d
MF
36870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36871 (epoll_create1): Declare.
36872
e53a31fe
MF
36873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36874
a726d796
AS
368752010-08-31 Andreas Schwab <schwab@redhat.com>
36876
36877 [BZ #7066]
36878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36879 shifting retval into place.
36880
2f3e3dc7
UD
368812010-09-01 Ulrich Drepper <drepper@redhat.com>
36882
f2933da9
UD
36883 * nis/rpcsvc/nis.h: Update copyright notice.
36884 * nis/rpcsvc/nis.x: Likewise.
36885 * nis/rpcsvc/nis_callback.h: Likewise.
36886 * nis/rpcsvc/nis_callback.x: Likewise.
36887 * nis/rpcsvc/nis_object.x: Likewise.
36888 * nis/rpcsvc/nis_tags.h: Likewise.
36889 * nis/rpcsvc/yp.h: Likewise.
36890 * nis/rpcsvc/yp.x: Likewise.
36891 * nis/rpcsvc/ypupd.h: Likewise.
36892 * nis/yp_xdr.c: Likewise.
36893 * nis/ypupdate_xdr.c: Likewise.
36894
2f3e3dc7
UD
36895 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36896 mainly the body of pmap_getport. Add parameters to specify timeouts.
36897 (pmap_getport): Use __libc_rpc_getport.
36898 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36899 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36900 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36901
f3dcc2f9
AS
369022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36903
36904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36905 fanotify_mark.
36906
6d34eb5b
RM
369072010-08-27 Roland McGrath <roland@redhat.com>
36908
36909 * sysdeps/i386/i686/multiarch/Makefile
36910 (CFLAGS-varshift.c): New variable.
36911
9ea3de11
UD
369122010-08-27 Ulrich Drepper <drepper@redhat.com>
36913
c96d23fc
UD
36914 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36915 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36916
9ea3de11
UD
36917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36918
36919 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36920
623aac7f
L
369212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36922
36923 * sysdeps/x86_64/strlen.S: Unroll the loop.
36924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36925 strlen-sse2 strlen-sse2-bsf.
36926 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36927 __strlen_no_bsf if bit_Slow_BSF is set.
36928 (__strlen_sse42): Removed.
36929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36930 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36931
8b2b7715
RM
369322010-08-25 Roland McGrath <roland@redhat.com>
36933
36934 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36935 * sysdeps/x86_64/multiarch/varshift.c: New file.
36936 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36937 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36938 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36939 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36940
e73015f2
L
369412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36942
36943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36944 strlen-sse2 strlen-sse2-bsf.
36945 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36946 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36947 (__strlen_sse2): Removed.
36948 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36951 bit_Slow_BSF for Atom.
36952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36953 (index_Slow_BSF): Define.
36954 (HAS_SLOW_BSF): Define.
36955
df24a73e
UD
369562010-08-25 Ulrich Drepper <drepper@redhat.com>
36957
36958 [BZ #10851]
36959 * resolv/res_init.c (__res_vinit): When no server address at all
36960 is given default to loopback.
36961
f2ac4868
RM
369622010-08-24 Roland McGrath <roland@redhat.com>
36963
09055553
RM
36964 * configure.in: Remove config-name.h generation.
36965 * configure: Regenerated.
36966 * config-name.in: File removed.
36967 * scripts/config-uname.sh: New file.
36968 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36969 ($(objdir)config-name.h): New target.
36970
f2ac4868
RM
36971 * sunrpc/rpc_parse.h: Avoid nested comment.
36972
73f27d5e
RH
369732010-08-24 Richard Henderson <rth@redhat.com>
36974 Ulrich Drepper <drepper@redhat.com>
36975 H.J. Lu <hongjiu.lu@intel.com>
36976
36977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36979 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36980 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36981 _mm_alignr_epi8 with _mm_loadu_si128.
36982 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36983 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36984 (__m128i_shift_right): Removed.
36985 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36986 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36987 * sysdeps/x86_64/multiarch/varshift.h: New file.
36988 * sysdeps/x86_64/multiarch/varshift.S: New file.
36989
84b9230c
MF
369902010-08-21 Mike Frysinger <vapier@gentoo.org>
36991
36992 * configure.in: Move assembler checks to before sysdep dir checking.
36993
9bbd0ddc
PB
369942010-08-20 Petr Baudis <pasky@suse.cz>
36995
36996 * LICENSES: Sync the sunrpc license.
36997
9da4bb31
UD
369982010-08-19 Ulrich Drepper <drepper@redhat.com>
36999
a7ab6ec8
UD
37000 * sunrpc/auth_des.c: Update copyright notice once again.
37001 * sunrpc/auth_none.c: Likewise.
37002 * sunrpc/auth_unix.c: Likewise.
37003 * sunrpc/authdes_prot.c: Likewise.
37004 * sunrpc/authuxprot.c: Likewise.
37005 * sunrpc/bindrsvprt.c: Likewise.
37006 * sunrpc/clnt_gen.c: Likewise.
37007 * sunrpc/clnt_perr.c: Likewise.
37008 * sunrpc/clnt_raw.c: Likewise.
37009 * sunrpc/clnt_simp.c: Likewise.
37010 * sunrpc/clnt_tcp.c: Likewise.
37011 * sunrpc/clnt_udp.c: Likewise.
37012 * sunrpc/clnt_unix.c: Likewise.
37013 * sunrpc/des_crypt.c: Likewise.
37014 * sunrpc/des_soft.c: Likewise.
37015 * sunrpc/get_myaddr.c: Likewise.
37016 * sunrpc/getrpcport.c: Likewise.
37017 * sunrpc/key_call.c: Likewise.
37018 * sunrpc/key_prot.c: Likewise.
37019 * sunrpc/openchild.c: Likewise.
37020 * sunrpc/pm_getmaps.c: Likewise.
37021 * sunrpc/pm_getport.c: Likewise.
37022 * sunrpc/pmap_clnt.c: Likewise.
37023 * sunrpc/pmap_prot.c: Likewise.
37024 * sunrpc/pmap_prot2.c: Likewise.
37025 * sunrpc/pmap_rmt.c: Likewise.
37026 * sunrpc/rpc/auth.h: Likewise.
37027 * sunrpc/rpc/auth_unix.h: Likewise.
37028 * sunrpc/rpc/clnt.h: Likewise.
37029 * sunrpc/rpc/des_crypt.h: Likewise.
37030 * sunrpc/rpc/key_prot.h: Likewise.
37031 * sunrpc/rpc/netdb.h: Likewise.
37032 * sunrpc/rpc/pmap_clnt.h: Likewise.
37033 * sunrpc/rpc/pmap_prot.h: Likewise.
37034 * sunrpc/rpc/pmap_rmt.h: Likewise.
37035 * sunrpc/rpc/rpc.h: Likewise.
37036 * sunrpc/rpc/rpc_des.h: Likewise.
37037 * sunrpc/rpc/rpc_msg.h: Likewise.
37038 * sunrpc/rpc/svc.h: Likewise.
37039 * sunrpc/rpc/svc_auth.h: Likewise.
37040 * sunrpc/rpc/types.h: Likewise.
37041 * sunrpc/rpc/xdr.h: Likewise.
37042 * sunrpc/rpc_clntout.c: Likewise.
37043 * sunrpc/rpc_cmsg.c: Likewise.
37044 * sunrpc/rpc_common.c: Likewise.
37045 * sunrpc/rpc_cout.c: Likewise.
37046 * sunrpc/rpc_dtable.c: Likewise.
37047 * sunrpc/rpc_hout.c: Likewise.
37048 * sunrpc/rpc_main.c: Likewise.
37049 * sunrpc/rpc_parse.c: Likewise.
37050 * sunrpc/rpc_parse.h: Likewise.
37051 * sunrpc/rpc_prot.c: Likewise.
37052 * sunrpc/rpc_sample.c: Likewise.
37053 * sunrpc/rpc_scan.c: Likewise.
37054 * sunrpc/rpc_scan.h: Likewise.
37055 * sunrpc/rpc_svcout.c: Likewise.
37056 * sunrpc/rpc_tblout.c: Likewise.
37057 * sunrpc/rpc_util.c: Likewise.
37058 * sunrpc/rpc_util.h: Likewise.
37059 * sunrpc/rpcinfo.c: Likewise.
37060 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37061 * sunrpc/rpcsvc/key_prot.x: Likewise.
37062 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37063 * sunrpc/rpcsvc/mount.x: Likewise.
37064 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37065 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37066 * sunrpc/rpcsvc/rex.x: Likewise.
37067 * sunrpc/rpcsvc/rstat.x: Likewise.
37068 * sunrpc/rpcsvc/rusers.x: Likewise.
37069 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37070 * sunrpc/rpcsvc/spray.x: Likewise.
37071 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37072 * sunrpc/rtime.c: Likewise.
37073 * sunrpc/svc.c: Likewise.
37074 * sunrpc/svc_auth.c: Likewise.
37075 * sunrpc/svc_authux.c: Likewise.
37076 * sunrpc/svc_raw.c: Likewise.
37077 * sunrpc/svc_run.c: Likewise.
37078 * sunrpc/svc_simple.c: Likewise.
37079 * sunrpc/svc_tcp.c: Likewise.
37080 * sunrpc/svc_udp.c: Likewise.
37081 * sunrpc/svc_unix.c: Likewise.
37082 * sunrpc/svcauth_des.c: Likewise.
37083 * sunrpc/xcrypt.c: Likewise.
37084 * sunrpc/xdr.c: Likewise.
37085 * sunrpc/xdr_array.c: Likewise.
37086 * sunrpc/xdr_float.c: Likewise.
37087 * sunrpc/xdr_mem.c: Likewise.
37088 * sunrpc/xdr_rec.c: Likewise.
37089 * sunrpc/xdr_ref.c: Likewise.
37090 * sunrpc/xdr_sizeof.c: Likewise.
37091 * sunrpc/xdr_stdio.c: Likewise.
37092
9da4bb31
UD
37093 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37094 handling.
37095
bdaa77bc
AS
370962010-08-19 Andreas Schwab <schwab@redhat.com>
37097
37098 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37099
fe2f79db
LM
371002010-08-19 Luis Machado <luisgpm@br.ibm.com>
37101
37102 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37103 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37105 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37107 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37109 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37112 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37113 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37114 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37115 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37116
b9b42ee0
AB
371172010-07-26 Anton Blanchard <anton@samba.org>
37118
37119 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37120 * malloc/arena.c (heap_trim): Likewise.
37121
1c06ba31
UD
371222010-08-16 Ulrich Drepper <drepper@redhat.com>
37123
37124 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37125 here. Not...
37126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37127 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37128
f8392f40
L
371292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37130
37131 * sysdeps/i386/elf/Makefile: New file.
37132
3162f12e
AS
371332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37134
37135 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37136 from fanotify_init.
37137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37139
28c90b2c
UD
371402010-08-15 Ulrich Drepper <drepper@redhat.com>
37141
37142 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37143 of strncasecmp_l.
1feccb6c 37144 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37145
ca6bb004
UD
371462010-08-14 Ulrich Drepper <drepper@redhat.com>
37147
e9f82e0d
UD
37148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37149 strncase_l-nonascii.
37150 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37151 Add strncase_l-ssse3.
37152 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37153 * sysdeps/x86_64/strcmp.S: Likewise.
37154 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37155 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37156 * sysdeps/x86_64/strncase.S: New file.
37157 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37158 * sysdeps/x86_64/strncase_l.S: New file.
37159 * string/Makefile (strop-tests): Add strncasecmp.
37160 * string/test-strncasecmp.c: New file.
37161
37162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37163 warning.
37164
ca6bb004
UD
37165 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37166 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37167
052fa7b3
AS
371682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37169
37170 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37171
962dba78
UD
371722010-08-12 Ulrich Drepper <drepper@redhat.com>
37173
37174 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37177
bebff237
AM
371782010-05-01 Alan Modra <amodra@gmail.com>
37179
37180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37181 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37182 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37183 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37184 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37185 tidying. Don't tail-call __sigjmp_save for static lib.
37186 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37187 save location.
37188 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37189 (CALL_MCOUNT): Add eh info, and nop after bl.
37190 (TAIL_CALL_SYSCALL_ERROR): New macro.
37191 (PSEUDO_RET): Use it.
37192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37193 Correct save location of integer regs and cr.
37194 (_dl_profile_resolve): Correct cr save location. Delete nops
37195 after bl when SHARED. Reduce cfi size a little by better
37196 placement of cfi directives.
37197 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37198 make a stack frame. Instead use parm save area as a temp.
37199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37200 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37202 Don't make a stack frame for parent, use parm save area.
37203 Increase child stack frame to 112 bytes. Don't save unused reg,
37204 and adjust reg usage. Set up cfi on error recovery and
37205 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37207 (__makecontext): Add dummy nop after jump to exit.
37208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37209 Use correct parm save area and cr save, reduce stack frame.
37210 Correct cfi for possible PSEUDO_RET frame setup.
37211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37212 Branch to local label emitted by PSEUDO_RET rather than
37213 __syscall_error.
37214
02637374
AS
372152010-08-12 Andreas Schwab <schwab@redhat.com>
37216
37217 [BZ #11904]
37218 * locale/programs/locale.c (print_assignment): New function.
37219 (show_locale_vars): Use it.
37220
c3e2f19b
UD
372212010-08-11 Ulrich Drepper <drepper@redhat.com>
37222
3cdaa6ad
UD
37223 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37224 field.
37225 (struct statfs64): Likewise.
37226 (_STATFS_F_FLAGS): Define.
37227 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37229 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37230 (ST_VALID): Define locally.
37231 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37232 __statvfs_getflags, use the provided value.
37233 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37234 __ASSUME_STATFS_F_FLAGS.
37235
754f7da3
UD
37236 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37237
10b3bedc
UD
37238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37239 Add sys/fanotify.h.
37240 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37241 fanotify_mask for GLIBC_2.13.
37242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37243 fanotify_init and fanotify_mark.
37244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37245 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37246
c08fb0d7
UD
37247 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37248 Add prlimit.
37249 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37250 prlimit64 for GLIBC_2.13.
37251 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37252 prlimit64.
37253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37254 syscall.
37255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37257 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37260 add prlimit alias.
37261 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37262
15bac72b
UD
37263 [BZ #11903]
37264 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37265 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37266
c3e2f19b
UD
37267 * nss/Makefile: Add rules to build and run tst-nss-test1.
37268 * shlib-versions: Add entry for libnss_test1.
37269 * nss/nss_test1.c: New file.
37270 * nss/tst-nss-test1.c: New file.
37271
37272 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37273 (__nss_configure_lookup): Set appropriate entry in
37274 __nss_configure_lookup to true.
37275 * nss/nsswitch.h: Define enum with indeces of databases in
37276 databases and __nss_database_custom arrays. Declare
37277 __nss_database_custom.
37278 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37279 to avoid using nscd when custom rules are installed.
37280 * nss/getXXbyYY_r.c: Likewise.
37281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37282
37283 * nss/nss_files/files-parse.c: Whitespace fixes.
37284
f15ce4d8
UD
372852010-08-09 Ulrich Drepper <drepper@redhat.com>
37286
37287 [BZ #11883]
37288 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37289 * posix/fnmatch_loop.c: Likewise.
37290
d22e4cc9
AK
372912010-07-17 Andi Kleen <ak@linux.intel.com>
37292
37293 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37294 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37295 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37296 * Versions.def [GLIBC_2.13]: Add.
37297
805bc17d
UD
372982010-08-06 Ulrich Drepper <drepper@redhat.com>
37299
37300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37301 Also fail if tpwd after pwuid call is NULL.
37302
5a42321d
ST
373032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37304
37305 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37306 when converting to ms.
37307
fd3ebeda
ST
373082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37309
37310 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37311 EOPNOTSUPP errors with ENOTTY.
37312 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37313 EOPNOTSUPP errors with ENOTTY.
37314
73507d3a
UD
373152010-07-31 Ulrich Drepper <drepper@redhat.com>
37316
37317 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37318 Add strcasecmp_l-ssse3.
37319 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37320 strcasecmp.
37321 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37322 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37324
fe36dd02
UD
373252010-07-30 Ulrich Drepper <drepper@redhat.com>
37326
66f6765a
UD
37327 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37328
42e08a54
UD
37329 * string/Makefile (strop-tests): Add strcasecmp.
37330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37331 strcasecmp_l-nonascii.
37332 (gen-as-const-headers): Add locale-defines.sym.
37333 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37334 * sysdeps/x86_64/strcasecmp.S: New file.
37335 * sysdeps/x86_64/strcasecmp_l.S: New file.
37336 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37337 * sysdeps/x86_64/locale-defines.sym: New file.
37338 * string/test-strcasecmp.c: New file.
37339
fe36dd02
UD
37340 * string/test-strcasestr.c: Test both ends of the range of characters.
37341 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37342
48cbc0d6
RM
373432010-07-29 Roland McGrath <roland@redhat.com>
37344
76e6d6bc 37345 [BZ #11856]
48cbc0d6
RM
37346 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37347
880113d9
UD
373482010-07-27 Ulrich Drepper <drepper@redhat.com>
37349
37350 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37351 for ld.so.
37352
deb9cabb
AS
373532010-07-27 Andreas Schwab <schwab@redhat.com>
37354
37355 * manual/memory.texi (Malloc Tunable Parameters): Document
37356 M_PERTURB.
37357
1c7570ff
RM
373582010-07-26 Roland McGrath <roland@redhat.com>
37359
37360 [BZ #11840]
37361 * configure.in (-fgnu89-inline check): Set and substitute
37362 gnu89_inline, not libc_cv_gnu89_inline.
37363 * configure: Regenerated.
37364 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37365
24fb0f88
UD
373662010-07-26 Ulrich Drepper <drepper@redhat.com>
37367
37368 * string/test-strnlen.c: New file.
37369 * string/Makefile (strop-tests): Add strnlen.
37370 * string/tester.c (test_strnlen): Add a few more test cases.
37371 * string/tst-strlen.c: Better error reporting.
37372
37373 * sysdeps/x86_64/strnlen.S: New file.
37374
8e96b93a
UD
373752010-07-24 Ulrich Drepper <drepper@redhat.com>
37376
37377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37378 lower-latency instructions.
37379
dbc676d4
UD
373802010-07-23 Ulrich Drepper <drepper@redhat.com>
37381
37382 * string/test-strcasestr.c: New file.
37383 * string/test-strstr.c: New file.
37384 * string/Makefile (strop-tests): Add strstr and strcasestr.
37385 * string/str-two-way.h: Don't undefine MAX.
37386 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37387
f6a31e0e
AS
373882010-07-21 Andreas Schwab <schwab@redhat.com>
37389
37390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37391 strcasestr-nonascii.
37392 (CFLAGS-strcasestr-nonascii.c): Define.
37393 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37395 Remove unused attribute.
37396
5dbc3b6c
RM
373972010-07-20 Roland McGrath <roland@redhat.com>
37398
37399 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37400 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37401 ld.so.cache was broken. With it, there is no way to disable dsocaps
37402 like LD_HWCAP_MASK can disable hwcaps.
37403
23d101d8
EPM
374042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37405
37406 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37407
cc9f2e47
UD
374082010-07-16 Ulrich Drepper <drepper@redhat.com>
37409
37410 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37411 call in strcasestr.
37412 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37413 __strcasestr_sse42_nonascii.
37414 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37415 strcasestr-nonascii.c.
37416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37417
77c1b069
LM
374182010-06-15 Luis Machado <luisgpm@br.ibm.com>
37419
37420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37424
440566c3
UD
374252010-07-09 Ulrich Drepper <drepper@redhat.com>
37426
37427 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37428 fcntl.
37429
5be9d05d
AS
374302010-07-06 Andreas Schwab <schwab@redhat.com>
37431
c30b7ee2 37432 [BZ #11577]
5be9d05d
AS
37433 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37434 dl_signal_cerror.
37435
8a492a67
UD
374362010-07-06 Ulrich Drepper <drepper@redhat.com>
37437
37438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37439 _PC_PIPE_BUF using F_GETPIPE_SZ.
37440
713df3d5
RM
374412010-07-05 Roland McGrath <roland@redhat.com>
37442
37443 * manual/arith.texi (Rounding Functions): Fix rint description
37444 implicit in round description.
37445
702e8f14
UD
374462010-07-02 Ulrich Drepper <drepper@redhat.com>
37447
37448 * elf/Makefile: Fix linking for a few tests to make recent linker
37449 happy.
37450
52ed8be9
AS
374512010-06-30 Andreas Schwab <schwab@redhat.com>
37452
37453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37454 $(common-objpfx)libc_nonshared.a.
37455
f47c9a11
LM
374562010-06-21 Luis Machado <luisgpm@br.ibm.com>
37457
37458 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37459 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37460 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37461 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37462 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37463 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37464 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37465 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37480 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37481 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37482 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37483 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37484 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37485 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37486 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37487 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37488 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37489 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37490 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37491 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37506
6fb8cbcb
L
375072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37508
37509 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37510 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37511 * string/memmove.c (memmove): Renamed to ...
37512 (MEMMOVE): ...this. Default to memmove.
37513 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37514 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37515 (END_CHK): Define.
37516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37517 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37518 mempcpy-ssse3-back memmove-ssse3-back.
37519 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37522 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37523 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37524 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37525 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37526 * sysdeps/x86_64/multiarch/memmove.c: New file.
37527 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37528 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37529 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37530 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37531 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37533 Define.
37534 (index_Fast_Copy_Backward): Define.
37535 (HAS_ARCH_FEATURE): Define.
37536 (HAS_FAST_REP_STRING): Define.
37537 (HAS_FAST_COPY_BACKWARD): Define.
37538
4e733bac 375392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37540
37541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37542 Restore proper fallback handling.
37543
63c4ed22
UD
375442010-06-19 Ulrich Drepper <drepper@redhat.com>
37545
ac2b484c
UD
37546 [BZ #11701]
37547 * posix/group_member.c (__group_member): Correct checking loop.
37548
63c4ed22
UD
37549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37550 OOM in getpwuid_r correctly. Return error number when the caller
37551 should return, otherwise -1.
37552 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37553 call returning > 0 value.
37554 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37555
765ade4b
AS
375562010-06-07 Andreas Schwab <schwab@redhat.com>
37557
37558 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37559 libc_nonshared.a from targets in modules-names.
37560
80da2e09
KS
375612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37562
37563 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37564 requires it.
37565
158db122
LM
375662010-06-10 Luis Machado <luisgpm@br.ibm.com>
37567
37568 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37572
caa78cf8
AS
375732010-06-02 Andreas Schwab <schwab@redhat.com>
37574
37575 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37576
b2ef2c01
UD
375772010-06-14 Ulrich Drepper <drepper@redhat.com>
37578
37579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37580 and F_GETPIPE_SZ.
37581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37587
fbd643b6
RM
375882010-06-14 Roland McGrath <roland@redhat.com>
37589
37590 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37591
f32f2869
JJ
375922010-06-07 Jakub Jelinek <jakub@redhat.com>
37593
37594 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37595 __REDIRECT followed by __THROW.
37596 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37597 * posix/getopt.h (getopt): Likewise.
37598
2a50c078
EPM
375992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37600
37601 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37602 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37603 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37604 in AT_FLAGS.
37605 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37606 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37607
eb5ad2eb
LM
376082010-05-28 Luis Machado <luisgpm@br.ibm.com>
37609
37610 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37611
3c88fe1e
L
376122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37613
37614 [BZ #11640]
37615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37616 Properly check family and model.
37617
d2f73151
TY
376182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37619
37620 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37621
ebd2e13d
LM
376222010-05-24 Luis Machado <luisgpm@br.ibm.com>
37623
37624 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37625
b32b8b45
UD
376262010-05-21 Ulrich Drepper <drepper@redhat.com>
37627
37628 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37629 symbol reference.
37630
9acbe24d
AS
376312010-05-19 Andreas Schwab <schwab@redhat.com>
37632
37633 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37634 symbol reference.
37635
f0ccf6ea
AS
376362010-05-21 Andreas Schwab <schwab@redhat.com>
37637
3d04ff3a
AS
37638 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37639 and internal_recvmmsg.
37640 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37641 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37642 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37643 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37644
f0ccf6ea
AS
37645 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37646 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37647 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37648
5b08ac57
AS
376492010-05-20 Andreas Schwab <schwab@redhat.com>
37650
37651 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37652
4828935d
LM
376532010-05-17 Luis Machado <luisgpm@br.ibm.com>
37654
37655 POWER7 optimizations.
37656 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37657 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37658
373d545e
UD
376592010-05-19 Ulrich Drepper <drepper@redhat.com>
37660
37661 * version.h: Update for 2.13 development version.
37662
21a2b1ae
AS
376632010-05-12 Andrew Stubbs <ams@codesourcery.com>
37664
37665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37666 exceptions. Return 0.
37667
3f7dcb2b
RM
376682010-05-07 Roland McGrath <roland@redhat.com>
37669
37670 * elf/ldconfig.c (main): Add a const.
37671
5f24d53a 376722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 37673
a160f8d8
UD
37674 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37675 (args_options): Add no-idn option.
37676 (ahosts_keys_int): Add idn_flags to ai_flags.
37677 (parse_option): Handle 'i' option to clear idn_flags.
37678
5f24d53a
UD
37679 * malloc/malloc.c (_int_free): Possible race in the most recently
37680 added check. Only act on the data if no current modification
37681 happened.
265bb1ce
UD
37682
37683See ChangeLog.17 for earlier changes.
This page took 4.998427 seconds and 5 git commands to generate.